Pan Os Rest Api Security Rule Structure
A security policy rule controlling traffic flow between zones based on source, destination, application, service, and user criteria.
Type: object
Properties: 17
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR
SecurityRule is a JSON Structure definition published by Palo Alto Networks, describing 17 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/pan-os-rest-api-security-rule-structure.json",
"name": "SecurityRule",
"description": "A security policy rule controlling traffic flow between zones based on source, destination, application, service, and user criteria.",
"type": "object",
"properties": {
"@name": {
"type": "string",
"description": "Unique name of the security rule."
},
"from": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Source zones (e.g., trust, untrust).",
"items": {
"type": "string"
}
}
}
},
"to": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Destination zones.",
"items": {
"type": "string"
}
}
}
},
"source": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Source addresses or address groups (use \"any\" for all).",
"items": {
"type": "string"
}
}
}
},
"destination": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Destination addresses or address groups.",
"items": {
"type": "string"
}
}
}
},
"source-user": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Source users or user groups (use \"any\" for all).",
"items": {
"type": "string"
}
}
}
},
"application": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Application names (e.g., ssl, web-browsing, any).",
"items": {
"type": "string"
}
}
}
},
"service": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "Service objects or application-default to use application native ports.",
"items": {
"type": "string"
}
}
}
},
"category": {
"type": "object",
"properties": {
"member": {
"type": "array",
"description": "URL categories.",
"items": {
"type": "string"
}
}
}
},
"action": {
"type": "string",
"description": "Action to take on matching traffic.",
"enum": [
"allow",
"deny",
"drop",
"reset-client",
"reset-server",
"reset-both"
]
},
"log-start": {
"type": "string",
"description": "Log at session start.",
"enum": [
"yes",
"no"
]
},
"log-end": {
"type": "string",
"description": "Log at session end.",
"enum": [
"yes",
"no"
]
},
"log-setting": {
"type": "string",
"description": "Log forwarding profile name."
},
"profile-setting": {
"type": "object",
"description": "Security profile group or individual profiles.",
"properties": {
"group": {
"type": "object",
"properties": {
"member": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"disabled": {
"type": "string",
"description": "Whether the rule is disabled.",
"enum": [
"yes",
"no"
]
},
"description": {
"type": "string"
},
"tag": {
"type": "object",
"properties": {
"member": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for json structure
4 MCP tools reach this
find_json_structuresBrowse and filter every JSON Structure in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/pan-os-rest-api-security-rule-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.