Skip to content

Commit

Permalink
#24746: Update Threatinteal Anomali pipeline (#27141)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7fa146c)
  • Loading branch information
legoguy1000 authored and mergify-bot committed Aug 21, 2021
1 parent d120942 commit 7666cb3
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 7666cb3

Please sign in to comment.