Versions in this module Expand all Collapse all v3 v3.0.1 Nov 3, 2022 Changes in this version + type AuditLogConfig interface + LogRelevantOnly func() AuditLogConfig + WithLogger func(logger loggers.LogWriter) AuditLogConfig + WithParts func(parts types.AuditLogParts) AuditLogConfig + func NewAuditLogConfig() AuditLogConfig + type RequestBodyConfig interface + WithInMemoryLimit func(limit int) RequestBodyConfig + WithLimit func(limit int) RequestBodyConfig + func NewRequestBodyConfig() RequestBodyConfig + type ResponseBodyConfig interface + WithLimit func(limit int) ResponseBodyConfig + WithMimeTypes func(mimeTypes []string) ResponseBodyConfig + func NewResponseBodyConfig() ResponseBodyConfig + type WAF interface + NewTransaction func() types.Transaction + NewTransactionWithID func(id string) types.Transaction + func NewWAF(config WAFConfig) (WAF, error) + type WAFConfig interface + WithAuditLog func(config AuditLogConfig) WAFConfig + WithContentInjection func() WAFConfig + WithDebugLogger func(logger loggers.DebugLogger) WAFConfig + WithDirectives func(directives string) WAFConfig + WithDirectivesFromFile func(path string) WAFConfig + WithErrorLogger func(logger corazawaf.ErrorLogCallback) WAFConfig + WithRequestBodyAccess func(config RequestBodyConfig) WAFConfig + WithResponseBodyAccess func(config ResponseBodyConfig) WAFConfig + WithRootFS func(fs fs.FS) WAFConfig + WithRule func(rule *corazawaf.Rule) WAFConfig + func NewWAFConfig() WAFConfig