Skip to content

Commit

Permalink
Added Similarity ID in new Line
Browse files Browse the repository at this point in the history
  • Loading branch information
itsKedar committed Aug 1, 2024
1 parent be1ccdf commit b06090d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import org.gradle.api.tasks.testing.Test

buildscript {
ext {
CxSBSDK = "0.6.10"
CxSBSDK = "0.6.12"
ConfigProviderVersion = '1.0.14'
//cxVersion = "8.90.5"
springBootVersion = '3.2.5'
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/checkmarx/flow/utils/HTMLHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,9 @@ private static void setSASTMDBody(ScanResults.XIssue issue, String branch, Strin
body.append("*").append(issue.getDescription()).append("*").append(CRLF).append(CRLF);
}
}

if(!ScanUtils.empty(issue.getSimilarityId())){
body.append("Similarity Id").append(": ").append(issue.getSimilarityId()).append(CRLF).append(CRLF);
}
if (!ScanUtils.empty(issue.getSeverity())) {
body.append(SEVERITY).append(": ").append(issue.getSeverity()).append(CRLF).append(CRLF);
}
Expand Down

0 comments on commit b06090d

Please sign in to comment.