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

Improvement in "Get Vulnerability (CVEs) Stats" #619

Open
Malik-PCC opened this issue Feb 22, 2024 · 0 comments
Open

Improvement in "Get Vulnerability (CVEs) Stats" #619

Malik-PCC opened this issue Feb 22, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Malik-PCC
Copy link

Documentation link

Prisma Cloud Runtime Security:

https://pan.dev/prisma-cloud/api/cwpp/get-stats-vulnerabilities/

Describe the problem

In this tech doc, we have the following point:

Consider the following observations:

The impacted resources and distribution counts are not retrieved when you apply filters or you are assigned with specific collections or accounts. For example, when you apply these filters, the counts in the API /stats/vulnerabilities are returned as zero and empty in the API /stats/vulnerabilites/download.

Suggested fix

This is correct, however I would suggest to make it more accurate by matching our docs here:
https://docs.prismacloud.io/en/enterprise-edition/content-collections/runtime-security/vulnerability-management/vulnerability-explorer

If you scroll all the way down, you'll see the following:
_The vulnerability (CVE) results hide the impacted resources if you use a filter or have an assigned collection or account as the percentage refers to the entire environment. This is supported for the System Admin role only.

Can we match the API docs with the vuln explorer docs by mentioning also that "This is supported for the System Admin role only"

Something like this:
The impacted resources and distribution counts are not retrieved when you apply filters or you are assigned with specific collections or accounts (This is supported for the System Admin role only) . For example, when you apply these filters, the counts in the API /stats/vulnerabilities are returned as zero and empty in the API /stats/vulnerabilites/download.

@Malik-PCC Malik-PCC added the documentation Improvements or additions to documentation label Feb 22, 2024
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

1 participant