driftguard_remediate_secret
Moves a hardcoded secret into a local .env file, adds .env to .gitignore, and replaces the value with process.env. to prevent accidental secret exposure.
Instructions
Sposta un segreto trovato in chiaro nel file .env locale, assicurando l'inserimento di .env in .gitignore e sostituendo il valore con process.env..
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"finding": "<finding>"
},
"name": "driftguard_remediate_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| finding | Yes | L'oggetto finding restituito da driftguard_scan_secrets. |