diff --git a/contentctl/input/new_content_generator.py b/contentctl/input/new_content_generator.py index ef6da9a2..8c6a0b5f 100644 --- a/contentctl/input/new_content_generator.py +++ b/contentctl/input/new_content_generator.py @@ -38,8 +38,8 @@ def execute(self, input_dto: NewContentGeneratorInputDto) -> None: self.output_dto.obj['author'] = answers['detection_author'] self.output_dto.obj['data_source'] = answers['data_source'] self.output_dto.obj['type'] = answers['detection_type'] + self.output_dto.obj['status'] = "production" #start everything as production since that's what we INTEND the content to become self.output_dto.obj['description'] = 'UPDATE_DESCRIPTION' - self.output_dto.obj['description'] = "production" #start everything as production since that's what we INTEND the content to become file_name = self.output_dto.obj['name'].replace(' ', '_').replace('-','_').replace('.','_').replace('/','_').lower() self.output_dto.obj['search'] = answers['detection_search'] + ' | `' + file_name + '_filter`' self.output_dto.obj['how_to_implement'] = 'UPDATE_HOW_TO_IMPLEMENT' diff --git a/pyproject.toml b/pyproject.toml index 9ecc14d3..416ff0df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "contentctl" -version = "3.0.1" +version = "3.0.2" description = "Splunk Content Control Tool" authors = ["STRT "] license = "Apache 2.0"