PaloAltoNetworks / PaloAltoNetworks/pan.dev
Issue/Help with "Get Code Issues from Periodic Scans"
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/get-periodic-findings/
Describe the problem
The documentation doesn't actually point to a functional API endpoint, it seems. It states requests should go to https://{PRISMA_BASE_URL}/api/v2/code-issues/branch_scan which doesn't seem to exist (hitting 404 consistently).
This endpoint does seem to exist though: https://api.prismacloud.io/**code**/api/v2/code-issues/branch_scan
Regardless, I'm unable to get any results out of it as I just get thrown a 403 with a valid JWT obtained from a successful login with a valid access key generated by an admin (me).
Suggested fix
Fix the PRSIMA Cloud API endpoint for getting periodic findings.
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
Locate the documentation page for the periodic findings endpoint in the repository and compare its documented path with the endpoint reported in the issue. Verify the request and authentication behavior, then update the page when the correct endpoint and expected access requirements are established.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100