younifyd
Menu

Get Security Settings

Retrieve the security settings for a zone.

GET/organizations/{organizationId}/zones/{zoneId}/security-settings

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Get Security Settings action (under Zones (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{getSecuritySettings.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 {{getSecuritySettings.response.data.<field>}}.

dataobject
hstsobject4 fields

The security header for a zone.

securityLevelstring

Security profile for your zone, which will automatically adjust each of the security settings.

One ofoffessentially_offlowmediumhighunder_attack

tls13Enabledboolean

Enable Crypto TLS 1.3 feature for this zone.

wafEnabledboolean

Enable WAF (OWASP) protection for this zone. Not applicable for zones using WAFv2.

alwaysUseHttpsbooleanrequired

Redirect all http requests to https.

json
{
  "data": {
    "hsts": {
      "enabled": true,
      "includeSubdomains": true,
      "maxAge": 31536000,
      "preload": false
    },
    "securityLevel": "medium",
    "tls13Enabled": true,
    "wafEnabled": true,
    "alwaysUseHttps": true
  }
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Get Security Settings — Salesforce Commerce Cloud — Documentation