CmdID / az / az security / az security contact
az security contact create
Creates a security contact. Azure CLI reference
1 example 5 options Its page in the Azure CLI reference
Examples
Creates a security contact.
az security contact create -n 'default' --emails 'john@contoso.com;jane@contoso.com' --phone '214-275-4038' --notifications-by-role '{"state":"On","roles":["Owner"]}' --alert-notifications '{"state":"On","minimalSeverity":"Low"}'Identify-nName of the security contact object--emailsList of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.--phoneThe security contact's phone number--notifications-by-roleDefines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.--alert-notificationsDefines whether to send email notifications about new security alertsOptions
--alert-notificationsDefines whether to send email notifications about new security alerts--emailsList of email addresses which will get notifications from Microsoft Defender for Cloud by the configurations defined in this security contact.--notifications-by-roleDefines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.--phoneThe security contact's phone number--security-contact-name, --name, -nName of the security contact object