Class: Intrigue::Ident::Check::Pantheon

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/pantheon.rb

Instance Method Summary collapse

Methods inherited from Base

inherited

Instance Method Details

#generate_checks(url) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/checks/pantheon.rb', line 6

def generate_checks(url)
  [
    {
      :type => "service",
      :vendor => "Pantheon",
      :product => "Pantheon",
      :tags => ["CMS"],
      :match_details => "x-pantheon-site header",
      :version => nil,
      :match_type => :content_headers,
      :match_content =>  /x-pantheon-site/,
      :paths => ["#{url}"]
    }

  ]
end