Skip to content

Commit

Permalink
Update yaml-files.md (#26781)
Browse files Browse the repository at this point in the history
Cleaning up and standardizing use of quotations in YAML.

1. Updated to use single quotes
2. Updated to use double quotes to enclose single quote references.
3. Removed extraneous quotes around strings.
  • Loading branch information
eugkuo authored Mar 6, 2025
1 parent b95f5ac commit 3119168
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/Configuration/yaml-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@ policies:
critical: false
calendar_events_enabled: false
run_script:
path: "./disable-guest-account.sh"
path: ./disable-guest-account.sh
- name: Install Firefox on macOS
platform: darwin
description: "This policy checks that Firefox is installed."
resolution: "Install Firefox app if not installed."
description: This policy checks that Firefox is installed.
resolution: Install Firefox app if not installed.
query: "SELECT 1 FROM apps WHERE name = 'Firefox.app'"
install_software:
package_path: "./firefox.package.yml"
package_path: ./firefox.package.yml
- name: [Install software] Logic Pro
platform: darwin
description: "This policy checks that Logic Pro is installed"
resolution: "Install Logic Pro App Store app if not installed"
description: This policy checks that Logic Pro is installed
resolution: Install Logic Pro App Store app if not installed
query: "SELECT 1 FROM apps WHERE name = 'Logic Pro'"
install_software:
package_path: ./linux-firefox.deb.package.yml
# app_store_id: "1487937127" (for App Store apps)
# app_store_id: '1487937127' (for App Store apps)
```

`default.yml` (for policies that neither install software nor run scripts), `teams/team-name.yml`, or `teams/no-team.yml`
Expand Down Expand Up @@ -226,13 +226,13 @@ controls:
windows_migration_enabled: true # Available in Fleet Premium
enable_disk_encryption: true # Available in Fleet Premium
macos_updates: # Available in Fleet Premium
deadline: "2024-12-31"
deadline: '2024-12-31
minimum_version: 15.1
ios_updates: # Available in Fleet Premium
deadline: "2024-12-31"
deadline: '2024-12-31'
minimum_version: 18.1
ipados_updates: # Available in Fleet Premium
deadline: "2024-12-31"
deadline: '2024-12-31'
minimum_version: 18.1
windows_updates: # Available in Fleet Premium
deadline_days: 5
Expand Down Expand Up @@ -416,7 +416,7 @@ Can only be configured for all teams (`org_settings`).
```yaml
org_settings:
fleet_desktop:
transparency_url: "https://example.org/transparency"
transparency_url: https://example.org/transparency
```

### host_expiry_settings
Expand Down Expand Up @@ -679,9 +679,9 @@ org_settings:
mdm:
apple_business_manager: # Available in Fleet Premium
- organization_name: Fleet Device Management Inc.
macos_team: "💻 Workstations"
ios_team: "📱🏢 Company-owned iPhones"
ipados_team: "🔳🏢 Company-owned iPads"
macos_team: 💻 Workstations
ios_team: 📱🏢 Company-owned iPhones
ipados_team: 🔳🏢 Company-owned iPads
```

> Apple Business Manager settings can only be configured for all teams (`org_settings`).
Expand All @@ -701,10 +701,10 @@ org_settings:
volume_purchasing_program: # Available in Fleet Premium
- location: Fleet Device Management Inc.
teams:
- "💻 Workstations"
- "💻🐣 Workstations (canary)"
- "📱🏢 Company-owned iPhones"
- "🔳🏢 Company-owned iPads"
- 💻 Workstations
- 💻🐣 Workstations (canary)
- 📱🏢 Company-owned iPhones
- 🔳🏢 Company-owned iPads
```

Can only be configured for all teams (`org_settings`).
Expand Down

0 comments on commit 3119168

Please sign in to comment.