fleet/cmd/fleetctl/testdata/gitops/global_integration.yml
Victor Lyuboslavsky ab172f07af
Adding secret support to scripts via gitops. (#24649)
#24547 

# Checklist for submitter

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-12-11 15:05:48 -06:00

14 lines
268 B
YAML

policies:
queries:
agent_options:
path: ./lib/agent-options.yml
controls:
scripts:
- path: ./lib/fleet-secret.sh
org_settings:
server_settings:
server_url: $FLEET_URL
org_info:
org_name: Fleet
secrets:
- secret: "$FLEET_GLOBAL_ENROLL_SECRET"