PaloAltoNetworks / PaloAltoNetworks/pan.dev

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

Open
#325 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
MDX
Stars
78
Forks
88
Avg merge
5d 17h
Merged PRs (30d)
18

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Asset Inventory V2 documentation and reproduce the policy.complianceStandard request in Postman. Check the /filter/inventory/<filter_name> and asset-inventory-v-2 API entry points, then document the filterId parameter and its usage if the API supports the proposed flow; done means the request and expected response are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
postman
Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.