Open jpdjere opened 2 years ago
Pinging @elastic/security-detections-response (Team:Detections and Resp)
Pinging @elastic/security-solution (Team: SecuritySolution)
Needs UX design consultation. Could be something we're ok with.
8.7.0
deployment:Preconditions:
Steps to reproduce behavior:
Rules
tab -> Select two or more of the custom rulesBulk actions
drop down arrow list 🔽 Tags
right arrow icon ➡️ and select Add tags
Add tags
will display and add a custom tag and click Save
. In this case, the custom tag added is "tagtest"Clear filters
button (8.7.0+
has this option). Tags
drop down arrow list 🔽, enter the custom tag in the search box. My custom tag is "tagtest" Tags
section will have "1" displayed in the Menu which indicates the number of filtered tagsBulk actions
drop down list 🔽 Tags
right arrow icon ➡️ and select Delete tags
Delete tags
will display and enter the custom tag to delete and click Save
. In this case, the custom tag deleted is "tagtest"Results:
The Rules with the custom tag still shows and the Tags section still has the "1" displayed in the Menu and the drop down list 🔽 still shows the deleted tag
Expected results:
The Rules with the deleted tag will update and not show in the UI and the Tags section will no longer have the "1" displayed in the menu and the drop down list 🔽 will not show deleted tag.
Tags
section still shows the "1" for the filtered selected deleted tag and drop down list shows the tag8.7.0
.8.7.0
cc: @MadameSheema Update FYI Observations
Validated latest BC 8.15 and it's still present:
https://github.com/user-attachments/assets/4a03f803-80cd-4b6b-9383-cf520d6d1ab0
Describe the bug
GIVEN one or more custom rules with a custom tag GIVEN the rules table is filtered by that custom tag WHEN deleting that tag with a bulk delete tag action from all the rules that tag is applied to THEN the tag should disappear from the tags filter (as the tag is not applied to any rules anymore) AND the Tags Filter Dropdown should update to no longer having that tag selected
However, this doesn't happen until the selected custom tag is manually unselected from the Tags filter dropdown.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Once the custom tag is deleted from all rules it is applied to, the Tags Filter Dropdown should update:
Screenshots
https://user-images.githubusercontent.com/5354282/187469104-4bc5edb3-a9ea-439f-ab16-1d5695a13576.mov