Skip to content

[Security Solution] Incorrect filtering behavior when combining ‘Modifications’ and ‘Tags’ filters in Rule Updates table #206132

@pborgonovi

Description

Description:

When applying both ‘Modifications’ and ‘Tags’ filters in the Rule Updates table, the system does not properly respect the ‘Modifications’ filter if the ‘Tags’ filter is also selected. Instead, it only applies the ‘Tags’ filter, resulting in the display of rules that do not meet the ‘Modifications’ criteria.

Kibana/Elasticsearch Stack version:

8.18 Snapshot

Functional Area (e.g. Endpoint management, timelines, resolver, etc.):

Prebuilt Rules

Pre requisites:

  1. prebuiltRulesCustomizationEnabled flag is enabled
  2. Prebuilt rules are available
  3. At least one prebuilt rule is customized
  4. Customized rule has update available

Steps to reproduce:

  1. Navigate to the Rule Updates table.
  2. Select the Modifications filter and set it to Unmodified.
  3. Search for a modified rule using the search bar (the rule is correctly not displayed because it does not satisfy the ‘Unmodified’ condition).
  4. Select the Tags filter and add a tag that is part of the rule’s tags.
  5. Observe that the previously modified rule is now displayed, even though it does not satisfy the Unmodified condition in the Modifications filter.

Alternative scenario:

  1. Apply the Tags filter first by selecting a tag associated with a modified rule.
  2. Then, select the Modifications filter and set it to Unmodified.
  3. Observe that the modified rule remains displayed, indicating that only the Tags filter is being applied, ignoring the Modifications filter.

Current behavior:

When both Modifications and Tags filters are applied, the system displays rules that match the Tags filter, ignoring the Modifications filter.

Expected behavior:

The system should respect both filters simultaneously. Rules should only be displayed if they satisfy both the Modifications and Tags filter conditions.

Screenshots:

Screen.Recording.2025-01-09.at.11.12.50.AM.mov
Screen.Recording.2025-01-09.at.11.14.33.AM.mov
Screen.Recording.2025-01-09.at.11.17.00.AM.mov

Metadata

Assignees

Labels

8.18 candidateFeature:Prebuilt Detection RulesSecurity Solution Prebuilt Detection Rules areaTeam: SecuritySolutionSecurity Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.Team:Detection Rule ManagementSecurity Detection Rule Management TeamTeam:Detections and RespSecurity Detection Response TeambugFixes for quality problems that affect the customer experienceimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.v8.18.0

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions