Cloud Workload Protection command line reference
Reference Cloud Workload Protection commands and flags for image scans.
This reference guide documents the Cloud Workload Protection commands and flags for the Cortex CLI, including the structure of base commands and subcommands. Refer to Cortex CLI common command line reference guide for common flags that apply across all supported modules and global flags shared with Application Security.
--image scan
Scans a container image archive
--ci-pipeline-id value
The CI pipeline identifier
--ci-build-id value
The CI build identifier
--timeout value
Timeout (in seconds) after which the scan will be terminated if it has not completed (default: 60)
--output-format value
Output format options: human-readable, json (default: human-readable)
--archive-format value
The image archive format options: docker-archive, oci-archive (default: docker-archive)
--name value
The name assigned to the image
--docker-host <path>
Specifies the path to the Docker socket
--archive
Specifies that the image scan should use an archive file
Last updated
Was this helpful?
