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.
18 lines
264 B
18 lines
264 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 to_json(server)
|
|
result = super
|
|
result[:hsts] = server.hsts
|
|
result
|
|
end
|
|
end
|
|
|