Skip to content

Correct Linux enterprise policy docs to use JSON examples (not plist XML)#9866

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-linux-json-examples
Draft

Correct Linux enterprise policy docs to use JSON examples (not plist XML)#9866
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-linux-json-examples

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 1, 2026

The Linux policy section states policies are read from /etc/vscode/policy.json, but its Step 2 examples were using macOS plist XML syntax, which is incompatible with JSON parsing. This updates the Linux examples to valid JSON and aligns the guidance with actual Linux policy file format.

  • Scope

    • Updated Linux Step 2: Configure policy values in:
      • docs/enterprise/policies.md
      • docs/enterprise/policies.template.md
  • What changed

    • Replaced plist-style XML key/value examples with a single valid policy.json example.
    • Removed XML-specific “delete key/value pair” wording and replaced it with JSON-property removal guidance.
  • Resulting example

    {
      "AllowedExtensions": {"microsoft": true, "github": true},
      "UpdateMode": "start",
      "EnableFeedback": true,
      "EnableTelemetry": false
    }

Copilot AI changed the title [WIP] Fix Linux section to use JSON examples instead of XML Correct Linux enterprise policy docs to use JSON examples (not plist XML) Jun 1, 2026
Copilot AI requested a review from digitarald June 1, 2026 16:35
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.

Enterprise policies: Linux section shows XML examples instead of JSON

2 participants