change_hotspot_status
Mark a security hotspot as TO_REVIEW or REVIEWED (with resolution FIXED, SAFE, or ACKNOWLEDGED) after manual review to reflect the outcome.
Instructions
Mark a hotspot TO_REVIEW or REVIEWED (with resolution) so downstream analyses see the new state.
This updates the status of a security hotspot after manual review.
Status values:
TO_REVIEW: Mark the hotspot as needing review (no resolution required)
REVIEWED: Mark as reviewed (resolution parameter is REQUIRED)
Resolution values (required when status=REVIEWED):
FIXED: The vulnerability has been fixed
SAFE: The code is safe and not actually a vulnerability
ACKNOWLEDGED: The risk is acknowledged but accepted
Examples:
Mark as reviewed and safe: change_hotspot_status(hotspot="AX123", status="REVIEWED", resolution="SAFE")
Mark for review: change_hotspot_status(hotspot="AX123", status="TO_REVIEW")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | New status for the hotspot. Valid values: 'TO_REVIEW' (mark for review), 'REVIEWED' (mark as reviewed, requires resolution parameter) | |
| hotspot | Yes | Hotspot key to change status for (e.g., 'AXabc123def456') | |
| resolution | No | Resolution when status='REVIEWED' (REQUIRED for REVIEWED status). Valid values: 'FIXED' (vulnerability has been fixed), 'SAFE' (code is safe, not a vulnerability), 'ACKNOWLEDGED' (risk is acknowledged but accepted). Not used when status='TO_REVIEW' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||