Listing Container Image Targets

View a list of container image targets in a compartment.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Targets.
    2. Click the Container image tab.
    3. (Optional) Change the Compartment.
      A list of targets for that compartment appears.
  • Use the oci vulnerability-scanning container scan target list command and required parameters to retrieve a list of container scan target in a compartment:

    oci vulnerability-scanning container scan target list --compartment-id <compartment_ocid>

    For example:

    oci vulnerability-scanning container scan target list --compartment-id ocid1.compartment.oc1..exampleuniqueID

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ListContainerScanTargets operation to retrieve a list of container scan target in a compartment.