Map between CVE and bugzilla numbers.
More...
#include <CVE2Bugzilla.h>
|
| std::string | get_bsc (std::string_view cve_number) const |
| | Get bugzilla number for a CVE. More...
|
| |
| std::string | get_cve (std::string_view bsc_number) const |
| | Get CVE number for a bugzilla. More...
|
| |
Map between CVE and bugzilla numbers.
◆ create()
| static 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/include/cves/CVE2Bugzilla.h