A cloud security engineer needs to review Data Access audit logs in Google Cloud Logging to inspect user activity on Cloud Storage objects. Which predefined IAM role must be granted to the security engineer to view these specific logs?
- Private Logs Viewer (roles/logging.privateLogViewer)Answer
- BLogs Viewer (roles/logging.viewer)
- CProject Owner (roles/owner)
- DOrganization Administrator (roles/resourcemanager.organizationAdmin)
Answer
Grant the Private Logs Viewer (roles/logging.privateLogViewer) role.
Data Access audit logs record API calls that create, modify, or read user-provided resource data. Because these logs can expose sensitive resource contents, Google Cloud restricts access to users with the Private Logs Viewer (roles/logging.privateLogViewer) role or specific logging admin permissions.
Step-by-Step Solution
Key Concept
Cloud Audit Logs Access Controls and IAM Roles
Estimated Time:45s