diff --git a/src/main/java/io/mixeway/fortifyscaapi/dtrack/DependencyTrackScriptExecutor.java b/src/main/java/io/mixeway/fortifyscaapi/dtrack/DependencyTrackScriptExecutor.java index 68bc707..edd6715 100644 --- a/src/main/java/io/mixeway/fortifyscaapi/dtrack/DependencyTrackScriptExecutor.java +++ b/src/main/java/io/mixeway/fortifyscaapi/dtrack/DependencyTrackScriptExecutor.java @@ -16,6 +16,9 @@ public void runDTrackScript(CreateScanRequest createScanRequest, Project project ProcessBuilder builder = new ProcessBuilder(); builder.command("sh", "-c", script,project.getdTrackUuid(), createScanRequest.getdTrackUrl(), createScanRequest.getdTrackToken()); + logger.info("Running {} inside {}",String.join(" ", + Arrays.asList("sh", "-c", script,project.getdTrackUuid(), createScanRequest.getdTrackUrl(), createScanRequest.getdTrackToken())), + path.toFile()); builder.directory(path.toFile()); Process process = builder.start(); }