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

Add: New NVD CPE Match Criteria API #1067

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

timopollmeier
Copy link
Member

What

Support for the NVD CPE Match Criteria API is added, which lists
CPE Match Strings.
(See https://nvd.nist.gov/developers/products#divCpeMatch)

These match strings can be used to identify CPEs affected by
a given CVEs if the Match String ID is also known.

Why

This is the base for new CLI tools are meant to be used for creating
a consolidated CPE match strings file for the feed.

References

GEA-764

Checklist

  • Tests

@timopollmeier timopollmeier requested a review from a team as a code owner November 19, 2024 09:36
@greenbonebot greenbonebot enabled auto-merge (rebase) November 19, 2024 09:37
Copy link

Conventional Commits Report

Type Number
Added 1

🚀 Conventional commits found.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 50.57471% with 43 lines in your changes missing coverage. Please review.

Project coverage is 89.91%. Comparing base (c48ff39) to head (30feb38).

Files with missing lines Patch % Lines
pontos/nvd/cpe_match/api.py 35.41% 31 Missing ⚠️
pontos/nvd/cpe_match/_parser.py 29.41% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1067      +/-   ##
==========================================
- Coverage   90.39%   89.91%   -0.49%     
==========================================
  Files         105      108       +3     
  Lines        7089     7176      +87     
  Branches      803      811       +8     
==========================================
+ Hits         6408     6452      +44     
- Misses        478      521      +43     
  Partials      203      203              

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

Support for the NVD CPE Match Criteria API is added, which lists
CPE Match Strings.
(See https://nvd.nist.gov/developers/products#divCpeMatch)

These match strings can be used to identify CPEs affected by
a given CVEs if the Match String ID is also known.
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.

1 participant