Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/Help with "Move a security rule" #621

Open
pyxgun opened this issue Mar 4, 2024 · 0 comments
Open

Issue/Help with "Move a security rule" #621

pyxgun opened this issue Mar 4, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@pyxgun
Copy link

pyxgun commented Mar 4, 2024

Documentation link

Move a security rule

Describe the problem

I am referring to pan.dev (link below), but it appears that this page does not contain the correct information to begin with.
For example, the following incorrect information/behavior is observed

  1. The request method is listed a POST, but the Python sample script shows GET.
  2. QueryParameters requires a 'folder', but the Python sample script is not updated at all even if the 'folder' is specified in the field for creating a REQUEST.
    pan.dev Move a security rule (https://pan.dev/access/api/prisma-access-config/post-sse-config-v-1-security-rules-id-move/)

Also, the API endpoint is described as requiring the ID of the security rule to be moved to be added to the URL, but when a request is actually sent to the endpoint that specifies the ID of the security rule, it results in a "404 NotFound".
The security rule ID used to confirm the above behavior are the ID of the security rules that actually exist, and the IDs are never incorrect.

The following is the API response result when request to this api endpoint
== API Responses ========
Response: {
"statusCode": 404,
"error": "Not Found",
"message": "Not Found",
"errorCode": "Not Found",
"errorMessage": "Not Found",
"httpStatusCode": 404,
"ok": false,
"trackingId": "6fe24d0b-5c5c-48c2-aee1-20b966ad48b0"
}

Suggested fix

@pyxgun pyxgun added the documentation Improvements or additions to documentation label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant