Skip to content

Commit 0c5f764

Browse files
authored
Add filtering out of documents with error.message from latest indexes (#15722)
* add filtering out of documents with error.message from latest misconfiguration and vulnerability index change is added to all supported native and 3p integrations * bump transform versions
1 parent dc3ca8c commit 0c5f764

File tree

36 files changed

+142
-26
lines changed

36 files changed

+142
-26
lines changed

packages/aws/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "4.3.2"
3+
changes:
4+
- description: Update transform to filter out document containing an error.message from AWS Config, AWS Inspector, and AWS Security Hub latest indexes.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15722
27
- version: "4.3.1"
38
changes:
49
- description: Update the AWS CloudWatch documentation.

packages/aws/elasticsearch/transform/latest_cdr_misconfigurations/transform.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
source:
22
index:
33
- "logs-aws.securityhub_findings_full_posture-*"
4+
query:
5+
bool:
6+
must_not:
7+
exists:
8+
field: error.message
49
dest:
510
index: "security_solution-aws.misconfiguration_latest-v2"
611
aliases:
@@ -27,4 +32,4 @@ _meta:
2732
managed: true
2833
# Bump this version to delete, reinstall, and restart the transform during package.
2934
# Version bump is needed if there is any code change in transform.
30-
fleet_transform_version: 0.2.0
35+
fleet_transform_version: 0.2.1

packages/aws/elasticsearch/transform/latest_cdr_misconfigurations_awsconfig/transform.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
source:
33
index:
44
- "logs-aws.config-*"
5+
query:
6+
bool:
7+
must_not:
8+
exists:
9+
field: error.message
510
dest:
611
index: "security_solution-awsconfig.misconfiguration_latest-v1"
712
aliases:
@@ -30,4 +35,4 @@ _meta:
3035
managed: true
3136
# Bump this version to delete, reinstall, and restart the transform during
3237
# package installation.
33-
fleet_transform_version: 0.1.0
38+
fleet_transform_version: 0.1.1

packages/aws/elasticsearch/transform/latest_cdr_vulnerabilities_awsinspector/transform.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ source:
88
aws.inspector.status: ACTIVE
99
- match:
1010
aws.inspector.type: PACKAGE_VULNERABILITY
11+
must_not:
12+
exists:
13+
field: error.message
1114
dest:
1215
index: "security_solution-awsinspector.vulnerability_latest-v1"
1316
aliases:
@@ -33,4 +36,4 @@ _meta:
3336
managed: true
3437
# Bump this version to delete, reinstall, and restart the transform during package.
3538
# Version bump is needed if there is any code change in transform.
36-
fleet_transform_version: 0.1.0
39+
fleet_transform_version: 0.1.1

packages/aws/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.3.2
22
name: aws
33
title: AWS
4-
version: "4.3.1"
4+
version: "4.3.2"
55
description: Collect logs and metrics from Amazon Web Services (AWS) with Elastic Agent.
66
type: integration
77
categories:

packages/cloud_security_posture/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
# 1.4.x - 8.9.x
1717
# 1.3.x - 8.8.x
1818
# 1.2.x - 8.7.x
19+
- version: "3.1.1"
20+
changes:
21+
- description: Update transform to filter out documents containing an error message from latest vulnerability and misconfiguration indexes.
22+
type: enhancement
23+
link: https://github.com/elastic/integrations/pull/15722
1924
- version: "3.1.0"
2025
changes:
2126
- description: Release version 3.1.0

packages/cloud_security_posture/elasticsearch/transform/misconfiguration/transform.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
source:
22
index:
33
- "logs-cloud_security_posture.findings-*"
4+
query:
5+
bool:
6+
must_not:
7+
exists:
8+
field: error.message
49
dest:
510
index: "security_solution-cloud_security_posture.misconfiguration_latest-v1"
611
aliases:
@@ -27,4 +32,4 @@ _meta:
2732
managed: true
2833
# Bump this version to delete, reinstall, and restart the transform during package.
2934
# Version bump is needed if there is any code change in transform.
30-
fleet_transform_version: 0.2.0
35+
fleet_transform_version: 0.2.1

packages/cloud_security_posture/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: 3.3.2
22
name: cloud_security_posture
33
title: "Security Posture Management"
4-
version: "3.1.0"
4+
version: "3.1.1"
55
source:
66
license: "Elastic-2.0"
77
description: "Identify & remediate configuration risks in your Cloud infrastructure"

packages/google_scc/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.2.1"
3+
changes:
4+
- description: Update transform to filter out documents containing an error.message from latest vulnerability and misconfiguration indexes.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15722
27
- version: "2.2.0"
38
changes:
49
- description: Prevent updating fleet health status to degraded.

packages/google_scc/elasticsearch/transform/latest_cdr_misconfigurations/transform.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ source:
66
must:
77
- match:
88
google_scc.finding.class: MISCONFIGURATION
9+
must_not:
10+
exists:
11+
field: error.message
912
dest:
1013
index: "security_solution-google_scc.misconfiguration_latest-v1"
1114
aliases:
@@ -33,4 +36,4 @@ _meta:
3336
managed: true
3437
# Bump this version to delete, reinstall, and restart the transform during package.
3538
# Version bump is needed if there is any code change in transform.
36-
fleet_transform_version: 0.1.0
39+
fleet_transform_version: 0.1.1

0 commit comments

Comments
 (0)