f3c8f0d645
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 25s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (ultima) (push) Failing after 5m34s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (lunafreya) (push) Successful in 5m37s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Failing after 5m40s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Failing after 6m33s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (lunafreya) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (ultima) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (aranea) (push) Failing after 3m4s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (aranea) (push) Has been skipped
Gitea Branch PR & Ansible Deployment / PR Merge (push) Has been skipped
17 lines
784 B
Django/Jinja
17 lines
784 B
Django/Jinja
{% import 'app-configs/_macros/hashivault_kv2.j2' as vault %}
|
|
|
|
|
|
name: default_ip_remediation
|
|
#debug: true
|
|
filters:
|
|
- Alert.Remediation == true && Alert.GetScope() == "Ip"
|
|
decisions:
|
|
- type: ban
|
|
duration: 4h
|
|
#duration_expr: Sprintf('%dh', (GetDecisionsCount(Alert.GetValue()) + 1) * 4)
|
|
# notifications:
|
|
# - slack_default # Set the webhook in /etc/crowdsec/notifications/slack.yaml before enabling this.
|
|
# - splunk_default # Set the splunk url and token in /etc/crowdsec/notifications/splunk.yaml before enabling this.
|
|
# - http_default # Set the required http parameters in /etc/crowdsec/notifications/http.yaml before enabling this.
|
|
# - email_default # Set the required email parameters in /etc/crowdsec/notifications/email.yaml before enabling this.
|
|
on_success: break |