STRAZAdocs

strazactl drafts

Check, store, review and publish drafts of changes to MCP servers, roles, access rows and policy sets

On this page

Synopsis

A draft holds App, Role, PolicySet and Removal documents that publish together or not at all. Straza checks every draft against live state, and nothing in a draft changes live state until a person publishes it with strazactl drafts publish.

Exit status: 0 when the command did its job and, for check, create, update, revert, rebase and publish, the documents can be published as they stand. 1 when the server looked and said no: the verdict refuses, the server refused an update, a revert, a rebase, a contact or a publish, or a contacted server did not answer. 2 when the command could not do its job, for usage, a file, the credential, a refusal of the caller, the network or the server. list, show and discard never exit 1.

Inside a coding agent on your strazactl login, check, list and show run, and the verbs that change a draft refuse to run. With STRAZA_API_TOKEN set they run as that token, and publish then meets the server’s refusal, because only a person publishes.

strazactl drafts [flags]

Options inherited from parent commands

      --server string   strazad base URL (overrides $STRAZA_SERVER and the server you logged into)

See also

Search documentation

Search page titles, commands, and article text.

↑ ↓ Choose resultEnter OpenEsc Close