Why it matters
Investigations routinely start weeks after an intrusion; audit records deleted before then cannot show what was read or changed.
How to fix it
Set audit retention to more than 90 days, or 0 for unlimited.
What TrustIvan reads
- Microsoft Azure: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Microsoft Azure.
Benchmark controls
- CIS Microsoft Azure Foundations Benchmark 2.1.0, control
4.1.6: SQL audit retention exceeds 90 days
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- The database firewall admits every Azure service
AzureSeverity: Medium
cloud.database.allow-all-azure-services - PostgreSQL connection throttling is off
AzureSeverity: Low
cloud.database.flag.azure-pg-connection-throttling - PostgreSQL does not log checkpoints
AzureSeverity: Low
cloud.database.flag.azure-pg-log-checkpoints - PostgreSQL does not log connections
AzureSeverity: Low
cloud.database.flag.azure-pg-log-connections - PostgreSQL does not log disconnections
AzureSeverity: Low
cloud.database.flag.azure-pg-log-disconnections - PostgreSQL keeps logs for three days or fewer
AzureSeverity: Low
cloud.database.flag.azure-pg-log-retention
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation