Authorizations
API key for authentication
Path Parameters
The ID of the issue
Query Parameters
Whether to include the full code in the response
curl --request GET \
--url https://www.corgea.app/api/v1/issue/{issue_id} \
--header 'CORGEA-TOKEN: <api-key>'
{
"status": "ok",
"issue": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"urgency": "critical",
"created_at": "2023-11-07T05:31:56Z",
"classification": {
"id": "CWE-123",
"name": "Vulnerability Name",
"description": "<string>"
},
"location": {
"file": {
"name": "<string>",
"language": "<string>",
"path": "<string>"
},
"project": {
"name": "<string>",
"branch": "<string>",
"git_sha": "<string>"
},
"line_number": 123
},
"details": {
"explanation": "<string>"
},
"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>"
}
}
}
}
Retrieves details of a specific issue
curl --request GET \
--url https://www.corgea.app/api/v1/issue/{issue_id} \
--header 'CORGEA-TOKEN: <api-key>'
{
"status": "ok",
"issue": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"scan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "open",
"urgency": "critical",
"created_at": "2023-11-07T05:31:56Z",
"classification": {
"id": "CWE-123",
"name": "Vulnerability Name",
"description": "<string>"
},
"location": {
"file": {
"name": "<string>",
"language": "<string>",
"path": "<string>"
},
"project": {
"name": "<string>",
"branch": "<string>",
"git_sha": "<string>"
},
"line_number": 123
},
"details": {
"explanation": "<string>"
},
"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>"
}
}
}
}
API key for authentication
The ID of the issue
Whether to include the full code in the response