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 generates a tree graph from ARF xml report from OpenSCAP scan.
More information in the Guide.
Installation
Fedora 30 and later
sudo dnf install oval-graph
# Install inquirer, if you want have nice cli features. (optional)
sudo pip3 install inquirer
Installation 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
Installation 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
More usage examples are in user Guide
This commands consumes the rule name or regular expression of rule name and the ARF file, which is one of possible standardized format for results of SCAP-compliant scanners. You can read about generating ARF report files using OpenSCAP in the OpenSCAP User Manual. Or you can use test arf files from repository /tests/test_data
.
arf-to-graph scan-data/ssg-fedora-ds-arf.xml xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creat
This command generates a graph and saves file named graph-of-<rule_id>-<date>.html
(The date the graph was created.) in the working directory. Then open the web browser. Default web browser 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
Built Distribution
Hashes for oval_graph-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89fee1274397b8d06e5e2a06a4a8f312cbb874a3c2a49e7b0abcb9060808cf42 |
|
MD5 | 9ff4c0d6ad89ac927049aed98b4a0df1 |
|
BLAKE2b-256 | a3d22b88ace2e42677796a5a226179380c67a28de8d31dfeecb337cc93476559 |