Why it matters
With a customer-managed key, reading the logs needs permission on the key as well as the bucket, and every decryption is itself logged.
How to fix it
Encrypt the trail or log storage with a customer-managed KMS key.
What TrustIvan reads
- Amazon Web Services: the collector reads what this check needs, so it passes or fails.
- Microsoft Azure: the collector does not read this yet, so the check reports not assessed, never a pass.
- Google Cloud: the collector does not read this yet, so the check reports not assessed, never a pass.
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: Amazon Web Services, Microsoft Azure, Google Cloud.
Benchmark controls
- CIS Amazon Web Services Foundations Benchmark 3.0.0, control
3.5: CloudTrail logs are encrypted with KMS keys - CIS Microsoft Azure Foundations Benchmark 2.1.0, control
5.1.3: Activity log storage is encrypted with a customer-managed key
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
- Audit log file validation is off
AWSSeverity: Medium
cloud.logging.trail-no-validation - The bucket holding audit logs is publicly accessible
AWS, Azure, Google CloudSeverity: Critical
cloud.logging.trail-bucket-public - The bucket holding audit logs does not log access to itself
AWSSeverity: Low
cloud.logging.trail-bucket-no-access-logging - The bucket receiving exported logs has no locked retention policy
Google CloudSeverity: Low
cloud.logging.sink-no-retention-lock - Configuration history is not recorded in every region
AWS, Azure, Google CloudSeverity: Medium
cloud.logging.no-configuration-recorder - Account-wide audit logging is not configured
AWS, Azure, Google CloudSeverity: High
cloud.logging.no-account-audit-trail
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation