-
Notifications
You must be signed in to change notification settings - Fork 0
Supply Chain
Module flag: supplychain
Enabled by default: yes
The Supply Chain module provides visibility into your container image pipeline: Artifact Registry repositories and images, Cloud Build triggers, and Service Directory namespaces. Use it to audit image provenance, build pipeline coverage, and service registration.
GCP_PROJECT_ID=my-project ./aura-tracker-gcp --modules supplychaingcloud services enable artifactregistry.googleapis.com \
cloudbuild.googleapis.com servicedirectory.googleapis.com| Role | Tools that need it |
|---|---|
roles/artifactregistry.reader |
gcp_artifactregistry_list_repos, gcp_artifactregistry_list_images
|
roles/cloudbuild.builds.viewer |
gcp_cloudbuild_list_triggers |
roles/servicedirectory.viewer |
gcp_servicedirectory_list |
Lists Artifact Registry repositories.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
location |
no | Filter by region; - or omit for all regions |
Returns: Repository name, format (DOCKER / MAVEN / NPM / PYTHON / GO / APT / YUM), location, size (bytes), create time, labels.
Lists Docker images in an Artifact Registry repository.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
location |
yes | Region |
repository |
yes | Repository name |
Returns: Image URI, tags, build time, upload time, size (bytes), media type.
Lists Cloud Build triggers.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
Returns: Trigger name, event type (PUSH / PULL_REQUEST / MANUAL / PUBSUB / WEBHOOK), enabled status, tags, config filename (cloudbuild.yaml path), included/excluded files, substitution variables, service account.
Lists Service Directory namespaces and their registered services.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
location |
no | Filter by region |
Returns: Namespace name, location, services within each namespace (name, endpoints with host/port/metadata).
Image inventory
"List all Docker images in the
gcr-mirrorArtifact Registry repository inus-central1for project my-project."
Build pipeline audit
"Which Cloud Build triggers are currently disabled in project my-project?"
Image tag audit
"Are any images in Artifact Registry in project my-project tagged
latest— which repositories are they in?"
Provenance tracing
"Which Cloud Build triggers produce images pushed to the
backendArtifact Registry repository?"
| Module flag | Why you'd combine it |
|---|---|
cloudrun |
Match Cloud Run service container images to their Artifact Registry sources |
gke_workloads |
Match GKE workload images to their Artifact Registry sources |
archgraph |
Include supply chain in the full project architecture graph |