Repository navigation
Sync OpenIntuneBaseline script association warning - #45
Merged
Merged
Conversation
Bundle the OpenIntuneBaseline release catalog from the weekly parity check so the Windows v4.0 templates stay in sync. Co-authored-by: Cursor <cursoragent@cursor.com>
jorgeasaurus
commented
Oct 27, 2026
jorgeasaurus
left a comment
Owner
Author
There was a problem hiding this comment.
Verdict: Approve
No blocking findings. Checked the side effects of the new root-level Templates/OpenIntuneBaseline/releases.json, all proven from code on the branch:
- Import:
Import-IntuneBaselinewalks only the mapped OS folders, so the manifest is never sent to Graph. -RemoveExisting: with-Platform All,Get-FilteredTemplatesreturns every recursive JSON, so the manifest does reachGet-TemplateDisplayNames. It has no top-leveldisplayName/name, so nothing is added to the delete allow-list. Harmless today; if upstream ever adds a top-levelnametoreleases.json, it would become a delete-gate entry.- Tests: the routable-metadata contract filters to
IntuneManagement|AppProtection, so the manifest only hits the valid-JSON check. - Parity:
Compare-OpenIntuneBaseline.ps1compares*.jsonrecursively on both sides and upstream ships the same root manifest, so parity holds.
CI Build and Test jobs were still running at review time; GitGuardian passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #44.
The weekly parity check against SkipToTheEndpoint/OpenIntuneBaseline
main(run 40340967391) found two template changes. Both files match that workflow artifact byte for byte.SkipIfExists, so a tenant that already has this policy keeps the old description until the policy is deleted and imported again.Templates/OpenIntuneBaseline/releases.jsonrecords the upstream release catalog, including Windows v4.0. The importer only walks OS folders, so this root catalog is not imported as a policy.Test plan
972a5b1..1bc09ef) andreleases.jsonmatches blob4557f2c.Tests/Private/TemplateContracts.Tests.ps1: 17 passed (Pester 6.2.0), including the new warning and release-catalog checks.git diff --checkclean.Made with Cursor