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. Open the navigation menu and click Identity & Security. Under Scanning, click Scanning Reports.
    2. Select the compartment in which you created the target.
    3. Click the Hosts tab if not already selected.
    4. 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.