Skip to main content
GET
/
scan
/
{scan_id}
/
issues
Get Issues for Scan
curl --request GET \
  --url https://www.corgea.app/api/v1/scan/{scan_id}/issues \
  --header 'CORGEA-TOKEN: <api-key>'
{
  "status": "ok",
  "page": 123,
  "total_pages": 123,
  "total_issues": 123,
  "issues": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "classification": {
        "id": "CWE-123",
        "name": "Vulnerability Name",
        "description": "<string>"
      },
      "urgency": "critical",
      "created_at": "2023-11-07T05:31:56Z",
      "status": "open",
      "sla_status": "on_track",
      "location": {
        "file": {
          "name": "<string>",
          "language": "<string>",
          "path": "<string>"
        },
        "project": {
          "name": "<string>",
          "branch": "<string>",
          "git_sha": "<string>"
        },
        "line_number": 123
      },
      "auto_triage": {
        "false_positive_detection": {
          "status": "valid",
          "reasoning": "<string>"
        }
      },
      "auto_fix_suggestion": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "status": "fix_available",
        "patch": {
          "diff": "<string>",
          "explanation": "<string>"
        }
      }
    }
  ]
}

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Path Parameters

scan_id
string<uuid>
required

The ID of the scan

Query Parameters

page
integer
default:1

The page number for pagination

page_size
integer
default:20

The number of results per page

Required range: x <= 50

Response

Issues retrieved successfully

status
string
Example:

"ok"

page
integer
total_pages
integer
total_issues
integer
issues
object[]
I