ignore_vulnerability
Ignore a vulnerability finding by its hash to exclude it from future scans. Optionally add a reason for suppression.
Instructions
Ignore a specific vulnerability finding so it won't appear in future scans.
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": {
"target_path": "<target_path>",
"finding_hash": "<finding_hash>"
},
"name": "ignore_vulnerability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_path | Yes | The root directory of the project (where .sast-mcp-ignore.json lives). | |
| finding_hash | Yes | The unique hash of the finding to ignore (shown in scan results). | |
| reason | No | Optional justification for ignoring the vulnerability. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |