add support for labels to waap rules

This commit is contained in:
bui 2023-11-15 15:08:57 +01:00
parent 6dec8a24bb
commit 056c979455

View file

@ -29,6 +29,8 @@ type WaapCollectionConfig struct {
SecLangRules []string `yaml:"seclang_rules"`
Rules []waap_rule.CustomRule `yaml:"rules"`
Labels map[string]interface{} `yaml:"labels"` //Labels is K:V list aiming at providing context the overflow
Data interface{} `yaml:"data"` //Ignore it
hash string `yaml:"-"`
version string `yaml:"-"`