diff --git a/src/main/java/io/mixeway/api/cicd/controller/CICDController.java b/src/main/java/io/mixeway/api/cicd/controller/CICDController.java index 033a67a0..5d2c27a3 100644 --- a/src/main/java/io/mixeway/api/cicd/controller/CICDController.java +++ b/src/main/java/io/mixeway/api/cicd/controller/CICDController.java @@ -107,7 +107,7 @@ public ResponseEntity loadVulnsZap (@RequestBody ZapReportModel loadVuln return cicdService.loadVulnZap(loadVulnModel,ciid,principal); } @PreAuthorize("hasAuthority('ROLE_API')") - @PostMapping(value="/loadvulns/zap/{id}") + @PostMapping(value="/loadvulns/zap/webapp/{id}") public ResponseEntity loadVulnsZap (@RequestBody ZapReportModel loadVulnModel, @PathVariable(value = "id") Long id, Principal principal) throws Exception {