A security operations team requires access to analyze Google Cloud Audit Logs during incident response investigations. The analysts must be able to read both standard Admin Activity logs and sensitive Data Access audit logs across project resources. Which of the following IAM roles grant the necessary permissions to view Data Access audit logs in Cloud Logging? (Select TWO.)
- Private Logs Viewer (roles/logging.privateLogViewer)Answer
- Logging Admin (roles/logging.admin)Answer
- CLogs Viewer (roles/logging.viewer)
- DViewer (roles/viewer)
Answer
The correct roles are Private Logs Viewer (roles/logging.privateLogViewer) and Logging Admin (roles/logging.admin).
Viewing Data Access audit logs requires permissions to read Private Logs (specifically logging.privateLogEntries.list). The Private Logs Viewer (roles/logging.privateLogViewer) role is explicitly designed for this purpose. Additionally, Logging Admin (roles/logging.admin) contains full administrative control and encompasses read permissions for all log categories, including Private Logs.
Step-by-Step Solution
Key Concept
Cloud Audit Logs IAM Role Access Control