Skip to content

Commit

Permalink
ti_crowdstrike: fix mapping type for ioc.value field (elastic#11703)
Browse files Browse the repository at this point in the history
The ingest pipeline handles both IP and hash IOCs, but the fields
definitions state that the field is an ip type. This prevents users from
being able to make use of this field for hash IOCs. So change the type
to a keyword. This is a breaking change.
  • Loading branch information
efd6 authored Nov 18, 2024
1 parent 7d8db5e commit 1ebf387
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions packages/ti_crowdstrike/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.0.0"
changes:
- description: Fix mapping type for `ioc.value` field.
type: bugfix
link: https://github.com/elastic/integrations/pull/11703
- version: "1.2.0"
changes:
- description: Set transform unattended to true for indefinite retries.
Expand Down
2 changes: 1 addition & 1 deletion packages/ti_crowdstrike/data_stream/ioc/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
type: keyword
description: The type of indicator.
- name: value
type: ip
type: keyword
description: The specific value of the indicator.
2 changes: 1 addition & 1 deletion packages/ti_crowdstrike/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -454,4 +454,4 @@ An example event for `ioc` looks as following:
| ti_crowdstrike.ioc.severity | Indicates the severity level associated with the detection. | keyword |
| ti_crowdstrike.ioc.tags | Tags associated with the IOC. | keyword |
| ti_crowdstrike.ioc.type | The type of indicator. | keyword |
| ti_crowdstrike.ioc.value | The specific value of the indicator. | ip |
| ti_crowdstrike.ioc.value | The specific value of the indicator. | keyword |
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@
type: keyword
description: The type of indicator.
- name: value
type: ip
type: keyword
description: The specific value of the indicator.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source:
# us that ability in order to prevent having duplicate IoC data and prevent query
# time field type conflicts.
dest:
index: "logs-ti_crowdstrike_latest.dest_ioc-4"
index: "logs-ti_crowdstrike_latest.dest_ioc-5"
aliases:
- alias: "logs-ti_crowdstrike_latest.ioc"
move_on_creation: true
Expand All @@ -35,4 +35,4 @@ _meta:
managed: true
# Bump this version to delete, reinstall, and restart the transform during package.
# Version bump is needed if there is any code change in transform.
fleet_transform_version: 0.4.0
fleet_transform_version: 0.5.0
2 changes: 1 addition & 1 deletion packages/ti_crowdstrike/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.0.3
name: ti_crowdstrike
title: CrowdStrike Falcon Intelligence
version: "1.2.0"
version: "2.0.0"
description: Collect logs from CrowdStrike Falcon Intelligence with Elastic Agent.
type: integration
categories:
Expand Down

0 comments on commit 1ebf387

Please sign in to comment.