Skip to content

thinkingreed-inc/vuls2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vuls log CSV converter

example

  • Convert Vuls's JSON log file to CSV file.

Description

After scaning server, Vuls generate JSON file includeing vulnerability data. This generate vulnerability CSV list from JSON data. This CSV can be opend by Excel.

Environment

Python3.6.7

Usage

  1. Open file
  2. Get JSON type log data from Vuls server (/vuls/results)
  3. Save JSON data
  4. Execute python3 vulslog_cv.py log.json log.csv
  5. log.csv be generated

Output

type cveID title summary cvss2Score cvss2Vector cvss2Severity cvss3Score cvss3Vector cvss3Severity sourceLink references cweIDs published lastModified mitigation
redhat_api CVE-2014-8181 CVE-2014-8181 kernel: scsi: do not fill dirty page content in the SG_IO buffer "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized the details for this candidate will be provided." 2.1 AV:L/AC:L/Au:N/C:P/I:N/A:N Low 0 https://access.redhat.com/security/cve/CVE-2014-8181 ['CWE-665'] 2016-05-13T00:00:00Z 0001-01-01T00:00:00Z

CSV Columns

  • "type"
  • "cveID"
  • "title"
  • "summary"
  • "cvss2Score"
  • "cvss2Vector"
  • "cvss2Severity"
  • "cvss3Score"
  • "cvss3Vector"
  • "cvss3Severity"
  • "sourceLink"
  • "references"
  • "cweIDs"
  • "published"
  • "lastModified"
  • "mitigati"

Licence

MIT

About

Simple converter for a vuls json log to a csv file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages