Skip to content

Commit

Permalink
[Auditbeat] Enable System module config on Windows (#10237) (#10361)
Browse files Browse the repository at this point in the history
Bugfix: Include System module in configuration files on Windows.

(cherry picked from commit e8013bd)
  • Loading branch information
Christoph Wurm authored Jan 30, 2019
1 parent 0739a6a commit c73db68
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 @@ -66,6 +66,8 @@ https://github.com/elastic/beats/compare/v6.6.0...6.x[Check the HEAD diff]

*Auditbeat*

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

*Filebeat*

- Correctly parse `December` or `Dec` in the Syslog input. {pull}9349[9349]
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 c73db68

Please sign in to comment.