Container Scanning
Upload a container image archive for scanning
Upload a container image tarball / OCI archive (for air-gapped images that cannot be pulled from a registry) in chunks, then enqueue a scan. Send chunks in chunkIndex order; chunk 0 returns a server-assigned fileId and the resolved repositoryId to echo on later chunks. On the final chunk the assembled archive is staged and the response carries the tracked containerImageId; poll containerImages.get on it (its queued flag and latestScan) to follow progress. If repositoryId is omitted, an ephemeral standalone repository is created/reused for the image.
post/api/v2/containerScans/uploadArchive
Request
- Base URLhttps://zeropath.com
- AuthAPI key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret
Request body
Response
Chunk accepted (and, on the final chunk, scan enqueued)
Changes
No recorded changes to this operation across all 1 revision of this API.