From 84b2a7fc0854bd3968d6fa472cfcb3e4172cbbbe Mon Sep 17 00:00:00 2001 From: Eyal Kapon Date: Thu, 12 Sep 2024 14:58:56 +0300 Subject: [PATCH] taking the reason as the title instead of the id --- src/main/java/com/jfrog/ide/idea/scan/SastScannerExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jfrog/ide/idea/scan/SastScannerExecutor.java b/src/main/java/com/jfrog/ide/idea/scan/SastScannerExecutor.java index 31e247af..f807e6bc 100644 --- a/src/main/java/com/jfrog/ide/idea/scan/SastScannerExecutor.java +++ b/src/main/java/com/jfrog/ide/idea/scan/SastScannerExecutor.java @@ -46,7 +46,7 @@ List createSpecificFileIssueNodes(List warni results.put(warning.getFilePath(), fileNode); } - FileIssueNode issueNode = new SastIssueNode(warning.getRuleID(), + FileIssueNode issueNode = new SastIssueNode(warning.getReason(), warning.getFilePath(), warning.getLineStart(), warning.getColStart(), warning.getLineEnd(), warning.getColEnd(), warning.getScannerSearchTarget(), warning.getLineSnippet(), warning.getCodeFlows(), warning.getSeverity(), warning.getRuleID()); fileNode.addIssue(issueNode);