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: deprecate RHCC updater in favor of VEX updater #1385

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crozzy
Copy link
Contributor

@crozzy crozzy commented Aug 19, 2024

We can extract vulnerability information about containers from the VEX data. This negates the need to look for it in the cvemap.xml file. This change modifies the VEX updater to allow for ingesting vulnerabilities in a way that can be matched my the RHCC matcher.

@crozzy crozzy force-pushed the rhcc-updater-deprication branch 7 times, most recently from 30cf3ba to 50b3135 Compare September 11, 2024 22:38
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 66.29213% with 60 lines in your changes missing coverage. Please review.

Project coverage is 55.20%. Comparing base (7088f7b) to head (b4e7c0e).

Files with missing lines Patch % Lines
rhel/vex/parser.go 67.64% 33 Missing and 11 partials ⚠️
rhel/vex/test_common.go 65.00% 7 Missing and 7 partials ⚠️
rhel/rhcc/matcher.go 0.00% 1 Missing ⚠️
rhel/rhcc/scanner.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1385      +/-   ##
==========================================
- Coverage   55.41%   55.20%   -0.21%     
==========================================
  Files         282      281       -1     
  Lines       17890    17834      -56     
==========================================
- Hits         9914     9846      -68     
- Misses       6934     6946      +12     
  Partials     1042     1042              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/updater.go Outdated Show resolved Hide resolved
@crozzy crozzy force-pushed the rhcc-updater-deprication branch 2 times, most recently from db52f7a to 286c7c3 Compare September 23, 2024 21:38
@crozzy crozzy requested a review from RTann September 23, 2024 21:41
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/rhcc/rhcc.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Outdated Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
@crozzy crozzy requested a review from RTann October 8, 2024 18:45
@crozzy crozzy marked this pull request as ready for review October 10, 2024 22:06
@crozzy crozzy requested a review from a team as a code owner October 10, 2024 22:06
rhel/vex/test_common.go Show resolved Hide resolved
test/rhel/rhcc_matcher_integration_test.go Outdated Show resolved Hide resolved
test/rhel/rhcc_matcher_integration_test.go Outdated Show resolved Hide resolved
test/rhel/rhcc_matcher_integration_test.go Outdated Show resolved Hide resolved
test/rhel/testdata/server.txt Outdated Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser.go Show resolved Hide resolved
rhel/vex/parser_test.go Outdated Show resolved Hide resolved
rhel/vex/parser_test.go Show resolved Hide resolved
@crozzy crozzy force-pushed the rhcc-updater-deprication branch 5 times, most recently from e861ad8 to b43377a Compare October 11, 2024 21:33
@crozzy crozzy requested a review from RTann October 11, 2024 22:08
RTann
RTann previously approved these changes Oct 11, 2024
rhel/vex/test_common.go Show resolved Hide resolved
rhel/vex/parser_test.go Show resolved Hide resolved
rhel/vex/parser_test.go Show resolved Hide resolved
We can extract vulnerability information about containers from the
VEX data. This negates the need to look for it in the cvemap.xml file.
This change modifies the VEX updater to allow for ingesting
vulnerabilities in a way that can be matched my the RHCC matcher.

Signed-off-by: crozzy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants