trustification / trustify

Apache License 2.0
8 stars 15 forks source link

Add a cvss3_severity enum (none, low, medium, high, critical) #406

Closed bobmcwhirter closed 3 weeks ago

bobmcwhirter commented 3 weeks ago

Add a cvss3.severity column with that enum. Calculate it in a migration. Adjust Query API to support enums (Value->ValueOrSimpleExpr for envalue()) Add SQL function to calculate severity from score (for non-stored avg(score)) Add average_severity to the query.

bobmcwhirter commented 3 weeks ago

@carlosthe19916 should fix https://github.com/trustification/trustify/issues/401