Map between CVE and bugzilla numbers.
More...
#include <CVE2Bugzilla.h>
|
| using | Map |
| | CVE -> Bugzilla mapping.
|
|
| std::string | get_bsc (std::string_view cve_number) const |
| | Get bugzilla number for a CVE.
|
| std::string | get_cve (std::string_view bsc_number) const |
| | Get CVE number for a bugzilla.
|
|
| static std::optional< CVE2Bugzilla > | create (const std::filesystem::path &cve2bugzilla) noexcept |
| | Create a new CVE2Bugzilla map from cve2bugzilla.
|
Map between CVE and bugzilla numbers.
◆ Map
Initial value:
Equality test for string and string_view to be used in containers.
Definition String.h:250
Hash for string and string_view to be used in hashing containers.
Definition String.h:223
CVE -> Bugzilla mapping.
◆ create()
| std::optional< CVE2Bugzilla > SlCVEs::CVE2Bugzilla::create |
( |
const std::filesystem::path & | cve2bugzilla | ) |
|
|
staticnoexcept |
Create a new CVE2Bugzilla map from cve2bugzilla.
- Parameters
-
| cve2bugzilla | File to parse |
- Returns
- CVE2Bugzilla or nullopt on failure
◆ get_bsc()
| std::string SlCVEs::CVE2Bugzilla::get_bsc |
( |
std::string_view | cve_number | ) |
const |
Get bugzilla number for a CVE.
- Parameters
-
- Returns
- Bugzilla number or an empty string
◆ get_cve()
| std::string SlCVEs::CVE2Bugzilla::get_cve |
( |
std::string_view | bsc_number | ) |
const |
Get CVE number for a bugzilla.
- Parameters
-
| bsc_number | Bugzilla number |
- Returns
- CVE number or an empty string
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/cves/CVE2Bugzilla.h