elastic / kibana

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

[Security Solution] With maximum allowed value `9007199254740991` under `History Window Size` for New Term Rule creation, it is showing error as `params invalid: Failed to parse 'historyWindowStart' (400)` #195571

Open arvindersingh-qasource opened 1 month ago

arvindersingh-qasource commented 1 month ago

Describe the bug With maximum allowed value 9007199254740991 under History Window Size for New Term Rule creation, it is showing error as params invalid: Failed to parse 'historyWindowStart' (400)

Kibana/Elasticsearch Stack version

VERSION: 8.16.0
BUILD: 78938
COMMIT: 7b832691e8b07c67b411da95b0398a04711da864

Pre Conditions

  1. Kibana v8.16.0 snapshot build be must be available

Steps

  1. Navigate to Security -> Rules -> Detection rules (SIEM).
  2. Click on Create New Rule option.
  3. Select Rule type as New Terms
  4. Add any Custom query.
  5. Under Fields , select any field from dropdown.
  6. Under History Window Size enter maximum allowed value as 9007199254740991
  7. Click on Continue button.
  8. Enter Rule Name and Description.
  9. Click on either Create rule without enabling it or Create & Enable rule.
  10. Observe there will be an error as params invalid: Failed to parse 'historyWindowStart' (400)

Expected Result

Screen Recording

https://github.com/user-attachments/assets/09afd7d1-27e8-4c4e-9578-f53b2254aab5

elasticmachine commented 1 month ago

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

arvindersingh-qasource commented 1 month ago

@muskangulati-qasource Please review this ticket.

Thanks.

elasticmachine commented 1 month ago

Pinging @elastic/security-detection-engine (Team:Detection Engine)

elasticmachine commented 1 month ago

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

yctercero commented 1 month ago

@arvindersingh-qasource thanks for filing! Just to clarify:

arvindersingh-qasource commented 3 weeks ago

Hi @yctercero

We have validated this issue on Kibana v8.16.0 and the issue that with max value, the error params invalid: Failed to parse 'historyWindowStart' (400) is displayed

Please find below observations

Build Details

VERSION: 8.16.0
BUILD: 79314
COMMIT: 5575428dd3aef69366cddb4ccf07a2a26d30ce48

Observations

Please let us know if anything else is required from our end.

Thanks.