PaloAltoNetworks / pan.dev

Palo Alto Networks for Developers
https://pan.dev
MIT License
38 stars 53 forks source link

Issue/Help with "List security rules" #692

Open kw-yk opened 3 months ago

kw-yk commented 3 months ago

Documentation link

https://pan.dev/access/api/prisma-access-config/get-sse-config-v-1-security-rules/

Describe the problem

The customer's tenant manages security policies using pan.dev:

https://pan.dev/access/api/prisma-access-config/get-sse-config-v-1-security-rules/

When the customer sent an API request under the following conditions, the result was different from what was expected. position: pre folder: Remote Networks

The "Shared" rule is displayed even though "Remote Networks" is specified as the folder. In addition, the customer's tenant has created a "Remote Networks" security policy as shown below.

Despite this, only the "Shared" rule is displayed on pan.dev as described above.

We also verified the operation in the lab environment. The "Shared" and "All" rules were also displayed in the folder, but the "Remote Networks" and "Mobile Users" rules were also output correctly.

Suggested fix

I would appreciate it if you could modify it so that the security policy for "Remote Networks" is also output.