Skip to content

Commit e5c9172

Browse files
authored
[YAML] Pin Fleet-maintained apps to a specific version (#35972)
Related to: - #31919
1 parent 0d2d071 commit e5c9172

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/Configuration/yaml-files.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ software:
514514
setup_experience: true
515515
fleet_maintained_apps:
516516
- slug: slack/darwin
517+
pin_version: "4.47.59"
517518
install_script:
518519
path: ../lib/software/slack-install-script.sh
519520
uninstall_script:
@@ -594,14 +595,15 @@ Currently, one app for each of an App Store app's supported platforms are added,
594595

595596
- `fleet_maintained_apps` is a list of Fleet-maintained apps. Provide the `slug` field to include a Fleet-maintained app on a team. To find the `slug`, head to **Software > Add software** and select a Fleet-maintained app, then select **Show details**. You can also see the [list of app slugs on GitHub](https://github.com/fleetdm/fleet/blob/main/ee/maintained-apps/outputs/apps.json).
596597

597-
Currently, Fleet-maintained apps will be updated to the latest version published by Fleet when GitOps runs.
598+
By default, Fleet-maintained apps will be updated to the latest version published by Fleet when GitOps runs.
598599

599600
The below fields are all optional.
600601

601602
- `self_service` specifies whether end users can install from **Fleet Desktop > Self-service**.
602603
- `pre_install_query.path` is the osquery query Fleet runs before installing the software. Software will be installed only if the [query returns results](https://fleetdm.com/tables).
603604
- `post_install_script.path` is the script that, if supplied, Fleet will run on hosts after the software installs.
604605
- `icon.path` is a relative path to the PNG icon that will be displayed in Fleet and on **Fleet Desktop > Self-service** instead of the default icon the icon sourced from Apple. It must be a square PNG with dimensions between 120x120 px and 1024x1024 px. Custom icons will only override the icon for the software title and team where they are added.
606+
- `pin_version` specifies the version of the package that will be downloaded by Fleet. Version can be set only to the version that is available in [the app's metadata on GitHub](https://github.com/fleetdm/fleet/tree/main/ee/maintained-apps/outputs). If version isn't specified, Fleet downloads the latest version as soon as it's available in the app's metadata.
605607

606608
The below fields are optional, and if omitted will default to values specified in [the app's metadata on GitHub](https://github.com/fleetdm/fleet/tree/main/ee/maintained-apps/outputs).
607609

website/config/routes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,6 +1012,7 @@ module.exports.routes = {
10121012
'GET /learn-more-about/built-in-variables': '/docs/configuration/yaml-files#variables',
10131013
'GET /learn-more-about/apple-available-os-updates': 'guides/enforce-os-updates',
10141014
'GET /learn-more-about/disable-entra-conditional-access': '/guides/entra-conditional-access-integration#disable',
1015+
'GET /learn-more-about/available-fma-versions': 'https://github.com/fleetdm/fleet/tree/main/ee/maintained-apps/outputs',
10151016

10161017
// Sitemap
10171018
// =============================================================================================================

0 commit comments

Comments
 (0)