[Security Solution] Searchbar edit filter does not populate with prebuilt rules #209518
Labels
8.18 candidate
bug
Fixes for quality problems that affect the customer experience
Feature:Prebuilt Detection Rules
Security Solution Prebuilt Detection Rules area
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Detection Rule Management
Security Detection Rule Management Team
Team:Detections and Resp
Security Detection Response Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
v8.18.0
Epic: #174168
Summary
Related to:
filters
field before rule diff comparison #206344When filters are edited from non-customized prebuilt rules, the filter modal does not populate correctly and the user is forced to select a data view. This is fixed when a filter or index pattern field is changed and the rule is saved but all other filters in the
filters
field have an addedmeta .index
field added to them which is causing prebuilt rule upgrade previews to have unexpected results (seen here).To reproduce
Threat Intel Hash Indicator Match
)Expected Result:
The data view selector is not shown and the filter edit component correctly populates with the filter details
Actual Result:
The data view selector is shown and no fields are populated in the component
Note:
If a rule filter is deleted/added, upon saving the rule in the UI, the
filters
field will have ameta.index
field added to each filter which solves this issue (code introduced here). This fix was only implemented before prebuilt rules were allowed to be edited and out of the box they don't contain thismeta.index
field theSearchbar
filters component requires to function properly. Thesemeta.index
fields show up as customizations in theupgrade/_review
workflow as they are not shipped in the TRADE prebuilt rule packages and could be confusing to users.The text was updated successfully, but these errors were encountered: