curl --request GET \
--url https://www.corgea.app/api/v1/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>"
}
}
}
]
}Retrieve a list of all security issues for the authenticated user’s company
curl --request GET \
--url https://www.corgea.app/api/v1/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>"
}
}
}
]
}API key for authentication
Filter issues by project name
Filter issues by repository URL
The page number for pagination
The number of results per page
x <= 50Issues retrieved successfully or no project found
"ok"
Show child attributes
critical, high, medium, low open, in_progress, fixed, accepted_risk, false_positive on_track, due, overdue Show child attributes
Show child attributes
fix_available, fix_not_available, pending