Page cover

start

The cldkctl registry artifact scan start command initiates a security scan for a specific artifact in the container registry. This scan helps detect potential vulnerabilities in the artifact’s content, ensuring the image’s security and compliance with organizational policies.

Usage

cldkctl registry artifact scan start [artifact ID] [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. Ensure that you are logged in. Refer to the Registry Login section.

  2. Identify the Artifact ID that you want to scan. Refer to the Registry Artifact List section.

  3. Run the following command in your terminal:

./cldkctl --registry [registry name] registry artifact scan start [artifact ID]
  1. Replace [registry name] with the target registry and [artifact id] with the ID of the artifact to scan.

  2. Once successful, the terminal displays "✓ Artifact scanning started".

Flags

This command supports global flags. Refer to the Global Flags section for details.

Flag
Description

-h, --help

Help for the registry artifact scan start command.

Last updated