Skip to main content
GET
/
project
/
{projectId}
/
results
/
container
Get all container vulnerabilities of a project
curl --request GET \
  --url https://us.cybedefend.com/project/{projectId}/results/container \
  --header 'Authorization: Bearer <token>'
{
  "projectId": "<string>",
  "projectName": "<string>",
  "page": 2,
  "limit": 17.5,
  "totalPages": 123,
  "vulnerabilities": [
    {}
  ],
  "total": 123,
  "sort": "currentState",
  "order": "asc",
  "severity": [
    "critical"
  ],
  "status": [
    "to_verify"
  ],
  "language": "<string>",
  "priority": [
    "critical_urgent"
  ],
  "scanProjectInfo": {
    "scanId": "<string>",
    "state": "queued",
    "createAt": "2023-11-07T05:31:56Z",
    "scanType": "<string>"
  },
  "vulnCountByType": {
    "sast": 123,
    "iac": 123,
    "sca": 123,
    "container": 123,
    "cicd": 123,
    "secret": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string<uuid>
required

Project identifier

Query Parameters

sort
string
order
string
severity
string[]
status
string[]
priority
string[]
classType
string[]
imageId
string<uuid>

Filter results by a specific container image ID.

searchQuery
string
page
number
limit
number
branch
string

Filter by branch name (e.g. main, develop, feature/xyz)

hasAutofix
boolean

Filter by autofix status: true = only with autofix, false = only without autofix, omit = all

Response

Container vulnerabilities retrieved successfully

projectId
string
required

Project unique identifier

projectName
string
required

Project name

page
number
required

Current page number

Required range: x >= 1
limit
number
required

Number of items per page

Required range: 10 <= x <= 25
totalPages
number
required

Total number of pages

vulnerabilities
object[]
required

List of vulnerabilities matching the filters

total
number
required

Total number of vulnerabilities found

sort
enum<string>

Field used for sorting

Available options:
currentState,
currentSeverity,
currentPriority,
language,
createdAt,
updateAt
order
enum<string>

Order of sorting

Available options:
asc,
desc
severity
enum<string>[]

Filter by severity

Available options:
critical,
high,
medium,
low
status
enum<string>[]

Filter by vulnerability status

Available options:
to_verify,
not_exploitable,
proposed_not_exploitable,
resolved,
confirmed,
ignored
language
string

Filter by programming language

priority
enum<string>[]

Filter by priority levels

Available options:
critical_urgent,
urgent,
normal,
low,
very_low
scanProjectInfo
object

Information about the ongoing or last scan

vulnCountByType
object

Count of vulnerabilities grouped by type (SAST, SCA, IaC)