Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Detectors = []*Detector{ KonaSiteDefender(), Incapsula(), SecureSphere(), }
Detectors is the list of all available WAF detectors. The checks are performed in the given order.
Functions ¶
This section is empty.
Types ¶
type Check ¶
Check performs some check on the response with a fixed condition.
func CheckCookie ¶
CheckCookie match Set-Cookie header values with regex.
func CheckHeader ¶
CheckHeader match header value with regex.
func CheckStatusCode ¶
CheckStatusCode compare response status code with given value.
type Detector ¶
Detector contains names of WAF solution and vendor, and checks to detect that solution by response.
func KonaSiteDefender ¶
func KonaSiteDefender() *Detector
func SecureSphere ¶
func SecureSphere() *Detector
func (*Detector) GetWAFName ¶
Click to show internal directories.
Click to hide internal directories.