Check ID: artifacts_container_analysis_enabled
Provider: GCP
Service: artifacts
Severity: MEDIUM
Resource type: serviceusage.googleapis.com/Service

What this check verifies

Evaluates whether Artifact Analysis (containeranalysis.googleapis.com) is enabled at the project level to support vulnerability scanning and metadata for container images in Artifact Registry or Container Registry.

Risk

Absent this service, images aren’t continuously scanned, leaving known CVEs unnoticed. Attackers can run vulnerable containers, gain code execution, move laterally, and exfiltrate data, eroding the integrity and confidentiality of workloads and the software supply chain.

Recommendation

Enable Artifact Analysis (containeranalysis.googleapis.com) for projects hosting container images. Integrate scan results into CI/CD policy gates, apply least privilege to findings access, and rebuild images promptly to maintain defense in depth.

Remediation

gcloud services enable containeranalysis.googleapis.com —project <PROJECT_ID>

References

Where this check fires

This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable by Check ID = artifacts_container_analysis_enabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks