Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:TheGroundZero/openvasreporting

  • Loading branch information...
TheGroundZero committed Oct 10, 2018
2 parents 2e84de1 + c4f026b commit 07962a9bd333743b3fefdc022e81ca9f9def5344
@@ -17,7 +17,7 @@ __pycache__/
.Python
build/
develop-eggs/
dist/
#dist/
downloads/
eggs/
.eggs/
@@ -70,7 +70,6 @@ Alternatively, you can install the package through the Python package installer
| -l | --level | Minimal level | No | n |
| -t | --template | Docx template | No | openvasreporting/src/openvas-template.docx |


## Examples

### Create Excel report from 1 OpenVAS XML report using default settings
@@ -103,6 +102,8 @@ Worksheets are sorted according to CVSS score and are colored according to the v
Some of the ideas I still have for future functionality:
- list vulnerabilities per host
- make pip installer
- filter by host (scope/exclude) as in OpenVAS2Report
- export to other formats (CSV, PDF)
- select threat levels individually (e.g. none and low; but not med, high and crit)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
#!/bin/bash
python3.7 setup.py sdist bdist_wheel
twine upload dist/*
@@ -33,7 +33,6 @@ def export_to_excel(vuln_info, template=None, output_file='openvas_report.xlsx')
:param vuln_info: Vulnerability list info
:type vuln_info: list(Vulnerability)
:param template: Not supported in xlsx-output
:type template: NoneType
@@ -322,7 +321,7 @@ def export_to_word(vuln_info, template, output_file='openvas_report.docx'):
from docx.oxml.ns import nsdecls
from docx.oxml import parse_xml
from docx.shared import Cm

if not isinstance(vuln_info, list):
raise TypeError("Expected list, got '{}' instead".format(type(vuln_info)))
else:
@@ -1,4 +1,4 @@
XlsxWriter>=1.1.1
python-docx>=0.8.7
matplotlib>=3.0.0
numpy>=1.15.2
numpy>=1.15.2

0 comments on commit 07962a9

Please sign in to comment.
You can’t perform that action at this time.