mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 04:51:51 +00:00
fix(ui): show scan in Findings filter from View Findings action (#11997)
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
This commit is contained in:
committed by
GitHub
parent
7d8c64d35b
commit
59b13778e2
@@ -0,0 +1 @@
|
||||
`Scan ID` filter on the Findings page now shows the active scan when opening findings from a scan's `View Findings` action
|
||||
@@ -333,7 +333,7 @@ describe("ScanJobsRowActions", () => {
|
||||
|
||||
// Then
|
||||
expect(pushMock).toHaveBeenCalledWith(
|
||||
"/findings?filter[scan]=scan-1&filter[inserted_at]=2026-01-01&filter[status__in]=FAIL",
|
||||
"/findings?filter[scan__in]=scan-1&filter[inserted_at]=2026-01-01&filter[status__in]=FAIL",
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ export function ScanJobsRowActions({
|
||||
const openFindings = () => {
|
||||
if (!isCompleted || !scanDate) return;
|
||||
router.push(
|
||||
`/findings?filter[scan]=${scan.id}&filter[inserted_at]=${scanDate}&filter[status__in]=FAIL`,
|
||||
`/findings?filter[scan__in]=${scan.id}&filter[inserted_at]=${scanDate}&filter[status__in]=FAIL`,
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user