elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.82k stars 8.2k forks source link

[DE][Rules UI] - Custom query rules - query field not scrollable #163090

Open yctercero opened 1 year ago

yctercero commented 1 year ago

First reported by @approksiu

Describe the bug When editing the custom rule type, the rule query field does not show more than 25 lines and does not allow to scroll for long queries.

https://github.com/elastic/security-team/assets/40713348/ecbbd8b9-4ddc-4bd5-8a60-8ffd06380f21

For other rule type, eg EQL rule - the query field is scrollable.

Preconditions Tested on 8.9

To Reproduce Steps to reproduce the behavior:

  1. Open rules table in security and click "create rule"
  2. Select custom rule type
  3. Add >25 lines text into custom query field
  4. Check if you can view past 25 line of query.

Expected behavior The query field should scroll till the end of the query

Additional context https://elasticstack.slack.com/archives/CRXGYCYC8/p1690835125947349

elasticmachine commented 1 year ago

Pinging @elastic/security-solution (Team: SecuritySolution)

elasticmachine commented 1 year ago

Pinging @elastic/security-detections-response (Team:Detections and Resp)

pborgonovi commented 2 months ago

Validated latest 8.15 BC and behavior persists:

https://github.com/user-attachments/assets/40e8503e-1b9b-4cc3-9b76-10d3d1104553