Listing Compute Scan Recipes

View a list of Compute (host) 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 Hosts tab.
      A list of the recipes for that compartment is displayed in a table.
  • Use the oci vulnerability-scanning host scan recipe list command and required parameters to retrieve a list of host scan recipes in a compartment:

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

    For example:

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