Skip to main content
Muting Findings for Intentional Configurations In some cases, certain AWS resources may be intentionally configured in a way that deviates from security best practices but serves a valid use case. Examples include: An AWS S3 bucket open to the Internet, used for hosting a public website. An AWS security group with an open port necessary for a specific application. Mutelist Option Behavior The Mutelist option works in combination with other filtering mechanisms and modifies the output in the following way when a finding is muted:
  • JSON-OCSF: status_id is Suppressed.
  • CSV: muted is True. The field status will keep the original status, MANUAL, PASS or FAIL, of the finding.

How the Mutelist Works

The Mutelist uses AND logic to evaluate whether a finding should be muted. For a finding to be muted, ALL of the following conditions must match:
  • Account matches (exact match or *)
  • Check matches (exact match, regex pattern, or *)
  • Region matches (exact match, regex pattern, or *)
  • Resource matches (exact match, regex pattern, or *)
  • Tags match (if specified)
If any of these criteria do not match, the finding is not muted.

Tag Matching Logic

Tags have special matching behavior:
  • Multiple tags in the list = AND logic: ALL tags must be present on the resource
  • Regex alternation within a single tag = OR logic: Use the pipe operator | for OR
  • Complex tag patterns: Combine AND and OR using regex
Remember that mutelist can be used with regular expressions.

Mutelist Specification

  • For Azure provider, the Account ID is the Subscription Name and the Region is the Location.
  • For GCP provider, the Account ID is the Project ID and the Region is the Zone.
  • For Kubernetes provider, the Account ID is the Cluster Name and the Region is the Namespace.
The Mutelist file uses the YAML format with the following syntax:

Account, Check, Region, Resource, and Tag

Description

This field can be used to add information or some hints for the Mutelist rule.

How to Use the Mutelist

To use the Mutelist, you need to specify the path to the Mutelist YAML file using the -w or --mutelist-file option when running Prowler:
Replace <provider> with the appropriate provider name.

Considerations

  • The Mutelist can be used in combination with other Prowler options, such as the --service or --checks option, to further customize the scanning process.
  • Make sure to review and update the Mutelist regularly to ensure it reflects the desired exclusions and remains up to date with your infrastructure.

Current Limitations and Workarounds

Limitation: No OR Logic Between Different Rule Sets

The current Mutelist schema does not support OR logic between different condition sets. Each check can have only one rule object, and all conditions are ANDed together. Example of unsupported scenario:
Workaround: Use multiple scans with different mutelists For complex scenarios requiring OR logic, run separate scans:
Then merge the outputs in your reporting pipeline.

Limitation: Cannot Negate Regions

You cannot express “all regions except X and Y”. You must explicitly list all regions you want to mute. Workaround:

Best Practices

  1. Use regex patterns for flexibility: Instead of listing multiple resources, use regex patterns like "dev-.*" or "test-instance-[0-9]+"
  2. Combine tag OR logic with regex: Use "environment=dev|environment=stg|environment=test" instead of multiple tag entries
  3. Be specific with exceptions: Use the Exceptions field to unmute specific resources within a broader muting rule
  4. Test your mutelist: Run Prowler with --output-modes json and verify that the expected findings are muted

AWS Mutelist

Muting specific AWS regions

If you want to mute failed findings only in specific regions, create a file with the following syntax and run it with prowler aws -w mutelist.yaml: Mutelist: Accounts: "": Checks: "": Regions:
  • “ap-southeast-1”
  • “ap-southeast-2” Resources:
  • ”*” Description: “Description related with the muted findings for the check”

Default Mutelist

For the AWS Provider, Prowler is executed with a default AWS Mutelist with the AWS Resources that should be muted such as all resources created by AWS Control Tower when setting up a landing zone that can be found in AWS Documentation. You can see this Mutelist file in prowler/config/aws_mutelist.yaml.

Supported Mutelist Locations

The mutelisting flag supports the following AWS locations when using the AWS Provider:

AWS S3 URI

You will need to pass the S3 URI where your Mutelist YAML file was uploaded to your bucket:
Make sure that the used AWS credentials have s3:GetObject permissions in the S3 path where the mutelist file is located.

AWS DynamoDB Table ARN

You will need to pass the DynamoDB Mutelist Table ARN:
The DynamoDB Table must have the following String keys: The Mutelist Table must have the following columns:
  • Accounts (String): This field can contain either an Account ID or an * (which applies to all the accounts that use this table as an mutelist).
  • Checks (String): This field can contain either a Prowler Check Name or an * (which applies to all the scanned checks).
  • Regions (List): This field contains a list of regions where this mutelist rule is applied (it can also contains an * to apply all scanned regions).
  • Resources (List): This field contains a list of regular expressions (regex) that applies to the resources that are wanted to be muted.
  • Tags (List): -Optional- This field contains a list of tuples in the form of ‘key=value’ that applies to the resources tags that are wanted to be muted.
  • Exceptions (Map): -Optional- This field contains a map of lists of accounts/regions/resources/tags that are wanted to be excepted in the mutelist.
The following example will mute all resources in all accounts for the EC2 checks in the regions eu-west-1 and us-east-1 with the tags environment=dev and environment=prod, except the resources containing the string test in the account 012345678912 and region eu-west-1 with the tag environment=prod:
Make sure that the used AWS credentials have dynamodb:PartiQLSelect permissions in the table.

AWS Lambda ARN

You will need to pass the AWS Lambda Function ARN:
Make sure that the credentials that Prowler uses can invoke the Lambda Function:
The Lambda Function can then generate an Mutelist dynamically. Here is the code an example Python Lambda Function that generates an Mutelist: