From b7c317bf23bca1d341cd3a97f6ffaa7ce08088ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Mart=C3=ADn?= Date: Wed, 7 May 2025 19:52:14 +0200 Subject: [PATCH] fix(dashboard): remove muted findings on compliance page (#7683) --- dashboard/pages/compliance.py | 3 +++ prowler/CHANGELOG.md | 1 + 2 files changed, 4 insertions(+) diff --git a/dashboard/pages/compliance.py b/dashboard/pages/compliance.py index 6fa8288bcf..f0c9032ab8 100644 --- a/dashboard/pages/compliance.py +++ b/dashboard/pages/compliance.py @@ -431,6 +431,9 @@ def display_data( ) df = data.copy() + # Remove Muted rows + if "MUTED" in df.columns: + df = df[df["MUTED"] == "False"] df = df.groupby(["STATUS"]).size().reset_index(name="counts") df = df.sort_values(by=["counts"], ascending=False) diff --git a/prowler/CHANGELOG.md b/prowler/CHANGELOG.md index ca0fe7e474..01bc03fd07 100644 --- a/prowler/CHANGELOG.md +++ b/prowler/CHANGELOG.md @@ -65,6 +65,7 @@ All notable changes to the **Prowler SDK** are documented in this file. - Remove empty files in Prowler [(#7627)](https://github.com/prowler-cloud/prowler/pull/7627) - Ensure that ContentType in upload_file matches the uploaded file’s format [(#7635)](https://github.com/prowler-cloud/prowler/pull/7635) - Fix incorrect check inside 4.4.1 requirement for Azure CIS 2.0 [(#7656)](https://github.com/prowler-cloud/prowler/pull/7656). +- Remove muted findings on compliance page from Prowler Dashboard [(#7683)](https://github.com/prowler-cloud/prowler/pull/7683). ---