On main branch I was testing something and discovered that any error thrown in the section of code we check for privileges and timestamps on source indices will not be displayed on the UI.
Throwing an error anywhere in this try block will result in the following on main. I was attempting to mimic an error thrown within the checkPrivilegesFromEsClient code but throwing an error anywhere in this block will trigger the bug.
On
main
branch I was testing something and discovered that any error thrown in the section of code we check for privileges and timestamps on source indices will not be displayed on the UI.Throwing an error anywhere in this
try
block will result in the following onmain
. I was attempting to mimic an error thrown within thecheckPrivilegesFromEsClient
code but throwing an error anywhere in this block will trigger the bug.https://github.com/elastic/kibana/blob/2ec4ec362d21fe03d04d53181fa0a8f7da888eb5/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/create_security_rule_type_wrapper.ts#L259-L301
Rule details page:
Execution log table: