Palo Alto Networks · JSON Structure

Strata Cloud Manager Api Nat Rule Structure

A NAT policy rule defining source or destination address translation for matching traffic flows.

Type: object Properties: 15
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

NatRule is a JSON Structure definition published by Palo Alto Networks, describing 15 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name folder position from to source destination service source_translation destination_translation nat_type disabled description tag

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/strata-cloud-manager-api-nat-rule-structure.json",
  "name": "NatRule",
  "description": "A NAT policy rule defining source or destination address translation for matching traffic flows.",
  "type": "object",
  "properties": {
    "id": {
      "type": "uuid"
    },
    "name": {
      "type": "string"
    },
    "folder": {
      "type": "string"
    },
    "position": {
      "type": "string",
      "enum": [
        "pre",
        "post"
      ]
    },
    "from": {
      "type": "array",
      "description": "Source zones.",
      "items": {
        "type": "string"
      }
    },
    "to": {
      "type": "array",
      "description": "Destination zones.",
      "items": {
        "type": "string"
      }
    },
    "source": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "destination": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "service": {
      "type": "string",
      "description": "Service object name or any."
    },
    "source_translation": {
      "type": "object",
      "properties": {
        "dynamic_ip_and_port": {
          "type": "object",
          "properties": {
            "translated_address": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        },
        "static_ip": {
          "type": "object",
          "properties": {
            "translated_address": {
              "type": "string"
            },
            "bi_directional": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "destination_translation": {
      "type": "object",
      "properties": {
        "translated_address": {
          "type": "string"
        },
        "translated_port": {
          "type": "int32"
        }
      }
    },
    "nat_type": {
      "type": "string",
      "enum": [
        "ipv4",
        "nat64",
        "nptv6"
      ]
    },
    "disabled": {
      "type": "boolean",
      "default": false
    },
    "description": {
      "type": "string"
    },
    "tag": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}