This commit is contained in:
=
2025-08-20 15:04:57 -04:00
parent 7d7db9eb2a
commit 0645982090
7 changed files with 47 additions and 10 deletions
+8 -2
View File
@@ -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()