strazactl policy diff
Diff the stored PolicySet against a local file
On this page
Synopsis
Renders the difference between the named stored PolicySet and a local file: rule-level added/changed/removed first, then a unified line diff. Exit codes speak diff(1): 0 identical, 1 differs, 2 error. There is no rollback: the way back is apply a previous file, then activate.
strazactl policy diff <name> [flags]
Options
-f, --file string local PolicySet YAML file to compare
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