Skip to content

[Security Solution] Tests for prebuilt rule customization workflow #202068

@banderror

Description

@banderror

Summary

Write test plans (one or a few) and create a comprehensive suite of automated tests for the workflow of customizing prebuilt rules.

Features to cover:

  • Editing prebuilt rules (actions as a whole)
    • from the Rule Details page
    • from the Rule Management page (single edit via the context menu)
    • from the Rule Management page (bulk edit via the bulk actions menu)
      • I think every bulk editing action should be smoke tested
  • Calculating the is_customized field and the Modified badge in the UI
  • Editing prebuilt rules and calculating is_customized - per each rule field - in API and UI
    • name
    • description
    • etc - I feel that we need to cover literally every rule field

Please cover both the features under the feature flag turned ON and OFF.

Related tickets

Related functional tickets to cover with tests:

Related bugs to cover with tests:

Related PRs

Test plans for diff algorithms

Test plans for prebuilt rule customization workflow

Test coverage for prebuilt rule customization workflow

Refactorings and fixes

Metadata

Metadata

Assignees

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions