pan.dev
pan.dev copied to clipboard
Issue with "List all infrastructure settings"
Documentation link
https://pan.dev/access/api/prisma-access-config/get-sse-config-v-1-shared-infrastructure-settings/
Describe the problem
Incorrect params described. Instructions advise no folder is required since the Infrastructure settings are always in the "Shared" area, but when you don't specify folder you get an error
{
"_errors": [
{
"code": "API_I00035",
"message": "Invalid Request Payload ",
"details": [
"\"folder\" is required"
]
}
],
"_request_id": "c78653ed-6a65-4536-aa6b-037094569d02"
}
Suggested fix
Either remove the folder requirement since it will always have to be shared or add instructions to include folder type and shared. Which requires this api call:
https://api.sase.paloaltonetworks.com/sse/config/v1/shared-infrastructure-settings?folder=Shared