Skip to content

Using the Red Hat Security API to build reports to see at a glance what happened for each version of RHEL

Notifications You must be signed in to change notification settings

bs-ns/CVE-Report-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CVE Report tool

Using the Red Hat Security API to build reports to see at a glance what happened for each version of RHEL

Prerequesites

Python 3 Python Requests (python3-requests-2.20.0)

Tested on RHEL 8

Usage:

Edit the table in the code to set all the RHEL versions to track. Each line contains a display name (which is a grouping key) and the product name as it appears in the CVE Red Hat Security API

product_list = [
    ["RHEL6", "Red Hat Enterprise Linux 6"],
    ["RHEL6", "Red Hat Enterprise Linux 6 Extended Lifecycle Support"],
    ["RHEL6", "Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION"],
    ["RHEL7", "Red Hat Enterprise Linux 7"],
    ["RHEL8", "Red Hat Enterprise Linux 8"],
    ["RHEL9", "Red Hat Enterprise Linux 9"],
]

Then, generate the html and csv with the following command:

    python3 build-report.py -a <startdate> -b <enddate>

For example:

    python3 build-report.py -a 2019-10-01 -b 2019-12-31

About

Using the Red Hat Security API to build reports to see at a glance what happened for each version of RHEL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages