node.js >= latest(LTS)
npm >= latest(LTS)
# npm i -g vuls-log-converter
Usage: vulslogconv [options]
--help, -h
Displays help information about this script
'vulslogconv -h' or 'vulslogconv --help'
--type, -t
Output as CSV or JSON for ElasticSearch
[csv|els]
--input, -i
vuls result dir
--input=/opt/vuls/results/current/ or -i /opt/vuls/results/current/
--output, -o
output file name
--output=./output.csv or -o ./output.csv
--esEndPoint, -e
ElasticSearch EndPoint
--esEndPoint=http://192.168.0.1:9200/ or -e http://192.168.0.1:9200/
You need to run report processing in Vuls before conversion
$ vuls report --format-json
$ vulslogconv -t csv -i /opt/vuls/results/current/ -o ./output.csv
$ vulslogconv -t els -i /opt/vuls/results/current/ -e http://192.168.0.1:9200/
- Setting up kibana
index name or pattern:vuls_index
Time-field name:ScannedAT
By default, all items are output.
"ScannedAt"
"Platform"
"Container"
"ServerName"
"Family"
"Release"
"CveID"
"DetectionMethod"
"Packages"
"PackageVer"
"NewPackageVer"
"NotFixedYet"
"CweID"
"CVSS Score"
"CVSS Severity"
"CVSS (AV)"
"CVSS (AC)"
"CVSS (Au)"
"CVSS (C)"
"CVSS (I)"
"CVSS (A)"
"Summary"
"Changelog"
"PublishedDate"
"LastModifiedDate"