fix(report): update logic for threatscore (#9348)

This commit is contained in:
Pedro Martín authored and GitHub committed 2025-12-01 09:11:08 +01:00
1 parent b2abdbeb60
commit d3a000cbc4
3 files changed
+15 -6

No files matched your search

+4 -1
View File
@@ -3338,7 +3338,10 @@ class TestAggregateFindingsByRegion:
# Verify filter was called with muted=False
mock_findings_filter.assert_called_once_with(
tenant_id=tenant_id, scan_id=scan_id, muted=False
tenant_id=tenant_id,
scan_id=scan_id,
muted=False,
status__in=["PASS", "FAIL"],
)
@patch("tasks.jobs.scan.Finding.all_objects.filter")