Skip to content

Commit

Permalink
[Cloud Posture] Update latest transform config (#134249) (#134347)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7f3acfd)

Co-authored-by: Ido Cohen <90558359+CohenIdo@users.noreply.github.com>
  • Loading branch information
kibanamachine and CohenIdo authored Jun 14, 2022
1 parent 1ed2070 commit 0713efb
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 0713efb

Please sign in to comment.