diff --git a/modules/utilities/unix/logging/auditbeat/auditbeat.pp b/modules/utilities/unix/logging/auditbeat/auditbeat.pp index e3df87302..0212b454a 100644 --- a/modules/utilities/unix/logging/auditbeat/auditbeat.pp +++ b/modules/utilities/unix/logging/auditbeat/auditbeat.pp @@ -10,15 +10,37 @@ class { 'auditbeat': 'paths' => ['/bin', '/usr/bin', '/sbin', '/usr/sbin', '/etc'], }, # { - # 'module' => 'auditd', - # 'enabled' => true, - # '' => [''], TODO: this needs correctly configuring. see https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-module-auditd.html + # 'module' => 'auditd', + # 'enabled' => true, + # 'audit_rules' => '-a always,exit -F arch=b64 -S all -F key=64bit-abi', + # TODO: this needs correctly configuring. see https://www.elastic.co/guide/en/beats/auditbeat/current/auditbeat-module-auditd.html # }, ], outputs => { 'logstash' => { - 'hosts' => ["http://$logstash_ip:$logstash_port"], - 'index' => 'auditbeat-%{+YYYY.MM.dd}', + 'hosts' => ["$logstash_ip:$logstash_port"], }, }, -} \ No newline at end of file +} + + +# +# class { 'auditbeat': +# modules => [ +# { +# 'module' => 'file_integrity', +# 'enabled' => true, +# 'paths' => ['/bin', '/usr/bin', '/sbin', '/usr/sbin', '/etc'], +# }, +# { +# 'module' => 'auditd', +# 'enabled' => true, +# }, +# ], +# outputs => { +# 'elasticsearch' => { +# 'hosts' => ['http://localhost:9200'], +# 'index' => 'auditbeat-%{+YYYY.MM.dd}', +# }, +# } +# } \ No newline at end of file diff --git a/scenarios/examples/elkstack.xml b/scenarios/examples/elkstack.xml index a0e946b1d..4937e99c1 100644 --- a/scenarios/examples/elkstack.xml +++ b/scenarios/examples/elkstack.xml @@ -10,7 +10,7 @@ --> - escalation + elk @@ -74,6 +74,15 @@ + + + IP_address + + + logstash_port + + + IP_address @@ -81,6 +90,27 @@ + + + + + + + + + + + + + + + + + + + + +