Listing Compute Scan Recipes

List Compute (host) 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. The Hosts tab displays all scan recipes in the selected compartment and region in a table.
      Note

      If no scan recipes exist, the Vulnerability Scanning welcome page is displayed instead of the list page. Select Skip on the right side of the page banner to go to the list page.
    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.

    3. To filter the list by tag, select add next to Tag filters.
  • 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.