-
Notifications
You must be signed in to change notification settings - Fork 0
Cloud Storage
Module flag: storage
Enabled by default: yes
The Cloud Storage module provides bucket and object inventory. Use it to audit bucket configuration (versioning, lifecycle, uniform access control, public access prevention) and list objects with optional prefix filtering.
GCP_PROJECT_ID=my-project ./aura-tracker-gcp --modules storagegcloud services enable storage.googleapis.com| Role | Tools that need it |
|---|---|
roles/storage.objectViewer |
All tools |
Lists all Cloud Storage buckets in the project.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
Returns: Bucket name, location, storage class, creation time, labels, retention policy (if set).
Gets detailed metadata for a single bucket.
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
bucket_name |
yes | Bucket name |
Returns: Versioning (enabled/disabled), lifecycle rules (action + condition), uniform bucket-level access (enabled/disabled), public access prevention (enforced/inherited), CORS configuration, default KMS key, soft delete policy, retention policy.
Lists objects in a bucket, with optional prefix filtering (returns up to 1000 objects).
Parameters:
| Name | Required | Description |
|---|---|---|
project_id |
yes | GCP project ID |
bucket_name |
yes | Bucket name |
prefix |
no | Object name prefix filter |
limit |
no | Max objects to return (default: 1000) |
Returns: Object name, size (bytes), content type, storage class, create time, update time, MD5 hash.
The following MCP resources are always available for Cloud Storage:
-
gcp://{project}/storage/buckets— All buckets with basic metadata -
gcp://{project}/storage/{bucket}— Full metadata for a single bucket -
gcp://{project}/storage/{bucket}/objects— Bucket config summary
Inventory
"List all Cloud Storage buckets in project my-project and their locations."
Public access audit
"Which buckets in project my-project do not have public access prevention enforced?"
Versioning audit
"Which buckets in project my-project have versioning disabled?"
Lifecycle audit
"List buckets in project my-project that have no lifecycle rules configured."
Object listing
"Show me the objects in
my-backup-bucketwith the prefix2024/01/."
| Module flag | Why you'd combine it |
|---|---|
iam |
Audit bucket IAM bindings (allUsers, allAuthenticatedUsers) |
secretmanager |
Compare with secrets — buckets sometimes store service credentials |
archgraph |
Include Storage buckets in the full architecture graph |