CLI command
probierz gate deactivate
Withdraw one activated gate mode, so its policy is evaluated but no longer enforced.
Invocation#
probierz gate deactivate --reason <REASON> <APP_ID> <MODE>Required inputs and options#
- `<appId>` and the mode `gate activate` named are required. `--reason` says why enforcement is withdrawn and is recorded in the access audit.
Output and state effects#
Removes the mode from the gate configuration with an atomic write and audits the withdrawal with its reason. Answers the configuration file, `deactivated` and the remaining configuration as JSON; a mode that was not active is reported with `deactivated: false` and nothing is written.
Exact refusals#
- A blank reason: `--reason must say why enforcement is withdrawn`.
- An unknown application is refused as its manifest load refuses it.
Source snapshot#
Generated from the Rust binaries at https://github.com/wisent-ai/probierz.git revision `f65b755da397f2ec7435eb80ed722aa6017437c1`.
Combined help SHA-256: `4a12655d233812abc29eeebbf3db3065efe3e00288024383f3eef3970d092e94`; binary SHA-256: `d5398832d3ab52c541b1efe979730dea62941ac6197898a20fccfc5d3fca44df`.