Understanding result in the blink of an eye
This tool generate tree graph from ARF xml report from OpenSCAP scan.
- python3
- lxml
- include minimal requirements
- inquirer
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
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]"
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.