Menu
Update Waf Managed Ruleset
Update WAFv2 managed ruleset.
PATCH
/organizations/{organizationId}/zones/{zoneId}/firewall-managed/rulesets/{rulesetId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Update Waf Managed Ruleset action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{updateWafManagedRuleset.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"action": "default",
"anomalyScore": "low",
"paranoiaLevel": 1,
"enabled": true
}
Response
Returns 200 with an object. Read it in later steps with {{updateWafManagedRuleset.response.data.<field>}}.
{
"data": {
"name": "OWASP Core Ruleset",
"rulesetId": "4814384a9e5d4991b9815dcfc25d2f1f",
"action": "default",
"anomalyScore": "low",
"anomalyScoreThreshold": 60,
"paranoiaLevel": 1,
"enabled": true
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?