diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy index 84a78b990c..9f058850d9 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/controllers/OpsmxSsdController.groovy @@ -272,8 +272,9 @@ class OpsmxSsdController { @RequestParam(value = "image", required = false) String image, @RequestParam(value = "appName", required = false) String appName, @RequestParam(value = "account", required = false) String account, - @RequestParam(value = "scoreCardName", required = false) String scoreCardName){ - Response response = opsMxSsdService.downloadJsonFile(version, type, source, appId, image, appName, account, scoreCardName) + @RequestParam(value = "scoreCardName", required = false) String scoreCardName, + @RequestParam(value = "semgrep", required = false) String semgrep){ + Response response = opsMxSsdService.downloadJsonFile(version, type, source, appId, image, appName, account, scoreCardName, semgrep) log.info("response for the download json endpoint:" + response.getHeaders()) if (response.getBody() != null) { InputStream inputStream = response.getBody().in() diff --git a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy index 01f1af3715..fbc943e978 100644 --- a/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy +++ b/gate-web/src/main/groovy/com/netflix/spinnaker/gate/services/internal/OpsmxSsdService.groovy @@ -206,7 +206,6 @@ interface OpsmxSsdService { @Query("image") String image, @Query("appName") String appName, @Query("account") String account, - @Query("scoreCardName") String scoreCardName) - - + @Query("scoreCardName") String scoreCardName, + @Query("semgrep") String semgrep) }