DefectDojo Cookbook: Constants and Enumerations
This post is about constant, enumerations and other values we should know to work with the system productively.
Severity values
Severity values like S0..S4 are used for sorting vulnerabilities in the DefectDojo interface. We have to use them when we are creating findings via API or during developing own parser (in this case we can use Finding.get_numerical_severity(HUMAN_SEVERITY) method).
Severity | Numerical_Severity |
Info | S4 |
Low | S3 |
Medium | S2 |
High | S1 |
Critical | S0 |
Code snippet will be here soon 🙂