AlertClient.find returns an incorrect Type when the fields
options is used
#70696
Labels
deprecation-blocked
estimate:small
Small Estimated Level of Effort
Feature:Alerting/RulesFramework
Issues related to the Alerting Rules Framework
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
technical debt
Improvement of the software architecture and operational architecture
the
find
api claims to returnSanitizedAlert
types, but this is not true when thefield
options is used to narrow down the returned fields.We should address as it could cause mistakes in
getAlertFromRaw
which could in theory breakfind
whenfields
is used.At the moment we're only aware of a use of
fields
in siem, but we don't know who might rely on this in their own implementations in the future.This can be cleaned up when telemetry from #108716 shows usage is below 1% or deprecated for > 2.5 years after deprecating legacy terminology usage.
The text was updated successfully, but these errors were encountered: