Skip to content

Make sure all ES indexes are created when setting server URL

What does this MR do?

When admin sets the URL of Elasticsearch servers, we have logic to check whether there are indexes created on the servers already. If not, we will create them.

As some types of data now live on their own indexes, we need to check for all the required indexes, not only just the default one.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #300456 (closed)

Merge request reports

Loading