class

Wafalyzer::Waf

Inherits Wafalyzer::Waf::DSL / Wafalyzer::Waf::Matcher / Reference / Object

Constants

Log = ::Log.for(self)

Constructors

find(klass : Waf.class) : Waf
Source
new(product : String)
Source

Class methods

detect(response : HTTP::Client::Response) : Array(Waf)

Returns an array of Waf profiles matching the given response.

Source
find?(klass : Waf.class) : Waf | Nil
Source
instances

Array of loaded Waf profiles

Source
instances=(instances : Hash(::Wafalyzer::Waf.class, Wafalyzer::Waf))

Array of loaded Waf profiles

Source

Instance methods

clone

Returns a copy of self with all instance variables cloned.

Source
product

Full name of the WAF solution being defined

Source
to_json(json : JSON::Builder)
Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source

Nested types