Listing the Affected Hosts in a Vulnerabilities Report

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

    1. On the Vulnerabilities report list page, select the report that you want to work with. If you need help finding the list page or the report, see Listing Vulnerability Reports.
    2. To view details about a vulnerability, select a report's CVE ID.
    3. Under Resources, select Hosts to view the Compute instances affected by the selected vulnerability.
      • To view more details about an affected Compute instance, select the instance's name.
      • To view more details about the scanning results for an instance, select 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.