pan.dev icon indicating copy to clipboard operation
pan.dev copied to clipboard

Issue/Help with "Get Runtime Container Audit Events"

Open bsjigi opened this issue 2 years ago • 3 comments

Documentation link

https://pan.dev/prisma-cloud/api/cwpp/get-audits-runtime-container/

Describe the problem

we can't check latest container runtime audits by using this api it shows only 50 container runtime audits which starts from initial audits. we checked that other API give us 50 audits, which starts from latest audits but only this API gives us different result.

Suggested fix

please let this API to give us latest container runtime audits

bsjigi avatar Mar 02 '23 06:03 bsjigi

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

@ssugandh is this addressed?

Pubs-MV avatar Apr 25 '23 22:04 Pubs-MV

There's a similar issue here: https://redlock.atlassian.net/browse/PCSUP-14426

The limit query parameter for PCCE is 250 but the default is 50 and so it can be tweaked to get more than 50 results. But, for PCEE, it will be 50 maximum. It's mentioned in the parameter description.

About the ordering (sort by latest), you can use the query paramter reverse along with limit. But, there're certain APIs that give results starting with the latest. So, it's an engineering problem to either make all APIs behave similarly or call out the ones that needs to use the query parameter reverse.

ssugandh avatar Apr 26 '23 04:04 ssugandh