Control: 2.14 Ensure 'Access Transparency' is 'Enabled'
Description
GCP Access Transparency provides audit logs for all actions that Google personnel take in your Google Cloud resources.
Controlling access to your information is one of the foundations of information security. Given that Google Employees do have access to your organizations' projects for support reasons, you should have logging in place to view who, when, and why your information is being accessed.
Remediation
From Console
Add privileges to enable Access Transparency
- From the Google Cloud Home, within the project you wish to check, click on the Navigation hamburger menu in the top left. Hover over the 'IAM and Admin'. Select
IAMin the top of the column that opens. - Click the blue button the says
+addat the top of the screen. - In the
principalsfield, select a user or group by typing in their associated email address. - Click on the
rolefield to expand it. In the filter field enterAccess Transparency Adminand select it. - Click
save.
Verify that the Google Cloud project is associated with a billing account
- From the Google Cloud Home, click on the Navigation hamburger menu in the top left. Select
Billing. - If you see
This project is not associated with a billing accountyou will need to enter billing information or switch to a project with a billing account.
Enable Access Transparency
- From the Google Cloud Home, click on the Navigation hamburger menu in the top left. Hover over the IAM & Admin Menu. Select
settingsin the middle of the column that opens. - Click the blue button labeled Enable
Access Transparency for Organization
Default Value
By default Access Transparency is not enabled.
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.cis_v200_2_14Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.cis_v200_2_14 --shareSQL
This control uses a named query:
select 'https://cloudresourcemanager.googleapis.com/v1/projects/' || project_id resource, 'info' status, 'Manual verification required.' reason , project_id as projectfrom gcp_project;