Exporting a Host Scan
Export all host (agent scans, port scans, and CIS benchmark scans) scans as a file in comma-separated value (CSV) format for offline analysis.
- Open the navigation menu and click Identity & Security. Under Scanning, click Scanning Reports.
- Select the compartment in which you created the target.
- Click the Hosts tab if not already selected.
- Click Export CSV.
Example output:
resultId,instanceId,compartmentId,highestProblemSeverity,operatingSystem,startDate,endDate,problemCount ocid1.vsshostscanresult.example123,ocid1.instance.example123,ocid1.compartment.example123,MEDIUM,linux,2020-12-21T17:44:58Z,2020-12-21T17:44:59Z,2
Use the oci vulnerability-scanning host scan result agent export-csv [OPTIONS] command and required parameters to export all host (agent scans, port scans, and CIS benchmark scans) scans as a file in comma-separated value (CSV) format for offline analysis:
oci vulnerability-scanning host scan result agent export-csv [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the ExportHostAgentScanResultCsv operation to export all host (agent scans, port scans, and CIS benchmark scans) scans as a file in comma-separated value (CSV) format for offline analysis.