crowdsec/pkg/leakybucket/tests/simple-leaky-overflow/test.yaml
Thibault bui Koechlin 2016167654 initial import
2020-05-15 11:39:16 +02:00

24 lines
480 B
YAML

#this one will trigger a simple overflow
lines:
- Line:
Labels:
type: testlog
Raw: xxheader VALUE1 trailing stuff
MarshaledTime: 2020-01-01T10:00:00Z
Meta:
source_ip: 1.2.3.4
- Line:
Labels:
type: testlog
Raw: xxheader VALUE2 trailing stuff
MarshaledTime: 2020-01-01T10:00:05Z
Meta:
source_ip: 1.2.3.4
results:
- Overflow:
scenario: test/simple-leaky
Source_ip: 1.2.3.4
Events_count: 2