postrc_override
Override a scan finding by accepting the risk with a justification, creating an immutable audit record. Optionally set an expiration, then re-run the gate to update the ship decision.
Instructions
[Pro] Override a specific scan finding when the user accepts the risk. Requires: finding_id (from postrc_scan results) and justification (why this is acceptable). Creates an immutable audit record. Use when postrc_gate is blocked by a finding the user wants to accept. ALWAYS warn the user if overriding critical/high severity - explain the risk in plain language. Optionally set an expiration date. After override: re-run postrc_gate to re-evaluate ship decision.
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": {
"project_path": "<project_path>",
"finding_id": "<finding_id>",
"reason": "<reason>"
},
"name": "postrc_override"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Justification for the override | |
| finding_id | Yes | ID of the finding to override | |
| expires_days | No | Override expiration in days (default: 90) | |
| project_path | Yes | Absolute path to the project directory |