Skip to content

Commit

Permalink
#24746: Update Threatinteal Anomali pipeline (#27141) (#27298)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fa146c)

Co-authored-by: Alex Resnick <[email protected]>
Co-authored-by: Marius Iversen <[email protected]>
  • Loading branch information
3 people authored Aug 21, 2021
1 parent be8a2b4 commit 7c86623
Show file tree
Hide file tree
Showing 2 changed files with 514 additions and 100 deletions.
14 changes: 14 additions & 0 deletions x-pack/filebeat/module/threatintel/anomali/ingest/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,20 @@ processors:
field: threatintel.indicator.type
value: unknown
if: ctx?.threatintel?.indicator?.type == null
- foreach:
field: threatintel.anomali.labels
ignore_missing: true
processor:
append:
field: tags
value: "{{_ingest._value}}"
allow_duplicates: false
- grok:
field: threatintel.anomali.description
patterns:
- "^%{GREEDYDATA}Source: %{GREEDYDATA:threatintel.indicator.provider}"
ignore_missing: true
ignore_failure: true
######################
# Cleanup processors #
######################
Expand Down
Loading

0 comments on commit 7c86623

Please sign in to comment.