You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are introducing the ability for users to customize prebuilt Elastic rules and adjusting the rule upgrade workflow to adapt to that change. This includes ability to:
edit and customize prebuilt rules (modify almost all rule parameters, besides rule actions);
export and import prebuilt rules, including customized ones;
upgrade prebuilt rules while keeping the user customizations whenever possible.
See more details below.
Background & resources
PRs: many, created between the 8.14 and 8.18 release cycles
User can edit a single prebuilt rule. User can click "edit" button for prebuilt rules and customize (almost) any field on the Rule Editing page, just like it's possible to do with custom rules.
Before
After
User can't edit the Author and License fields.
Before
After
User can bulk edit multiple prebuilt rules via bulk actions.
Before
After
User can see if the rule is customized on the Rule Details page. Note: we do not yet show which fields were customised in UI ( the annotations below are for illustration), the rule customization is shown with the "Modified Elastic rule" badge.
User can see which rules are customized on the Rule Management page.
Prebuilt rule upgrade workflow
User can upgrade a single prebuilt rule to its latest version with previewing the incoming updates.
User can preview updates from Elastic, for each rule field that has an update from Elastic.
Screen.Recording.2025-01-15.at.17.28.06.mov
User can preview their customizations, for each rule field that was customized.
Screen.Recording.2025-01-15.at.17.40.23.mov
User can compare their customizations with updates from Elastic and see if there are any conflicts between them, per each rule field.
User can upgrade a single prebuilt rule to its latest version without previewing the incoming updates. But only if this rule doesn't contain conflicts (a rule with conflicts must be updated with previewing it in the flyout).
Screen.Recording.2025-01-15.at.18.57.54.mov
User can bulk upgrade multiple prebuilt rules to their latest versions. But only those which don't contain conflicts (rules with conflicts must be updated one-by-one with previewing them in the flyout).
Screen.Recording.2025-01-15.at.19.15.53.mov
We've added a copy for a case when Building Block property is disabled. Copy: Will not mark alerts as "building block" alerts. Please check if this needs to be reworded. Context: PR comment.
Editing rule actions, exceptions, snoozing and enabling/disabling a rule is available on any license (as before)
Changing rule content in UI (fields in Definition, About and Schedule tabs) is only available on Enterprise/Complete. We show upsell messages in a few places if the license is insufficient. Screenshots of upsell messages can be seen in this PR.
Changing rule content using API is also only available in Enterprise/Complete.
Rule upgrade
Upgrading customized prebuilt rules is only available on Enterprise/Complete. Basic/Platinum/Essentials users are restricted to the old readonly flow where the old prebuilt rule gets completely replaced by the new version from Elastic.
Epic: elastic/kibana#174168
Related to: #6238
Summary
Description
We are introducing the ability for users to customize prebuilt Elastic rules and adjusting the rule upgrade workflow to adapt to that change. This includes ability to:
See more details below.
Background & resources
Which documentation set does this change impact?
ESS and Serverless
ESS release
8.18.0Serverless release
TBD, currently targeting first half of February
Feature differences
None.
API docs impact
No impact - most of the changes are made to the internal prebuilt rules API endpoints.
Prerequisites, privileges, feature flags
Feature flag:
prebuiltRulesCustomizationEnabledUser stories
Source: elastic/kibana#174168
Prebuilt rule customization workflow
Note: we do not yet show which fields were customised in UI ( the annotations below are for illustration), the rule customization is shown with the "Modified Elastic rule" badge.
Prebuilt rule upgrade workflow
Screen.Recording.2025-01-15.at.17.28.06.mov
Screen.Recording.2025-01-15.at.17.40.23.mov
Screen.Recording.2025-01-15.at.18.27.36.mov
Screen.Recording.2025-01-15.at.18.29.07.mov
Screen.Recording.2025-01-15.at.18.41.03.mov
Screen.Recording.2025-01-15.at.18.43.53.mov
Screen.Recording.2025-01-15.at.18.48.23.mov
Screen.Recording.2025-01-15.at.18.49.40.mov
Screen.Recording.2025-01-15.at.18.57.54.mov
Screen.Recording.2025-01-15.at.19.15.53.mov
Will not mark alerts as "building block" alerts. Please check if this needs to be reworded. Context: PR comment.Schermopname.2025-01-18.om.11.53.24.mov
Prebuilt rule export/import workflow
Relevant ticket: https://github.com/elastic/security-team/issues/11502
New behavior in 8.18 and 9.0
Import
Export
Old behavior in 8.17 and before
Import
Export
Screen.Recording.2025-01-15.at.19.26.48.mov
Screen.Recording.2025-01-15.at.19.34.00.mov
Screen.Recording.2025-01-15.at.19.38.37.mov
Licensing restrictions
Related tickets and PRs:
Starting from 8.18, users will be able to
Rule editing
Rule upgrade