Skip to content

Jayarr03/CWEParser_IriusRisk_RABECO

 
 

Repository files navigation

CWEParser

The CWEParser makes it easy to convert the most recent version of the official cwe list to a .json file.

There are two separate approaches. The first uses text parsing and can be used by executing textparser.py. The second and cleaner approach uses ElementTree to parse the .xml file and grab relevant parts of the data. By executing etparser.py, you'll use this approach.

No matter which approach you use, there will be no unnecessary files left because they're cleaned up in the process.

The original cwe with more detailed descriptions can be found here: https://cwe.mitre.org/data/downloads.html

Convert_Json

Provides for a conversion from the CWEParser from json to xlsx

Main.py

Provides for setting up a series of API calls into IrisuRisk from the spreadsheet generated by the convert_json.py file. API key and sub-domain are imported by a config.py file and are introduced by importing that file into main.py.

About

Easy way to parse the official cwe list to JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%