Skip to content

Commit

Permalink
filebeat: add SSL options to checkpoint module (elastic#19560)
Browse files Browse the repository at this point in the history
* feat(firewall): add tls config

* feat(firewall): add vars to manifest

* chore(checkpoint): add tls to example

* chore(checkpoint): run mage fmt update

* cleanup(checkpoint): remove obsolete log_level

* refactor(checkpoint): move to .ssl

* chore(x-pack): revert ide fix

* chore(changelog): add f5 asm ref

* revert(changelog): remove f5 asm mod

* chore(changelog): add checkpoint tls

* chore: fix lint warnings

* Undo some changes and move docs to checkpoint

* Move changelog entry

Co-authored-by: Marc Guasch <marc.guasch@elastic.co>
(cherry picked from commit e29c3fa)
  • Loading branch information
hazcod authored and marc-gr committed Oct 28, 2020
1 parent cd565c2 commit 6504b04
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,7 @@ field. You can revert this change by configuring tags for the module and omittin
- Adding support for FIPS in s3 input {pull}21446[21446]
- Add max_number_of_messages config into s3 input. {pull}21993[21993]
- Update Okta documentation for new stateful restarts. {pull}22091[22091]
- Add SSL option to checkpoint module {pull}19560[19560]

*Heartbeat*

Expand Down
12 changes: 12 additions & 0 deletions filebeat/docs/modules/checkpoint.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ A list of tags to include in events. Including `forwarded` indicates that the
events did not originate on this host and causes `host.name` to not be added to
events. Defaults to `[checkpoint-firewall, forwarded]`.

*`var.ssl`*::

The SSL/TLS configuration for the filebeat instance. This can be used to enforce mutual TLS.
```yaml
ssl:
enabled: true
certificate_authorities: ["my-ca.pem"]
certificate: "filebeat-cert.pem"
key: "filebeat-key.pem"
client_authentication: "required"
```

[float]
==== Check Point devices

Expand Down
12 changes: 12 additions & 0 deletions x-pack/filebeat/module/checkpoint/_meta/docs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ A list of tags to include in events. Including `forwarded` indicates that the
events did not originate on this host and causes `host.name` to not be added to
events. Defaults to `[checkpoint-firewall, forwarded]`.

*`var.ssl`*::

The SSL/TLS configuration for the filebeat instance. This can be used to enforce mutual TLS.
```yaml
ssl:
enabled: true
certificate_authorities: ["my-ca.pem"]
certificate: "filebeat-cert.pem"
key: "filebeat-key.pem"
client_authentication: "required"
```

[float]
==== Check Point devices

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{{ if eq .input "syslog" }}
{{ if .ssl }}

type: tcp
host: "{{.syslog_host}}:{{.syslog_port}}"
ssl: {{ .ssl | tojson }}

{{ else if eq .input "syslog" }}

type: udp
host: "{{.syslog_host}}:{{.syslog_port}}"
Expand Down
1 change: 1 addition & 0 deletions x-pack/filebeat/module/checkpoint/firewall/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ var:
default: 9001
- name: input
default: syslog
- name: ssl

ingest_pipeline:
- ingest/pipeline.yml
Expand Down

0 comments on commit 6504b04

Please sign in to comment.