testing
This commit is contained in:
+8
-2
@@ -2,7 +2,9 @@ import dotenv
|
||||
import os
|
||||
import utils.getdeviceevents
|
||||
import utils.allowlist
|
||||
import utils.hashfunctions
|
||||
import urllib3
|
||||
import pandas as pd
|
||||
|
||||
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
|
||||
|
||||
@@ -26,9 +28,13 @@ def menu():
|
||||
while True:
|
||||
choice = input("Enter Menu Item: ")
|
||||
if choice == '1':
|
||||
utils.getdeviceevents.devicehistory(url)
|
||||
utils.getdeviceevents.devicehistory(url,False)
|
||||
if choice == '2':
|
||||
utils.allowlist.allowlistexechistories(url)
|
||||
utils.allowlist.allowlistexechistories(url,False)
|
||||
if choice == '3':
|
||||
executionhist = utils.allowlist.allowlistexechistories(url,True)
|
||||
aggregated = utils.hashfunctions.aggregateHashes(executionhist)
|
||||
print(aggregated)
|
||||
|
||||
if __name__ == "__main__":
|
||||
apivalidation()
|
||||
Reference in New Issue
Block a user