fixed breaking changes
This commit is contained in:
+5
-2
@@ -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
|
||||
Reference in New Issue
Block a user