Benchmark: Separation Of Duties (AC-5)
Description
Separate duties of individuals to prevent malevolent activity. automate separation of duties and access authorizations.
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 Separation Of Duties (AC-5).
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.nist_800_53_rev_5_ac_5Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.nist_800_53_rev_5_ac_5 --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