Listing the Affected Hosts in a Vulnerabilities Report

View details about the cloud resources on which a specific vulnerability was detected.

    1. Open the navigation menu and click Identity & Security. Under Scanning, click Vulnerability Reports.
    2. Select the compartment in which you created the target.
    3. To view details about a vulnerability, click a report's CVE ID.
    4. Under Resources, click Hosts to view the Compute instances affected by the selected vulnerability.
      • To view more details about an affected Compute instance, click the instance's name.
      • To view more details about the scanning results for an instance, click the name of a host scan report.

      The Vulnerability Scanning service creates a separate report for each Compute instance that you added to the target configurations. The report has the same name as the instance.

    To view scanning reports for a specific target resource, see the following resources:

  • Use the oci vulnerability-scanning vulnerability list-vulnerability-impacted-hosts command and required parameters to retrieve a list of cloud resources on which a specific vulnerability was detected for a specific host vulnerability ID:

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

    For example:

    oci vulnerability-scanning host vulnerability 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 ListVulnerabilityImpactedHosts operation to retrieve a list of cloud resources on which a specific vulnerability was detected for a specific host vulnerability ID.