Skip to content

Commit 6787990

Browse files
authored
update functional tests with time-based-bf (#4217)
1 parent 6e7fc85 commit 6787990

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

test/bats/01_crowdsec.bats

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,9 @@ teardown() {
407407
"crowdsecurity/ssh-bf",
408408
"crowdsecurity/ssh-bf_user-enum",
409409
"crowdsecurity/ssh-slow-bf",
410-
"crowdsecurity/ssh-slow-bf_user-enum"] as $wanted
410+
"crowdsecurity/ssh-slow-bf_user-enum",
411+
"crowdsecurity/ssh-time-based-bf",
412+
"crowdsecurity/ssh-time-based-bf_user-enum"] as $wanted
411413
| (($doc | keys) - $wanted) | length == 0
412414
' "$DUMP_DIR/bucketpour-dump.yaml"
413415

test/bats/testdata/explain/explain-log.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ line: Sep 19 18:33:22 scw-d95986 sshd[24347]: pam_unix(sshd:auth): authenticatio
88
├ 🟢 crowdsecurity/ssh-bf
99
├ 🟢 crowdsecurity/ssh-bf_user-enum
1010
├ 🟢 crowdsecurity/ssh-slow-bf
11-
└ 🟢 crowdsecurity/ssh-slow-bf_user-enum
11+
├ 🟢 crowdsecurity/ssh-slow-bf_user-enum
12+
├ 🟢 crowdsecurity/ssh-time-based-bf
13+
└ 🟢 crowdsecurity/ssh-time-based-bf_user-enum

0 commit comments

Comments
 (0)