class Intrigue::Ident::Check::Magento

Public Instance Methods

generate_checks(url) click to toggle source
# File lib/checks/magento.rb, line 6
def generate_checks(url)
  [
    {
      :type => "application",
      :vendor => "Magento",
      :product =>"Magento",
      :match_details =>"Magento",
      :match_type => :content_body,
      :version => nil,
      :match_content =>  /Mage.Cookies.path/i,
      :paths => ["#{url}"]
    }
  ]
end