Skip to content

List all project vulnerabilities

GET
/api/v4/projects/{id}/vulnerabilities

Lists all vulnerabilities for a specified project.

id
required
One of:
string

The ID or URL-encoded path of the project

page
integer
default: 1 nullable

Current page number

Example
1
per_page
integer
default: 20 nullable

Number of items per page

Example
20

OK

Media type application/json
object
id
integer format: int64
title
string
description
string
state
string
severity
string
report_type
string
project
object
id
integer format: int64
description
string
name
string
name_with_namespace
string
path
string
path_with_namespace
string
created_at
string format: date-time
finding
object
resolved_on_default_branch
boolean
project_default_branch
string
author_id
integer format: int64
resolved_by_id
integer format: int64
dismissed_by_id
integer format: int64
confirmed_by_id
integer format: int64
created_at
string format: date-time
updated_at
string format: date-time
resolved_at
string format: date-time
dismissed_at
string format: date-time
confirmed_at
string format: date-time
last_edited_at
string format: date-time
start_date
string format: date-time
updated_by_id
integer format: int64
last_edited_by_id
integer format: int64
due_date
string format: date-time
Example
{
"project": {
"id": 1,
"description": "desc",
"name": "project1",
"name_with_namespace": "John Doe / project1",
"path": "project1",
"path_with_namespace": "namespace1/project1",
"created_at": "2020-05-07T04:27:17.016Z"
}
}

Bad Request

Not Found