Policy > Networking > Network Services > Advanced Load Balancing > Alb Waf Policies

Create or update a ALBwafpolicy

If a ALBwafpolicy with the alb-wafpolicy-id is not already present,
create a new ALBwafpolicy. If it already exists, update the
ALBwafpolicy. This is a full replace.
This API is only available when using VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/alb-waf-policies/<alb-wafpolicy-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBWafPolicy+

Example Request:

{ "allow_mode_delegation": true, "confidence_override": { "confid_high_value": 9500, "confid_low_value": 7500, "confid_probable_value": 9000, "confid_very_high_value": 9999 }, "crs_overrides": [ { "name": "CRS_920_Protocol_Validation", "rule_overrides": [ { "enable": false, "rule_id": "920220" } ] } ], "display_name": "test-WAF-Policy", "enable_app_learning": false, "enable_auto_rule_updates": true, "failure_mode": "WAF_FAILURE_MODE_OPEN", "learning_params": { "enable_per_uri_learning": true, "max_params": 100, "max_uris": 500, "min_hits_to_learn": 10000, "sampling_percent": 1, "update_interval": 30 }, "min_confidence": "CONFIDENCE_VERY_HIGH", "mode": "WAF_MODE_DETECTION_ONLY", "paranoia_level": "WAF_PARANOIA_LEVEL_LOW", "waf_crs_path": "/infra/alb-waf-crs/test-waf-crs", "waf_profile_path": "/infra/alb-waf-profiles/test-waf-profile" }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_lb

Additional Errors: