Appearance
Example: GitOps policies
Audience: Platform engineers and agents maintaining policy repos
Repository layout
text
policies/
├── recording-staging.yaml
├── recording-prod.yaml
├── mock-staging.yaml
└── compare-global.yamlExport from server (bootstrap)
bash
sp policy recording list --json
sp policy recording export <policy-id> -o policies/recording-prod.yamlDrift check (agent or CI)
bash
sp policy recording validate -f policies/recording-prod.yaml --json
# optional v2:
# sp policy recording diff -f policies/recording-prod.yaml --against prod-idApply after review
bash
sp policy recording apply -f policies/recording-prod.yaml --jsonMulti-environment profiles
yaml
# ~/.config/softprobe/config.yaml
profiles:
staging:
url: https://sp-staging.example.com
prod:
url: https://sp.example.combash
sp --profile staging policy recording apply -f policies/recording-staging.yaml --json
sp --profile prod policy recording apply -f policies/recording-prod.yaml --json