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

fix: improve sudo checker #2527

Merged
merged 1 commit into from
Jan 24, 2023
Merged

fix: improve sudo checker #2527

merged 1 commit into from
Jan 24, 2023

Conversation

ffontaine
Copy link
Contributor

Add 2 additional and valid CPE IDs for sudo

While at it, add additional patterns to detect version in debian and openwrt test packages

Signed-off-by: Fabrice Fontaine fabrice.fontaine@orange.com

Add 2 additional and valid CPE IDs for sudo

While at it, add additional patterns to detect version in debian and
openwrt test packages

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2023

Codecov Report

Merging #2527 (1c74c76) into main (caa5612) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2527      +/-   ##
==========================================
+ Coverage   82.95%   83.08%   +0.12%     
==========================================
  Files         594      594              
  Lines        9811     9811              
  Branches     1344     1344              
==========================================
+ Hits         8139     8151      +12     
+ Misses       1333     1319      -14     
- Partials      339      341       +2     
Flag Coverage Δ
longtests 82.61% <ø> (+0.12%) ⬆️
win-longtests 75.35% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cve_bin_tool/checkers/sudo.py 100.00% <ø> (ø)
test/test_data/sudo.py 100.00% <ø> (ø)
cve_bin_tool/cli.py 68.16% <0.00%> (+0.32%) ⬆️
cve_bin_tool/data_sources/nvd_source.py 63.07% <0.00%> (+4.56%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@terriko terriko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@terriko terriko merged commit d160922 into intel:main Jan 24, 2023
@ffontaine ffontaine deleted the fix-sudo-checker branch January 25, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants