younifyd
Menu

Migrate Zone To Waf V2

Migrate Zone to WAF V2

PUT/organizations/{organizationId}/zones/{zoneId}/firewall-managed/migration

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Migrate Zone To Waf V2 action (under Zones (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{migrateZoneToWafV2.response.data}}.

Request

Path parameters

zoneIdstringrequired
organizationIdstringrequired

An identifier for the organization the request is being made by

Response

Returns 200 with an object. Read it in later steps with {{migrateZoneToWafV2.response.data.<field>}}.

dataarray<object>
namestringrequired

The name of the WAF managed ruleset.

rulesetIdstringrequired

The ID of the WAF managed ruleset.

actionstringrequired

The action applied by the WAF managed ruleset.

anomalyScorestring

The anomaly score threshold of the WAF managed ruleset. Only applicable for the OWASP Core Ruleset.

anomalyScoreThresholdinteger

The numerical value of the anomaly score threshold of the WAF managed ruleset. Only applicable for the OWASP Core Ruleset.

paranoiaLevelinteger

The paranoia level of the WAF managed ruleset. Higher paranoia levels activate more aggressive rules. Only applicable for the OWASP Core Ruleset.

enabledbooleanrequired

Whether or not the WAF managed ruleset is enabled.

json
{
  "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.

Migrate Zone To Waf V2 — Salesforce Commerce Cloud — Documentation