audit_gcp_waste
Scans GCP projects for unattached disks, idle static IPs, old snapshots, and idle VMs, then ranks findings by estimated monthly savings.
Instructions
Deep GCP waste audit: scans Compute Engine across all zones/regions for unattached persistent disks, reserved-but-idle static IPs, old snapshots, and idle VMs (CPU joined from Cloud Monitoring). Returns findings sorted by estimated monthly savings.
Args: projects: GCP project IDs to scan. Defaults to GCP_PROJECT_IDS or the default project on your credentials. checks: Subset to run: disks, ips, snapshots, idle_vms. Defaults to all. idle_days: Lookback window for the idle-VM CPU check (default 14). snapshot_age_days: Flag snapshots older than this many days (default 30).
Examples: - "Run a full GCP waste audit" - "Find unattached GCP disks and idle static IPs" - "Which GCP VMs are idle this month?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | ||
| projects | No | ||
| idle_days | No | ||
| snapshot_age_days | No |