-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Cloud Posture] Install Transforms using package assets #151860
Comments
Pinging @elastic/kibana-accessibility (Project:Accessibility) |
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
WIPwhen trying to install transform via integration I get the following error:
its mean we first need to create the latest index, since the Transform api not support creating index if not exits. which is weird - the index should be created by the Transform. open questions:
|
When trying to add configuration for creating Transform I am getting the error bellow:
When debug it, it seems that it fails on the data stream creation: I thought maybe there is an error with how the index is created, but the API call for creating the index is identical to the one we are using today: However, I tried also to use the example that show in the package-spec and get the same error:
|
The current issue that might be blocking this package is the insufficient permissions for kibana_system user relating to the indices. As of 8.7, Fleet automatically adds the transform/package version to the index name. So for example, if originally it’s However, for 8.8, we are currently working a much better mechanism allowing transforms to be installed without using kibana_system user and instead using the user's permission to prevent these issues. We recommend postponing this package change until that work is done. With the new mechanism, there might be some change required from the original package-spec. |
Thanks @qn895 that information helps a lot. |
Thank you @qn895. cc: @tehilashn |
Thanks for the update @CohenIdo . |
so @qn895 shared with me the following update:
In case that after #153875 we will decide to continue using Transform, we are good to go with moving the logic to the package assets. |
Removed from block - we would like to have that capability regardless of #153875 |
Last time we tried to work in this we handled permissions issue, @qn895 updated me that it solved:
|
Mentioning for visibility. For auto-restart capabilities in transforms, please set |
Cloud security’s latest findings Transform is installed today using the Kibana plugin.
Recently, Transform was added as an asset to the package-spec.
This task involves deprecating the code in Kibana that installs Transform, and instead using the package asset.
Definition of done
References:
The text was updated successfully, but these errors were encountered: