Skip to main content
PATCH
/
api
/
issues
/
{issue_id}
{
  "id": "<string>",
  "scan_id": "<string>",
  "file_path": "<string>",
  "line_number": 123,
  "column_start": 123,
  "column_end": 123,
  "category": "<string>",
  "severity": "<string>",
  "confidence": 123,
  "title": "<string>",
  "description": "<string>",
  "explanation": "<string>",
  "code_snippet": "<string>",
  "context_before": "<string>",
  "context_after": "<string>",
  "remediation": "<string>",
  "remediation_code": "<string>",
  "cwe_ids": [
    "<string>"
  ],
  "owasp_category": "<string>",
  "cvss_score": 123,
  "tags": [
    "<string>"
  ],
  "model_used": "<string>",
  "false_positive": false,
  "exploitable": true,
  "created_at": "<string>",
  "updated_at": "<string>",
  "repo_name": "<string>",
  "scan_status": "<string>",
  "scan_created_at": "<string>"
}

Authorizations

X-API-Key
string
header
required

Use an API key in the X-API-Key header.

Path Parameters

issue_id
string
required

Body

application/json
false_positive
boolean | null

True if issue is a false positive, False otherwise

exploitable
boolean | null

True if issue is exploitable, False otherwise

notes
string | null

Optional notes about the issue

Maximum length: 1000

Response

Successful Response

id
string
required
scan_id
string
required
file_path
string
required
line_number
integer
required
category
string
required
severity
string
required
confidence
number
required
title
string
required
description
string
required
column_start
integer | null
column_end
integer | null
explanation
string | null
code_snippet
string | null
context_before
string | null
context_after
string | null
remediation
string | null
remediation_code
string | null
cwe_ids
string[] | null
owasp_category
string | null
cvss_score
number | null
tags
string[] | null
model_used
string | null
false_positive
boolean
default:false
exploitable
boolean | null
created_at
string | null
updated_at
string | null
repo_name
string | null
scan_status
string | null
scan_created_at
string | null
I