Security Hardening: Proaktive Kontosperren, Fail2Ban-Integration, SecurityLogger, Alerting und API-Schutz
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Fail2Ban Filter-Konfiguration fuer Deploymentcenter
|
||||
# Pfad auf dem Server: /etc/fail2ban/filter.d/deploymentcenter.conf
|
||||
|
||||
[Definition]
|
||||
# Erkennt fehlgeschlagene WebUI-Logins, Kontosperren, ungueltige API-Tokens und Rate-Limit-Verstoesse
|
||||
failregex = ^.*\[SECURITY\] \[(?:AUTH_FAIL|ACCOUNT_LOCKED|IP_LOCKED|API_AUTH_FAIL|API_BRUTE_FORCE|RATE_LIMITED)\] ip=<HOST>(?: |$).*$
|
||||
|
||||
ignoreregex =
|
||||
|
||||
# Zeitstempel-Muster fuer [YYYY-MM-DD HH:MM:SS]
|
||||
datepattern = ^\[%%Y-%%m-%%d %%H:%%M:%%S\]
|
||||
Reference in New Issue
Block a user