export (expt)
Description
Exports scan findings to a file of specified type. Available export output formats are CSV and SARIF.
Syntax
export <export type> <output location> [<assessment id/assessment file path>]
export type
: The type of file to export, either CSV or SARIF.
output location
: The path and file name to which to save the
exported findings.
assessment id/assessment file path
: Optional. The assessment
id
(which you can obtain from the listassess (la)
command) of the findings to export, or the location of the saved assessment file to
export. If no assessment is indicated, the command exports the current
assessment.
Examples
AllApplications>> export csv assessment_name.csv
AllApplications\TestApp>> export sarif assessment_name.sarif
AllApplications\TestApp>> export csv assessment_name.csv SimpleIOT.ozasmt
To export the findings in SimpleIOT.ozasmt in the current directory to a SARIF file in the current directory:
TestApp>> export sarif assessment_name.sarif SimpleIOT.ozasmt