Listing Host Scans
Browse and search for host (agent scans, port scans, and CIS benchmark scans) scans.
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.