diff options
| author | Steve Kemp <steve@steve.org.uk> | 2015-08-04 15:40:48 +0300 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2015-08-04 15:40:48 +0300 | 
| commit | cb21bf446650c3934f326d64f086f7a69bd77ee5 (patch) | |
| tree | 16c6c938a2889ce9a286bad610b26cb3cf6f6c16 /lib/custodian | |
| parent | b698db43443e32b8c71b19a23f4265a22e343985 (diff) | |
Override the alert-test-type for the SSL-expiry check.
This allows better alerting.
Diffstat (limited to 'lib/custodian')
| -rw-r--r-- | lib/custodian/protocoltest/ssl.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| 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 | 
