fix(waf): TS-Syntaxfehler in crsRules.ts — Backslash escaped
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -59,7 +59,7 @@ export const CRS_RULES: Record<number, string> = {
|
|||||||
920460: "Abnormal character escapes in request",
|
920460: "Abnormal character escapes in request",
|
||||||
920470: "Illegal Content-Type header",
|
920470: "Illegal Content-Type header",
|
||||||
920480: "Request content type charset is not allowed by policy",
|
920480: "Request content type charset is not allowed by policy",
|
||||||
920490: "Request header x-up-devcap-post-charset detected in combination with prefix \\",
|
920490: "Request header x-up-devcap-post-charset detected in combination with suspicious prefix",
|
||||||
920500: "Attempt to access a backup or working file",
|
920500: "Attempt to access a backup or working file",
|
||||||
920510: "Invalid Cache-Control request header",
|
920510: "Invalid Cache-Control request header",
|
||||||
920520: "Accept-Encoding header exceeded sensible length",
|
920520: "Accept-Encoding header exceeded sensible length",
|
||||||
@@ -333,8 +333,7 @@ export const CRS_RULES: Record<number, string> = {
|
|||||||
955340: "b374k m1n1 web shell",
|
955340: "b374k m1n1 web shell",
|
||||||
959052: "Outbound Anomaly Score Exceeded in phase 3 (Total Score: %{tx.blocking_outbound_anomaly_score})",
|
959052: "Outbound Anomaly Score Exceeded in phase 3 (Total Score: %{tx.blocking_outbound_anomaly_score})",
|
||||||
959100: "Outbound Anomaly Score Exceeded (Total Score: %{tx.blocking_outbound_anomaly_score})",
|
959100: "Outbound Anomaly Score Exceeded (Total Score: %{tx.blocking_outbound_anomaly_score})",
|
||||||
980099: "Anomaly Scores: \\
|
980099: "Anomaly Scores: Inbound/Outbound anomaly score summary",
|
||||||
(Inbound Scores: blocking=%{tx.blocking_inbound_anomaly_score}, detection=%{tx.detection_inbound_a...",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getRuleDescription(ruleId: number): string {
|
export function getRuleDescription(ruleId: number): string {
|
||||||
|
|||||||
Reference in New Issue
Block a user