elastic / kibana

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

[Security Solution][Detections] Error Toast is displayed if user has no configured SecSol indices #97344

Open rylnd opened 3 years ago

rylnd commented 3 years ago

Describe the bug: If the user has detections alerts but has deleted their securitySolution:defaultIndex UI setting, an error toast will be displayed due to a 404 from an errant call to an ML API.

Steps to reproduce:

  1. Enable ML
  2. Generate Detections Alerts
  3. Delete the securitySolution:defaultIndex UI setting

Current behavior: An error toast is displayed

Expected behavior: No error toast is displayed

Screenshots (if relevant):

Detections_-_Kibana (1)
elasticmachine commented 3 years ago

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

elasticmachine commented 3 years ago

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