Tool for visualization of SCAP rule evaluation results
Project description
OVAL visualization as graph
Understanding result in the blink of an eye
Visualization of SCAP rule evaluation results
This tool generate tree graph from ARF xml report from OpenSCAP scan.
Prerequisites
Minimal requirements
- python3
- lxml
Recommended requirements
- include minimal requirements
- inquirer
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oval_graph-0.1.2.tar.gz
(365.1 kB
view hashes)
Built Distribution
oval_graph-0.1.2-py3-none-any.whl
(384.0 kB
view hashes)
Close
Hashes for oval_graph-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | edfaee1e495b9d812b75932bca2c83b03d5c87eda6d1300282d756de364c95f7 |
|
MD5 | 8209db2a3c8c32b75699bc32c310446d |
|
BLAKE2b-256 | fb2dd1180977a245f943dcd5fb405921c844d3ad5c2c3649674c7902f5ae6eb9 |