fixed breaking changes

This commit is contained in:
=
2025-08-22 11:38:24 -04:00
parent f2530f8ebd
commit eb1967152b
2 changed files with 11 additions and 8 deletions
+5 -2
View File
@@ -4,8 +4,11 @@ import json
import os
import time
def pullPolicyExechistories(url, choice, outputjson: bool):
def pullPolicyExechistories(url, choice, policiesnames, outputjson: bool):
headers = {
"X-APIKey": os.getenv('APIKEY')
}
checkpoint = '000000000000000000000000'
json_output = {'error': 'Success', 'response': {'exechistories': []}}
while True:
@@ -93,4 +96,4 @@ def listPolicies(url):
policyids.append(list['groupid'])
choice = input("Select Policy Group: ")
choice = int(choice) - 1
return choice
return choice, policiesnames