Listing the Affected Hosts in a Vulnerabilities Report
View details about the cloud resources on which a specific vulnerability was detected.
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.