Skip to content

Commit

Permalink
[Cloud Security] [CNVM] Fixed vulnerabilities transform unique key (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kfirpeled authored Apr 19, 2023
1 parent bf46808 commit 80fb939
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ export const latestVulnerabilitiesTransform: TransformPutTransformRequest = {
},
latest: {
sort: '@timestamp',
unique_key: ['vulnerability.id', 'resource.id', 'package.version'],
unique_key: [
'vulnerability.id',
'resource.id',
'vulnerability.package.name',
'vulnerability.package.version',
],
},
_meta: {
package: {
Expand Down

0 comments on commit 80fb939

Please sign in to comment.