Skip to content

Sync OpenIntuneBaseline script association warning - #45

Merged
jorgeasaurus merged 1 commit into
mainfrom
fix/44-update-openintunebaseline
Oct 27, 2026
Merged

jorgeasaurus merged 1 commit into
mainfrom
fix/44-update-openintunebaseline

Conversation

@jorgeasaurus

Copy link
Copy Markdown
Owner

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.

  • The Windows script file association policy now carries the upstream warning: deploying it breaks Intune PowerShell scripts that run in the user context. The OIBID is unchanged. Baseline import still uses SkipIfExists, so a tenant that already has this policy keeps the old description until the policy is deleted and imported again.
  • Templates/OpenIntuneBaseline/releases.json records 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

  • Policy blob matches the parity artifact (972a5b1..1bc09ef) and releases.json matches blob 4557f2c.
  • Tests/Private/TemplateContracts.Tests.ps1: 17 passed (Pester 6.2.0), including the new warning and release-catalog checks.
  • git diff --check clean.

Made with Cursor

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 jorgeasaurus left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-IntuneBaseline walks only the mapped OS folders, so the manifest is never sent to Graph.
  • -RemoveExisting: with -Platform All, Get-FilteredTemplates returns every recursive JSON, so the manifest does reach Get-TemplateDisplayNames. It has no top-level displayName/name, so nothing is added to the delete allow-list. Harmless today; if upstream ever adds a top-level name to releases.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.ps1 compares *.json recursively 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.

@jorgeasaurus
jorgeasaurus merged commit 8918111 into main Oct 27, 2026
9 checks passed
@jorgeasaurus
jorgeasaurus deleted the fix/44-update-openintunebaseline branch October 27, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update bundled OpenIntuneBaseline templates

1 participant