turbot/steampipe-mod-gcp-perimeter

Benchmark: Compute Engine IAM Policy Shared Access

This benchmark answers the following questions:

  • Are any Compute Engine instances sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine disks sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine images sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine node groups sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine node templates sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine resource policies sharing IAM access with untrusted users, groups, domains, or service accounts?
  • Are any Compute Engine subnetworks sharing IAM access with untrusted users, groups, domains, or service accounts?

Usage

Install the mod:

mkdir dashboards
cd dashboards
powerpipe mod init
powerpipe mod install github.com/turbot/steampipe-mod-gcp-perimeter

Start the Powerpipe server:

steampipe service start
powerpipe server

Open http://localhost:9033 in your browser and select Compute Engine IAM Policy Shared Access.

Run this benchmark in your terminal:

powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_compute

Snapshot and share results via Turbot Pipes:

powerpipe benchmark run gcp_perimeter.benchmark.iam_policy_shared_access_compute --share

Controls

Tags