fix tests
This commit is contained in:
parent
51fdc38789
commit
cb1a86fdc8
|
@ -1,7 +1,7 @@
|
||||||
# ssh bruteforce
|
# ssh bruteforce
|
||||||
type: leaky
|
type: leaky
|
||||||
debug: true
|
debug: true
|
||||||
name: test/simple-leaky
|
name: test/simple-leaky-blackhole
|
||||||
description: "Simple leaky"
|
description: "Simple leaky"
|
||||||
filter: "evt.Line.Labels.type =='testlog'"
|
filter: "evt.Line.Labels.type =='testlog'"
|
||||||
leakspeed: "10s"
|
leakspeed: "10s"
|
||||||
|
|
|
@ -91,7 +91,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Alert" : {
|
"Alert" : {
|
||||||
"scenario": "test/simple-leaky",
|
"scenario": "test/simple-leaky-blackhole",
|
||||||
"events_count": 2
|
"events_count": 2
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Alert" : {
|
"Alert" : {
|
||||||
"scenario": "test/simple-leaky",
|
"scenario": "test/simple-leaky-blackhole",
|
||||||
"events_count": 2
|
"events_count": 2
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
type: leaky
|
type: leaky
|
||||||
debug: true
|
debug: true
|
||||||
name: test/simple-leaky
|
name: test/simple-leaky-ovfl
|
||||||
description: "Simple leaky"
|
description: "Simple leaky"
|
||||||
filter: "evt.Line.Labels.type =='testlog'"
|
filter: "evt.Line.Labels.type =='testlog'"
|
||||||
leakspeed: "10s"
|
leakspeed: "10s"
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Alert" : {
|
"Alert" : {
|
||||||
"scenario": "test/simple-leaky",
|
"scenario": "test/simple-leaky-ovfl",
|
||||||
"events_count": 2
|
"events_count": 2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ssh bruteforce
|
# ssh bruteforce
|
||||||
type: leaky
|
type: leaky
|
||||||
debug: true
|
debug: true
|
||||||
name: test/simple-leaky
|
name: test/simple-leaky-underflow
|
||||||
description: "Simple leaky"
|
description: "Simple leaky"
|
||||||
filter: "evt.Line.Labels.type =='testlog'"
|
filter: "evt.Line.Labels.type =='testlog'"
|
||||||
leakspeed: "0.5s"
|
leakspeed: "0.5s"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ssh bruteforce
|
# ssh bruteforce
|
||||||
type: leaky
|
type: leaky
|
||||||
debug: true
|
debug: true
|
||||||
name: test/simple-leaky
|
name: test/simple-leaky-state
|
||||||
description: "Simple leaky"
|
description: "Simple leaky"
|
||||||
filter: "evt.Line.Labels.type =='testlog'"
|
filter: "evt.Line.Labels.type =='testlog'"
|
||||||
leakspeed: "10s"
|
leakspeed: "10s"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63": {
|
"4fccb3db1e4c2e1c94bdb747336c8749bbc470ef": {
|
||||||
"Name": "test/simple-leaky",
|
"Name": "test/simple-leaky-state",
|
||||||
"Mode": 1,
|
"Mode": 1,
|
||||||
"SerializedState": {
|
"SerializedState": {
|
||||||
"Limit": 0.1,
|
"Limit": 0.1,
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
},
|
},
|
||||||
"Capacity": 3,
|
"Capacity": 3,
|
||||||
"CacheSize": 0,
|
"CacheSize": 0,
|
||||||
"Mapkey": "cdf58e6ae48e79ac3ae0f006e1a2e627eccd8b63",
|
"Mapkey": "4fccb3db1e4c2e1c94bdb747336c8749bbc470ef",
|
||||||
"Reprocess": false,
|
"Reprocess": false,
|
||||||
"Uuid": "dark-bush",
|
"Uuid": "dark-bush",
|
||||||
"First_ts": "2020-01-01T10:00:04Z",
|
"First_ts": "2020-01-01T10:00:04Z",
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Alert" : {
|
"Alert" : {
|
||||||
"scenario": "test/simple-leaky",
|
"scenario": "test/simple-leaky-state",
|
||||||
"events_count": 4
|
"events_count": 4
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# ssh bruteforce
|
# ssh bruteforce
|
||||||
type: leaky
|
type: leaky
|
||||||
debug: true
|
debug: true
|
||||||
name: test/simple-leaky
|
name: test/simple-leaky-uniq
|
||||||
description: "Simple leaky"
|
description: "Simple leaky"
|
||||||
filter: "evt.Line.Labels.type =='testlog'"
|
filter: "evt.Line.Labels.type =='testlog'"
|
||||||
leakspeed: "10s"
|
leakspeed: "10s"
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Alert" : {
|
"Alert" : {
|
||||||
"scenario": "test/simple-leaky",
|
"scenario": "test/simple-leaky-uniq",
|
||||||
"events_count": 2
|
"events_count": 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue