Image Scanning Using the roxctl CLI
You can scan images stored in remote registries and cluster-local registries, including the Alauda Container Platform integrated image registry, by using the roxctl CLI.
INFO
Image scanning requires appropriate permissions and network access to the registry and Central.
TOC
Scanning an Image in a Remote ClusterExample Outputroxctl image scan Command OptionsOption DescriptionsRelated WorkflowsScanning an Image in a Remote Cluster
Run the following command to scan the specified image:
- For
<image_registry>, specify the registry where the image is located, e.g.,image-registry.alauda-image-registry.svc:5000/.
If delegated image scanning is configured for a specific cluster, you can route the scan request through that cluster:
Example Output
Id: A unique identifier for the image, serving as a fingerprint for integrity and authenticity.name.registry: The image registry location.name.remote: The remote path to the image.name.tag: The version or tag of the image.name.fullName: The complete name of the image (registry, path, tag).
roxctl image scan Command Options
Option Descriptions
Related Workflows
- Use Examining Images for Vulnerabilities to understand where the scan results appear in the portal.
- Use Generating SBOMs from Scanned Images when you need an SPDX export for an image that has already been scanned.