Skip to main content
GET
List a repository's vulnerabilities

Authorizations

X-API-Key
string
header
required

Path Parameters

owner
string
required
repo
string
required

Repository name; may contain / segments for GitLab subgroup paths. A name whose final segment is literally scans or vulnerabilities collides with the sub-resource routes. Address that repository by id instead.

Query Parameters

provider
enum<string>

Disambiguates when the same full name is tracked on multiple providers.

Available options:
github,
gitlab,
zip
limit
integer
default:25
Required range: 1 <= x <= 250
cursor
string
sort
string
order
enum<string>
Available options:
asc,
desc
severity
string
status
string
type
string
cwe
string

Comma-separated CWE ids; CWE-79, cwe-79 and 79 are equivalent.

created_after
string<date-time>
created_before
string<date-time>
expand
string
pull_request
integer

Filter to the PR/MR with this number; combine with repository to disambiguate across repos.

Required range: x >= 1

Response

A list of vulnerabilities

object
any
required
data
object[]
required
pagination
object
required