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).

SeverityNumerical_Severity
InfoS4
LowS3
MediumS2
HighS1
CriticalS0

Code snippet will be here soon 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *