Skip to content

Commit

Permalink
[LMD] Bugfix in the LMD transform runtime script (elastic#12427)
Browse files Browse the repository at this point in the history
Fixed bug in the LMD transform runtime script
  • Loading branch information
sodhikirti07 authored Jan 22, 2025
1 parent a55e9ee commit e0d61de
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions packages/lmd/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.2.0"
changes:
- description: Fix bug in the pivot transform
type: bugfix
link: https://github.com/elastic/integrations/pull/12427
- version: "2.1.5"
changes:
- description: Add agent policy documentation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ source:
'destination.ip':
type: ip
script:
source: "if (doc['host.ip'].size()!=0){emit(doc['host.ip'][1]);} else{emit('None');}"
source: "if (doc['host.ip'].size() != 0){emit(doc['host.ip'][0]);}"
dest:
index: "ml-rdp-lmd"
description: This transform runs hourly and collects windows RDP session information for Lateral Movement Detection package.
Expand Down Expand Up @@ -73,5 +73,5 @@ sync:
delay: 60s
field: '@timestamp'
_meta:
fleet_transform_version: 2.1.4
run_as_kibana_system: false
fleet_transform_version: 2.2.0
run_as_kibana_system: false
2 changes: 1 addition & 1 deletion packages/lmd/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 3.0.0
name: lmd
title: "Lateral Movement Detection"
version: 2.1.5
version: 2.2.0
source:
license: "Elastic-2.0"
description: "ML package to detect lateral movement based on file transfer activity and Windows RDP events."
Expand Down

0 comments on commit e0d61de

Please sign in to comment.