{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-access-api-security-rule-structure.json", "name": "SecurityRule", "description": "SecurityRule schema from Palo Alto Networks Prisma Access Configuration API", "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string", "description": "Name of the security rule." }, "description": { "type": "string" }, "disabled": { "type": "boolean", "default": false }, "from": { "type": "array", "description": "Source security zones.", "items": { "type": "string" } }, "to": { "type": "array", "description": "Destination security zones.", "items": { "type": "string" } }, "source": { "type": "array", "description": "Source addresses or address groups.", "items": { "type": "string" } }, "destination": { "type": "array", "description": "Destination addresses or address groups.", "items": { "type": "string" } }, "source_user": { "type": "array", "description": "Source user or user group names.", "items": { "type": "string" } }, "application": { "type": "array", "description": "Applications to match.", "items": { "type": "string" } }, "service": { "type": "array", "description": "Services or service groups to match.", "items": { "type": "string" } }, "category": { "type": "array", "description": "URL categories to match.", "items": { "type": "string" } }, "action": { "type": "string", "description": "Action to take when the rule matches.", "enum": [ "allow", "deny", "drop", "reset-client", "reset-server", "reset-both" ] }, "profile_setting": { "type": "object", "properties": { "group": { "type": "array", "description": "Security profile group names.", "items": { "type": "string" } } } }, "log_setting": { "type": "string", "description": "Log forwarding profile name." }, "tag": { "type": "array", "items": { "type": "string" } }, "folder": { "type": "string" }, "position": { "type": "string", "enum": [ "pre", "post" ] } }, "required": [ "name", "from", "to", "source", "destination", "application", "action" ] }