Listing Host Scans

List host (agent scans, port scans, and CIS benchmark scans) scans.

    1. Open the navigation menu  and select Identity & Security. Under Scanning, select Scanning Reports.
    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. Select the Hosts tab.
    4. (Optional) Filter the table of reports by selecting a value in Risk level.
    5. (Optional) Select dates in Scan start date and Scan end date.

      By default, only the most recent scan reports are displayed. To view older reports, select specific start and end dates.

      Or, select Scan start date and select either Past 7 Days or Past 30 Days.

      Select Reset at any time to set the risk level and date ranges back to the default values.

    6. (Optional) Select the table columns to sort the host scans.
    7. To filter the list by tag, select add next to Tag filters.

    A host scan includes metrics, open ports, vulnerabilities, and benchmarks for a specific Compute instance.

  • Use the oci vulnerability-scanning host scan result agent list command and required parameters to retrieve a list of host (agent scans, port scans, and CIS benchmark scans) scan results in a compartment:

    oci vulnerability-scanning host scan result agent list --compartment-id <compartment_ocid>
    oci vulnerability-scanning host scan result port list --compartment-id <compartment_ocid>
    oci vulnerability-scanning host scan result cis-benchmark list --compartment-id <compartment_ocid>

    For example:

    oci vulnerability-scanning host scan result agent list --compartment-id ocid1.compartment.oc1..exampleuniqueID
    oci vulnerability-scanning host scan result port list --compartment-id ocid1.compartment.oc1..exampleuniqueID
    oci vulnerability-scanning host scan result cis-benchmark 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 ListHostAgentScanResults operation to retrieve a list of host (agent scans, port scans, and CIS benchmark scans) scan results in a compartment.