contentctl icon indicating copy to clipboard operation
contentctl copied to clipboard

New content generator will set invalid detection types

Open linuxdaemon opened this issue 2 years ago • 0 comments

https://github.com/splunk/contentctl/blob/e63ed1f073c7c453451ebd99f19c566389a4ebfd/contentctl/input/new_content_questions.py#L23-L30 and https://github.com/splunk/contentctl/blob/e63ed1f073c7c453451ebd99f19c566389a4ebfd/contentctl/objects/enums.py#L4-L8 are inconsistent, which means it will let you set the detection type to, for instance, Investigation which will fail validation since it is not in the enum

linuxdaemon avatar Oct 24 '23 19:10 linuxdaemon