CmdID / az / az synapse / az synapse sql / az synapse sql pool / az synapse sql pool audit-policy
az synapse sql pool audit-policy update
Update a SQL pool's auditing policy. Azure CLI reference
13 options Its page in the Azure CLI reference
Options
--actionsList of actions and action groups to audit.--blob-storage-target-state, --bstsIndicate whether blob storage is a destination for audit records.--enable-azure-monitorWhether enabling azure monitor target or not.--event-hub, --ehThe name of the event hub.--event-hub-authorization-rule-id, --ehariThe resource Id for the event hub authorization rule.--event-hub-target-state, --ehtsIndicate whether event hub is a destination for audit records.--log-analytics-target-state, --latsIndicate whether log analytics is a destination for audit records.--log-analytics-workspace-resource-id, --lawriThe workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Audit Logs.--name, -nThe SQL pool name.--retention-daysThe number of days to retain audit logs.--stateAuditing policy state--storage-subscriptionThe subscription id of storage account--use-secondary-keyIndicates whether using the secondary storeage key or not