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.
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 |