Skip to content

[8.17] [Security Solution] Remove warning for rule filter (#201776)#204718

Merged
jkelas merged 1 commit intoelastic:8.17from
jkelas:backport/8.17/pr-201776
Dec 18, 2024
Merged

[8.17] [Security Solution] Remove warning for rule filter (#201776)#204718
jkelas merged 1 commit intoelastic:8.17from
jkelas:backport/8.17/pr-201776

Conversation

@jkelas
Copy link
Copy Markdown
Contributor

@jkelas jkelas commented Dec 18, 2024

Backport

This will backport the following commits from main to 8.17:

Questions ?

Please refer to the Backport tool documentation

**Resolves: elastic#178908**

This PR fixes a warning displayed for the rule when certain filter is
present.
I followed the suggestion from @nikitaindik in the original ticket and
pulled his fix and tested that it works, but it also needed some
modification borrowed from QueryBar component, namely to update the
filters before displaying the FilterItems component.

Note: This PR only covers the Rule Creation / Rules Details page. Two
new tickets have been created to cover issues found in other places:

<img width="899" alt="image"
src="https://github.com/user-attachments/assets/62b300b4-bc70-481f-8042-dc9d7c4b3ff0">

<img width="901" alt="image"
src="https://github.com/user-attachments/assets/6c2915f8-e2e1-477d-bf6c-4ededf1a6907">

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: Nikita Indik <nikita.indik@elastic.co>
(cherry picked from commit 2e3a748)
@jkelas jkelas added the backport This PR is a backport of another PR label Dec 18, 2024
@jkelas jkelas enabled auto-merge (squash) December 18, 2024 10:59
@jkelas jkelas requested a review from nikitaindik December 18, 2024 11:31
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Dec 18, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 13.3MB 13.3MB +2.4KB

History

Copy link
Copy Markdown
Contributor

@nikitaindik nikitaindik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the code and tested the changes from this backport branch locally. I can confirm that the bug is fixed, so it looks good to me. 👍

@jkelas jkelas merged commit 6643cc3 into elastic:8.17 Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants