Policy: Azure > SQL > Server > Auditing > Retention Days
Define the number of days to keep in the audit logs in the storage account.
Note: Setting the policy to 0
will set the retention to infinity.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Packs
This policy setting is used by the following policy packs:
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceLogging
- tmod:@turbot/azure-sql#/policy/types/serverAuditingRetentionDays
- turbot graphql policy-type --id "tmod:@turbot/azure-sql#/policy/types/serverAuditingRetentionDays"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-sql#/policy/types/serverAuditingRetentionDays"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI