Why it matters
Without a locked retention policy, someone with access to the bucket can delete the logs that would show what they did.
How to fix it
Set a retention policy on the log bucket and lock it.
What TrustIvan reads
- Google Cloud: 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: Google Cloud.
Benchmark controls
- CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
2.3: Log export buckets have locked retention
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
- Configuration history is not recorded in every region
AWS, Azure, Google CloudSeverity: Medium
cloud.logging.no-configuration-recorder - The bucket holding audit logs does not log access to itself
AWSSeverity: Low
cloud.logging.trail-bucket-no-access-logging - Account-wide audit logging is not configured
AWS, Azure, Google CloudSeverity: High
cloud.logging.no-account-audit-trail - The bucket holding audit logs is publicly accessible
AWS, Azure, Google CloudSeverity: Critical
cloud.logging.trail-bucket-public - Data access audit logs are not enabled for all services
Google CloudSeverity: Medium
cloud.logging.data-access-audit - Audit log file validation is off
AWSSeverity: Medium
cloud.logging.trail-no-validation
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation