fix(crowdsec): 优化限速相关配置
这个提交包含在:
@@ -76,7 +76,10 @@ spec:
|
||||
profiles.yaml: |
|
||||
name: captcha_remediation
|
||||
filters:
|
||||
- Alert.Remediation == true && Alert.GetScope() == "Ip" && Alert.GetScenario() contains "http" && GetDecisionsSinceCount(Alert.GetValue(), "24h") <= 3
|
||||
# 规则过滤条件 1.范围为Ip 2.触发场景为http或nginx 3.24小时内决策次数小于等于3
|
||||
- Alert.Remediation == true && Alert.GetScope() == "Ip" &&
|
||||
(Alert.GetScenario() contains "http" || Alert.GetScenario() contains "nginx") &&
|
||||
GetDecisionsSinceCount(Alert.GetValue(), "24h") <= 3
|
||||
decisions:
|
||||
- type: captcha
|
||||
duration: 4h
|
||||
|
||||
在新议题中引用
屏蔽一个用户