strazactl drafts rebase
Check a draft again on live state, keeping the fields it changes and taking every other field from live
On this page
Synopsis
A field that the draft and live state both changed to different values needs a pick: --pick “App/demo-tools straza.limits.rps=draft” keeps the draft’s value, and =live takes live’s. A Check again with no pick decides nothing, so under admin.secondPerson it does not make you an author of the draft.
strazactl drafts rebase <id> [flags]
Options
--json print the server's JSON answer, indented, and nothing else on stdout
--pick stringArray the value to keep for a field both sides changed, as "Kind/Name field=draft" or "Kind/Name field=live"; repeatable
Options inherited from parent commands
--server string strazad base URL (overrides $STRAZA_SERVER and the server you logged into)
See also
- strazactl drafts: Check, store, review and publish drafts of changes to MCP servers, roles, access rows and policy sets