-
Notifications
You must be signed in to change notification settings - Fork 474
[Lateral Movement Detection] Update files to add Serverless support to the package #8121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Transform change LGTM 🎉 |
packages/lmd/elasticsearch/transform/pivot_transform/transform.yml
Outdated
Show resolved
Hide resolved
packages/lmd/kibana/dashboard/lmd-17fea180-8c4c-11ed-bb03-41a73f349362.json
Outdated
Show resolved
Hide resolved
packages/lmd/manifest.yml
Outdated
@@ -10,9 +10,12 @@ categories: | |||
- security | |||
- advanced_analytics_ueba | |||
conditions: | |||
kibana.version: "^8.8.0" | |||
kibana: | |||
version: '^8.8.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this minimum Stack version compatible with Package Spec v3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked with the serverless team and they confirm that we don't require a minimum Kibana version for serverless packages and they'll be based on spec versions. This condition is specifically kept for on-premise or stateful clusters.
Co-authored-by: Apoorva Joshi <30438249+ajosh0504@users.noreply.github.com>
….yml Co-authored-by: Apoorva Joshi <30438249+ajosh0504@users.noreply.github.com>
Co-authored-by: Apoorva Joshi <30438249+ajosh0504@users.noreply.github.com>
/test |
@@ -4,7 +4,7 @@ source: | |||
bool: | |||
must_not: | |||
term: | |||
user.name: | |||
'user.name': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my own edification, what's this about?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The nested fields are separated during elastic-package format
which results in the below error. So, as per v3 spec, we'll need to surround the nested fields in quotes.
Error: error running package asset tests: could not complete test run: can't install the package: can't install the package: could not zip-install package; API status code = 500; response body = {"statusCode":500,"error":"Internal Server Error","message":"x_content_parse_exception\n\tCaused by:\n\t\tx_content_parse_exception: [1:404] [data_frame_config_source] failed to parse field [query]\n\tRoot causes:\n\t\tparsing_exception: [term] query does not support [name]"}
Package lmd - 2.1.0 containing this change is available at https://epr.elastic.co/search?package=lmd |
What does this PR do?
This PR adds serverless support to the
Lateral Movement Detection
advanced analytics package.Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
elastic-package
manifest.yml
is3.0.0
Screenshots
Package Installation:

Pivot transform is getting started:

Destination index fields are mapped correctly:
Security rules are enabled:

Dashboard is installed properly:
