Skip to content

Commit

Permalink
zip over id change url
Browse files Browse the repository at this point in the history
  • Loading branch information
siewer committed Jul 25, 2024
1 parent 223d973 commit 0ac3492
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public ResponseEntity<Status> 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<Status> loadVulnsZap (@RequestBody ZapReportModel loadVulnModel,
@PathVariable(value = "id") Long id,
Principal principal) throws Exception {
Expand Down

0 comments on commit 0ac3492

Please sign in to comment.