CmdID / az / az acat / az acat report / az acat report webhook
az acat report webhook create
Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook. Azure CLI extensions reference
2 examples 10 options Its page in the Azure CLI extensions reference
Examples
Webhook_CreateOrUpdate
az acat report webhook create --report-name testReportName --webhook-name testWebhookName --content-type application/json --enable-ssl-verification true --events "[generate_snapshot_failed]" --payload-url https://example.com --send-all-events false --status Enabled --update-webhook-key true --webhook-key 00000000-0000-0000-0000-000000000000Identify--report-nameReport Name.--webhook-nameWebhook Name.--content-typecontent type--eventsunder which event notification should be sent.--payload-urlwebhook payload url--send-all-eventswhether to send notification under any event.--statusWebhook status.--update-webhook-keywhether to update webhookKey.Webhook_CreateOrUpdate
az acat report webhook create --report-name testReportName --webhook-name testWebhookName --content-type application/json --enable-ssl true --events "[generate_snapshot_failed]" --payload-url https://example.com --send-all-events false --status Enabled --update-webhook-key true --secret 00000000-0000-0000-0000-000000000000Identify--report-nameReport Name.--webhook-nameWebhook Name.--content-typecontent type--enable-sslwhether to enable ssl verification--eventsunder which event notification should be sent.--payload-urlwebhook payload url--send-all-eventswhether to send notification under any event.--statusWebhook status.--update-webhook-keywhether to update webhookKey.--secretwebhook secret token.az acat report webhook create --report-name testReportName --webhook-name testWebhookName --payload-url https://example.com --secret 00000000-0000-0000-0000-000000000000Identify--report-nameReport Name.--webhook-nameWebhook Name.--payload-urlwebhook payload url--secretwebhook secret token.Options
--content-typecontent type--enable-sslwhether to enable ssl verification--eventsunder which event notification should be sent.--payload-urlwebhook payload url--report-nameReport Name.--secretwebhook secret token.--send-all-eventswhether to send notification under any event.--statusWebhook status.--update-webhook-keywhether to update webhookKey.--webhook-nameWebhook Name.