Limited Allowlist selection
This commit is contained in:
+1
-5
@@ -108,6 +108,7 @@ def listAllowlists(url):
|
||||
policiesnames = []
|
||||
policyids = []
|
||||
for index, list in enumerate(parse_text['response']['applications'], start=1):
|
||||
if index >= 38:
|
||||
print(ct.colorText(f"{index}. {list['name']}", "yellow"))
|
||||
policiesnames.append(list['name'])
|
||||
policyids.append(list['applicationid'])
|
||||
@@ -142,8 +143,3 @@ def listCategories(url):
|
||||
return choice, policiesnames
|
||||
|
||||
|
||||
|
||||
|
||||
else:
|
||||
print(ct.colorText("Please choose only 38 or Aboove", "red"))
|
||||
|
||||
Reference in New Issue
Block a user