Benchmark: Media Access (MP-2)
Description
Restrict access to [Assignment: organization-defined types of digital and/or non-digital media] to [Assignment: organization-defined personnel or roles].
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-complianceStart the Powerpipe server:
steampipe service startpowerpipe serverOpen http://localhost:9033 in your browser and select Media Access (MP-2).
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.nist_800_53_rev_5_mp_2Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.nist_800_53_rev_5_mp_2 --shareControls
- Ensure that Compute instances do not have public IP addresses
 - Ensure that IAM users are not assigned the Service Account User or Service Account Token Creator roles at project level
 - Ensure that Separation of duties is enforced while assigning service account related roles to users
 - Ensure that Cloud KMS cryptokeys are not anonymously or publicly accessible
 - Ensure that Separation of duties is enforced while assigning KMS related roles to users
 - Prevent a public IP from being assigned to a Cloud SQL instance
 - Check if BigQuery datasets are publicly readable
 - Check if Cloud Storage buckets have Bucket Only Policy turned on
 - Ensure 'skip_show_database' database flag for Cloud SQL Mysql instance is set to 'on'
 - Ensure that the 'contained database authentication' database flag for Cloud SQL on the SQL Server instance is set to 'off'
 - Ensure that the 'cross db ownership chaining' database flag for Cloud SQL SQL Server instance is set to 'off'
 - Check if Cloud SQL instances are world readable
 - Ensure that Cloud Storage buckets used for exporting logs are configured using bucket lock
 - Ensure that Cloud Storage bucket is not anonymously or publicly accessible