Skip to main content
Version: v5.6.1

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​

FlagMeaning
--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).
--disabledCreate the mandate disabled.

Exit codes​

CodeMeaning
0Done.
1The server refused or failed the request (named in the error).
2Usage error — missing mandatory flags or no server target.