You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
251 B

class HTTPSWorker < CheckWorker
sidekiq_options retry: false
protected
def analyze(host, port=443)
CryptCheck::Tls::Https.analyze host, port
end
def type
:https
end
def result(server, _, hash)
hash[:hsts] = server.hsts
hash
end
end