Policy: Azure > PostgreSQL > Server > Audit Logging > Log Retention Days
Set the Desired Value for the PostgreSQL log_retention_days parameter.
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 |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceLogging
- tmod:@turbot/azure-postgresql#/policy/types/serverAuditLoggingLogRetentionDays
- turbot graphql policy-type --id "tmod:@turbot/azure-postgresql#/policy/types/serverAuditLoggingLogRetentionDays"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-postgresql#/policy/types/serverAuditLoggingLogRetentionDays"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI