class Intrigue::Ident::Check::Acquia

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/acquia.rb, line 6
def generate_checks(url)
  [
    {
      :type => "service",
      :vendor => "Acquia",
      :product => "Acquia",
      :references => ["https://docs.acquia.com/acquia-cloud/performance/varnish/headers/"],
      :version => nil,
      :match_type => :content_headers,
      :match_content => /X-AH-Environment:/i,
      :match_details => "Header contains Acquia environment that provides the page response (usually prod, but could also be dev or stage)",
      :hide => false,
      :examples => ["http://netgear.gcs-web.com:80"],
      :paths => ["#{url}"]
    }
  ]
end