From 8985b7b1f2666c87c15d52e207f34b83eee4676e Mon Sep 17 00:00:00 2001 From: Simon Melotte Date: Thu, 15 Feb 2024 16:34:05 +0100 Subject: [PATCH] fix code policies --- prismacloud/api/pccs/_code_policies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prismacloud/api/pccs/_code_policies.py b/prismacloud/api/pccs/_code_policies.py index dafc308..135f1aa 100644 --- a/prismacloud/api/pccs/_code_policies.py +++ b/prismacloud/api/pccs/_code_policies.py @@ -5,5 +5,5 @@ class CodePoliciesPrismaCloudAPIPCCSMixin: """ Prisma Cloud Code Security API Code Policies Endpoints Class """ - def suppressions_justifications_list_read(self, policy_id): + def code_policies_list_read(self, policy_id): return self.execute_code_security('GET', 'code/api/v2/policies/%s' % policy_id)