Skip to content

CSPACE-AUDIT-01: Data-Access audit logs are enabled for KMS and Secret Manager

Property Value
Severity medium
Platform GCP Confidential Space (AMD SEV-SNP)
Lifecycle stage deploy
Mode Passive: read-only cloud API calls.

What it checks

It passes when:

  • KMS and Secret Manager have Data-Access audit logging enabled.

How to fix

  • Enable DATA_READ (and DATA_WRITE) audit logging for cloudkms and secretmanager in the project IAM policy's auditConfigs.

After the fix, scan again: the check should report PASS.

When it is not assessed

SKIP:

  • Need --gcp-project; skipping check.

ERROR:

  • Could not read audit configs: …

Scan inputs

The untrust scan options this check reads:

Option Description
--gcp-project GCP project ID.

Permissions

The cloud API calls this check makes, read from the scanner's source:

Cloud API call Permission Access
Google Cloud cloudresourcemanager.projects.getIamPolicy resourcemanager.projects.getIamPolicy read

See Required permissions for every check on this platform.

Generated from untrust 1.3.0 (commit 7ef462d9a0c3).