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.

    1. On the Scanning reports list page, select the scan that you want to work with. If you need help finding the list page or the scan, see Listing Host Scans.
    2. Select 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.