Skip to content

Commit

Permalink
[Auditbeat] Cherry-pick #10237 to 6.6: Enable System module config on…
Browse files Browse the repository at this point in the history
… Windows (#10362)

Bugfix: Include System module in configuration files on Windows.

(cherry picked from commit e8013bd)
  • Loading branch information
Christoph Wurm committed Jan 30, 2019
1 parent 9f4b205 commit c047bee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ https://github.com/elastic/beats/compare/1035569addc4a3b29ffa14f8a08c27c1ace16ef

*Auditbeat*

- Enable System module config on Windows. {pull}10237[10237]

*Filebeat*

- Fix bad bytes count in `docker` input when filtering by stream. {pull}10211[10211]
Expand Down
8 changes: 2 additions & 6 deletions x-pack/auditbeat/module/system/_meta/config.yml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{ if ne .GOOS "windows" -}}
{{ if .Reference -}}
# The system module collects security related information about a host.
# All datasets send both periodic state information (e.g. all currently
Expand All @@ -25,17 +24,14 @@
# The state.period can be overridden for any dataset.
# host.state.period: 12h
# process.state.period: 12h
{{ if eq .GOOS "linux" -}}
# socket.state.period: 12h
# user.state.period: 12h
{{- end }}
{{ end }}
{{ if eq .GOOS "linux" -}}
# Enabled by default. Auditbeat will read password fields in
# /etc/passwd and /etc/shadow and store a hash locally to
# detect any changes.
user.detect_password_changes: true
{{- end }}
{{- if false -}}
{{/* Only remaining use in packages, to be removed completely. */}}
report_changes: true
{{- end -}}
{{- end }}

0 comments on commit c047bee

Please sign in to comment.