turbot/terraform_gcp_compliance

GitHub
Loading controls...

Control: Ensure that instances are not configured to use the default service account with full access to all Cloud APIs

Description

To support principle of least privileges and prevent potential privilege escalation it is recommended that instances are not assigned to default service account Compute Engine default service account with Scope Allow full access to all Cloud APIs.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.compute_instance_with_no_default_service_account_with_full_access

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_gcp_compliance.control.compute_instance_with_no_default_service_account_with_full_access

SQL

This control uses a named query:

compute_instance_with_no_default_service_account_with_full_access

Tags