waf

package
v2.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2025 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRulesMonitoringTags

func AddRulesMonitoringTags(th trace.TagSetter)

AddRulesMonitoringTags adds the tags related to security rules monitoring

func AddWAFMonitoringTags

func AddWAFMonitoringTags(th trace.TagSetter, metrics *emitter.ContextMetrics, rulesVersion string, truncations map[libddwaf.TruncationReason][]int, timerStats map[timer.Key]time.Duration)

AddWAFMonitoringTags adds the tags related to the monitoring of the WAF

func NewWAFFeature

func NewWAFFeature(cfg *config.Config, rootOp dyngo.Operation) (listener.Feature, error)

func SetEventSpanTags

func SetEventSpanTags(span trace.TagSetter)

SetEventSpanTags sets the security event span tags related to an appsec event

Types

type Feature

type Feature struct {
	// contains filtered or unexported fields
}

func (*Feature) SetupActionHandlers

func (*Feature) SetupActionHandlers(op *waf.ContextOperation)

func (*Feature) Stop

func (waf *Feature) Stop()

func (*Feature) String

func (*Feature) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL