crowdsec/pkg/leakybucket/tests/simple-leaky-overflow/test.json
Thibault "bui" Koechlin dbb420f79e
local api (#482)
Co-authored-by: AlteredCoder
Co-authored-by: erenJag
2020-11-30 10:37:17 +01:00

47 lines
837 B
JSON

{
"lines": [
{
"Line": {
"Labels": {
"type": "testlog"
},
"Raw": "xxheader VALUE1 trailing stuff"
},
"MarshaledTime": "2020-01-01T10:00:00+00:00",
"Meta": {
"source_ip": "1.2.3.4"
}
},
{
"Line": {
"Labels": {
"type": "testlog"
},
"Raw": "xxheader VALUE2 trailing stuff"
},
"MarshaledTime": "2020-01-01T10:00:05+00:00",
"Meta": {
"source_ip": "1.2.3.4"
}
}
],
"results": [
{
"Alert": {
"sources": {
"1.2.3.4": {
"scope": "Ip",
"value": "1.2.3.4",
"ip": "1.2.3.4"
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"events_count": 2
}
}
}
]
}