# strazactl drafts

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


## 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 in the console under Drafts.
strazactl runs on an admin API token, which is not a person, so it never publishes.

Exit status: 0 when the command did its job and, for check, create, update,
revert and rebase, the documents can be published as they stand. 1 when the
server looked and said no: the verdict refuses, or the server refused an update,
a revert or a rebase.
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.

```
strazactl drafts [flags]
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl](https://docs.straza.ai/reference/cli/strazactl/index.md): Straza admin CLI
* [strazactl drafts check](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_check/index.md): Check documents against live state and print the verdict, storing nothing
* [strazactl drafts create](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_create/index.md): Store the documents as a new draft and print its verdict
* [strazactl drafts discard](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_discard/index.md): Discard an open draft, which changes nothing live
* [strazactl drafts list](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_list/index.md): List drafts, newest first, the open ones unless --state names others
* [strazactl drafts rebase](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_rebase/index.md): Check a draft again on live state, keeping the fields it changes and taking every other field from live
* [strazactl drafts revert](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_revert/index.md): Make a new draft that undoes a published one, checked like any other
* [strazactl drafts show](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_show/index.md): Show a draft: who proposed it, each object against live state, its verdict and who gains what
* [strazactl drafts update](https://docs.straza.ai/reference/cli/strazactl/strazactl_drafts_update/index.md): Replace an open draft's documents with a new revision and print its verdict



