2.13 Ensure Cloud Asset Inventory Is Enabled

Information

GCP Cloud Asset Inventory is services that provides a historical view of GCP resources and IAM policies through a time-series database. The information recorded includes metadata on Google Cloud resources, metadata on policies set on Google Cloud projects or resources, and runtime information gathered within a Google Cloud resource.

Cloud Asset Inventory Service (CAIS) API enablement is not required for operation of the service, but rather enables the mechanism for searching/exporting CAIS asset data directly.

Rationale:

The GCP resources and IAM policies captured by GCP Cloud Asset Inventory enables security analysis, resource change tracking, and compliance auditing.

It is recommended GCP Cloud Asset Inventory be enabled for all GCP projects.

Solution

From Google Cloud Console
Enable the Cloud Asset API:

Go to API & Services/Library by visiting https://console.cloud.google.com/apis/library

Search for Cloud Asset API and select the result for Cloud Asset API

Click the ENABLE button.

From Google Cloud CLI
Enable the Cloud Asset API:

Enable the Cloud Asset API through the services interface:

gcloud services enable cloudasset.googleapis.com

Default Value:

The Cloud Asset Inventory API is disabled by default in each project.

See Also

https://workbench.cisecurity.org/benchmarks/11843

Item Details

Category: CONFIGURATION MANAGEMENT, PROGRAM MANAGEMENT

References: 800-53|CM-8, 800-53|CM-8(1), 800-53|PM-5, CSCv7|1.4, CSCv7|11.2, CSCv7|16.1

Plugin: GCP

Control ID: 8699e22a37d4a2be4423eb4028f41680ef926b04c9ca37ca909a2c766ae42086