Skip to content

Commit

Permalink
Set file.origin type to keyword (#10544)
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 authored Feb 4, 2019
1 parent d5551c7 commit 6ecef95
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 @@ -37,6 +37,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
of the auditd module. {pull}10195[10195]
- Change data type of `file.uid` and `file.gid` to string in JSON output of the
FIM module. {pull}10195[10195]
- Field `file.origin` changed type from `text` to `keyword`. {pull}10544[10544]

*Filebeat*

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 6ecef95

Please sign in to comment.