diff --git a/public/docs-static/files/io.netbird.client.plist b/public/docs-static/files/io.netbird.client.plist index f42b6b3d..8c231397 100644 --- a/public/docs-static/files/io.netbird.client.plist +++ b/public/docs-static/files/io.netbird.client.plist @@ -19,16 +19,16 @@ For MDM platforms that expect a full Configuration Profile instead of a bare plist (Custom Configuration Profile / .mobileconfig upload), - use docs/netbird-macos.mobileconfig — same keys, additional Payload* + use netbird-macos.mobileconfig — same keys, additional Payload* envelope. Editing this file: - Remove or comment out any key you do NOT want to enforce. The daemon treats an absent key as "no enforcement" for that field. - Keep the document well-formed XML. Validate locally with: - plutil -lint docs/io.netbird.client.plist + plutil -lint io.netbird.client.plist - Keys are camelCase; values are typed (, , , - ). See docs/src/pages/client/mdm-integration.mdx (the + ). See src/pages/client/mdm-integration.mdx (the public docs page) for the full reference. Persistence caveat: diff --git a/public/docs-static/files/netbird-macos.mobileconfig b/public/docs-static/files/netbird-macos.mobileconfig index 53453db5..f1fcd3c3 100644 --- a/public/docs-static/files/netbird-macos.mobileconfig +++ b/public/docs-static/files/netbird-macos.mobileconfig @@ -9,7 +9,7 @@ Read at runtime by the netbird daemon's macOS loader (client/mdm/policy_darwin.go — Phase 2). Key names match the canonical - lowerCamelCase form used in docs/netbird.admx and the mdm.Key* + lowerCamelCase form used in netbird.admx and the mdm.Key* constants in client/mdm/policy.go. Bundle identifier: io.netbird.client @@ -36,7 +36,7 @@ UserDefaults[com.apple.configuration.managed] under a different payload type (com.apple.app.configuration.managed); the wrapper structure is the same but the inner payload dictionary differs. - See docs/netbird-ios.mobileconfig (Phase 5) when shipped. + See netbird-ios.mobileconfig (not yet shipped) when available. --> diff --git a/public/docs-static/files/netbird-macos.sh b/public/docs-static/files/netbird-macos.sh index a2f5ff5e..48933ef1 100644 --- a/public/docs-static/files/netbird-macos.sh +++ b/public/docs-static/files/netbird-macos.sh @@ -4,7 +4,7 @@ # Push the NetBird MDM policy to a macOS device via JumpCloud Commands. # # DESCRIPTION -# This is the macOS counterpart of docs/netbird-policy.reg.ps1. +# This is the macOS counterpart of netbird-policy.reg.ps1. # It writes the values declared in the "POLICY VALUES" block below to # the managed-preferences plist that the NetBird daemon's # client/mdm/policy_darwin.go loader reads on every 1-minute MDM @@ -25,7 +25,7 @@ # IMPORTANT: PERSISTENCE # macOS wipes /Library/Managed Preferences/ at every boot on devices # that are NOT MDM-enrolled. For a persistent fleet rollout, push the -# companion docs/netbird-macos.mobileconfig as a Custom Configuration +# companion netbird-macos.mobileconfig as a Custom Configuration # Profile (Admin Console -> MDM -> Mac Custom Configuration Profiles) # instead of this script. Use this script when: # - the device is MDM-enrolled (file survives reboots), or @@ -49,8 +49,8 @@ set -euo pipefail # # Reference for key names + accepted values: # client/mdm/policy.go (Key* constants) -# docs/netbird-macos.mobileconfig (sample profile) -# docs/netbird.admx + .adml (Windows ADMX schema) +# netbird-macos.mobileconfig (sample profile) +# netbird.admx + netbird.adml (Windows ADMX schema) # NULL='__UNSET__' managementURL='https://api.netbird.io:443' diff --git a/public/docs-static/files/netbird-policy.reg.ps1 b/public/docs-static/files/netbird-policy.reg.ps1 index 6e67a4b3..1d6d6826 100644 --- a/public/docs-static/files/netbird-policy.reg.ps1 +++ b/public/docs-static/files/netbird-policy.reg.ps1 @@ -5,7 +5,7 @@ by importing a sidecar netbird-policy.reg file. .DESCRIPTION - Windows counterpart of docs/netbird-macos.sh. Outcome: + Windows counterpart of netbird-macos.sh. Outcome: HKLM\Software\Policies\NetBird populated from the attached netbird-policy.reg file, daemon picks up the change via the 1-minute MDM reload ticker. @@ -85,11 +85,7 @@ if ($LASTEXITCODE -ne 0) { # Audit dump so the JumpCloud per-execution log captures the applied state. Write-Host "[netbird-mdm] final policy state under $RegKey :" -if (Test-Path "Registry::$RegKey") { - & reg.exe query $RegKey /s -} else { - Write-Host "[netbird-mdm] no policy values present under $RegKey" -} +& reg.exe query $RegKey /s # Daemon's 1-min reload ticker picks up the change automatically. # Uncomment to force immediate convergence (skips the ticker wait): diff --git a/public/docs-static/files/netbird.admx b/public/docs-static/files/netbird.admx index 2f7645d6..51aeccf6 100644 --- a/public/docs-static/files/netbird.admx +++ b/public/docs-static/files/netbird.admx @@ -163,11 +163,11 @@ allow disallow - + - +