From 96a38affb7081094aca67b133334bdecb295063d Mon Sep 17 00:00:00 2001 From: Tim Jarrett Date: Wed, 9 Oct 2024 10:44:11 -0400 Subject: [PATCH] Fix error in roles calls --- veracode_api_py/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veracode_api_py/api.py b/veracode_api_py/api.py index 20e7a23..f581724 100644 --- a/veracode_api_py/api.py +++ b/veracode_api_py/api.py @@ -315,7 +315,7 @@ def revoke_creds(self, api_id): def get_roles(self): return Roles().get_all() - def get_role(self, role_guid: GUID): + def get_role(self, role_guid: UUID): return Roles().get(role_guid=role_guid) def create_role(self, role_name, role_description, is_api=False, jit_assignable=True,