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

How do I enter the criteria for CWPP API query parameter, search? #88

Closed
citrusoft opened this issue Nov 1, 2022 · 2 comments
Closed
Labels
documentation Improvements or additions to documentation

Comments

@citrusoft
Copy link

Documentation link

https://prisma.pan.dev/api/cloud/cwpp/registry#operation/get-registry-download

Describe the problem

accuracy? request for improvement

Given above documentation, how would / do I specify the search criteria for this API invocation?

result = pc_api.get_endpoint("scans", {"limit": limit, "search": search, "sort": "time", "reverse": "true"})

Suggested fix

Why don't someone create a tutorial / examples of the CWPP API query parameters?
fields, search and offset + limit are good to know.

@citrusoft citrusoft added the documentation Improvements or additions to documentation label Nov 1, 2022
@welcome-to-palo-alto-networks
Copy link

🎉 Thanks for opening your first issue here! Welcome to the community!

@steven-deboer
Copy link
Contributor

Hi @citrusoft,

--help is your friend here. If you use

pc --config local scans --help

You'll get information on those parameters.

image

SimOnPanw added a commit that referenced this issue Nov 24, 2022
@SimOnPanw SimOnPanw mentioned this issue Nov 24, 2022
4 tasks
sgordon46 added a commit that referenced this issue Jun 24, 2023
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

2 participants