mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Filebeat Module - Add SSL key
This commit is contained in:
@@ -843,7 +843,7 @@ output.logstash:
|
||||
ssl.certificate: "/usr/share/filebeat/filebeat.crt"
|
||||
|
||||
# Client Certificate Key
|
||||
#ssl.key: "/etc/pki/client/cert.key"
|
||||
ssl.key: "/usr/share/filebeat/filebeat.key"
|
||||
|
||||
# Optional passphrase for decrypting the Certificate Key.
|
||||
#ssl.key_passphrase: ''
|
||||
|
||||
@@ -35,9 +35,15 @@ filebeatcrt:
|
||||
- name: /opt/so/conf/filebeat/etc/pki/filebeat.crt
|
||||
- source: salt://filebeat/files/filebeat.crt
|
||||
|
||||
filebeatkey:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/filebeat/etc/pki/filebeat.key
|
||||
- source: salt://filebeat/files/filebeat.key
|
||||
|
||||
|
||||
so-filebeat:
|
||||
docker_container.running:
|
||||
- image: toosmoth/so-filebeat:beta
|
||||
- image: toosmooth/so-filebeat:beta
|
||||
- hostname: so-filebeat
|
||||
- user: root
|
||||
- binds:
|
||||
@@ -45,5 +51,6 @@ so-filebeat:
|
||||
- /opt/so/conf/filebeat/etc/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
|
||||
- /nsm/bro/spool/manager:/nsm/bro/spool:ro
|
||||
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
|
||||
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
|
||||
- /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro
|
||||
- network_mode: so-elastic-net
|
||||
|
||||
Reference in New Issue
Block a user