Skip to content

Commit a99fb55

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

veracode_api_py/applications.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ def get_by_name (self,appname: str):
3434
return APIHelper()._rest_paged_request(uri="appsec/v1/applications",method="GET",element="applications",params=params)
3535

3636
def create(self,app_name:str ,business_criticality, description: str, business_unit: UUID=None, teams=[], policy_guid:UUID=None,
37-
custom_fields=[], bus_owner_name=None, bus_owner_email=None, git_repo_url=None):
37+
custom_fields=[], bus_owner_name=None, bus_owner_email=None, git_repo_url=None, custom_kms_alias: str=None):
3838
return self._create_or_update("CREATE",app_name=app_name,business_criticality=business_criticality,
3939
description=description,business_unit=business_unit,teams=teams, policy_guid=policy_guid,
4040
custom_fields=custom_fields, bus_owner_name=bus_owner_name,
41-
bus_owner_email=bus_owner_email, git_repo_url=git_repo_url)
41+
bus_owner_email=bus_owner_email, git_repo_url=git_repo_url, custom_kms_alias=custom_kms_alias)
4242

4343
def update(self,guid: UUID,app_name:str, description: str, business_criticality, business_unit: UUID=None,
4444
teams=[], policy_guid:UUID=None, custom_fields=[],
@@ -55,7 +55,7 @@ def delete(self,guid: UUID):
5555

5656
def _create_or_update(self,method,app_name: str,description: str,business_criticality, business_unit: UUID=None,
5757
teams=[],guid=None,policy_guid:UUID=None, custom_fields=[],
58-
bus_owner_name=None,bus_owner_email=None,git_repo_url=None):
58+
bus_owner_name=None,bus_owner_email=None,git_repo_url=None,custom_kms_alias:str=None):
5959
if method == 'CREATE':
6060
uri = 'appsec/v1/applications'
6161
httpmethod = 'POST'

0 commit comments

Comments
 (0)