Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add required role to see data access logs #12300

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions configs/terraform/environments/prod/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ resource "google_project_iam_member" "kyma_developer_admin_logging_viewer" {
role = "roles/logging.viewer"
member = "group:${var.kyma_developer_admin_email}"
}

# roles/logging.privateLogViewer is required to see Data Access audit logs
resource "google_project_iam_member" "kyma_developer_admin_private_logging_viewer" {
provider = google.kyma_project
project = var.kyma_project_gcp_project_id
role = "roles/logging.privateLogViewer"
member = "group:${var.kyma_developer_admin_email}"
}
Loading