Skip to content

Commit 01cf9b4

Browse files
authored
Fix file.path field in cloudtrail data stream to use json.digestS3Object (#4049)
1 parent e85849e commit 01cf9b4

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

packages/aws/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.23.0"
3+
changes:
4+
- description: Fix file.path field in cloudtrail data stream to use json.digestS3Object
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/4049
27
- version: "1.22.0"
38
changes:
49
- description: Update `cloud.region` parsing

packages/aws/data_stream/cloudtrail/_dev/test/pipeline/test-cloudtrail-digest-json.log-expected.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
"hash": {
136136
"sha256": "10e0872f32fa1d299d0cc98e94d4c88a6a2eada9d9fc3ae6d53dfe8d54c7caf807072f1e1eec47efdeecfcc22483887f8fddfc954ae587fba43e7676b5547f432fa8722ba1c5baa6b233bcb528ce7c01e3748aab8f28c16c024de79da820128b4c9e5ce65e98a9c4e631687ecc89c224a11bb3df06ce441ff740e4ac9fbd41159e77f5863550118284121f193e357866fbd0463faffb56e194af196e35a7675c3bbd0a398f43159343c3f59129d6339a281a8fdb3192f3fffea9bd21dbb0a705ebfae1921f2133aab0ad29522aea6df0828c1780d3f3ed6b8270ab3ba24459916b0fbbe82fba6ff9677bafe7306e0f5edcc0f1508cdb4e36f3e3b30e653e9987"
137137
},
138-
"path": "AWSLogs/123456789123/CloudTrail-Digest/us-west-2/2020/09/11/123456789123_CloudTrail-Digest_us-west-2_leh-ct-test_us-west-2_20200911T183649Z.json.gz"
138+
"path": "AWSLogs/123456789123/CloudTrail-Digest/us-west-2/2020/09/11/123456789123_CloudTrail-Digest_us-west-2_leh-ct-test_us-west-2_20200911T193649Z.json.gz"
139139
},
140140
"related": {
141141
"hash": [

packages/aws/data_stream/cloudtrail/elasticsearch/ingest_pipeline/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ processors:
640640
target_field: cloud.account.id
641641
ignore_failure: true
642642
- rename:
643-
field: json.previousDigestS3Object
643+
field: json.digestS3Object
644644
target_field: file.path
645645
ignore_failure: true
646646
- rename:

packages/aws/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 1.0.0
22
name: aws
33
title: AWS
4-
version: 1.22.0
4+
version: 1.23.0
55
license: basic
66
description: Collect logs and metrics from Amazon Web Services with Elastic Agent.
77
type: integration

0 commit comments

Comments
 (0)