Skip to content

Commit

Permalink
Change the type of threatintel.indicator.first_seen to date (#26765)
Browse files Browse the repository at this point in the history
The `threatintel` module field was incorrectly mapped as keyword instead
of date.

(cherry picked from commit b6ee587)
  • Loading branch information
adriansr authored and mergify-bot committed Jul 9, 2021
1 parent ceb338f commit 767637d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- All url.* fields apart from url.original in the Apache, Nginx, IIS, Traefik, S3Access, Cisco, F5, Fortinet, Google Workspace, Imperva, Microsoft, Netscout, O365, Sophos, Squid, Suricata, Zeek, Zia, Zoom, and ZScaler modules are now url unescaped due to using the Elasticsearch uri_parts processor. {pull}24699[24699]
- Deprecated the cyberark module (replaced by cyberarkpas). {issue}25261[25261] {pull}25505[25505]
- Change source field for `event.action` in `fortinet.firewall` module to `fortinet.firewall.action` instead of `fortinet.firewall.eventtype`. {pull}24816[24816]
- threatintel module: Changed the type of `threatintel.indicator.first_seen` from `keyword` to `date`. {pull}26765[26765]

*Heartbeat*
- Add support for screenshot blocks and use newer synthetics flags that only works in newer synthetics betas. {pull}25808[25808]
Expand Down
2 changes: 1 addition & 1 deletion filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -145732,7 +145732,7 @@ Fields from the threatintel Filebeat module.
The date and time when intelligence source first reported sighting this indicator.


type: keyword
type: date

--

Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/threatintel/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
Fields from the threatintel Filebeat module.
fields:
- name: indicator.first_seen
type: keyword
type: date
description: >
The date and time when intelligence source first reported sighting this indicator.
- name: indicator.last_seen
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/threatintel/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 767637d

Please sign in to comment.