export (expt)

Description

Exports scan findings to a file of specified type. Available export output formats are CSV and SARIF.

Note: A valid HCL® AppScan® Source for Automation license is required.

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

To export the current assessment to a CSV file in the current directory:
AllApplications>> export csv assessment_name.csv
To export the current assessment to a SARIF file in the current directory:
AllApplications\TestApp>> export sarif assessment_name.sarif
To export the findings in SimpleIOT.ozasmt in the current directory to a CSV file in the current directory:
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