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
Provides for a conversion from the CWEParser from json to xlsx
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.