All skills
google avatar

/cloud-logging-query-generation

@becc4b8
by googlegoogle/skills21k stars
1,698

Generates Logging Query Language (LQL) queries for Google Cloud Logging from natural language. Use this skill when you need to query log data or when you are debugging issues. You can filter log data by Google Cloud service. Don't use this skill to query other databases, such as SQL or Cloud Spanner.

Use this Skill: https://skilld.dev/gh/google/skills/cloud-logging-query-generation

This session only. Nothing lands on disk.

referencesquery_security.md

≈354 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Security (audit logging) LQL queries

Example queries

Audit logs—all

Variables to replace: None

logName:"cloudaudit.googleapis.com"

Audit logs—Access Transparency (AXT)

Variables to replace: None

log_id("cloudaudit.googleapis.com/access_transparency")

Audit logs—Admin Activity

Variables to replace: None

log_id("cloudaudit.googleapis.com/activity")

Audit logs—Data Access

Variables to replace: None

log_id("cloudaudit.googleapis.com/data_access")

Audit logs—System Event

Variables to replace: None

log_id("cloudaudit.googleapis.com/system_event")

VPC Service Controls access level attached

Variables to replace: <ACCESS_LEVEL>

log_id("cloudaudit.googleapis.com/activity") AND
protoPayload.serviceName="accesscontextmanager.googleapis.com" AND
protoPayload.methodName="google.identity.accesscontextmanager.v1.AccessContextManager.UpdateServicePerimeter" AND
-protoPayload.metadata.previousState:"<ACCESS_LEVEL>" AND
protoPayload.request.servicePerimeter.spec.accessLevels:"<ACCESS_LEVEL>"

VPC Service Controls policy updated or deleted

Variables to replace: None

resource.type="audited_resource" AND
(protoPayload.methodName="AccessContextManager.UpdateServicePerimeter" OR
protoPayload.methodName="AccessContextManager.DeleteServicePerimeter")

Source: SKILL.md on GitHub

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    This skill is designed to generate Logging Query Language (LQL) queries for Google Cloud Logging from natural language input. It provides comprehensive reference guides, syntax rules, and examples for various Google Cloud services. No security issues were detected.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "CloudObservabilityAndMonitoring"
}

README badge

README badge for google/skills/cloud-logging-query-generation