-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[Security Solution] Tests for prebuilt rule import/export workflow #202079
Copy link
Copy link
Closed
Labels
9.1 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.1 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 exporting and importing prebuilt rules.
Please note that test plans for prebuilt rule export and import have been already written in #191116, and there is already test coverage for that. What I would like us to do is to review the existing plans, the tests, compare them with the cases described in the RFC, think about any other edge cases, audit the existing plans and coverage, and add anything that's missing.
Features to cover:
rule_id's (edge cases)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:
rule_idequal to that of a not-installed prebuilt rule #180198Related PRs
Test plans for diff algorithms
data_sourcefield diff algorithm test plan #189669queryfields diff algorithm #192529typefield diff algorithm #193372Test plans for prebuilt rule import/export workflow
Test coverage for prebuilt rule import/export workflow