Skip to content

Commit 05f4c56

Browse files
author
Christoph Wurm
committed
Move hash config to reference yml.
1 parent 5b5b25a commit 05f4c56

File tree

3 files changed

+22
-35
lines changed

3 files changed

+22
-35
lines changed

x-pack/auditbeat/auditbeat.reference.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,6 @@ auditbeat.modules:
135135
# socket.state.period: 12h
136136
# user.state.period: 12h
137137

138-
# Disabled by default. If enabled, the socket dataset will
139-
# report sockets to and from localhost.
140-
# socket.include_localhost: false
141-
142-
# Enabled by default. Auditbeat will read password fields in
143-
# /etc/passwd and /etc/shadow and store a hash locally to
144-
# detect any changes.
145-
user.detect_password_changes: true
146-
147138
# Average file read rate for hashing of the process executable. Default is "50 MiB".
148139
process.hash.scan_rate_per_sec: 50 MiB
149140

@@ -156,6 +147,15 @@ auditbeat.modules:
156147
# Default is sha1.
157148
process.hash.hash_types: [sha1]
158149

150+
# Disabled by default. If enabled, the socket dataset will
151+
# report sockets to and from localhost.
152+
# socket.include_localhost: false
153+
154+
# Enabled by default. Auditbeat will read password fields in
155+
# /etc/passwd and /etc/shadow and store a hash locally to
156+
# detect any changes.
157+
user.detect_password_changes: true
158+
159159
# File patterns of the login record files.
160160
# wtmp: History of successful logins, logouts, and system shutdowns and boots.
161161
# btmp: Failed login attempts.

x-pack/auditbeat/auditbeat.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,6 @@ auditbeat.modules:
6666
# detect any changes.
6767
user.detect_password_changes: true
6868

69-
# Average file read rate for hashing of the process executable. Default is "50 MiB".
70-
process.hash.scan_rate_per_sec: 50 MiB
71-
72-
# Limit on the size of the process executable that will be hashed. Default is "100 MiB".
73-
process.hash.max_file_size: 100 MiB
74-
75-
# Hash types to compute of the process executable. Supported types are
76-
# blake2b_256, blake2b_384, blake2b_512, md5, sha1, sha224, sha256, sha384,
77-
# sha512, sha512_224, sha512_256, sha3_224, sha3_256, sha3_384, sha3_512, and xxh64.
78-
# Default is sha1.
79-
process.hash.hash_types: [sha1]
80-
8169
# File patterns of the login record files.
8270
login.wtmp_file_pattern: /var/log/wtmp*
8371
login.btmp_file_pattern: /var/log/btmp*

x-pack/auditbeat/module/system/_meta/config.yml.tmpl

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,19 @@
3535
{{ if eq .GOOS "linux" -}}
3636
# socket.state.period: 12h
3737
# user.state.period: 12h
38-
{{- end -}}
38+
{{- end }}
39+
40+
# Average file read rate for hashing of the process executable. Default is "50 MiB".
41+
process.hash.scan_rate_per_sec: 50 MiB
42+
43+
# Limit on the size of the process executable that will be hashed. Default is "100 MiB".
44+
process.hash.max_file_size: 100 MiB
45+
46+
# Hash types to compute of the process executable. Supported types are
47+
# blake2b_256, blake2b_384, blake2b_512, md5, sha1, sha224, sha256, sha384,
48+
# sha512, sha512_224, sha512_256, sha3_224, sha3_256, sha3_384, sha3_512, and xxh64.
49+
# Default is sha1.
50+
process.hash.hash_types: [sha1]
3951
{{- end -}}
4052
{{- if eq .GOOS "linux" -}}
4153

@@ -51,19 +63,6 @@
5163
# detect any changes.
5264
user.detect_password_changes: true
5365

54-
# Average file read rate for hashing of the process executable. Default is "50 MiB".
55-
process.hash.scan_rate_per_sec: 50 MiB
56-
57-
# Limit on the size of the process executable that will be hashed. Default is "100 MiB".
58-
process.hash.max_file_size: 100 MiB
59-
60-
# Hash types to compute of the process executable. Supported types are
61-
# blake2b_256, blake2b_384, blake2b_512, md5, sha1, sha224, sha256, sha384,
62-
# sha512, sha512_224, sha512_256, sha3_224, sha3_256, sha3_384, sha3_512, and xxh64.
63-
# Default is sha1.
64-
process.hash.hash_types: [sha1]
65-
66-
{{ if eq .GOOS "linux" -}}
6766
# File patterns of the login record files.
6867
{{- if .Reference }}
6968
# wtmp: History of successful logins, logouts, and system shutdowns and boots.

0 commit comments

Comments
 (0)