Skip to content

Commit

Permalink
Semgrep gate (#425)
Browse files Browse the repository at this point in the history
* Added alertMessage param in post URL

* Added semgrep param in download url
  • Loading branch information
vivek-opsmx authored Oct 3, 2023
1 parent 4ade7b2 commit 742976c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 742976c

Please sign in to comment.