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|
(x,/server: Zscaler\/(.*)/i)
},
:examples => ["http://152.26.176.12:80"],
:paths => ["#{url}"]
}
]
end
|