From abd568f7d7e4330508cec11e97d99c5c55fc4e28 Mon Sep 17 00:00:00 2001 From: pyth0n1c <87383215+pyth0n1c@users.noreply.github.com> Date: Wed, 24 Nov 2021 15:57:13 -0800 Subject: [PATCH] Small update to summarize_json.py to set show_splunk_app_password to True when generatingf the detection_failure_manifest.json file. This way, you can run that file directly as the configuration without making any other changes or passing command line values and get right into debugging everything --- .../ci/detection_testing_batch/summarize_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated_detection_testing/ci/detection_testing_batch/summarize_json.py b/automated_detection_testing/ci/detection_testing_batch/summarize_json.py index 2f90b367bb..a1084a4a44 100644 --- a/automated_detection_testing/ci/detection_testing_batch/summarize_json.py +++ b/automated_detection_testing/ci/detection_testing_batch/summarize_json.py @@ -56,7 +56,7 @@ def outputResultsJSON(output_filename:str, data:list[dict], baseline:OrderedDict if len(fail_list) > 0: failures_test_override = {"detections_list": fail_list, "interactive_failure":True, "num_containers":1, "branch": baseline["branch"], "commit_hash":baseline["commit_hash"], - "mode":"selected"} + "mode":"selected", "show_splunk_app_password": True} with open("detection_failure_manifest.json","w") as failures: validate_args.validate_and_write(failures_test_override, failures) except Exception as e: