opschain admin notifications mandates create
packs:security-governance
opschain admin notifications mandates create --name <name> --group <group> --scope-domain estate|platform [flags]
Creates a notification mandate
(NotificationAdminService.CreateNotificationMandate).
Flags
| Flag | Meaning |
|---|---|
--name <name> | The mandate's name, unique instance-wide (mandatory). |
--group <group> | The directory group the mandate covers (mandatory). |
--scope-domain <domain> | estate or platform (mandatory). |
--scope-path <selector> | The estate scope selector; empty means the root (estate domain only). |
--object-kind <kind> | An object kind the mandate covers, e.g. change (repeatable; none covers all). |
--event-kind <kind> | An event kind the mandate covers (repeatable; none covers all). |
--state <predicate> | A state predicate, e.g. failed (repeatable; none covers all). |
--severity-floor <level> | The minimum severity: info, warn or error (default info). |
--disabled | Create the mandate disabled. |
Exit codes
| Code | Meaning |
|---|---|
| 0 | Done. |
| 1 | The server refused or failed the request (named in the error). |
| 2 | Usage error — missing mandatory flags or no server target. |