Skip to content

Commit c094a56

Browse files
committed
Add support for CloudTrail Digest and Insight Logs
Closes #1022
1 parent c335d60 commit c094a56

4 files changed

Lines changed: 45 additions & 1 deletion

File tree

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: "0.6.1"
3+
changes:
4+
- description: Add support for CloudTrail Digest & Insight logs
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/1079
27
- version: "0.6.0"
38
changes:
49
- description: Update ECS version, add event.original and preparing for package GA

packages/aws/data_stream/cloudtrail/agent/stream/aws-s3.yml.hbs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
queue_url: {{queue_url}}
2+
file_selectors:
3+
{{#if cloudtrail_regex}}
4+
- regex: {{cloudtrail_regex}}
5+
expand_event_list_from_field: 'Records'
6+
{{/if}}
7+
{{#if cloudtrail_digest_regex}}
8+
- regex: {{cloudtrail_digest_regex}}
9+
{{/if}}
10+
{{#if cloudtrail_insight_regex}}
11+
- regex: {{cloudtrail_insight_regex}}
12+
expand_event_list_from_field: 'Records'
13+
{{/if}}
214
expand_event_list_from_field: Records
315
{{#if credential_profile_name}}
416
credential_profile_name: {{credential_profile_name}}

packages/aws/data_stream/cloudtrail/manifest.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,33 @@ streams:
4747
type: bool
4848
multi: false
4949
default: false
50+
- name: cloudtrail_regex
51+
type: text
52+
title: CloudTrail Logs regex
53+
default: '/CloudTrail/'
54+
required: false
55+
show_user: false
56+
description: |
57+
Regex to match path of CloudTrail S3 Objects. If blank
58+
CloudTrail logs will be skipped.
59+
- name: cloudtrail_digest_regex
60+
type: text
61+
title: CloudTrail Digest Logs regex
62+
default: '/CloudTrail-Digest/'
63+
required: false
64+
show_user: false
65+
description: |
66+
Regex to match path of CloudTrail Digest S3 Objects. If
67+
blank CloudTrail Digest logs will be skipped.
68+
- name: cloudtrail_insight_regex
69+
type: text
70+
title: CloudTrail Insight Logs regex
71+
default: '/CloudTrail-Insight/'
72+
required: false
73+
show_user: false
74+
description: |
75+
Regex to match path of CloudTrail Insight S3 Objects. If
76+
blank CloudTrail Insight logs will be skipped.
5077
- input: httpjson
5178
title: AWS CloudTrail logs via Splunk Enterprise REST API
5279
description: Collect AWS CloudTrail logs via Splunk Enterprise REST API

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: 0.6.0
4+
version: 0.6.1
55
license: basic
66
description: AWS Integration
77
type: integration

0 commit comments

Comments
 (0)