strazactl policy apply
Upload PolicySet YAML: a new set is stored off, and edits to a live set wait for policy activate
On this page
Synopsis
Uploads every PolicySet document in the -f files to the server, which validates
each one. A set the server does not have yet is stored off and governs nothing.
For a set that is already live, the upload is stored as edits and
the published version keeps deciding. strazactl policy list shows such a set
as Live, edits not published, until strazactl policy activate <name> checks the
edits and publishes them.
strazactl policy apply [flags]
Examples
strazactl policy apply -f local-tools-guardrails.yaml
strazactl policy activate local-tools-guardrails
Options
-f, --file stringArray PolicySet YAML file (repeatable)
Options inherited from parent commands
--server string strazad base URL (overrides $STRAZA_SERVER and the server you logged into)
See also
- strazactl policy: Validate and manage PolicySets