[Security Solution][Detections] Leading or trailing whitespace in exception entries is trimmed for display #83645
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Rule Exceptions
Security Solution Rule Exceptions feature
good first issue
low hanging fruit
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
sdh-linked
Team:Detections and Resp
Security Detection Response Team
Team:Security Solution Platform
Security Solution Platform Team
Team: SecuritySolution
Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Kibana version:
7.9.0
Describe the bug:
Exception entries with leading or trailing whitespace trim the whitespace when displayed in the UI, even though the whitespace is included in the entry in the backend and therefore also included in queries built from the exception entry. This makes it so the exception entry that executes can be different from what appears in the UI.
Steps to reproduce:
Expected behavior:
The UI should display the leading or trailing whitespace as well, or perhaps a warning if there is whitespace that isn't being displayed (newlines or invisible characters might be tricky to display).
Any additional context:
https://github.com/elastic/sdh-security-team/issues/53
The text was updated successfully, but these errors were encountered: