Listing Host Scans
List host (agent scans, port scans, and CIS benchmark scans) scans.
Filtering List Results
Use filters to limit the scan results in the list. Perform one of the following actions depending on the options that you see:
- Select a value in Risk level.
- Select dates in Scan start date and Scan end date:
- By default, only the most recent scan reports are displayed. To view older reports, select specific start and end dates.
- Or, select Scan start date and select either Past 7 Days or Past 30 Days.
- Select Reset at any time to set the risk level and date ranges back to the default values.
- On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.
Change the order of the items in the list table by using the sort icons next to the column names.
Actions
In the list table, select the name of a scan reports to open its details page, where you can view its status and perform other tasks.
To perform an action on a scan reports directly from the list table, select any of the following options from the
in the row for that report:- View details: Getting a Host Scan's Details.
- List host scan metrics: Listing Metrics for a Host Scan.
- List open ports: Listing Open Ports in a Host Scan.
- List vulnerabilities: Listing Vulnerabilities in a Host Scan.
- List impacted hosts: Listing Impacted Hosts in a Host Scan.
- Get Vulnerability details: Getting a Vulnerability's Details for a Host Scan.
- Export vulnerabilities: Exporting Vulnerabilities for a Host Scan.
- List CIS benchmarks: Listing CIS Benchmarks in a Host Scan.
- Get CIS benchmark details: Getting a CIS Benchmark's Details.
- Move a CIS benchmark scan: Moving a CIS Benchmark Scan Between Compartments.
- Delete a CIS benchmark scan: Deleting a CIS Benchmark Scan.
- Move a host scan: Moving a Host Scan Between Compartments.
- Export a host scan: Exporting a Host Scan.
- Delete: Deleting a Host Scan.
- Open support request: Open the Support Request panel, in which you can access support options. See Support Requests.
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.