Listing Container Image Scan Recipes

View a list of container image scan recipes for a compartment.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Scan Recipes.
    2. Select the compartment that contains the recipes.
    3. Click the Container image tab.
      A list of the recipes for that compartment is displayed in a table.
  • Use the oci vulnerability-scanning container scan recipe list command and required parameters to retrieve a list of container scan recipes in a compartment:

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

    For example:

    oci vulnerability-scanning container scan recipe 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 ListContainerScanRecipes operation to retrieve a list of container scan recipes in a compartment.