Skip to navigation

List vulnerabilities

Lists vulnerability findings in an active registry, with optional filters. Paged with page and page_size (at most 100). Requires scope: container-registry.read.

# Example request with curl (set IBEE_API_TOKEN to a platform API token and WORKSPACE_ID to the workspace first).
# REGISTRY_ID: Registry ID
curl "https://api.ibee.ai/v1/container-registry/registries/$REGISTRY_ID/security/vulnerabilities?workspace_id=$WORKSPACE_ID" \
-H "Authorization: Bearer $IBEE_API_TOKEN"

Authentication

AuthorizationBearer

IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.

Path parameters

registry_idstringRequiredformat: "uuid"
Registry ID.

Query parameters

workspace_idstringRequiredformat: "^[1-9][0-9]*$">=1 character

The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.

severityenumOptional

Return only findings of this severity.

  • Critical
  • High
  • Medium
  • Low
  • Unknown
  • None
cve_idstringOptionalformat: "^[^,%=]+$"1-128 characters
Return only findings for this CVE or advisory ID.
repository_namestringOptionalformat: "^[a-z0-9]+(?:[._-][a-z0-9]+)*(?:/[a-z0-9]+(?:[._-][a-z0-9]+)*)*$"1-255 characters
Return only findings on artifacts in this repository.
digeststringOptionalformat: "^[a-z0-9_+.-]+:[A-Fa-f0-9]+$"1-255 characters
Return only findings on the artifact with this digest.
tagstringOptionalformat: "^[A-Za-z0-9_][A-Za-z0-9_.-]{0,127}$"1-128 characters
Return only findings on artifacts carrying this tag.
packagestringOptionalformat: "^[^,%=]+$"1-255 characters
Return only findings in this package.
pageintegerOptional>=1Defaults to 1
Page number.
page_sizeintegerOptional1-100Defaults to 20
Number of records per page.

Response

Findings returned.
itemslist of objects
Findings on this page.
totalinteger
Total number of items matching the request.
pageinteger

Page number returned (1-based).

page_sizeinteger
Page size that was applied.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
503
Service Unavailable Error