diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cba2ab..2de6d86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +- Carry the upstream warning on the Windows script file association policy: deploying it breaks Intune PowerShell scripts that run in the user context. +- Bundle the OpenIntuneBaseline `releases.json` catalog alongside the Windows v4.0 templates. + ## [1.4.0] - 2026-10-03 - Refresh bundled OpenIntuneBaseline policies to Windows v4.0 (102 importable policies). diff --git a/Templates/OpenIntuneBaseline/WINDOWS/IntuneManagement/SettingsCatalog/Win - OIB - SC - Device Security - D - Script File Associations - v4.0.json b/Templates/OpenIntuneBaseline/WINDOWS/IntuneManagement/SettingsCatalog/Win - OIB - SC - Device Security - D - Script File Associations - v4.0.json index 972a5b1..1bc09ef 100644 --- a/Templates/OpenIntuneBaseline/WINDOWS/IntuneManagement/SettingsCatalog/Win - OIB - SC - Device Security - D - Script File Associations - v4.0.json +++ b/Templates/OpenIntuneBaseline/WINDOWS/IntuneManagement/SettingsCatalog/Win - OIB - SC - Device Security - D - Script File Associations - v4.0.json @@ -43,7 +43,7 @@ "technologies@odata.type": "#microsoft.graph.deviceManagementConfigurationTechnologies", "technologies": "mdm", "creationSource": null, - "description": "OIBID:887CEFEC-6882-49E0-A237-91F8D02B2CAB", + "description": "WARNING: Deploying will break running any PowerShell scripts from Intune in the User context. Amend policy if this functionality is required.\nOIBID:887CEFEC-6882-49E0-A237-91F8D02B2CAB", "id": "9250b1c5-1da1-4372-b579-23c115770457", "name": "Win - OIB - SC - Device Security - D - Script File Associations - v4.0", "priorityMetaData": null, diff --git a/Templates/OpenIntuneBaseline/releases.json b/Templates/OpenIntuneBaseline/releases.json new file mode 100644 index 0000000..4557f2c --- /dev/null +++ b/Templates/OpenIntuneBaseline/releases.json @@ -0,0 +1,108 @@ +{ + "manifestVersion": "1.0", + "repository": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline", + "platforms": [ + { + "id": "windows", + "name": "Windows", + "folder": "WINDOWS", + "status": "available", + "defaultBranch": "main", + "changelog": "/WINDOWS/CHANGELOG.md", + "releases": [ + { + "version": "4.0", + "name": "26H2 Edition", + "channel": "stable", + "releaseDate": "2026-09-30", + "branch": "main", + "tag": "windows-v4.0", + "url": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline/releases/tag/windows-v4.0", + "prerelease": false + } + ] + }, + { + "id": "windows365", + "name": "Windows 365", + "folder": "WINDOWS365", + "status": "available", + "defaultBranch": "main", + "changelog": "/WINDOWS365/CHANGELOG.md", + "releases": [ + { + "version": "1.0", + "channel": "unstable", + "releaseDate": "2024-09-02", + "branch": "main", + "tag": "win365-v1.0", + "url": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline/releases/tag/win365-v1.0", + "prerelease": false + } + ] + }, + { + "id": "macos", + "name": "MacOS", + "folder": "MACOS", + "status": "available", + "defaultBranch": "main", + "changelog": "/MACOS/CHANGELOG.md", + "releases": [ + { + "version": "1.0", + "channel": "unstable", + "releaseDate": "2024-09-02", + "branch": "main", + "tag": "macos-v1.0", + "url": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline/releases/tag/macos-v1.0", + "prerelease": false + }, + { + "version": "2.0", + "channel": "beta", + "releaseDate": "2026-01-28", + "branch": "macos-v2.0-beta", + "tag": null, + "url": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline/tree/macos-v2.0-beta", + "prerelease": true + } + ] + }, + { + "id": "ios", + "name": "iOS", + "folder": "IOS", + "status": "available", + "defaultBranch": "main", + "releases": [ + { + "version": "1.0", + "channel": "beta", + "releaseDate": "2026-10-15", + "branch": "ios-v1.0-beta", + "tag": null, + "url": "https://github.com/SkipToTheEndpoint/OpenIntuneBaseline/tree/ios-v1.0-beta", + "prerelease": true + } + ] + }, + { + "id": "android", + "name": "Android", + "folder": "ANDROID", + "status": "in-development", + "defaultBranch": "main", + "releases": [] + }, + { + "id": "byod", + "name": "BYOD", + "folder": "BYOD", + "status": "in-development", + "defaultBranch": "main", + "changelog": "/BYOD/CHANGELOG.md", + "releases": [] + } + ] +} diff --git a/Tests/Private/TemplateContracts.Tests.ps1 b/Tests/Private/TemplateContracts.Tests.ps1 index be00152..1391234 100644 --- a/Tests/Private/TemplateContracts.Tests.ps1 +++ b/Tests/Private/TemplateContracts.Tests.ps1 @@ -226,6 +226,28 @@ Describe 'Bundled template contracts' { } $openIntuneTemplates } + It 'Should warn that the script file association policy breaks user-context Intune PowerShell' { + $templatePath = Join-Path $modulePath 'Templates/OpenIntuneBaseline/WINDOWS/IntuneManagement/SettingsCatalog/Win - OIB - SC - Device Security - D - Script File Associations - v4.0.json' + $template = Get-Content -Path $templatePath -Raw | ConvertFrom-Json -Depth 20 + + $template.description | Should -Match 'WARNING: Deploying will break running any PowerShell scripts from Intune in the User context' + $template.description | Should -Match 'Amend policy if this functionality is required' + $template.description | Should -Match 'OIBID:887CEFEC-6882-49E0-A237-91F8D02B2CAB' + } + + It 'Should record the bundled OpenIntuneBaseline release catalog' { + $releasesPath = Join-Path $modulePath 'Templates/OpenIntuneBaseline/releases.json' + $releases = Get-Content -Path $releasesPath -Raw | ConvertFrom-Json -Depth 20 + $windows = @($releases.platforms | Where-Object { $_.id -eq 'windows' }) + + $releases.manifestVersion | Should -Be '1.0' + $windows | Should -HaveCount 1 + $windows[0].status | Should -Be 'available' + $windows[0].releases[0].version | Should -Be '4.0' + $windows[0].releases[0].tag | Should -Be 'windows-v4.0' + $windows[0].releases[0].channel | Should -Be 'stable' + } + It 'Should keep CIS templates routable by shared metadata or importer fallback rules' { $cisTemplates = $script:CisTemplates