Skip to content

Commit

Permalink
[Filebeat] sync checkpoint module with Fleet integration (#31076)
Browse files Browse the repository at this point in the history
* Sync Check Point module with Fleet integration

The Filebeat module was missing definitions for these four fields.

- checkpoint.comment
- checkpoint.conn_direction
- checkpoint.db_ver
- checkpoint.update_status

The Filebeat pipeline is setting client and server based on the source and destination.
That behavior was kept. Otherwise the pipelines are the same.

This commit was used:

elastic/integrations@2aee5ee

* Add overwrite: true for checkpoint.update_status

The same field is defined in the CEF module which also supports Check Point data.
  • Loading branch information
andrewkroh authored and chrisberkhout committed Jun 1, 2023
1 parent 998f364 commit a23b9b0
Show file tree
Hide file tree
Showing 9 changed files with 950 additions and 10,814 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...main[Check the HEAD dif
- threatintel module: Add new Recorded Future integration. {pull}30030[30030]
- Improve recovery from corrupted registries. {issue}25135[25135] {pull}30994[30994]
- Add support in httpjson input for chain calls. {pull}29816[29816]
- checkpoint module: Add `network.transport` derived from IANA number. {pull}31076[31076]

*Auditbeat*

Expand Down
34 changes: 34 additions & 0 deletions filebeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -20689,6 +20689,40 @@ type: keyword
In case of phishing event, the domain, which the attacker was impersonating.


type: keyword

--

*`checkpoint.comment`*::
+
--
type: keyword

--

*`checkpoint.conn_direction`*::
+
--
Connection direction

type: keyword

--

*`checkpoint.db_ver`*::
+
--
Database version

type: keyword

--

*`checkpoint.update_status`*::
+
--
Status of database update

type: keyword

--
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/checkpoint/fields.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions x-pack/filebeat/module/checkpoint/firewall/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2421,3 +2421,19 @@
overwrite: true
description: >
In case of phishing event, the domain, which the attacker was impersonating.
- name: comment
type: keyword

- name: conn_direction
type: keyword
description: Connection direction

- name: db_ver
type: keyword
description: Database version

- name: update_status
type: keyword
overwrite: true
description: Status of database update
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ publisher_pipeline.disable_host: {{ inList .tags "forwarded" }}

processors:
- add_locale: ~
- add_fields:
target: ''
fields:
ecs.version: 1.12.0
{{ if .external_zones }}
- add_fields:
target: _temp_
Expand Down
Loading

0 comments on commit a23b9b0

Please sign in to comment.