Skip to content

[Request] Prebuilt rule customization, upgrade, and export/import workflows - UI copy review #6238

@ARWNightingale

Description

@ARWNightingale

Epic: elastic/kibana#174168
Related to: #5061
PR: elastic/kibana#210817

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:

  • 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.

More information in the main docs ticket: #5061.

Related links / assets

Collaborators

Please reach out via the team channel.

UI copies

Prebuilt rule customization workflow

  • Tooltips for the Author and License fields. Displayed on the Rule Editing page.
Image Image
  • "Modified Elastic rule" badge. Displayed on the Rule Details page, Rule Management page - Installed Rules table, and Rule Management page - Rule Updates table.
Image Image Image Image
  • "Modifications" filter. Displayed on the Rule Management page - Rule Updates table.
Image

Prebuilt rule upgrade workflow - Rule Updates table

  • Tooltips about rules having conflicts.
Image Image
  • Modal about rules having conflicts.
Image Image

Prebuilt rule upgrade workflow - Rule Upgrade flyout

Image
  • Flyout header and footer.
Image Image
  • Updates tab: title and status bar.
Image
  • Updates tab: overall update status callouts.
Image Image Image
  • Rule field view: update status indicators.

Field has an update from Elastic, but it hasn't been customized by the user:

Image

Field has been customized by the user, but there's no update from Elastic:

Image

Field has been customized by the user AND it has an update from Elastic. The app was able to auto-merge these changes and suggest a final field value to upgrade to. This represents a potential conflict. The user has to review the conflict between their changes and the update from Elastic, review the "final update" value and either accept the suggested value or edit it before accepting:

Image

Field has been customized by the user AND it has an update from Elastic. The app was NOT able to auto-merge these changes and suggest a final field value to upgrade to. This represents a conflict. The user has to review the conflict between their changes and the update from Elastic, edit the field value and resolve the conflict manually:

Image

Conflict has been resolved by the user:

Image

"Modified" badge and its tooltips:

Image
  • Rule field view: diff view and diff selector.
Image Image Image Image

@pborgonovi had a concern about explanation wording for "My changes" in this tooltip. Please take a look and feel free to suggest an improvement.

  • Rule field view: final update view, readonly mode.
Image Image Image
  • Rule field view: final update view, editing mode.
Image Image Image
  • Edge case: rule type change.

If it's a stock, non-customized prebuilt rule:

Image

If it's a customized prebuilt rule:

Image

Licensing restrictions

TBD. Details will be added by @xcrzx.

Metadata

Metadata

No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions