Skip to content

Unable to mute all resources based on resource name OR tags #7079

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

Open
KieranP opened this issue Mar 2, 2025 · 1 comment
Open

Unable to mute all resources based on resource name OR tags #7079

KieranP opened this issue Mar 2, 2025 · 1 comment
Labels
feature-request New feature request for Prowler. mutelist Issues/PRs related with the Mutelist

Comments

@KieranP
Copy link

KieranP commented Mar 2, 2025

Currently cannot mute all resources based on resource name OR tags.

Current mutelist functionality only supports resource name AND tags.

This only works when resource AND tags are true:

Mutelist:
  Accounts:
    '*':
      Checks:
        '*':
          Regions:
            - '*'
          Resources:
            - '*bucketav*'
          Tags:
            - 'Name=*bucketav*'

I need a solution to mute if resource OR tags are true.

Providing multiple checks with same name doesn't work:

Mutelist:
  Accounts:
    '*':
      Checks:
        '*':
          Regions:
            - '*'
          Resources:
            - '*bucketav*'
        '*':
          Regions:
            - '*'
          Resources:
            - '*'
          Tags:
            - 'Name=*bucketav*'

The above only takes into account the second, i.e. it overrides.

There does not appear to be any way to accomplish this currently?

@KieranP KieranP added feature-request New feature request for Prowler. status/needs-triage Issue pending triage labels Mar 2, 2025
@vicferpoy vicferpoy removed the status/needs-triage Issue pending triage label Mar 3, 2025
@jfagoagas
Copy link
Member

Hello @KieranP as you mentioned there is no way to use resources or tags for the same Mutelist check block. We need to review the current implementation to see how can we achieve it. We'll get back to you once we have an update.

Thanks for using Prowler 🚀

@jfagoagas jfagoagas added the mutelist Issues/PRs related with the Mutelist label Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request for Prowler. mutelist Issues/PRs related with the Mutelist
Projects
None yet
Development

No branches or pull requests

3 participants