Verify Threats in Code
verify_threats_in_codeVerify whether threats are mitigated in a scan's uploaded code. With threat_id, verifies one threat synchronously and returns the verdict; without it, verifies every diagram threat in the background. Wraps code_review ThreatVerificationService.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async_ | No | ||
| scan_id | Yes | CodeReviewScan id (uuid) | |
| threat_id | No | Optional: a single threat id or code | |
| code_content | No | Optional inline code context | |
| repository_id | No | Optional connected repo to fetch code from |