We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de599e9 commit 7dfa5f0Copy full SHA for 7dfa5f0
1 file changed
vulnfeeds/cmd/converters/cve/nvd-cve-osv/main.go
@@ -8,7 +8,6 @@ import (
8
"flag"
9
"fmt"
10
"log/slog"
11
- "net/http"
12
"os"
13
"path/filepath"
14
"strings"
@@ -108,6 +107,8 @@ func main() {
108
107
109
VPRepoCache := make(cves.VendorProductToRepoMap)
110
+ ReposForCVE := make(map[models.CVEID][]string)
111
+
112
if *parsedCPEDictionary != "" {
113
err = loadCPEDictionary(&VPRepoCache, *parsedCPEDictionary)
114
if err != nil {
@@ -116,7 +117,6 @@ func main() {
116
117
logger.Info("VendorProductToRepoMap cache has entries preloaded", slog.Int("count", len(VPRepoCache)))
118
}
119
-
120
for _, cve := range parsed.Vulnerabilities {
121
refs := cve.CVE.References
122
CPEs := cves.CPEs(cve.CVE)
0 commit comments