From 779acf37b8145d591fc2f3818cd2fec6d5f337d9 Mon Sep 17 00:00:00 2001 From: P4T12ICK Date: Wed, 14 Oct 2020 14:36:03 +0200 Subject: [PATCH] test --- automated_detection_testing/detection_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated_detection_testing/detection_service.py b/automated_detection_testing/detection_service.py index 315478ba8a..e25a3e194b 100644 --- a/automated_detection_testing/detection_service.py +++ b/automated_detection_testing/detection_service.py @@ -158,7 +158,7 @@ def main(args): with open(file_path, 'w') as f: yaml.dump(detection_obj, f, sort_keys=False) - changed_file_path = 'detections/' + test['detection'].replace(' ', '_').replace('-','_').replace('.','_').replace('/','_').lower() + '.yml' + changed_file_path = 'detections/' + test['detection_file'] security_content_repo_obj.index.add([changed_file_path]) security_content_repo_obj.index.commit('Added detection testing service results in' + test['detection'])