CmdID

CmdID / az / az security / az security contact

az security contact update

Update security contact configurations for the subscription Azure CLI reference

1 example 5 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Updates a security contact.

az security contact update -n 'default' --emails 'john1@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 alerts

Options

5 in the Azure CLI reference
--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