AppPublishConfigRequest

AppPublishConfigRequest
Application Publish Config Request

Request body to initiate an asynchronous publish operation for an application.

JSON Example
{
    "site_id": "d2a2ca94-b87c-4d17-b36d-831e616f9597",
    "publish_actions": [
        {
            "action_type": "POLICY_CREATE",
            "display_name": "Payment App Policy",
            "connectivity_preference": "ALLOWLIST",
            "app_connectivity_strategies": [
                {
                    "strategy": "ALLOW_INTRA",
                    "logging": false
                }
            ]
        },
        {
            "action_type": "POLICY_UPDATE",
            "policy_path": "/infra/domains/default/security-policies/Policy-123",
            "connectivity_preference": "ALLOWLIST",
            "app_connectivity_strategies": [
                {
                    "strategy": "ALLOW_INTRA",
                    "logging": false
                },
                {
                    "strategy": "DROP_EGRESS",
                    "logging": true
                }
            ]
        },
        {
            "action_type": "RULE_UPDATE",
            "rule_path": "/infra/domains/default/security-policies/Policy-123/rules/Rule-456",
            "rule_action": "DROP"
        }
    ]
}
string
site_id
Required  

Unique identifier of the site where all publish actions will be executed.

publish_actions
Required  
Constraints: minItems: 1 maxItems: 100

Ordered list of publish actions to execute. Multiple entries of the same action_type are allowed (e.g. update several policies in one request). Each entry targets one resource.

  • POLICY_CREATE: one entry per new security policy to create.
  • POLICY_UPDATE: one entry per existing security policy to update.
  • RULE_UPDATE: one entry per existing DFW rule to update.