Documentation
¶
Overview ¶
Package rules implements configurable request matching for CheeseWAF.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigToStorage ¶
func ConfigToStorage(siteID string, items []config.CustomRuleConfig) []storage.Rule
func ParseAction ¶
func ParseSeverity ¶
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Detect ¶
func (e *Engine) Detect(ctx context.Context, reqCtx *engine.RequestContext) (*engine.DetectionResult, error)
Click to show internal directories.
Click to hide internal directories.