From be07d48c257c11d1a59ff2c0984633e65bf60ec9 Mon Sep 17 00:00:00 2001 From: Julian Kepka Date: Fri, 13 Feb 2026 17:03:47 +0100 Subject: [PATCH 1/2] fix false positive dialog --- src/components/FalsePositiveDialog.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/FalsePositiveDialog.tsx b/src/components/FalsePositiveDialog.tsx index 910d54b1..8e6c0f32 100644 --- a/src/components/FalsePositiveDialog.tsx +++ b/src/components/FalsePositiveDialog.tsx @@ -164,10 +164,7 @@ const FalsePositiveDialog: FunctionComponent = ({ >
- Matches {count}{" "} - {count === 1 - ? "vulnerability" - : "vulnerabilities"} + Matches {count} {count === 1 ? "path" : "paths"}
{suffix.split(" > ").map((el, idx, arr) => ( From 4d5a2828f6efaa46b4e98dcb5fb5c088ae7f4001 Mon Sep 17 00:00:00 2001 From: Julian Kepka Date: Fri, 13 Feb 2026 17:13:15 +0100 Subject: [PATCH 2/2] fix * -> and handle only this path --- src/components/FalsePositiveDialog.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/FalsePositiveDialog.tsx b/src/components/FalsePositiveDialog.tsx index 8e6c0f32..a77920d2 100644 --- a/src/components/FalsePositiveDialog.tsx +++ b/src/components/FalsePositiveDialog.tsx @@ -148,9 +148,8 @@ const FalsePositiveDialog: FunctionComponent = ({
- No rule - - (only this vulnerability) + + Handle only this path
@@ -167,6 +166,12 @@ const FalsePositiveDialog: FunctionComponent = ({ Matches {count} {count === 1 ? "path" : "paths"}
+ + * + + + → + {suffix.split(" > ").map((el, idx, arr) => (