Skip to content

Commit 21baada

Browse files
authored
Update applications.py
1 parent 95b3432 commit 21baada

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

veracode_api_py/applications.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ def _create_or_update(self,method,app_name: str,description: str,business_critic
9999
gru = { 'git_repo_url': git_repo_url}
100100
app_def.update(gru)
101101

102+
if (custom_kms_alias != None) & (method=='CREATE'):
103+
# custom_kms_alias currently only supported at creation
104+
app_def.update({"custom_kms_alias": custom_kms_alias})
105+
102106
payload = json.dumps({"profile": app_def})
103107
return APIHelper()._rest_request(uri,httpmethod,body=payload)
104108

0 commit comments

Comments
 (0)