Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerRequestMethodAddr = "server.request.method" ServerRequestRawURIAddr = "server.request.uri.raw" ServerRequestHeadersNoCookiesAddr = "server.request.headers.no_cookies" ServerRequestCookiesAddr = "server.request.cookies" ServerRequestQueryAddr = "server.request.query" ServerRequestPathParamsAddr = "server.request.path_params" ServerRequestBodyAddr = "server.request.body" ServerResponseStatusAddr = "server.response.status" ServerResponseHeadersNoCookiesAddr = "server.response.headers.no_cookies" HTTPClientIPAddr = "http.client_ip" UserIDAddr = "usr.id" )
HTTP rule addresses currently supported by the WAF
Variables ¶
This section is empty.
Functions ¶
func NewWAFEventListener ¶
func NewWAFEventListener(handle *waf.Handle, actions emitter.Actions, addresses map[string]struct{}, timeout time.Duration, apiSecCfg *internal.APISecConfig, limiter limiter.Limiter) dyngo.EventListener
NewWAFEventListener returns the WAF event listener to register in order to enable it.
func SupportedAddressCount ¶ added in v1.60.0
func SupportedAddressCount() int
func SupportsAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.