dahaic / OVAL-visualization-as-graph

Understand OVAL results in a blink of an eye

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OVAL visualization as graph

Understanding result in the blink of an eye

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Visualization of SCAP rule evaluation results

This tool generate tree graph from ARF xml report from OpenSCAP scan.

Prerequisites

Minimal requirements
Recommended requirements

Installation

Fedora 30 and later

sudo dnf install oval-graph
# Install inquirer, if you want have nice cli features. (optional)
sudo pip3 install inquirer

Install via pip

# If you want to install oval-graph to $HOME/.local/bin, you have to run the below command:
pip3 install --user oval-graph
# Install inquirer, if you want have nice cli features. (optional)
pip3 install --user inquirer

# If you want to install oval-graph globally instead, you have to run the below commands as admin, e.g. on Linux:
sudo pip3 install oval-graph
# Install inquirer, if you want have nice cli features. (optional)
sudo pip3 install inquirer

Install from source

git clone https://github.com/OpenSCAP/OVAL-visualization-as-graph.git
cd OVAL-visualization-as-graph

# Install without features (light version)
sudo pip3 install .

# OR

# Install with nice cli features
sudo pip3 install ".[niceCli]"

Example usage

arf-to-graph scan-data/ssg-fedora-ds-arf.xml xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creat

It saves all necessary files to a directory named rule_id and date(The date the graph was created.) in /tmp. And default it opens web browser with graph. Default is Firefox. If Firefox not installed it opens default web browser in OS.

It opens web browser with graph. Default is Firefox. If Firefox not installed it opens default web browser in OS.
demo-screenshot

About

Understand OVAL results in a blink of an eye

License:Apache License 2.0


Languages

Language:Python 97.3%Language:Shell 1.1%Language:JavaScript 0.8%Language:HTML 0.8%