--- id: google-cloud-containeranalysis version: "2.22.1" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-cloud-containeranalysis — Google Cloud Containeranalysis API client library License: permissive · Maintenance: active · Downloads: 102.3K/mo ## What it is and what it does This is the official Python client for Google Cloud Container Analysis, a service that stores and retrieves metadata about software artifacts and integrates with vulnerability scanning in Artifact Registry and GKE. It implements the Grafeas API standard, providing a structured way to query and manage artifact metadata across your container infrastructure. The library wraps Google Cloud's gRPC APIs and handles authentication, serialization, and connection management. It's designed for developers building container security workflows, artifact governance systems, or vulnerability management tools that need programmatic access to container metadata and scanning results. Installation is straightforward for modern Python environments (3.10+), though it requires prior setup of a Google Cloud project with the Container Analysis service enabled. Use it for: - Query vulnerability scan results from Artifact Registry to build custom security dashboards or compliance reports. - Retrieve artifact metadata and attestations for policy enforcement in CI/CD pipelines. - Integrate GKE runtime vulnerability scanning data into centralized security monitoring systems. - Automate artifact governance by querying and filtering container images by metadata attributes. - Build custom tooling to correlate container images with their known vulnerabilities across deployments. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python client library for Google Cloud Container Analysis API, enabling querying and retrieval of artifact metadata and vulnerability scanning integration with Artifact Registry and GKE. Yes, if you are working with Google Cloud container infrastructure and need programmatic access to artifact metadata or vulnerability scanning results. The library is actively maintained, has no known vulnerabilities, supports current Python versions, and carries a permissive license. Install only if you have a Google Cloud project with Container Analysis enabled and a clear use case for querying artifact metadata or scanning data. ## Install pip install google-cloud-containeranalysis uv add google-cloud-containeranalysis poetry add google-cloud-containeranalysis ## Installing google-cloud-containeranalysis Before you install: Low install friction with a pure-Python wheel distribution. Actively maintained as of 8 days ago with recent commits and production-stable status. Requires Python >= 3.10 and depends on standard Google Cloud libraries (google-api-core, google-auth, protobuf, grpcio). License in practice: Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions—suitable for most projects. Quickstart: pip install google-cloud-containeranalysis from google.cloud import containeranalysis_v1 client = containeranalysis_v1.ContainerAnalysisClient() # Query artifact metadata or vulnerability information Requires Google Cloud project setup, billing enabled, Container Analysis API enabled, and authentication credentials configured (service account or application default credentials). Verify before relying: - Specific API methods and their signatures beyond the client instantiation pattern. - Performance characteristics when querying large artifact metadata sets. - Integration complexity with existing Artifact Registry or GKE deployments. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 102.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google cloud container analysis client, artifact metadata querying, vulnerability scanning integration, grafeas api implementation, container registry metadata, artifact analysis scanning, gke vulnerability insights, google-cloud, container-security, artifact-metadata [View on SkillFed](https://skillfed.io/packages/google-cloud-containeranalysis) · [View on PyPI](https://pypi.org/project/google-cloud-containeranalysis/)