You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! @KieranP the problem here is that Prowler Mutelist won't delete this finding from the output, it will set the Muted field to true
You can have a look at Prowler Mutelist docs here: https://docs.prowler.com/projects/prowler-open-source/en/latest/tutorials/mutelist/
Also, remember that mutelist use AND logic for resources names and you can use regex to filter these values.
@pedrooot Sorry, I should have been clearer. On the dashboard, these resources are still showing up as "Fail", not "Fail (Muted)", which I'm guessing means Muted field is false in the output data.
I've tried various combinations of resource names, the only one that worked was *bucketav*. Anything more detailed than that seems to refuse to match against the ResourceUid of the finding.
Steps to Reproduce
I use a 3rd party service for scanning S3 files for viruses (bucketav). I want to mute all warnings related to it.
Using the CLI, when I generate the report and open in the dashboard, I get failures that include a ResourceUid and FindingUid value:
ResourceUid:
arn:aws:iam::REDACTED:role/bucketav-quarantine-LambdaRole-REDACTED
FindingUid:
prowler-aws-iam_role_cross_service_confused_deputy_prevention-REDACTED-us-east-1-bucketav-quarantine-LambdaRole-REDACTED
I want to disable all checks for this resource, so I created a mute list like this using the ResourceUid in the resources list:
But this doesn't work. The failures are still showing up in the report.
I know the mute list is being loaded ok because I can get some other checks where Resources is "*" to be muted just fine.
I thought it might be the wildcard, but using the full ResourceUid doesn't work either.
I tried using the FindingUid, but this doesn't appear to be supported.
The mute list should be able to take ResourceUids in the resources list?
Expected behavior
Using ResourceUid from reports in the MuteList should work
Actual Result with Screenshots or Logs
Reports continue to include the resources
How did you install Prowler?
From brew (brew install prowler)
Environment Resource
See above
OS used
MacOS
Prowler version
Prowler 5.2.0 (latest is 5.2.1, upgrade for the latest features)
Pip version
NA
Context
No response
The text was updated successfully, but these errors were encountered: