google-cloud-scc-remediation
Qué hace
Esta skill planifica cómo corregir los problemas de seguridad que Google Cloud ha señalado. Es para equipos de seguridad y de nube que quieren una corrección cuidadosa y aprobada para cada hallazgo.
Cuándo usarla
- ✓Cuando quieres corregir un hallazgo de Security Command Center en Google Cloud.
- ✓Cuando necesitas mitigar una ruta de ataque o una combinación tóxica.
- ✓Cuando quieres un plan de corrección que incluya pasos de verificación y de reversión antes de cualquier cambio.
Link de la skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-remediation/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Corrige el hallazgo de Security Command Center sobre mi bucket de almacenamiento público, y enséñame primero el plan.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Presenta un plan de corrección estructurado con los comandos exactos o la diferencia de configuración, y espera tu aprobación. Cuando estás de acuerdo, hace los cambios con el proyecto de destino indicado explícitamente, e incluye pasos de verificación y de reversión.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Google Cloud Security Command Center Remediation
Usage Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read and follow the instructions in
Usage Attribution.
Overview
A unified remediation skill for Google Cloud Security Command Center findings. It handles both single-domain findings and multi-domain Toxic Combinations.
1. Safety & Consent Gate
Security Command Center remediations modify infrastructure, access policies, or workload deployments.
Mandatory Consent Gate: NEVER execute mutating
gcloud,terraform, or API commands without first presenting a structured remediation plan and the exact command/config diff to the user. STOP after presenting the plan and ALWAYS ask: "Do you approve executing this remediation plan?" before execution. Automatic mutation of security policies or resource configurations can cause unintended outages, lockouts, or compliance violations.Confirm the Target Project: Before executing, confirm that the active
gcloudaccount and project match the project of the finding's resource. Every mutating command MUST specify the target explicitly, with--projector a full resource path, rather than relying on the defaultgcloudproject.Verification & Rollback Required: Every proposed remediation plan MUST explicitly include, for each mutating step:
- the mutating remediation command(s),
- the verification check command(s) (
gcloud ... describeorlist), and - the rollback command(s) that undo the change, or an explicit statement that the step cannot be undone (for example, service account key deletion).
Use the commands from the loaded playbook where they exist. If the playbook lacks a verification or rollback command for a step, derive the command and label it as not sourced from a playbook.
Dependency & Impact Checks: Every remediation plan MUST state what could break as a result of each change and ask the user to confirm nothing depends on it. For example:
- IAM role changes or revocations: you MUST explicitly advise the user to verify cross-project dependencies and CI/CD pipeline workflows that rely on the existing permissions before revoking a project-level role binding.
- Firewall rule changes: other traffic the same rule allows (such as web traffic on ports 80 or 443).
- External IP removal: inbound access and outbound internet access for the VM.
- Public Access Prevention on a bucket: sites or users that legitimately read it publicly.
CRITICAL WORKFLOW RULE: Do NOT execute any mutating commands in the same turn that you present the remediation plan. You MUST end your turn immediately after asking for approval and wait for the user's next message.
- If there is no interactive user (for example, a scheduled or pipeline run), stop at the plan and never execute.
- If the user approves only part of the plan, or the plan changes after approval, present the updated plan and ask for approval again before executing.
Narrowly Scoped Changes: Always propose the narrowest possible fix that resolves the finding. When more than one fix would work, prefer reversible changes over irreversible ones (for example, disable a key before deleting it), resource-level changes over project, folder, or organization-level changes, and changes that affect only the finding's resource over changes that affect other resources. Do not bundle fixes for unrelated issues noticed along the way; mention them to the user separately.
2. Intent Router & Progressive Disclosure
Do not load all reference playbooks into memory at once. Analyze the Security
Command Center finding's category, findingClass, or attack path, then read
ONLY the relevant reference document(s).
Match on the finding's category first, and fall back to findingClass
only when no category matches. Routing on findingClass alone misroutes IAM
findings: Security Health Analytics IAM findings are MISCONFIGURATION class,
and IAM recommender findings are Vulnerability class, so neither would ever
reach the IAM playbook.
| Match On | Values | Target Reference Playbook
Preguntas frecuentes
¿Cambiará mis recursos sin preguntar?
No. Siempre muestra el plan y pide tu aprobación antes de ejecutar cualquier cambio.
¿Cubre las correcciones de IAM?
Sí. Gestiona las correcciones de permisos de IAM, las configuraciones incorrectas, las vulnerabilidades y las combinaciones tóxicas.
¿Cómo evita cambiar el proyecto equivocado?
Confirma que la cuenta y el proyecto activos coinciden con el recurso del hallazgo antes de ejecutar los cambios.
Detalles
Descripción original del autor
Remediates Google Cloud Security Command Center findings, including IAM permission fixes, cloud resource misconfigurations, vulnerabilities, and Toxic Combinations. Use when asked to fix, remediate, or mitigate a Security Command Center finding or address attack paths. Don't use for general IAM policy querying without a Security Command Center finding. For runtime threat detections, this skill provides containment and investigation guidance rather than automated configuration fixes.
repo: google/skills
Popularidad
- Estrellas en GitHub
- 22 mil
- Posición en el ranking
- #10315
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
finding-google-skills
22 milAyuda a tu agente a encontrar las guías de Google adecuadas para una tarea de configuración, como alojamiento, bases de datos, almacenamiento, inicio de sesión o servicio de modelos de IA.
gcloud
22 milAyuda a tu agente a escribir y comprobar comandos gcloud de Google Cloud, consultando la sintaxis exacta antes de ejecutar nada para no adivinar los parámetros.
google-cloud-recipe-auth
22 milGuía a tu agente por la identidad y el acceso en Google Cloud, incluido cómo inician sesión las personas y los servicios y qué permisos reciben.
google-cloud-recipe-onboarding
22 milGuía a un desarrollador nuevo en sus primeros pasos en Google Cloud, incluida la elección de un proyecto, la vinculación de la facturación y el despliegue de un primer recurso.
Skills parecidas
reverse-engineer-anything
422 milAyuda a tu agente a revisar apps y paquetes ya publicados para explicar sus funciones, comparar versiones o guiar una reconstrucción, usando la herramienta REA.
1password
394 milAyuda a tu agente a instalar la CLI de 1Password, iniciar sesión y leer o inyectar secretos sin imprimir sus valores en el chat.
healthcheck
394 milAyuda a tu agente a auditar el ordenador o servidor que ejecuta OpenClaw en busca de riesgos de seguridad, como SSH, cortafuegos, actualizaciones y copias de seguridad, y después sugerir arreglos seguros.