google-cloud-scc-remediation
Ce qu’il fait
Cette skill planifie la manière de corriger les problèmes de sécurité signalés par Google Cloud. Elle s'adresse aux équipes sécurité et cloud qui veulent une correction prudente et approuvée pour chaque constat.
Quand l’utiliser
- ✓Quand vous voulez corriger un constat de Security Command Center sur Google Cloud.
- ✓Quand vous devez atténuer un chemin d'attaque ou une combinaison toxique.
- ✓Quand vous voulez un plan de correction avec des étapes de vérification et de retour arrière avant toute modification.
Lien du skill
https://github.com/google/skills/blob/main/skills/cloud/google-cloud-scc-remediation/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Corrige le constat de Security Command Center sur mon bucket de stockage public, et montre-moi d'abord le plan.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Elle présente un plan de correction structuré avec les commandes exactes ou la différence de configuration, puis attend votre approbation. Une fois que vous êtes d'accord, elle applique les modifications avec le projet cible défini explicitement, et inclut des étapes de vérification et de retour arrière.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes
Modifiera-t-elle mes ressources sans demander ?
Non. Elle affiche toujours le plan et demande votre approbation avant d'exécuter une modification.
Couvre-t-elle les corrections IAM ?
Oui. Elle traite les corrections de permissions IAM, les mauvaises configurations, les vulnérabilités et les combinaisons toxiques.
Comment évite-t-elle de modifier le mauvais projet ?
Elle vérifie que le compte et le projet actifs correspondent à la ressource du constat avant d'exécuter les modifications.
Détails
Description originale de l’auteur
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
Popularité
- Étoiles GitHub
- 22k
- Position au classement
- #10315
- Licence
- Apache-2.0
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
finding-google-skills
22kAide votre agent à trouver les bons guides Google pour configurer un projet : hébergement, bases de données, stockage, connexion ou modèles IA.
gcloud
22kAide votre agent à écrire et vérifier les commandes gcloud de Google Cloud, en consultant la syntaxe exacte avant toute exécution pour ne pas deviner les options.
google-cloud-recipe-auth
22kGuide votre agent dans la gestion des identités et des accès Google Cloud, y compris la façon dont les personnes et les services se connectent et les permissions qu'ils obtiennent.
google-cloud-recipe-onboarding
22kAccompagne un nouveau développeur dans ses premiers pas sur Google Cloud, y compris le choix d'un projet, la liaison de la facturation et le déploiement d'une première ressource.
Skills similaires
reverse-engineer-anything
422kAide votre agent à analyser les applications et paquets livrés, pour expliquer leurs fonctions, comparer des versions ou guider une reconstruction, avec REA.
1password
394kAide votre agent à configurer l'interface en ligne de commande de 1Password, à se connecter, et à lire ou injecter des secrets sans afficher leurs valeurs dans le chat.
healthcheck
394kAide votre agent à auditer l'ordinateur ou le serveur qui fait tourner OpenClaw pour détecter des risques de sécurité, comme SSH, le pare-feu, les mises à jour et les sauvegardes, puis à proposer des corrections sûres.