Merge branch 'Zar-Branch' of https://git.racooncity.org/brotoskyj/Airlocktools into Zar-Branch
This commit is contained in:
+4
-2
@@ -129,8 +129,10 @@ def menu_prepare_to_enforce():
|
||||
elif choice == "3":
|
||||
executionhist_policy1 = utils.allowlist.pullPolicyExechistories(url,first_policy, first_policy,True)
|
||||
df_aggregated_policy1 = utils.hashfunctions.aggregateHashes(executionhist_policy1)
|
||||
df_aggregated_policy1.to_html(f"df_aggregated_{first_policy}.html")
|
||||
history_pol1_staged =True
|
||||
df_aggregated_policy2 = utils.hashfunctions.aggregateHashes(executionhist_policy2)
|
||||
df_aggregated_combo= pd.concat([df_aggregated_policy1, df_aggregated_policy2], ignore_index=True)
|
||||
df_aggregated_combo.to_html(f"df_aggregated_combo_{first_policy[1][first_policy[0]]}_{second_policy[1][second_policy[0]]}.html", index=False)
|
||||
history_staged = True
|
||||
|
||||
elif choice == "4":
|
||||
executionhist_policy2 = utils.allowlist.pullPolicyExechistories(url,second_policy, second_policy,True)
|
||||
|
||||
Reference in New Issue
Block a user