Listing Vulnerability Reports
Browse and search for information about specific vulnerabilities that were detected in one or more targets in a compartment.
A vulnerabilities report includes details about the affected resources and CVEs.
Use the oci vulnerability-scanning vulnerability list command and required parameters to retrieve information about specific vulnerabilities that were detected in one or more targets in a compartment:
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/vulnerability-scanning/vulnerability/list.html#cmdoption-compartment-id oci vulnerability-scanning vulnerability list --compartment-id $compartment_id
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ListVulnerabilities operation to retrieve information about specific vulnerabilities that were detected in one or more targets in a compartment.