Benchmark: PR.AA-03
Description
Users, services, and hardware are authenticated.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select PR.AA-03.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_compliance.benchmark.nist_csf_v2_pr_aa_03
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_compliance.benchmark.nist_csf_v2_pr_aa_03 --share
Controls
- Prevent public users from having access to resources via IAM
- Ensure API keys are rotated every 90 days
- Ensure API keys are restricted to only APIs that application needs access
- Ensure API keys are restricted to use by only specified Hosts and Apps
- Ensure that there are only GCP-managed service account keys for each service account
- Ensure user-managed/external keys for service accounts are rotated every 90 days or less
- Ensure that Service Account has no Admin privileges
- Ensure that IAM users are not assigned the Service Account User or Service Account Token Creator roles at project level
- GKE clusters client certificate authentication should be enabled
- Ensure that the 'contained database authentication' database flag for Cloud SQL on the SQL Server instance is set to 'off'