Skip to content

[Security Solution] Tests for prebuilt rule upgrade workflow #202078

@banderror

Description

@banderror

Summary

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

Features to cover:

  • Reviewing rules for upgrading @jpdjere
  • Upgrading prebuilt rules one-by-one without preview (Rule Updates table) @jpdjere
  • Upgrading prebuilt rules in bulk (Rule Updates table) @jpdjere
  • Upgrading rule fields - per each rule field - via API and UI @jpdjere
    • name
    • description
    • etc - I feel that we need to cover literally every rule field
  • Upgrading prebuilt rules one-by-one with preview (Rule Upgrade flyout) @maximpn
    • Non-conflicts, solvable conflicts, non-solvable conflicts
    • Diffs and diff options
    • Suggesting merged versions
    • Editing and accepting changes to the Final version
    • Callouts
    • Validation
    • State persistence
    • Upgrading and saving changes
    • Anything else?
  • Specific and edge cases
    • Type changes on upgrade
    • Missing base versions
    • Race conditions and Optimistic Concurrency Control

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 upgrade workflow

Test coverage for prebuilt rule upgrade workflow

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