Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttackMetadata ¶
type AttackMetadata []struct { RetCode int `json:"ret_code"` Flow string `json:"flow"` Step string `json:"step"` Rule string `json:"rule"` Filter []struct { Operator string `json:"operator"` OperatorValue string `json:"operator_value"` BindingAccessor string `json:"binding_accessor"` ManifestKey string `json:"manifest_key"` KeyPath []interface{} `json:"key_path"` ResolvedValue string `json:"resolved_value"` MatchStatus string `json:"match_status"` } `json:"filter"` }
AttackMetadata is the JSON metadata returned the WAF when it matches.
type Context ¶
type Context struct{}
Context is a WAF execution context.
func NewContext ¶
NewContext a new WAF context and increase the number of references to the WAF handle. A nil value is returned when the WAF handle can no longer be used or the WAF context couldn't be created.
type Handle ¶
type Handle struct{}
Handle represents an instance of the WAF for a given ruleset.
type RunError ¶
type RunError int
RunError the WAF can return when running it.
Directories ¶
Path | Synopsis |
---|---|
Package include is required to help go tools support vendoring.
|
Package include is required to help go tools support vendoring. |
lib
|
|
darwin-amd64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
linux-amd64
Package vendor is required to help go tools support vendoring.
|
Package vendor is required to help go tools support vendoring. |
Click to show internal directories.
Click to hide internal directories.