appscandelta (delta)
Description
Performs a diff between two scan assessments. The CLI fetches the new findings or the resolved findings by comparing the scan assessment with the baseline assessment.
Syntax
appscandelta|delta -new|-resolved <baseline_asmt_path> <new_asmt_path> [-to <delta_asmt_path>] [-no_retain] [-verbose]
-
-new|-resolved: Indicate whether to fetch new or resolved findings. -
<baseline_asmt_path>: The path and filename of the assessment on which to base comparisons. -
<new_asmt_path>: The path and filename of the assessment file to compare with the baseline assessment.
-
[-to <delta_asmt_path>]: Specifies the path and filename of the output file. If not specified, the output file is created in the same location as the new assessment file, appended with_newor_resolvedand the timestamp. -
[-no_retain]: Do not create a delta assessment file if there are zero findings. By default, a file is created. -
[-verbose]: Produces the comparison metrics in the console.
Examples
AllApplications>> appscandelta -new C:\SimpleIOT_1.ozasmt C:\SimpleIOT_2.ozasmt
AllApplications\TestApp>> delta -new C:\SimpleIOT_1.ozasmt C:\SimpleIOT_2.ozasmt -no_retain
TestApp>> delta -resolved C:\SimpleIOT_1.ozasmt C:\SimpleIOT_2.ozasmt -to C:\asmt -verbose