Skip to content

Commit

Permalink
Merge pull request #122 from PaloAltoNetworks/fix/add-query_params-to…
Browse files Browse the repository at this point in the history
…-suppressions

 add query params to suppressions_justifications_list_read
  • Loading branch information
SimOnPanw authored Feb 2, 2023
2 parents b83cbaa + 68f62ab commit 2f5ba34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions prismacloud/api/code_security/_suppressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ def suppressions_update(self, policy_id, rule_id, rule):
def suppressions_delete(self, policy_id, rule_id):
return self.execute_code_security('DELETE', 'code/api/v1/suppressions/%s/justifications/%s' % (policy_id, rule_id))

def suppressions_justifications_list_read(self, policy_id):
return self.execute_code_security('GET', 'code/api/v1/suppressions/%s/justifications' % policy_id)
def suppressions_justifications_list_read(self, policy_id, query_params):
return self.execute_code_security('GET', 'code/api/v1/suppressions/%s/justifications' % policy_id, query_params=query_params)
2 changes: 1 addition & 1 deletion prismacloud/api/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" version file """

version = '5.1.3'
version = '5.1.4'

0 comments on commit 2f5ba34

Please sign in to comment.