CmdID

CmdID / az / az sql / az sql db / az sql db audit-policy

az sql db audit-policy update

Update a database's auditing policy. Azure CLI reference

9 options Its page in the Azure CLI reference

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

Options

9 in the Azure CLI reference
--actionsList of actions and action groups to audit.These are space seperated values.Example: --actions FAILED_DATABASE_AUTHENTICATION_GROUP BATCH_COMPLETED_GROUP
--blob-storage-target-state, --bstsIndicate whether blob storage is a destination for audit records.
--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.
--retention-daysThe number of days to retain audit logs.
--stateAuditing policy state