add crowdsec policies for 403 and 429; use nginx to rate limit brute force attacks and then ban them [ci skip]
This commit is contained in:
parent
ad093ec7e5
commit
13b7c880e5
4 changed files with 58 additions and 2 deletions
|
|
@ -18,6 +18,20 @@ agent:
|
|||
# As we are running Nginx, we want to install the Nginx collection
|
||||
- name: COLLECTIONS
|
||||
value: "crowdsecurity/nginx"
|
||||
# Mount custom scenarios into /etc/crowdsec/scenarios
|
||||
extraVolumeMounts:
|
||||
- name: custom-scenarios
|
||||
mountPath: /etc/crowdsec/scenarios/http-403-abuse.yaml
|
||||
subPath: "http-403-abuse.yaml"
|
||||
readonly: true
|
||||
- name: custom-scenarios
|
||||
mountPath: /etc/crowdsec/scenarios/http-429-abuse.yaml
|
||||
subPath: "http-429-abuse.yaml"
|
||||
readonly: true
|
||||
extraVolumes:
|
||||
- name: custom-scenarios
|
||||
configMap:
|
||||
name: crowdsec-custom-scenarios
|
||||
lapi:
|
||||
replicas: 3
|
||||
extraSecrets:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue