SDK reference / Models / Network

WafPolicyMergePatchUpdate

Kind: class

Namespace: Egulu.Sdk.Models.Network

A web application firewall policy (founder, 22 Nov 2026; NET-14; proposed ADR-0685): Coraza with the OWASP Core Rule Set on the platform's edge. InDETECTION mode matched rules are logged and nothing is blocked; in PREVENTION mode a request that reaches the anomaly threshold, or matches a BLOCK rule,gets a 403. paranoiaLevel and excludedRuleIds tune the Core Rule Set (the rule set's own blocking rules cannot be excluded); custom rules matchaddresses, countries, paths, headers and query text and allow, block, log or rate-limit. A policy protects an application load balancer (whosewafPolicy names it) and the custom domains in customDomains. Matched rules are written to the project's logs under logName. Metered by themillion requests it inspects (waf-requests). Bot rules are only those the Core Rule Set offers. The policy is rendered to Coraza's directives with everyvalue checked and escaped, applied by the edge router as a whole and kept as last-known-good.

Properties

NameTypeJSON nameDescription
AnnotationsUntypedNode?annotationsAt most 256 KiB in all; never policy input.
AnomalyThresholdModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_anomalyThreshold?anomalyThresholdThe inbound anomaly score at which a request is blocked, 1 to 100; 5 (the rule set's default) when omitted.
CustomDomainsModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_customDomains?customDomainsCustom domains of the project (their IDs) the policy protects, at most 20.
CustomRulesList<Models.Network.WafCustomRuleMergePatchUpdateReplaceOnly>?customRulesCustom rules, at most 50.
DisplayNameModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_displayName?displayNameUp to 63 characters.
ExcludedRuleIdsModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_excludedRuleIds?excludedRuleIdsCore Rule Set rules turned off, at most 20, each in 911000 to 948999 or 950000 to 958999.
LabelsUntypedNode?labelsAt most 64.
LogMatchesModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_logMatches?logMatchesWhether matched rules are written to the project's logs; true when omitted.
LogNameModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_logName?logNameThe log they are written to; `waf` when omitted.
ModeModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_mode?modeDETECTION (default) or PREVENTION.
ParanoiaLevelModels.Network.WafPolicyMergePatchUpdate.WafPolicyMergePatchUpdate_paranoiaLevel?paranoiaLevelThe Core Rule Set's paranoia level, 1 to 4; 1 when omitted.