PaloAltoNetworks / PaloAltoNetworks/pan.dev
Issue with "Integrate Multiple Repositories"
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 78
- Forks
- 88
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 18
Description
Documentation link
https://pan.dev/prisma-cloud/api/code/update-repositories/
Describe the problem
I am trying to automate the process of integration of repositories but I cannot. I tried to do a get of the repos list and works, but when I do a POST operation following the documentation, I obtain a 403 Forbiden Error:
I verify and my user should be enough permissions to do the operation.
Also I tried in a Powershell script and Postman and fails in both parts...
I my case, I am using this API endpoint: https://api2.eu.prismacloud.io/code/api/v1/repositories
Suggested fix
Please verify https://api2.eu.prismacloud.io/code/api/v1/repositories is admitting POST operations
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked update-repositories documentation and reproduce the POST request against https://api2.eu.prismacloud.io/code/api/v1/repositories, comparing it with the working repository-list GET request. Check whether the endpoint accepts POST requests for the reported account and permissions; done means the cause of the 403 is identified and the endpoint behavior or documentation is corrected.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100