Benchmark: Cloud Run IAM Policy Shared Access
This benchmark answers the following questions:
- Are any Cloud Run services sharing IAM access with untrusted users, groups, domains, or service accounts?
- Are any Cloud Run jobs sharing IAM access with untrusted users, groups, domains, or service accounts?
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-gcp-perimeter
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Cloud Run IAM Policy Shared Access.
Run this benchmark in your terminal:
powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_cloud_run
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_cloud_run --share
Controls
- Cloud Run job IAM policies should only grant access to trusted principals
- Cloud Run service IAM policies should only grant access to trusted principals