Menu
Get Waf Managed Rules In Ruleset
Retrieve all rules in the specified WAFv2 managed ruleset.
GET
/organizations/{organizationId}/zones/{zoneId}/firewall-managed/rulesets/{rulesetId}/rulesUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Waf Managed Rules In Ruleset action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getWafManagedRulesInRuleset.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getWafManagedRulesInRuleset.response.data.<field>}}.
{
"data": [
{
"ruleId": "5de7edfa648c4d6891dc3e7f84534ffa",
"action": "block",
"score": 5,
"categories": [
"broken-access-control",
"wordpress"
],
"description": "Wordpress - Broken Access Control",
"lastUpdated": "2024-01-01T05:20:00Z",
"enabled": true
}
]
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?