Palo Alto Networks Security Rules API
Security Rules
Operations 17
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“Which security rules are in my pre-rulebase for a folder?”
“Can I find a security rule by name in Strata Cloud Manager?”
Tell an agent
List {position} security rules in folder {folder}.
Find the {position} security rule named {name}.
Ask an LLM
“How do I add a security rule to the Prisma Access candidate configuration?”
“Does a new Prisma Access rule take effect immediately or only after a push?”
Tell an agent
Create a Prisma Access candidate-config security rule in the {position} rulebase.
Add a new Prisma Access policy rule to the {position} rules of the candidate configuration.
Ask an LLM
“What sources, destinations and actions does one security rule have?”
“Can I retrieve a single security rule by id?”
Tell an agent
Show security rule {id}.
Get the full definition of security rule {id}.
Ask an LLM
“How do I edit a Prisma Access security rule in the candidate configuration?”
“Can I change an existing Prisma Access rule without pushing the config right away?”
Tell an agent
Update Prisma Access rule {id} in the candidate config.
Save my edits to Prisma Access candidate-config security rule {id}.
Ask an LLM
“How do I delete a security rule from the policy?”
“Can I remove an obsolete security rule by its id?”
Tell an agent destructive · confirm first
Delete security rule {id}.
Remove the obsolete security rule {id} from policy.
Ask an LLM
“How do I move a security rule to the top of the rulebase?”
“Can I place one security rule right before another rule?”
Tell an agent
Move security rule {id} to {destination} of the {rulebase} rulebase.
Move security rule {id} {destination} rule {destination_rule} in the {rulebase} rulebase.
GET
/sse/config/v1/security-rules
List security rules via the SSE config API · List security rules
#
Ask an LLM
“Which security rules are in the pre or post rulebase of a folder through the SSE config v1 endpoint?”
“Can I look up an SSE security rule by name within a folder?”
Tell an agent
List the {position} SSE security rules in folder {folder}.
Find the SSE config security rule named {name} in folder {folder} at position {position}.
POST
/sse/config/v1/security-rules
Create a security rule via the SSE config API · Create a security rule
#
Ask an LLM
“How do I add a security rule to a folder through the SSE config v1 API?”
“Can I choose whether a new SSE config rule lands in the pre or post rulebase?”
Tell an agent
Create an SSE config security rule in folder {folder} at position {position}.
Add a new SSE v1 security rule to the {position} rulebase of folder {folder}.
DELETE
/sse/config/v1/security-rules/{id}
Delete a security rule via the SSE config API · Delete a security rule
#
Ask an LLM
“How do I remove a security rule using the SSE config v1 endpoint?”
“Is deleting an SSE config rule by ID permanent?”
Tell an agent destructive · confirm first
Delete SSE config security rule {id}.
Remove the SSE security rule {id} from its rulebase.
GET
/sse/config/v1/security-rules/{id}
Get a security rule via the SSE config API · Get a security rule
#
Ask an LLM
“What does one SSE config security rule look like in full?”
“Can I fetch an SSE security rule by its ID?”
Tell an agent
Show SSE config security rule {id}.
Fetch the SSE rule {id} and list its source and destination.
PUT
/sse/config/v1/security-rules/{id}
Edit a security rule via the SSE config API · Edit a security rule
#
Ask an LLM
“How do I modify an existing security rule through the SSE config v1 endpoint?”
“Can I edit an SSE config security rule in place by its ID?”
Tell an agent
Edit SSE config security rule {id}.
Apply my changes to SSE v1 security rule {id}.
POST
/sse/config/v1/security-rules/{id}:move
Reorder a security rule in the rulebase · Move a security rule
#
Ask an LLM
“How do I move a security rule above or below another rule?”
“Can I move a rule to the top or bottom of the pre or post rulebase?”
Tell an agent
Move security rule {id} in folder {folder} to {destination} of the {rulebase} rulebase.
Place rule {id} {destination} rule {destination_rule} in the {rulebase} rulebase of folder {folder}.
GET
/config/rulestacks/{rulestack}/security-rules
List Cloud NGFW rulestack security rules · Palo Alto Networks List Security Rules
#
Ask an LLM
“Which security rules are in a Cloud NGFW rulestack, in priority order?”
“Can I page through a large rulestack's rules with a next token?”
Tell an agent
List the security rules in Cloud NGFW rulestack {rulestack}.
Show the next page of rules in rulestack {rulestack} using token {nexttoken}.
POST
/config/rulestacks/{rulestack}/security-rules
Add a security rule to a Cloud NGFW rulestack · Palo Alto Networks Create Security Rule
#
Ask an LLM
“How do I add a new rule to a Cloud NGFW rulestack at a given priority?”
“Do lower priority numbers get evaluated first in a Cloud NGFW rulestack?”
Tell an agent
Add rule {RuleEntry} to Cloud NGFW rulestack {rulestack} at priority {Priority}.
Insert a new rulestack rule at priority {Priority} in {rulestack} defined as {RuleEntry}.
GET
/config/rulestacks/{rulestack}/security-rules/{priority}
Get a Cloud NGFW rule by priority · Palo Alto Networks Get Security Rule
#
Ask an LLM
“What rule sits at a particular priority in my Cloud NGFW rulestack?”
“Can I see the candidate version of a rulestack rule instead of the running one?”
Tell an agent
Show the rule at priority {priority} in Cloud NGFW rulestack {rulestack}.
Fetch the candidate rule at priority {priority} of rulestack {rulestack}.
PUT
/config/rulestacks/{rulestack}/security-rules/{priority}
Update a Cloud NGFW rulestack rule · Palo Alto Networks Update Security Rule
#
Ask an LLM
“How do I change the rule at a given priority in a Cloud NGFW rulestack?”
“Can I edit a rulestack rule's source, destination or action in place?”
Tell an agent
Replace the rule at priority {priority} in Cloud NGFW rulestack {rulestack} with {RuleEntry}.
Update rulestack {rulestack} rule {priority} to priority {Priority} using entry {RuleEntry}.
DELETE
/config/rulestacks/{rulestack}/security-rules/{priority}
Delete a Cloud NGFW rulestack rule · Palo Alto Networks Delete Security Rule
#
Ask an LLM
“How do I remove a rule from a Cloud NGFW rulestack?”
“Does deleting the rule at one priority remove it from the rulestack entirely?”
Tell an agent destructive · confirm first
Delete the rule at priority {priority} from Cloud NGFW rulestack {rulestack}.
Remove rulestack {rulestack}'s priority {priority} rule.