Skip to content

Commit

Permalink
Merge pull request #201 from splunk/extra_field
Browse files Browse the repository at this point in the history
Remove extra field
  • Loading branch information
pyth0n1c authored Jul 23, 2024
2 parents f660140 + a9a5b03 commit 596f2c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contentctl/actions/new_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def buildDetection(self)->dict[str,Any]:
answers['status'] = "production" #start everything as production since that's what we INTEND the content to become
answers['description'] = 'UPDATE_DESCRIPTION'
file_name = answers['name'].replace(' ', '_').replace('-','_').replace('.','_').replace('/','_').lower()
answers['kind'] = answers['detection_kind']
answers['search'] = answers['detection_search'] + ' | `' + file_name + '_filter`'
del answers['detection_search']
answers['how_to_implement'] = 'UPDATE_HOW_TO_IMPLEMENT'
Expand Down

0 comments on commit 596f2c1

Please sign in to comment.