diff --git a/AirlockTools.py b/AirlockTools.py index d2aa6ea..991dab8 100644 --- a/AirlockTools.py +++ b/AirlockTools.py @@ -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)