mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-31 07:44:21 +00:00
fix(dashboard): remove muted findings on compliance page (#7683)
This commit is contained in:
1 parent
54aa1a4507
commit
b7c317bf23
2 files changed
+4
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user