Skip to main content

Google Cloud SQL diagnostics

v0.1.0

Read-only Cloud SQL diagnostics for instances, databases, users, backups, operations, and server CA certificates. Fixed projections omit passwords, replication credentials, database-flag values, labels, descriptions, and certificate PEM.

8 allowed by default
Pack ID
gcp-cloudsql
Vendor
emisar
OS
linux
Actions
8
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
gcloud jq

Install

emisar pack install fetches this pack, re-validates it, and verifies its content hash against the --hash below — the exact bytes this page was rendered against, so a tampered copy is rejected — before copying it into the runner's packs dir. The command reloads a running daemon itself; no manual restart.

on the runner host
sudo emisar pack install gcp-cloudsql --hash sha256:decb79e17a030889b09ec7e059e2e3c17b82526c3db3f43c82fe1eae53d3aec2

Actions 8 total

View on GitHub
  • gcp.sql_backups script low

    gcloud sql backups list

    List bounded Cloud SQL backup status, type, location, version, and timing.

    View source on GitHub
  • gcp.sql_databases script low

    gcloud sql databases list

    List bounded database names, charset, collation, and SQL Server details for one instance.

    View source on GitHub
  • gcp.sql_instance_describe script low

    gcloud sql instances describe

    Show one Cloud SQL instance's engine, HA, networking, backup, maintenance, and capacity summary.

    View source on GitHub
  • gcp.sql_instances script low

    gcloud sql instances list

    List bounded Cloud SQL engine, HA, networking, backup, maintenance, and capacity summaries.

    View source on GitHub
  • gcp.sql_operation_describe script low

    gcloud sql operations describe

    Show one Cloud SQL operation's type, target, status, timing, and error codes.

    View source on GitHub
  • gcp.sql_operations script low

    gcloud sql operations list

    List bounded recent Cloud SQL operation type, target, status, timing, and error codes.

    View source on GitHub
  • gcp.sql_server_ca_certs script low

    gcloud sql ssl server-ca-certs list

    List bounded Cloud SQL server CA identity, type, fingerprint, and expiry without certificate PEM.

    View source on GitHub
  • gcp.sql_users script low

    gcloud sql users list

    List bounded Cloud SQL user identities, hosts, types, and password-policy state without passwords.

    View source on GitHub