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)
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 theasset-inventory-v-2
API passing the filterId (that should be unique for a given customer)