Skip to content

ghaih/cf-cve-report-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

cve2csv

Preparation of execution

$ source .envrc
$ go get github.com/google/go-github/github
$ go get golang.org/x/oauth2
cd cve2csv

Download CVE json files and convert to csv.

$  go run src/cve2csv/cmd/json2csv/main.go > output/output.csv

Print all the CVE information

$bash generateCSV.sh cloudfoundry cf-release v212
#$ go run src/cve2csv/cmd/cve2csv/main.go cloudfoundry cf-release v212 | sort |uniq > cf212cve.csv
$bash generateCSV.sh cloudfoundry diego-release v1.10.0
#$ go run src/cve2csv/cmd/cve2csv/main.go cloudfoundry diego-release v1.10.0
$bash generateCSV.sh cloudfoundry cflinuxfs2 1.51.0
#$ go run src/cve2csv/cmd/cve2csv/main.go cloudfoundry cflinuxfs2 1.51.0

$bash generateCSV.sh cloudfoundry garden-runc-release v1.3.0
#$ go run src/cve2csv/cmd/cve2csv/main.go cloudfoundry garden-runc-release v1.3.0
To view csv, open excel

1. Click DATA Tab
2. Click From text, choose the file 
3. Choos the delimiter as '|' i.e pipe
4. Save the file

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published