Stay organized with collections
Save and categorize content based on your preferences.
Enable the Container Analysis API
The Artifact Analysis API provides metadata storage for
software artifacts on both Container Registry and Artifact Registry.
Enable the Container Analysis API if you are using Artifact Analysis
for managing metadata. You can enable the API for an
existing project, or create a new project and then enable the API.
Users and service accounts that need to view occurrences must have the
Container Analysis Occurrences Viewer. See
Configuring access control for information about granting
permissions.
Disable the Container Analysis API
When you disable the Container Analysis API, the service is turned off for both
Container Registry and Artifact Registry.
To disable the Container Analysis API follow the instructions to disable
services.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-06 UTC."],[[["The Container Analysis API is essential for managing metadata of software artifacts in both Container Registry and Artifact Registry."],["Container Registry is deprecated and scheduled for shutdown, with new `gcr.io` repositories now hosted on Artifact Registry by default for organizations that haven't used Container Registry before January 8, 2024, with full shutdown by March 18, 2025."],["Enabling the Container Analysis API is necessary for utilizing Artifact Analysis to manage metadata, and it can be done for existing projects or new projects."],["The Container Scanning API automatically enables the Container Analysis API."],["Disabling the Container Analysis API turns off the service for both Container Registry and Artifact Registry, and this can be done by following instructions to disable services."]]],[]]