-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Security Solution] Tests for prebuilt rule customization workflow #202068
Copy link
Copy link
Labels
9.2 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response Teamtesttest-coverageissues & PRs for improving code test coverageissues & PRs for improving code test coveragetest-planv8.18.0v8.19.0v9.0.0v9.1.0
Metadata
Metadata
Assignees
Labels
9.2 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaSecurity Solution Prebuilt Detection Rules areaTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection Rule ManagementSecurity Detection Rule Management TeamSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeamSecurity Detection Response Teamtesttest-coverageissues & PRs for improving code test coverageissues & PRs for improving code test coveragetest-planv8.18.0v8.19.0v9.0.0v9.1.0
Type
Fields
Give feedbackNo fields configured for Task.
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:
is_customizedfield and theModifiedbadge in the UIModifiedin the Rule Updates tableis_customized- per each rule field - in API and UIPlease cover both the features under the feature flag turned ON and OFF.
Related tickets
Related functional tickets to cover with tests:
ruleSource.isCustomizedin API endpoint handlers #180145ruleSource.isCustomizedin bulk edit API #187706Related bugs to cover with tests:
Related PRs
Test plans for diff algorithms
data_sourcefield diff algorithm test plan #189669queryfields diff algorithm #192529typefield diff algorithm #193372Test plans for prebuilt rule customization workflow
Test coverage for prebuilt rule customization workflow
Refactorings and fixes