fix tests

This commit is contained in:
Sebastien Blot 2022-08-10 12:35:56 +02:00
parent 51fdc38789
commit cb1a86fdc8
No known key found for this signature in database
GPG key ID: DFC2902F40449F6A
10 changed files with 13 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# ssh bruteforce
type: leaky
debug: true
name: test/simple-leaky
name: test/simple-leaky-blackhole
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
leakspeed: "10s"

View file

@ -91,7 +91,7 @@
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"scenario": "test/simple-leaky-blackhole",
"events_count": 2
}
@ -108,7 +108,7 @@
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"scenario": "test/simple-leaky-blackhole",
"events_count": 2
}

View file

@ -1,6 +1,6 @@
type: leaky
debug: true
name: test/simple-leaky
name: test/simple-leaky-ovfl
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
leakspeed: "10s"

View file

@ -36,7 +36,7 @@
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"scenario": "test/simple-leaky-ovfl",
"events_count": 2
}
}

View file

@ -1,7 +1,7 @@
# ssh bruteforce
type: leaky
debug: true
name: test/simple-leaky
name: test/simple-leaky-underflow
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
leakspeed: "0.5s"

View file

@ -1,7 +1,7 @@
# ssh bruteforce
type: leaky
debug: true
name: test/simple-leaky
name: test/simple-leaky-state
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
leakspeed: "10s"

View file

@ -1,6 +1,6 @@
{
"cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63": {
"Name": "test/simple-leaky",
"4fccb3db1e4c2e1c94bdb747336c8749bbc470ef": {
"Name": "test/simple-leaky-state",
"Mode": 1,
"SerializedState": {
"Limit": 0.1,
@ -74,7 +74,7 @@
},
"Capacity": 3,
"CacheSize": 0,
"Mapkey": "cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63",
"Mapkey": "4fccb3db1e4c2e1c94bdb747336c8749bbc470ef",
"Reprocess": false,
"Uuid": "dark-bush",
"First_ts": "2020-01-01T10:00:04Z",

View file

@ -52,7 +52,7 @@
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"scenario": "test/simple-leaky-state",
"events_count": 4
}

View file

@ -1,7 +1,7 @@
# ssh bruteforce
type: leaky
debug: true
name: test/simple-leaky
name: test/simple-leaky-uniq
description: "Simple leaky"
filter: "evt.Line.Labels.type =='testlog'"
leakspeed: "10s"

View file

@ -52,7 +52,7 @@
}
},
"Alert" : {
"scenario": "test/simple-leaky",
"scenario": "test/simple-leaky-uniq",
"events_count": 2
}