Update: [Thu Jan 16 00:26:08 UTC 2025]

This commit is contained in:
github-actions[bot]
2025-01-16 00:26:08 +00:00
parent dc1668f287
commit 67c6364ac1
39 changed files with 2487 additions and 2487 deletions

View File

@@ -2,7 +2,7 @@
location / {
set $attack_detected 0;
if ($request_uri ~* "@ge %{tx.inbound_anomaly_score_threshold}") {
if ($request_uri ~* "@ge 3") {
set $attack_detected 1;
}
@@ -10,23 +10,23 @@ location / {
set $attack_detected 1;
}
if ($request_uri ~* "@ge %{tx.outbound_anomaly_score_threshold}") {
set $attack_detected 1;
}
if ($request_uri ~* "@ge 2") {
set $attack_detected 1;
}
if ($request_uri ~* "@eq 1") {
set $attack_detected 1;
}
if ($request_uri ~* "@ge %{tx.inbound_anomaly_score_threshold}") {
set $attack_detected 1;
}
if ($request_uri ~* "@ge 1") {
set $attack_detected 1;
}
if ($request_uri ~* "@ge 3") {
if ($request_uri ~* "@ge 2") {
set $attack_detected 1;
}
if ($request_uri ~* "@ge %{tx.outbound_anomaly_score_threshold}") {
set $attack_detected 1;
}