Open vitaliidm opened 10 months ago
Describe the bug: Rule preview works for form's invalid state
Kibana/Elasticsearch Stack version: Reported 8.11, likely was working like this since implementation
Steps to reproduce:
0
Current behavior:
Rule preview button is enabled, upon execution preview, it fails
Expected behavior:
Rule preview button should be disabled
Screenshots (if relevant):
https://github.com/elastic/kibana/assets/92328789/1ff7a04e-9093-424f-bfc5-41ca6c9c3a5a
This behaviour might also be applicable to the other rule types. Solution could be, to do additional check whether to enable preview button. If define step form is invalid, we might consider to disable preview button.
Pinging @elastic/security-solution (Team: SecuritySolution)
Pinging @elastic/security-detections-response (Team:Detections and Resp)
Describe the bug: Rule preview works for form's invalid state
Kibana/Elasticsearch Stack version: Reported 8.11, likely was working like this since implementation
Steps to reproduce:
0
. Observe form validation errorCurrent behavior:
Rule preview button is enabled, upon execution preview, it fails
Expected behavior:
Rule preview button should be disabled
Screenshots (if relevant):
https://github.com/elastic/kibana/assets/92328789/1ff7a04e-9093-424f-bfc5-41ca6c9c3a5a
This behaviour might also be applicable to the other rule types. Solution could be, to do additional check whether to enable preview button. If define step form is invalid, we might consider to disable preview button.