Class: Intrigue::Ident::Check::Zscaler

Inherits:
Base
  • Object
show all
Defined in:
lib/checks/zscaler.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
22
23
# File 'lib/checks/zscaler.rb', line 6

def generate_checks(url)
  [
    {
      :type => "service",
      :vendor =>"Zscaler",
      :product =>"Zscaler",
      :match_details =>"server header for Zscaler",
      :references => ["https://help.zscaler.com/zia/about-private-zens"],
      :match_type => :content_headers,
      :match_content =>  /server: Zscaler/i,
      :dynamic_version => lambda { |x|
        _first_header_capture(x,/server: Zscaler\/(.*)/i)
      },
      :examples => ["http://152.26.176.12:80"],
      :paths => ["#{url}"]
    }
  ]
end