Skip to content

Commit 8a42235

Browse files
Update unique keys for latest issues transform to catch all updates (#15700)
* refactor(transform): update unique keys for latest issues and bump version to 2.0.0 * refactor(transform): bump version to 2.17.0 and update changelog with bugfix details * chore(manifest): bump version to 2.18.0 * chore: update version to 2.17.1 and enhance changelog description for unique keys transformation
1 parent b03d358 commit 8a42235

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

packages/github/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.17.1"
3+
changes:
4+
- description: Update the latest issues by transforming unique keys to utilize the id and updated_at fields.
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15700
27
- version: "2.17.0"
38
changes:
49
- description: Add malware advisory type to GitHub security advisories data stream.

packages/github/elasticsearch/transform/latest_issues/transform.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ dest:
1616
move_on_creation: true
1717
latest:
1818
unique_key:
19-
- github.repository.owner.login
20-
- github.repository.name
21-
- github.issues.url
22-
- github.issues.created_at
19+
- github.issues.id
20+
- github.issues.updated_at
2321
sort: "event.ingested"
2422
description: >-
2523
Latest Issues from GitHub. As issues get updated, this transform stores only the latest state of each issue inside the destination index. Thus the transform's destination index contains only the latest state of the issue.
@@ -38,5 +36,5 @@ _meta:
3836
managed: false
3937
# Bump this version to delete, reinstall, and restart the transform during
4038
# package installation.
41-
fleet_transform_version: 1.0.0
39+
fleet_transform_version: 2.0.0
4240
run_as_kibana_system: false

packages/github/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: github
22
title: GitHub
3-
version: "2.17.0"
3+
version: "2.17.1"
44
description: Collect logs from GitHub with Elastic Agent.
55
type: integration
66
format_version: "3.4.0"

0 commit comments

Comments
 (0)