-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add number of muted findings in HTML report #4703
Comments
Hello @OlesYudin, that is a great idea, we will think about it and get back to you once the team has an update. Thanks for using Prowler 🚀 |
Hi @jfagoagas Would I be able to work on this issue |
Hey! @abant07 |
Hello @abant07 please, go ahead! As we did in the previous time, please before start coding I think it'd be great if you can do an analysis of what's needed to be done to be discussed in this issue. Then once we get to an agreement you can start coding. What do you think? Thanks! |
Sounds good. Will get to it right away |
Ok, So from what I am understanding @jfagoagas and @tmonk42 , there is a feature muted findings on Prowler, which allows a user to specify a yaml file with all the checks they want to disregard (or "ignore") regardless if it passes or fails. Currently, Prowler has it so that on the dashboard a customer is able to see the granularity of which tests have failed, passed, muted (passed), and muted( failed). However, tmonk would like these muted (passed and failed) checks to be shown as separate from the total passed and total failed checks on the assessment overview. By my understanding, Prowler already has it so that a user can see how many muted checks have passed or failed on a different page, however we would also like these muted tests to show up on the assessment overview. If I understood this correctly, the coding should not be too hard. I looked at the codebase, and it seems that the file that is controlling the dashboard that tmonk had suggested a change to is the If we want to include keys like "muted_fail" and "muted_pass", we will need to edit the output.py file, specifically the
|
Does this all look correct to you? If so, can I start coding it? |
That's right, you can go ahead! @abant07 So the work will be:
|
Yes thats correct |
Hello @OlesYudin the feature you requested was just merged to the Thanks for using Prowler 🚀 |
New feature motivation
When you work with the muted list feature it will be really informative to know how many muted findings you have. Because now even if you mute specific checks they will be marked as failed or passed in the "Assessment Overview" dashboard.
Solution Proposed
I would like to see more information in the "Assessment Overview" block. For example:
Total findings: 1859
Passed: 697
Passed (muted): 2
Failed: 1162
Failed (muted): 5
Total Resources: 616
Describe alternatives you've considered
For now, using bash scripts I parse all muted findings and then output the number of all findings, passed, muted, etc..
Additional context
No response
The text was updated successfully, but these errors were encountered: