From 34ae5857697508722f8a6e62c5b02052c77c53e1 Mon Sep 17 00:00:00 2001 From: ljstella Date: Wed, 6 Nov 2024 09:34:48 -0600 Subject: [PATCH] Ensure we print the right field --- contentctl/actions/new_content.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contentctl/actions/new_content.py b/contentctl/actions/new_content.py index bca81521..0a54cf11 100644 --- a/contentctl/actions/new_content.py +++ b/contentctl/actions/new_content.py @@ -29,8 +29,7 @@ def buildDetection(self)->dict[str,Any]: answers['date'] = datetime.today().strftime('%Y-%m-%d') answers['author'] = answers['detection_author'] del answers['detection_author'] - answers['data_sources'] = answers['data_source'] - del answers['data_source'] + answers['data_source'] = answers['data_source'] answers['type'] = answers['detection_type'] del answers['detection_type'] answers['status'] = "production" #start everything as production since that's what we INTEND the content to become