crowdsec/pkg/leakybucket/tests/simple-leaky-cancel_on/bucket.yaml

14 lines
267 B
YAML
Raw Normal View History

type: leaky
debug: true
name: test/simple-leaky-cancel
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
cancel_on: evt.Parsed.random_value == '42'
leakspeed: "10s"
blackhole: 1m
capacity: 1
groupby: evt.Meta.source_ip
labels:
type: overflow_1