Documentation ¶
Index ¶
- Constants
- func AddRulesMonitoringTags(th trace.TagSetter, wafDiags waf.Diagnostics)
- func AddWAFMonitoringTags(th trace.TagSetter, rulesVersion string, stats map[string]any)
- func NewWAFFeature(cfg *config.Config, rootOp dyngo.Operation) (listener.Feature, error)
- func SetEventSpanTags(span trace.TagSetter, events []any) error
- type Feature
Constants ¶
View Source
const (
// BlockedRequestTag used to convey whether a request is blocked
BlockedRequestTag = "appsec.blocked"
)
Variables ¶
This section is empty.
Functions ¶
func AddRulesMonitoringTags ¶
func AddRulesMonitoringTags(th trace.TagSetter, wafDiags waf.Diagnostics)
AddRulesMonitoringTags adds the tags related to security rules monitoring
func AddWAFMonitoringTags ¶
AddWAFMonitoringTags adds the tags related to the monitoring of the Feature
func NewWAFFeature ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.