@@ -15,14 +15,14 @@ import (
1515 "time"
1616
1717 "github.com/google/osv/vulnfeeds/conversion"
18- "github.com/google/osv/vulnfeeds/cvelist2osv "
18+ "github.com/google/osv/vulnfeeds/conversion/cve5 "
1919 "github.com/google/osv/vulnfeeds/models"
2020 "github.com/google/osv/vulnfeeds/utility/logger"
2121)
2222
2323var (
2424 repoDir = flag .String ("cve5-repo" , "cvelistV5" , "CVEListV5 directory path" )
25- localOutputDir = flag .String ("out-dir" , "cvelist2osv " , "Path to output results." )
25+ localOutputDir = flag .String ("out-dir" , "cve5 " , "Path to output results." )
2626 startYear = flag .String ("start-year" , "2022" , "The first in scope year to process." )
2727 workers = flag .Int ("workers" , 30 , "The number of concurrent workers to use for processing CVEs." )
2828 cnaAllowList = flag .String ("cnas-allowlist" , "" , "A comma-separated list of CNAs to process. If not provided, defaults to cna_allowlist.txt." )
@@ -134,7 +134,7 @@ func worker(wg *sync.WaitGroup, jobs <-chan string, outDir string, cnas []string
134134 }
135135
136136 // Perform the conversion and export the results.
137- metrics , err := cvelist2osv .ConvertAndExportCVEToOSV (cve , osvFile , metricsFile , sourceLink )
137+ metrics , err := cve5 .ConvertAndExportCVEToOSV (cve , osvFile , metricsFile , sourceLink )
138138 if err != nil {
139139 logger .Warn ("Failed to generate an OSV record" , slog .String ("cve" , string (cveID )), slog .Any ("err" , err ))
140140 } else {
0 commit comments