Skip to content

Commit

Permalink
[Cloud Posture] Update latest transform config (#134249)
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenIdo authored Jun 14, 2022
1 parent 43d5907 commit 7f3acfd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ export const latestFindingsMapping: MappingTypeMapping = {
},
},
},
id: {
ignore_above: 1024,
type: 'keyword',
},
benchmark: {
properties: {
name: {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const latestFindingsTransform: TransformPutTransformRequest = {
},
latest: {
sort: '@timestamp',
unique_key: ['resource_id.keyword', 'rule.name.keyword', 'agent.id.keyword'],
unique_key: ['resource.id.keyword', 'rule.id'],
},
_meta: {
managed: 'true',
Expand Down

0 comments on commit 7f3acfd

Please sign in to comment.