Versions in this module Expand all Collapse all v3 v3.0.5 Oct 2, 2023 v3.0.4 Aug 10, 2023 Changes in this version + type AuditLogConfig interface + LogRelevantOnly func() AuditLogConfig + WithParts func(parts types.AuditLogParts) AuditLogConfig + func NewAuditLogConfig() AuditLogConfig + type WAF interface + NewTransaction func() types.Transaction + NewTransactionWithID func(id string) types.Transaction + WafGetRulesInfo func(flagName string) interface{} + WafUpdateRuleFlags func(flagName string, flagValue interface{}) bool + func NewWAF(config WAFConfig) (WAF, error) + type WAFConfig interface + WithDebugLogger func(logger debuglog.Logger) WAFConfig + WithDirectives func(directives string) WAFConfig + WithDirectivesFromFile func(path string) WAFConfig + WithErrorCallback func(logger func(rule types.MatchedRule)) WAFConfig + WithRequestBodyAccess func() WAFConfig + WithRequestBodyInMemoryLimit func(limit int) WAFConfig + WithRequestBodyLimit func(limit int) WAFConfig + WithResponseBodyAccess func() WAFConfig + WithResponseBodyLimit func(limit int) WAFConfig + WithResponseBodyMimeTypes func(mimeTypes []string) WAFConfig + WithRootFS func(fs fs.FS) WAFConfig + func NewWAFConfig() WAFConfig