Skip to content

Commit

Permalink
Auditbeat: Set file.origin type to keyword
Browse files Browse the repository at this point in the history
The `file.origin` field is set by auditbeat's file_integrity module
under macOs. This field was set to `text` type instead of `keyword`.
  • Loading branch information
adriansr committed Feb 4, 2019
1 parent 0fd59ee commit 30703a6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d

*Auditbeat*

- Field `file.origin` changed type from `text` to `keyword`. {pull}10544[10544]

*Filebeat*

- Modify apache/error dataset to follow ECS. {pull}8963[8963]
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description: Set if the file has the `setgid` bit set. Omitted otherwise.

- name: origin
type: text
type: keyword
description: >
An array of strings describing a possible external origin for
this file. For example, the URL it was downloaded from. Only
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2610,7 +2610,7 @@ Set if the file has the `setgid` bit set. Omitted otherwise.
*`file.origin`*::
+
--
type: text
type: keyword
An array of strings describing a possible external origin for this file. For example, the URL it was downloaded from. Only supported in macOS, via the kMDItemWhereFroms attribute. Omitted if origin information is not available.
Expand Down
2 changes: 1 addition & 1 deletion auditbeat/include/fields.go

Large diffs are not rendered by default.

0 comments on commit 30703a6

Please sign in to comment.