Gets the status and available results for a container scan.
Required permission
Project > Projects > Security > View Container Scan Reports
Path parameters
projectId
string requiredID of the projectcontainerScanId
string requiredID of the container scan
Response body
- {object}Response object.
data
{object} requiredResult data.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
integermin0max255result
{object}status
{object} requiredvulnerabilityDetails
{object}scan
{object}secretInstances
[array]- {object}
common
{object}path
stringseverity
stringscanVulnerabilitiesResponse
{object}vulnerabilitiesGroups
[array]- {object}
techTags
{object}
GET /v1/projects/{projectId}/container-scans/{containerScanId}
GET /v1/teams/{teamId}/projects/{projectId}/container-scans/{containerScanId}
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request GET \
"https://api.northflank.com/v1/projects/{projectId}/container-scans/{containerScanId}"Example response
200 OK
The container scan and its available results.
JSON
{
"data": {
"id": "00000000-0000-4000-8000-000000000000",
"buildId": "string",
"serviceId": "string",
"createdAt": "1970-01-01T00:00:00.000Z",
"status": "creating"
}
}