Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rhel: add csaf/vex updater #1165

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

rhel: add csaf/vex updater #1165

wants to merge 5 commits into from

Commits on May 29, 2024

  1. rhel: add csaf/vex updater

    Replace the Red Hat OVALv2 update source with the Red Hat CSAF/VEX data.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>
    crozzy committed May 29, 2024
    Configuration menu
    Copy the full SHA
    b868619 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. rhel: update RHEL matcher to account for CPE subset matching

    Start matching repository CPEs based on the CPE subset relation.
    This change interprets VEX CPEs identifying Red Hat repositories as CPE
    matching expressions and looks for a subset relation with the record's
    repositoty CPE. This change also introduces a fallback to deal with CPEs
    in the VEX data that are expected to describe a subset relationship but
    don't use the correct matching syntax, in these cases matching is done
    with a crude string prefix match.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>
    crozzy committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a273882 View commit details
    Browse the repository at this point in the history
  2. rhel: move IgnoreUnpatched config key from updater to matcher

    Previously the IgnoreUnpatched config key was a part of the RHEL
    updater and would dictate whether or not the updater would ingest
    unpatched vulnerabilities. This change moves that key to the RHEL
    matcher and dictates whether the matcher should check for a
    fixed_in_version when querying potential vulnerabilities. This makes the
    config option more usable at the expense of DB size.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>
    crozzy committed May 31, 2024
    Configuration menu
    Copy the full SHA
    dec1f1c View commit details
    Browse the repository at this point in the history
  3. rhel: remove rhel oval updater from defaults

    Given that the rhel-vex data will be responsible for Red Hat
    vulnerabilities we no longer want the existing OVAL updater to be a
    default (or even selectable). This patch also removes existing RHEL OVAL
    data from the matcher DB.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>
    crozzy committed May 31, 2024
    Configuration menu
    Copy the full SHA
    ce1075a View commit details
    Browse the repository at this point in the history
  4. rhel: consume VEX deletions.csv file

    Add the ability for the RHEL VEX updater to consume a deletions.csv file
    in order to inform the Parser and eventually the persistence layer of
    any VEX files that may have been deleted.
    
    Signed-off-by: crozzy <joseph.crosland@gmail.com>
    crozzy committed May 31, 2024
    Configuration menu
    Copy the full SHA
    27eae66 View commit details
    Browse the repository at this point in the history