Deleting a Container Image Target

Delete a target.

  • Deleting a target doesn’t delete the cloud resources (Compute instances, for example) in the target.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Targets.
    2. Select the Compartment that contains your target.
    3. Click the Container image tab for the type of target that you want to delete.
    4. Click the name of the target.
    5. Click Delete.
    6. Confirm the deletion.
  • Use the oci vulnerability-scanning container scan target delete command and required parameters to delete the container scan target identified by the target ID:

    oci vulnerability-scanning container scan target delete [OPTIONS]

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

  • Run the DeleteContainerScanTarget operation to delete the container scan target identified by the target ID.