All Projects → TheGroundZero → Openvasreporting

TheGroundZero / Openvasreporting

Licence: gpl-3.0
OpenVAS Reporting: Convert OpenVAS XML report files to reports

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Openvasreporting

Samples-JS-PHP
JavaScript and PHP samples for Stimulsoft Reports.PHP reporting tool.
Stars: ✭ 17 (-59.52%)
Mutual labels:  excel, reporting, reports
Jasperreports
JasperReports® - Free Java Reporting Library
Stars: ✭ 540 (+1185.71%)
Mutual labels:  reports, reporting, report
Sonar Cnes Report
Generates analysis reports from SonarQube web API.
Stars: ✭ 145 (+245.24%)
Mutual labels:  xlsx, reporting, report
Reports.JS
Stimulsoft Reports.JS is a reporting tool for Node.js and JavaScript applications.
Stars: ✭ 33 (-21.43%)
Mutual labels:  excel, reporting, reports
Samples-ASP.NET-MVC-CSharp
ASP.NET MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 31 (-26.19%)
Mutual labels:  excel, reporting, reports
StormReport
🌀 Library - Create your reports using only annotations
Stars: ✭ 17 (-59.52%)
Mutual labels:  excel, reporting, report
Samples-NET.Core-MVC-CSharp
ASP.NET Core 2.0 MVC C# samples for Stimulsoft Reports.Web reporting tool.
Stars: ✭ 28 (-33.33%)
Mutual labels:  excel, reporting, reports
Report
📜 🎉 Automated reporting of objects in R
Stars: ✭ 348 (+728.57%)
Mutual labels:  reports, reporting, report
Docjure
Read and write Office documents from Clojure
Stars: ✭ 510 (+1114.29%)
Mutual labels:  excel, xlsx
Reogrid
Fast and powerful .NET spreadsheet component, support data format, freeze, outline, formula calculation, chart, script execution and etc. Compatible with Excel 2007 (.xlsx) format and working on .NET 3.5 (or client profile), WPF and Android platform.
Stars: ✭ 532 (+1166.67%)
Mutual labels:  excel, xlsx
Ghpr.nunit
Adapter for NUnit 3 (generate HTML report for NUnit 3)
Stars: ✭ 33 (-21.43%)
Mutual labels:  reporting, report
Better Xlsx
A better xlsx library.
Stars: ✭ 395 (+840.48%)
Mutual labels:  excel, xlsx
Pyexcelerate
Accelerated Excel XLSX Writing Library for Python 2/3
Stars: ✭ 384 (+814.29%)
Mutual labels:  excel, xlsx
Laravel Report Generator
Rapidly Generate Simple Pdf, CSV, & Excel Report Package on Laravel
Stars: ✭ 380 (+804.76%)
Mutual labels:  excel, report
Sheetjs
📗 SheetJS Community Edition -- Spreadsheet Data Toolkit
Stars: ✭ 28,479 (+67707.14%)
Mutual labels:  excel, xlsx
Xlsx Populate
Excel XLSX parser/generator written in JavaScript with Node.js and browser support, jQuery/d3-style method chaining, encryption, and a focus on keeping existing workbook features and styles in tact.
Stars: ✭ 668 (+1490.48%)
Mutual labels:  excel, xlsx
Easyexcel
快速、简单避免OOM的java处理Excel工具
Stars: ✭ 22,133 (+52597.62%)
Mutual labels:  excel, xlsx
Readxl
Read excel files (.xls and .xlsx) into R 🖇
Stars: ✭ 585 (+1292.86%)
Mutual labels:  excel, xlsx
React Csv
React components to build CSV files on the fly basing on Array/literal object of data
Stars: ✭ 732 (+1642.86%)
Mutual labels:  excel, reporting
Jsreport
javascript based business reporting platform 🚀
Stars: ✭ 798 (+1800%)
Mutual labels:  excel, reporting

OpenVAS Reporting:

GitHub version License Docs Known Vulnerabilities codecov Requirements Status PyPI - Version PyPI - Format

A tool to convert OpenVAS XML into reports.

Report example screenshot

Read the full documentation at https://openvas-reporting.sequr.be

I forked OpenVAS2Report since it didn't manage to convert all reports I threw at it and because I wanted to learn how to use Python for working with XML and creating Excel files.
Also, OpenVAS mixes their own threat levels with the CVSS scoring, the latter of which I prefer to use in my reports.

Looking for a fix and providing an actual fix through a pull request would have been too much work, so I chose to fork the repo and try my own thing.
I reorganised some of the files, removed some functionality and added some extra, and rewrote some functions.

At this moment in time, the script only output .xlsx documents in one format, this may (not) change in the future.

Requirements

Installation

# Install Python3 and pip3
apt(-get) install python3 python3-pip # Debian, Ubuntu
yum -y install python3 python3-pip    # CentOS
dnf install python3 python3-pip       # Fedora
# Clone repo
git clone https://github.com/TheGroundZero/openvasreporting.git
# Install required python packages
cd openvasreporting
pip3 install -r requirements.txt
# Install module (not required when running from repo base folder)
#pip3 install .

Alternatively, you can install the package through the Python package installer 'pip'.
This currently has some issues (see #4)

# Install Python3 and pip3
apt(-get) install python3 python3-pip # Debian, Ubuntu
yum -y install python3 python3-pip    # CentOS
dnf install python3 python3-pip       # Fedora
# Install the package
pip3 install OpenVAS-Reporting

Usage

# When working from the Git repo
python3 -m openvasreporting -i [OpenVAS xml file(s)] [-o [Output file]] [-f [Output format]] [-l [minimal threat level (n, l, m, h, c)]] [-t [docx template]]
# When using the pip package
openvasreporting -i [OpenVAS xml file(s)] [-o [Output file]] [-f [Output format]] [-l [minimal threat level (n, l, m, h, c)]] [-t [docx template]]

Parameters

Short param Long param Description Required Default value
-i --input Input file(s) YES n/a
-o --output Output filename No openvas_report
-f --format Output format No xlsx
-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

python3 -m openvasreporting -i openvasreport.xml -f xlsx

Create Excel report from multiple OpenVAS reports using default settings

# wildcard select
python3 -m openvasreporting -i *.xml -f xlsx
# selective
python3 -m openvasreporting -i openvasreport1.xml -i openvasreport2.xml -f xlsx

Create Word report from multiple OpenVAS reports, reporting only threat level high and up, use custom template

python3 -m openvasreporting -i *.xml -o docxreport -f docx -l h -t "/home/user/myOpenvasTemplate.docx"

Result

The final report (in Excel format) will then look something like this:

Report example screenshot - Summary Report example screenshot - ToC Report example screenshot - Vuln desc

Worksheets are sorted according to CVSS score and are colored according to the vulnerability level.

Ideas

Some of the ideas I still have for future functionality:

  • list vulnerabilities per host
  • filter by host (scope/exclude) as in OpenVAS2Report
  • select threat levels individually (e.g. none and low; but not med, high and crit)
  • import other formats (not only XML), e.g. CSV as suggested in this issue
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].