Skip to content

Commit d1bf8cf

Browse files
committed
fix kics severity
1 parent 04fef38 commit d1bf8cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/mixeway/scanmanager/service/code/CodeScanService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ public void loadKicsReport(KicsReport kicsReport, CodeProject codeProject, Princ
566566
"Evidence: " +
567567
file.getActualValue();
568568
ProjectVulnerability projectVulnerability = new ProjectVulnerability(codeProject,codeProject,vulnerability, description,file.getExpectedValue(),
569-
Constants.VULN_CRITICALITY_CRITICAL,null,file.getName()+":"+file.getLine(),
569+
query.getSeverity(),null,file.getName()+":"+file.getLine(),
570570
"", vulnTemplate.SOURCE_IAC, null,codeProjectBranch );
571571

572572
vulnToPersist.add(projectVulnerability);

0 commit comments

Comments
 (0)