summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2013-10-13 20:40:24 +0200
committerAlex Legler <alex@a3li.li>2013-10-13 20:40:24 +0200
commit4947c768914e3c6d51227ddcd7016e183ccac635 (patch)
treeaa20cc30c799f25dfcf083a5005d03ba2c800c3e
parentFix precompiled asset path (diff)
downloadglsamaker-4947c768914e3c6d51227ddcd7016e183ccac635.tar.gz
glsamaker-4947c768914e3c6d51227ddcd7016e183ccac635.tar.bz2
glsamaker-4947c768914e3c6d51227ddcd7016e183ccac635.zip
CVETool - Follow severities in the Vulnerability Policy
Thanks to ackle for the patch Redmine #195
-rw-r--r--app/helpers/application_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index d3b36e2..2138571 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -79,11 +79,11 @@ module ApplicationHelper
'blocker'
when 'A1', 'C0'
'critical'
- when 'A2', 'B2', 'C1'
+ when 'A2', 'B1', 'C1'
'major'
- when 'A3', 'B3', 'C2'
+ when 'A3', 'B2', 'C2'
'normal'
- when 'A4', 'B4', 'C3'
+ when 'A4', 'B3', 'B4', 'C3'
'minor'
when 'C4', '~0', '~1', '~2', '~3', '~4'
'trivial'