asset_scan_resolve
Resolve a secret-scan finding that blocked a file by recording the user’s explicit allow (false positive) or exclude decision, with their quote for audit.
Instructions
Answer a secret-scan hit that held a file back. Only on the user's explicit word.
Never decide this yourself: show the user the file, rule and line from asset_backup_status and ask. "allow" (the user says it is a false positive) uploads that exact content; a later edit is scanned again. "exclude" stops backing up that file for good. The answer is audited with the user's words.
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_id": "<finding_id>",
"action": "<action>",
"user_quote": "<user_quote>"
},
"name": "asset_scan_resolve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | "allow" or "exclude", as the user decided | |
| finding_id | Yes | The finding_id from asset_backup_status | |
| user_quote | Yes | The user's own words deciding it, verbatim (recorded in the audit event) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||