Getting a Container Image Target's Details

View an image container's scan target details.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Targets.
    2. Select the compartment that contains the target.
    3. Click the Container image tab.
    4. Click the name of the target.
  • Use the oci vulnerability-scanning container scan target get command and required parameters to get a container scan target identified by the target ID:

    oci vulnerability-scanning container scan target get --container-scan-target-id <target_ocid>

    For example:

    oci vulnerability-scanning container scan target get --container-scan-target-id ocid1.vsscontainerscantarget.oc1..exampleuniqueID

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

  • Run the GetContainerScanTarget operation to get a container scan target identified by the target ID.