Severity Framework
Snyk CCSS
Rule category
IAM / Access
Is your enviroment affected by this misconfiguration?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsFrameworks
- Snyk ID SNYK-CC-00468
- credit Snyk Research Team
Description
Enabling 'DATA_READ' and 'DATA_WRITE' data access log types as part of the default IAM audit log config ensure important security events, such as unauthorized data access or modification, are tracked.
How to fix?
IAM default audit log config should include 'DATA_READ' and 'DATA_WRITE' log types.
Example configuration
resource "google_project_iam_audit_config" "allowed1" {
project = "test-project"
service = "allServices"
audit_log_config {
log_type = "DATA_READ"
}
audit_log_config {
log_type = "DATA_WRITE"
}
}