-
Couldn't load subscription status.
- Fork 504
aws: Add Config and Inspector transforms for extended protections (CDR) workflow #15230
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
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
bbfbe00
Add aws config and inspector transforms
kcreddy 3c8aa4a
update PR number
kcreddy 1f932c3
Merge remote-tracking branch 'upstream/main' into 3p-prot-aws
kcreddy 4d4af24
Remove fingerprint processor from aws config
kcreddy 330c6bf
Add rule.uuid from fingerprint of rule ARN and update transform uniqu…
kcreddy 69f9a98
Update destination index of aws inspector
kcreddy d5d3703
Merge remote-tracking branch 'upstream/main' into 3p-prot-aws
kcreddy 6563059
fix pipeline test
kcreddy df5c462
Skip securityhub_insights system tests to avoid fleet health degradat…
kcreddy a4bb051
More skips
kcreddy 74558a1
Address PR comments from Dan
kcreddy 8e4a86a
Merge remote-tracking branch 'upstream/main' into 3p-prot-aws
kcreddy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
packages/aws/data_stream/config/elasticsearch/ilm/default_policy.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "policy": { | ||
| "phases": { | ||
| "hot": { | ||
| "actions": { | ||
| "rollover": { | ||
| "max_age": "7d", | ||
| "max_primary_shard_size": "50gb" | ||
| } | ||
| } | ||
| }, | ||
| "delete": { | ||
| "min_age": "7d", | ||
| "actions": { | ||
| "delete": {} | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,16 @@ | ||
| - name: data_stream.type | ||
| type: constant_keyword | ||
| description: Data stream type. | ||
| external: ecs | ||
| - name: data_stream.dataset | ||
| type: constant_keyword | ||
| description: Data stream dataset. | ||
| external: ecs | ||
| - name: data_stream.namespace | ||
| type: constant_keyword | ||
| description: Data stream namespace. | ||
| external: ecs | ||
| - name: event.module | ||
| type: constant_keyword | ||
| description: Event module. | ||
| external: ecs | ||
| value: aws | ||
| - name: event.dataset | ||
| type: constant_keyword | ||
| value: aws.config | ||
| description: Event dataset. | ||
| external: ecs | ||
| - name: '@timestamp' | ||
| type: date | ||
| description: Event timestamp. | ||
| external: ecs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| data_retention: "7d" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
packages/aws/data_stream/inspector/elasticsearch/ilm/default_policy.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "policy": { | ||
| "phases": { | ||
| "hot": { | ||
| "actions": { | ||
| "rollover": { | ||
| "max_age": "7d", | ||
| "max_primary_shard_size": "50gb" | ||
| } | ||
| } | ||
| }, | ||
| "delete": { | ||
| "min_age": "7d", | ||
| "actions": { | ||
| "delete": {} | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| data_retention: "7d" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...aws/elasticsearch/transform/latest_cdr_misconfigurations_awsconfig/fields/base-fields.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| - name: data_stream.type | ||
| external: ecs | ||
| - name: data_stream.dataset | ||
| external: ecs | ||
| - name: data_stream.namespace | ||
| type: keyword | ||
| external: ecs | ||
| - name: event.module | ||
| type: constant_keyword | ||
| external: ecs | ||
| value: aws | ||
| - name: event.dataset | ||
| type: constant_keyword | ||
| value: aws.config | ||
| external: ecs | ||
| - name: '@timestamp' | ||
| external: ecs |
6 changes: 6 additions & 0 deletions
6
packages/aws/elasticsearch/transform/latest_cdr_misconfigurations_awsconfig/fields/beats.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| - name: input.type | ||
| type: keyword | ||
| description: Type of Filebeat input. | ||
| - name: log.offset | ||
| type: long | ||
| description: Log offset. |
6 changes: 6 additions & 0 deletions
6
packages/aws/elasticsearch/transform/latest_cdr_misconfigurations_awsconfig/fields/ecs.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| - name: cloud.provider | ||
| type: constant_keyword | ||
| external: ecs | ||
| - name: observer.vendor | ||
| type: constant_keyword | ||
| external: ecs |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.