Skip to content
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

Latest findings transform #5475

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/cloud_security_posture/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.2.30"
changes:
- description: ""
type: enhancement
link: ""
- version: "1.3.0-preview1"
changes:
- description: ""
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
source:
index: logs-cloud_security_posture.findings-default*
description: Defines findings transformation to view only the latest finding per resource
dest:
index: logs-cloud_security_posture.findings_latest-default
frequency: 5m
sync:
time:
field: event.ingested
delay: 60s
retention_policy:
time:
field: "@timestamp"
max_age: 26h
latest:
sort: "@timestamp"
unique_key:
- resource.id
- rule.id
2 changes: 1 addition & 1 deletion packages/cloud_security_posture/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 2.3.0
name: cloud_security_posture
title: "Security Posture Management"
version: "1.3.0-preview1"
version: "1.2.30"
source:
license: "Elastic-2.0"
description: "Identify & remediate configuration risks in your Cloud infrastructure"
Expand Down