[优化] 添加自定义状态码匹配方法

This commit is contained in:
ryan
2026-06-02 08:34:03 +08:00
parent 81dd44c8fc
commit e4c6ce9062
6 changed files with 15 additions and 31 deletions
@@ -75,7 +75,7 @@ const typeLabels: Record<WAFIPGroupType, string> = {
const automaticPresetRules = [
{
name: '单 IP 404 高频扫描',
expr: 'request_count > 100 && status_404_ratio >= 0.8',
expr: 'request_count > 100 && StatusRatio(404) >= 0.8',
},
{
name: '单 IP 直连访问异常',