summaryrefslogtreecommitdiff
path: root/config/filter.d/gitlab.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/filter.d/gitlab.conf')
-rw-r--r--config/filter.d/gitlab.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/filter.d/gitlab.conf b/config/filter.d/gitlab.conf
new file mode 100644
index 00000000..0c614ae5
--- /dev/null
+++ b/config/filter.d/gitlab.conf
@@ -0,0 +1,6 @@
+# Fail2Ban filter for Gitlab
+# Detecting unauthorized access to the Gitlab Web portal
+# typically logged in /var/log/gitlab/gitlab-rails/application.log
+
+[Definition]
+failregex = ^: Failed Login: username=<F-USER>.+</F-USER> ip=<HOST>$