An organization has configured Data Access audit logging for sensitive Cloud Storage buckets and BigQuery datasets in a security-restricted project. An internal auditor requires access to analyze both standard Admin Activity audit logs and Data Access audit logs. The auditor must not be given permissions to edit log sinks or manage logging configurations. Which TWO IAM predefined roles must be granted to the auditor to adhere to the principle of least privilege?
- Logs Viewer (roles/logging.viewer)Cevap
- BViewer (roles/viewer)
- Private Logs Viewer (roles/logging.privateLogViewer)Cevap
- DLogging Admin (roles/logging.admin)
Cevap
The auditor requires both Logs Viewer (roles/logging.viewer) and Private Logs Viewer (roles/logging.privateLogViewer) to view standard Admin Activity logs and sensitive Data Access audit logs under the principle of least privilege.
Viewing Admin Activity audit logs requires Logs Viewer (roles/logging.viewer), while viewing Data Access audit logs requires Private Logs Viewer (roles/logging.privateLogViewer). Combining these two predefined roles provides read access to all requested audit logs while maintaining least privilege.
Adım Adım Çözüm
Anahtar Kavram
Cloud Audit Logs access control requires distinguishing standard log viewing roles from Private Logs Viewer permissions for inspecting Data Access logs under least privilege.
Tahmini Süre:2m 0s