ExportFindings

Description

Export scan findings in CSV or SARIF format.

Syntax

ounceauto ExportFindings
-assessment <assessment path>
-type <export type>
-file <output location>
[-caller <caller>]
  • -assessment <assessment path>: Path to the assessment file for which to generate the report.
  • -type <export type>: Format of the exported report, CSV or SARIF.
  • -file <output location>: The path and file name to which to save the report.
  • -caller <caller>: Optional. Assign a caller to the export finding operation. The caller can be the name of an actual user. The caller name is written to the ounceauto log file.

Return Value

The Request ID if successful, or -1 if the request submission was unsuccessful.

Examples

  • Export the Findings to a sarif file:
    ounceauto exportfindings -assessment C:\Ounce\Data\Webgoat.ozasmt 
    -type SARIF 
    -file C:\reports\Webgoat.sarif
  • Export the Findings to a csv file:
    ounceauto exportfindings -assessment C:\Ounce\Data\Webgoat.ozasmt
    -type CSV 
    -file C:\Reports\Webgoat.csv