provider Application Security PUT /api/v2/remote_config/products/asm/waf/custom_rules/{custom_rule_id}
@utdk/datadog /api/v2/remote_config/products/asm/waf/custom_rules/{custom_rule_id}
Update a WAF Custom Rule
Update a specific WAF custom Rule. Returns the Custom Rule object when the request is successful.
custom_rule_id path required
The ID of the custom rule.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateapplicationsecuritywafcustomrule
PUT/api/v2/remote_config/products/asm/waf/custom_rules/{custom_rule_id}
Update a specific WAF custom Rule. Returns the Custom Rule object when the request is successful.

Parameters

required

The ID of the custom rule.

Input

required

Object for a single WAF Custom Rule.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.updateapplicationsecuritywafcustomrule()