Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zeek: fix handling of potentially null method call receivers #9005

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/zeek/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.22.3"
changes:
- description: Fix ingest pipeline conditional field handling.
type: bugfix
link: https://github.com/elastic/integrations/pull/9005
- version: "2.22.2"
changes:
- description: Changed owners
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ processors:
field: zeek.kerberos.client
pattern: "%{user.name}/%{user.domain}"
ignore_missing: true
if: ctx.zeek?.kerberos?.client.contains('/')
if: ctx.zeek?.kerberos?.client.contains('/') == true
- date:
field: zeek.kerberos.ts
formats:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.host?.ip.contains('.')
if: ctx.host?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.host?.ip.contains(':')
if: ctx.host?.ip.contains(':') == true
- append:
field: related.ip
value: "{{{host.ip}}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.host?.ip.contains('.')
if: ctx.host?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.host?.ip.contains(':')
if: ctx.host?.ip.contains(':') == true
- append:
field: related.ip
value: "{{{host.ip}}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.host?.ip.contains('.')
if: ctx.host?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.host?.ip.contains(':')
if: ctx.host?.ip.contains(':') == true
- append:
field: related.ip
value: "{{{host.ip}}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.source?.ip.contains('.')
if: ctx.source?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.source?.ip.contains(':')
if: ctx.source?.ip.contains(':') == true
- community_id:
ignore_missing: true
- date:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.source?.ip.contains('.')
if: ctx.source?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.source?.ip.contains(':')
if: ctx.source?.ip.contains(':') == true
- append:
field: related.ip
value: "{{{source.ip}}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ processors:
- set:
field: network.type
value: ipv4
if: ctx.host?.ip.contains('.')
if: ctx.host?.ip.contains('.') == true
- set:
field: network.type
value: ipv6
if: ctx.host?.ip.contains(':')
if: ctx.host?.ip.contains(':') == true
- append:
field: related.ip
value: "{{{host.ip}}}"
Expand Down
2 changes: 1 addition & 1 deletion packages/zeek/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: zeek
title: Zeek
version: "2.22.2"
version: "2.22.3"
description: Collect logs from Zeek with Elastic Agent.
type: integration
icons:
Expand Down