Skip to content

Commit

Permalink
taking the reason as the title instead of the id
Browse files Browse the repository at this point in the history
  • Loading branch information
eyalk007 committed Sep 12, 2024
1 parent 8915a4d commit 84b2a7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ List<FileTreeNode> createSpecificFileIssueNodes(List<JFrogSecurityWarning> 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);
Expand Down

0 comments on commit 84b2a7f

Please sign in to comment.