Deleting a Container Image Scan Recipe

Delete a scan recipe.

  • To delete a scan recipe, it must not be associated with any scan targets. See Deleting a Container Image Target.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Scan Recipes.
    2. Select the compartment that contains the recipe.
    3. Click the Container image tab.
    4. Click the name of the recipe.
    5. Click Delete.
    6. When prompted for confirmation, click Delete.
  • Use the oci vulnerability-scanning container scan recipe delete command and required parameters to delete a container scan recipe:

    oci vulnerability-scanning container scan recipe delete [OPTIONS]

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

  • Run the DeleteContainerScanRecipe operation to delete a container scan recipe.