Skip to main content

fleet-gitops

Help with Fleet GitOps configuration files including queries, profiles, software, and DDM declarations with validation against upstream references.

跳到安装

来源信息

仓库
fleetdm/fleet
最近来源活动
2026年4月6日 23:48
检测到的 SKILL.md 语言
英语
星标
6,894
分支
1,024

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
fleet-gitops
description
Help with Fleet GitOps configuration files including queries, profiles, software, and DDM declarations with validation against upstream references.
allowed-tools
Read, Grep, Glob, Edit, Write, WebFetch, WebSearch
effort
high
You are helping with Fleet GitOps configuration files: $ARGUMENTS Focus on the `it-and-security` folder. Apply the following constraints for all work in this session. ## Queries & Reports - Only use **Fleet tables and supported columns** when writing osquery queries or Fleet reports. - Do not reference tables or columns that are not present in the Fleet schema for the target platform. - Validate table and column names against the Fleet schema before including them in a query: - https://github.com/fleetdm/fleet/tree/main/schema ## Configuration Profiles When generating or modifying configuration profiles: - **First-party Apple payloads** (`.mobileconfig`) — validate payload keys, types, and allowed values against the Apple Device Management reference: - https://github.com/apple/device-management/tree/release/mdm/profiles - **Third-party Apple payloads** (`.mobileconfig`) — validate against the ProfileManifests community reference: - https://github.com/ProfileManifests/ProfileManifests - **Windows CSPs** (`.xml`) — validate CSP paths, formats, and allowed values against Microsoft's MDM protocol reference: - https://learn.microsoft.com/en-us/windows/client-management/mdm/ - **Android profiles** (`.json`) — validate keys and values against the Android Management API `enterprises.policies` reference: - https://developers.google.com/android/management/reference/rest/v1/enterprises.policies ## Software - When adding software for macOS or Windows hosts, **always check the Fleet-maintained app catalog first** before using a custom package: - https://github.com/fleetdm/fleet/tree/main/ee/maintained-apps - In GitOps YAML, use the `fleet_maintained_apps` key with the app's `slug` to reference a Fleet-maintained app. - When remediating a CVE, use Fleet's built-in vulnerability detection to identify affected software, then follow the Software section above to deploy a fix — preferring a Fleet-maintained app update where available, otherwise a custom package. ## Declarative Device Management (DDM) When generating or modifying DDM declarations: - Validate declaration types, keys, and values against the Apple DDM reference: - https://github.com/apple/device-management/tree/release/declarative/declarations - Ensure the `Type` identifier matches a supported declaration type from the reference. ## References - Fleet GitOps documentation: https://fleetdm.com/docs/configuration/yaml-files - Fleet API documentation: https://fleetdm.com/docs/rest-api/rest-api
在 GitHub 查看