Command line usageΒΆ
# When working from the Git repo
python3 -m openvasreporting -i *.xml [-i ...] [-o openvas_report] [-f xlsx] [-l none] [-t "openvasreporting/src/openvas-template.docx"]
# When using the pip package
OpenVAS-Reporting -i *.xml [-i ...] [-o openvas_report] [-f xlsx] [-l none] [-t "openvasreporting/src/openvas-template.docx"]
- -i, --input
- MandatorySelects the OpenVAS XML report file(s) to be used as input.Accepts one or more inputs, including wildcards
- -o, --output
- OptionalName of the output file, without extension.Defaults to: openvas_report
- -f, --format
- OptionalType of output file.Valid values are: xlsx, docx, csvDefaults to: xlsx
- -l, --level
- OptionalMinimal severity level of finding before it's included in the report.Valid values are: c(ritical), h(igh), m(edium), l(low), n(one)Defaults to: none
- -t, --template
- Optional, only used with '-f docx'Template document for docx export. Document must contain formatting for styles used in export.Valid values are: path to a docx fileDefaults to: openvasreporting/src/openvas-template.docx
Todo
[Feature] Export to other formats (PDF, [proper] CSV)
Todo
[Feature] List vulnerabilities per host
Todo
[Feature] Filter by host (scope/exclude) as in OpenVAS2Report
Export formats