Skip to content

ZAP

Examples

ZAP reports can be exported as XML or JSON.

ZAP JSON
1
2
3
cat zap.json | reptor zap
cat zap.json | reptor zap --upload  # Upload findings as notes
cat zap.json | reptor zap --push-findings  # Create findings from scan results
ZAP XML
1
2
3
cat zap.xml | reptor zap --xml
cat zap.xml | reptor zap --xml --upload  # Upload findings as notes
cat zap.xml | reptor zap --xml --push-findings  # Create findings from scan results

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
usage: reptor zap [-h] [-i [INPUT]] [--format] [--upload] [--push-findings]
                  [--template-vars] [--parse] [--xml | --json]
                  [--upload-finding-templates]

Parses ZAP reports (JSON, XML)

options:
  -h, --help            show this help message and exit
  -i [INPUT], --input [INPUT]
                        Input file, if not stdin 
  --format
  --upload
  --push-findings
  --template-vars       Print template variables (needed for finding template customization).
  --parse
  --xml
  --json
  --upload-finding-templates
                        Upload local finding templates to SysReptor