Enums
sereto.enums
¶
Environment
¶
FileFormat
¶
OutputFormat
¶
Risk
¶
Enum representing the risk level of a finding.
Source code in sereto/enums.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
to_int()
¶
Convert risks to a number.
Usefull for comparison - e.g. max(risks, key=lambda r: r.to_int())
Source code in sereto/enums.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|