Class: Intrigue::Ident::Check::OpenResty
- Defined in:
- lib/checks/openresty.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#generate_checks(url) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/checks/openresty.rb', line 6 def generate_checks(url) [ { :type => "service", :vendor =>"OpenResty", :product =>"OpenResty", :match_details =>"server header for OpenResty", :version => nil, :match_type => :content_headers, :match_content => /server: openresty/i, :examples => ["http://54.164.224.102:80"], :paths => ["#{url}"] } ] end |