Lists container scans for the project, newest first.
Required permission
Project > Projects > Security > View Container Scan Reports
Path parameters
projectId
string requiredID of the project
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.min1max100page
integerThe page number to access.min1cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.containerScans
[array] required- {object}
id
string requiredbuildId
string requiredserviceId
string requiredcreatedAt
string requiredstatus
string requiredone ofcreating, pending, completed, failederror
{object}phase
string requiredone oflaunch, scan, timeoutmessage
string requiredat
string requiredexitCode
integermin0max255pagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
GET /v1/projects/{projectId}/container-scans
GET /v1/teams/{teamId}/projects/{projectId}/container-scans
Example response
200 OK
A list of container scans.
JSON
{
"pagination": {
"hasNextPage": false,
"count": 1
}
}