From 189dda2c3a563d85de0af058e47463a87bc25a1a Mon Sep 17 00:00:00 2001 From: siewrgrz Date: Wed, 18 Mar 2020 19:02:30 +0100 Subject: [PATCH] enable clean for each run of fortify --- .../io/mixeway/fortifyscaapi/service/FortifyRestApiService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/mixeway/fortifyscaapi/service/FortifyRestApiService.java b/src/main/java/io/mixeway/fortifyscaapi/service/FortifyRestApiService.java index 67ee747..ba696ed 100644 --- a/src/main/java/io/mixeway/fortifyscaapi/service/FortifyRestApiService.java +++ b/src/main/java/io/mixeway/fortifyscaapi/service/FortifyRestApiService.java @@ -63,7 +63,7 @@ public void createScanProcess(CreateScanRequest createScanRequest, FortifyScan f GitResponse gitResponse = null; try { if (fortifyScanRepository.findByGroupNameAndRunning(createScanRequest.getGroupName(), true).size() != 0) { - //fortifyScaClient.runCleanForProject(createScanRequest,fortifyScan); + fortifyScaClient.runCleanForProject(createScanRequest,fortifyScan); for (Project project : createScanRequest.getProjects()) { logger.info("Starting processing of app {} in {} dtrackuuid is {} ", project.getProjectName(), project.getTechnique(), project.getdTrackUuid()!=null ? project.getdTrackUuid() : "empty");