Listing Container Image Scan Recipes

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

    1. Open the navigation menu  and select Identity & Security. Under Scanning, select Scan Recipes.
      The Scan Recipes list page opens. Select the Container image tab. All container image scan recipes in the selected compartment and region are displayed in a table.
    2. To view the resources in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    Filtering List Results

    Use filters to limit the scan recipes in the list. Perform one of the following actions depending on the options that you see:

    • From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
    • On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.

    Change the order of the items in the list table by using the sort icons next to the column names.

    Actions

    In the list table, select the name of a scan recipe to open its details page, where you can view its status and perform other tasks.

    To perform an action on a scan recipe directly from the list table, select any of the following options from the Actions menu (Actions Menu) in the row for that scan recipe:

    To create a container image scan recipe, select Create.

  • 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.