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: fix products with no identified vulnerabilities #3300

Merged

Conversation

ffontaine
Copy link
Contributor

Products with no identified vulnerabilities are broken since commit 6b0f36e because products_with_cves will always contain a dictionnary of all products. So replace the broken lamba function with a more clear way of computing products with CVEs (i.e. len(cve_data["cves"]))

Products with no identified vulnerabilities are broken since commit
6b0f36e because products_with_cves will
always contain a dictionnary of all products. So replace the broken
lamba function with a more clear way of computing products with CVEs
(i.e. len(cve_data["cves"]))

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

Codecov Report

Merging #3300 (c490988) into main (71f59ec) will decrease coverage by 0.45%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #3300      +/-   ##
==========================================
- Coverage   81.20%   80.75%   -0.45%     
==========================================
  Files         724      724              
  Lines       11400    11403       +3     
  Branches     1559     1560       +1     
==========================================
- Hits         9257     9209      -48     
- Misses       1698     1764      +66     
+ Partials      445      430      -15     
Flag Coverage Δ
longtests 75.55% <75.00%> (-5.14%) ⬇️
win-longtests 78.72% <75.00%> (-0.28%) ⬇️

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

Files Changed Coverage Δ
cve_bin_tool/output_engine/console.py 95.23% <75.00%> (-0.47%) ⬇️

... and 9 files with indirect coverage changes

📣 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.

Thanks!

@terriko terriko merged commit de850a6 into intel:main Sep 11, 2023
21 checks passed
@ffontaine ffontaine deleted the fix-products-with-no-identified-vulnerabilities branch September 11, 2023 19:33
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.

None yet

3 participants