Skip to main content
GET
/
issues
/
sca
Get SCA Issues
curl --request GET \
  --url https://www.corgea.app/api/v1/issues/sca \
  --header 'CORGEA-TOKEN: <api-key>'
{
  "status": "ok",
  "page": 123,
  "total_pages": 123,
  "total_issues": 123,
  "issues": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "details": "<string>",
      "severity": "critical",
      "cve": "<string>",
      "package": {
        "name": "<string>",
        "version": "<string>",
        "ecosystem": "<string>",
        "fix_version": "<string>"
      },
      "location": {
        "path": "<string>"
      }
    }
  ]
}

Authorizations

CORGEA-TOKEN
string
header
required

API key for authentication

Query Parameters

project
string

Filter SCA issues by project name

repo
string

Filter SCA issues by repository URL

page
integer
default:1

The page number for pagination

page_size
integer
default:20

The number of results per page

Required range: x <= 50
severity
string

Filter by severity levels (comma-separated). Valid values: CRITICAL, HIGH, MEDIUM, LOW

package
string

Filter by package name (partial match)

ecosystem
string

Filter by package ecosystem (case-insensitive)

cve
string

Filter by CVE identifier (partial match)

path
string

Filter by file path (partial match)

has_fix
boolean

Filter by whether a fix is available (true/false)

sort_by
enum<string>

Sort results by field (prefix with '-' for descending order)

Available options:
created_at,
-created_at,
severity,
-severity,
package,
-package,
ecosystem,
-ecosystem

Response

200 - application/json

SCA issues retrieved successfully or no project found

  • Option 1
  • Option 2
status
string
Example:

"ok"

page
integer
total_pages
integer
total_issues
integer
issues
object[]