Skip to content

Commit c90e817

Browse files
authored
[Crowdstrike,Azure] Fix flaky tests with ECS fields (elastic#9738)
* Fix flaky pipeline tests. * `azure.graphactivitylogs`: Add missing ECS field definitions. * `crowdstrike.falcon`: Update `geoip` processor to `destination` instead of `source`.
1 parent ace8fb4 commit c90e817

File tree

8 files changed

+27
-4
lines changed

8 files changed

+27
-4
lines changed

‎packages/azure/changelog.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
- version: "1.11.2"
2+
changes:
3+
- description: Add missing ECS field definitions.
4+
type: bugfix
5+
link: https://github.com/elastic/integrations/pull/9738
16
- version: "1.11.1"
27
changes:
38
- description: Update description for event hub parameter name recommendations.

‎packages/azure/data_stream/graphactivitylogs/_dev/test/pipeline/test-common-config.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
fields:
22
tags:
33
- preserve_original_event
4-
54
dynamic_fields:
65
# This can be removed after ES 8.14 is the minimum version.
76
# Relates: https://github.com/elastic/elasticsearch/pull/105689

‎packages/azure/data_stream/graphactivitylogs/fields/ecs.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
- name: client.as.number
2+
external: ecs
3+
- name: client.as.organization.name
4+
external: ecs
15
- name: client.ip
26
external: ecs
37
- name: client.geo.city_name
@@ -56,6 +60,10 @@
5660
external: ecs
5761
- name: source.address
5862
external: ecs
63+
- name: source.as.number
64+
external: ecs
65+
- name: source.as.organization.name
66+
external: ecs
5967
- name: source.geo.city_name
6068
external: ecs
6169
- name: source.geo.continent_name

‎packages/azure/docs/graphactivitylogs.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ An example event for `graphactivitylogs` looks as following:
253253
| azure.resource.provider | Resource type/namespace. | keyword |
254254
| azure.subscription_id | Azure subscription ID. | keyword |
255255
| azure.tenant_id | tenant ID. | keyword |
256+
| client.as.number | Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet. | long |
257+
| client.as.organization.name | Organization name. | keyword |
258+
| client.as.organization.name.text | Multi-field of `client.as.organization.name`. | match_only_text |
256259
| client.geo.city_name | City name. | keyword |
257260
| client.geo.continent_name | Name of the continent. | keyword |
258261
| client.geo.country_iso_code | Country ISO code. | keyword |
@@ -317,6 +320,9 @@ An example event for `graphactivitylogs` looks as following:
317320
| related.ip | All of the IPs seen on your event. | ip |
318321
| related.user | All the user names or other user identifiers seen on the event. | keyword |
319322
| source.address | Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is. | keyword |
323+
| source.as.number | Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet. | long |
324+
| source.as.organization.name | Organization name. | keyword |
325+
| source.as.organization.name.text | Multi-field of `source.as.organization.name`. | match_only_text |
320326
| source.geo.city_name | City name. | keyword |
321327
| source.geo.continent_name | Name of the continent. | keyword |
322328
| source.geo.country_iso_code | Country ISO code. | keyword |

‎packages/azure/manifest.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: azure
22
title: Azure Logs
3-
version: 1.11.1
3+
version: 1.11.2
44
description: This Elastic integration collects logs from Azure
55
type: integration
66
icons:

‎packages/crowdstrike/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: "1.32.2"
3+
changes:
4+
- description: Fix geoip mapping to destination.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/9738
27
- version: "1.32.1"
38
changes:
49
- description: Fix cache option name in FDR data stream.

‎packages/crowdstrike/data_stream/falcon/elasticsearch/ingest_pipeline/default.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ processors:
323323
- geoip:
324324
database_file: GeoLite2-ASN.mmdb
325325
field: destination.ip
326-
target_field: source.as
326+
target_field: destination.as
327327
properties:
328328
- asn
329329
- organization_name

‎packages/crowdstrike/manifest.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: crowdstrike
22
title: CrowdStrike
3-
version: "1.32.1"
3+
version: "1.32.2"
44
description: Collect logs from Crowdstrike with Elastic Agent.
55
type: integration
66
format_version: "3.0.0"

0 commit comments

Comments
 (0)