Replace SecurityIndexManager with special client #36078
Labels
>refactoring
:Security/Security
Security issues without another label
Team:Security
Meta label for security team
Currently, we use the
SecurityIndexManager
throughout our code to be "smart" and preempt certain conditions based on the last observed cluster state when interacting with the security index. However these conditions that we try to preempt can still occur so we still need to handle them within each individual response listener. TheSecurityIndexManager
is also responsible for ensuring that the index has the correct mappings and has been upgraded to the latest version.In order to simplify our code, it has been suggested that we replace this with a specialized client that knows how to handle the error conditions and that we do not preempt failures. One item that would be a prerequisite would be to disallow the auto creation of the security index by a index request, see #34737.
The text was updated successfully, but these errors were encountered: