-
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
Import and export Detection rules using saved-object management #82537
Comments
@spong - Is there a team label I should be using here? |
@kobelb I know this is specific to the SO manager, but just want to note that we do currently provide an export/import feature for |
@spong awesome, I did not know that! If that's the case, then I think we should treat the import/export via saved-object management as optional for the removing legacy multi-tenancy project. While I do think it creates a better user experience for this to be integrated into saved-object management, as long as the user has a way of migrating their data and not having it locked away a legacy tenant, we're 👍 |
++, definitely agree here @kobelb. We'll continue to provide a 1st class means of importing/exporting these objects within the Security App, and also have public API's for importing/exporting detection rules in case users want to automate it across spaces. The only other SO's we don't have support for exporting are a Detection Rule's |
Thanks for your patience on this @spong. I'm afraid I misunderstood you previously and thought we were in the clear here. It's my understanding, that the following is roughly the saved-objects that are created when a Detection Rule is created that's using an exception: When the detection rule is exported, it only contains the detection rule saved-object, none of the related saved-objects appear to be included. As such, when we remove legacy multi-tenancy, the user won't have a way to migrate all of their data from a legacy tenant to Spaces using detection rule import/export. In my opinion, it's fine if we want to rely on a use-case specific import/export. However, it should be able to be used to migrate all of the necessary data in a reasonable manner. |
The above diagram looks about right. Only note I think would be that while the
Correct,
I wholeheartedly agree. We'll be working to resolve some of the referential integrity touch points between these objects here in the near-term, so I'll see if we can't also include the import/export of these remaining objects as part of that effort. In the meantime, I'm 👍 to keep this this issue open for tracking purposes, and if #50266 and #82064 end up getting resolved before we can support the remaining objects we can look to leveraging the saved-object management's import/export functionality. |
The ability to export hidden saved-objects and specify onExport hooks has been addressed. This issue is now only blocked by #50266. If you do happen to find some other infrastructure that is required to make detection rules importable/exportable, please let us know in #82020. |
End-users will commonly use saved-object management's import/export functionality to move saved-objects from one instance to another. Detections should be included in these exports, so end-users have an easy way to migrate all of their saved-objects in a unified manner.
Since there's already a way to import/export detections, this isn't a hard requirement for removing legacy multi-tenancy. However, it would streamline the process for users migrating from a legacy multi-tenant instance to Spaces.
As far as I'm aware, there is currently blocked by #50266
and #82064.The text was updated successfully, but these errors were encountered: