From cb21bf446650c3934f326d64f086f7a69bd77ee5 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Tue, 4 Aug 2015 15:40:48 +0300 Subject: Override the alert-test-type for the SSL-expiry check. This allows better alerting. --- lib/custodian/protocoltest/ssl.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib/custodian') diff --git a/lib/custodian/protocoltest/ssl.rb b/lib/custodian/protocoltest/ssl.rb index cc36652..1dfe438 100644 --- a/lib/custodian/protocoltest/ssl.rb +++ b/lib/custodian/protocoltest/ssl.rb @@ -442,6 +442,16 @@ module Custodian @error end + + # + # Override the base behaviour so that we get a better failure + # summary. + # + def get_type + "ssl-validity" + end + + register_test_type 'https' end -- cgit v1.2.1