mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Filebeat Module - Make cert directory for filebeat
This commit is contained in:
@@ -63,6 +63,12 @@ fbcrtlink:
|
||||
|
||||
{% endif %}
|
||||
{% if grains['role'] == 'so-SENSOR' %}
|
||||
|
||||
fbcertdir:
|
||||
file.directory:
|
||||
- name: /opt/so/conf/filebeat/etc/pki
|
||||
- mkdirs: True
|
||||
|
||||
# Request a cert and drop it where it needs to go to be distributed
|
||||
/opt/so/conf/filebeat/etc/pki/filebeat.crt:
|
||||
x509.certificate_managed:
|
||||
|
||||
Reference in New Issue
Block a user