elastic / kibana

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

[Security Solution]Error message is displayed even action is not added #140606

Open sukhwindersingh-qasource opened 2 years ago

sukhwindersingh-qasource commented 2 years ago

Describe the bug: Error message is displayed even action is not added

Build Details:

VERSION : 8.5.0
BUILD: 56148
COMMIT:  1d7d0563fbdc327e9afe8d7a94495546940c1357

Preconditions

  1. Kibana should be running.

Steps to Reproduce

  1. Navigate to Security in kibana.
  2. Click on rules then click on create new rule..
  3. Now Under rule action add connectors then click create

Actual Result Error message is displayed even action is not added.

Expected Result no error message should be displayed if action is not added.

Whats working 1.Servicenow Itom 2.Webhook 3.Email 4.Index 5.Teams 6.Slack

Whats not working 1.Resilient 2.PagerDuty 3.Servicenow 4.Swimlane

Screen-Recording:

https://user-images.githubusercontent.com/108654988/189895101-cf9bbee0-7401-4afe-aa30-d2c19537c37a.mp4

elasticmachine commented 2 years ago

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

elasticmachine commented 2 years ago

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

banderror commented 2 years ago

@sukhwindersingh-qasource Great catch!

This is what we send in the POST /api/detection_engine/rules request when an empty Swimlane action (with no connector created) is added in the UI. Notice the id: "1", hence the Failed to load action 1 (404): Saved object [action/1] not found (400):

Screenshot 2022-09-14 at 20 10 45 Screenshot 2022-09-14 at 20 05 31
pborgonovi commented 3 months ago

Validated latest 8.15 BC and it's still present:

image image image image image