class Intrigue::Ident::Check::Varnish

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/varnish.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor =>"Varnish",
      :product =>"Varnish",
      :match_details =>"Varnish Proxy",
      :version => nil,
      :match_type => :content_headers,
      :match_content =>  /via: [0-9]\.[0-9] varnish/i,
      :paths => ["#{url}"]
    }
  ]
end