mirror of
https://github.com/drwetter/testssl.sh.git
synced 2024-12-31 22:09:44 +01:00
Make Travis CI shut up.
A soon-to-be-expired cert can be also HIGH, thus a test for critical is appropriate.
This commit is contained in:
parent
c0921c8877
commit
6e5f7c15af
@ -47,7 +47,7 @@ foreach my $f ( @$json ) {
|
|||||||
if ( $f->{id} eq "cert_expiration_status" ) {
|
if ( $f->{id} eq "cert_expiration_status" ) {
|
||||||
$found = 1;
|
$found = 1;
|
||||||
like($f->{finding},qr/days/,"Finding doesn't read expired."); $tests++;
|
like($f->{finding},qr/days/,"Finding doesn't read expired."); $tests++;
|
||||||
isnt($f->{severity}, "HIGH", "Severity should be OK or MEDIUM"); $tests++;
|
isnt($f->{severity}, "CRITICAL", "Severity should be OK, MEDIUM or HIGH"); $tests++;
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user