Mise à jour 'fail2ban.yml'
This commit is contained in:
parent
56befcd67f
commit
bb1bd13d41
@ -47,7 +47,7 @@
|
|||||||
[Definition]
|
[Definition]
|
||||||
actionstart =
|
actionstart =
|
||||||
actionstop =
|
actionstop =
|
||||||
actionban = curl -X POST -H "Content-Type: application/json" --data "{"text": "🚨 Fail2ban a banni <ip> après trop d'échecs SSH 🚨"}" {{ mattermost_webhook }}
|
actionban = curl -X POST -H "Content-Type: application/json" --data "{\"text\": \"🚨 *$(hostname)* : **Fail2ban** a banni l'IP **<ip>** après trop d'échecs SSH 🚨\"}" {{ mattermost_webhook }}
|
||||||
actionunban =
|
actionunban =
|
||||||
notify: Restart Fail2ban
|
notify: Restart Fail2ban
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user