Skip to content
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/cef/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.0.3"
changes:
- description: Format source.mac and destination.mac as per ECS.
type: bugfix
link: https://github.com/elastic/integrations/pull/3566
- version: "2.0.2"
changes:
- description: Improve field documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"region_name": "England"
},
"ip": "81.2.69.192",
"mac": "00:50:56:f5:7f:47",
"mac": "00-50-56-F5-7F-47",
"port": 80
},
"ecs": {
Expand Down Expand Up @@ -257,7 +257,7 @@
},
"source": {
"ip": "192.168.126.150",
"mac": "00:0c:29:eb:35:de",
"mac": "00-0C-29-EB-35-DE",
"port": 49617
},
"tags": [
Expand Down Expand Up @@ -375,7 +375,7 @@
"region_name": "England"
},
"ip": "81.2.69.144",
"mac": "00:50:56:f5:7f:47",
"mac": "00-50-56-F5-7F-47",
"port": 80
},
"ecs": {
Expand Down Expand Up @@ -409,7 +409,7 @@
},
"source": {
"ip": "192.168.126.150",
"mac": "00:0c:29:eb:35:de",
"mac": "00-0C-29-EB-35-DE",
"port": 49786
},
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,24 @@ processors:
if: "ctx.cef?.device?.vendor == 'Check Point'"
- community_id: {}

# Ensure source.mac and destination.mac are formatted to ECS specifications.
- gsub:
field: destination.mac
ignore_missing: true
pattern: '[:.]'
replacement: '-'
- gsub:
field: source.mac
ignore_missing: true
pattern: '[:.]'
replacement: '-'
- uppercase:
field: destination.mac
ignore_missing: true
- uppercase:
field: source.mac
ignore_missing: true

#
# Timestamp parsing.
#
Expand Down
2 changes: 1 addition & 1 deletion packages/cef/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: cef
title: CEF Logs
version: 2.0.2
version: "2.0.3"
release: ga
description: Collect logs from CEF Logs with Elastic Agent.
type: integration
Expand Down