PaloAltoNetworks / pan.dev

Palo Alto Networks for Developers
https://pan.dev
MIT License
38 stars 52 forks source link

Issue/Help with "Asset Inventory View V2 - GET" #325

Open skydalriol opened 1 year ago

skydalriol commented 1 year ago

Documentation link

https://pan.dev/prisma-cloud/api/cspm/asset-inventory-v-2/

Describe the problem

Unable to correctly apply policy.complianceStandard filter through Postman, but response is a 200 with no data on the payload.

Suggested fix

by adding the filterId parameter to this method, one could retrieve the filterId by calling the /filter/inventory/<filter_name> API, and use the ID to then call the asset-inventory-v-2 API passing the filterId (that should be unique for a given customer)

welcome-to-palo-alto-networks[bot] commented 1 year ago

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

Pubs-MV commented 1 year ago

@3agpot please take a look