vulnerabilities.cgi: again change colours
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 May 2019 05:39:38 +0000 (07:39 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 May 2019 05:39:38 +0000 (07:39 +0200)
red - vulnerable
blue - mitigated
green - not affected

because we not really trust the mitigations so they shound not green.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/vulnerabilities.cgi

index a15accf..a8746c3 100644 (file)
@@ -117,7 +117,7 @@ for my $vuln (sort keys %VULNERABILITIES) {
        if ($status eq "Not affected") {
                $status_message = $Lang::tr{'not affected'};
                $colour = "white";
-               $bgcolour = ${Header::colourblack};
+               $bgcolour = ${Header::colourgreen};
 
        # Vulnerable
        } elsif ($status eq "Vulnerable") {
@@ -129,7 +129,7 @@ for my $vuln (sort keys %VULNERABILITIES) {
        } elsif ($status eq "Mitigation") {
                $status_message = $Lang::tr{'mitigated'};
                $colour = "white";
-               $bgcolour = ${Header::colourgreen};
+               $bgcolour = ${Header::colourblue};
 
        # Unknown report from kernel
        } else {