Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail CI when making changes to alerts-as-data ECS mappings that cause migration failures #170339

Open
mikecote opened this issue Nov 1, 2023 · 1 comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented Nov 1, 2023

As a long term solution to #168959, we should detect these migration issues with CI. We current don't have any indicators / quality gates to let us know the latest alerts-as-data mappings will cause migration issues.

When Kibana is upgraded, the alerts-as-data component and index template get updated to the latest mappings and the system goes through the existing alerts-as-data indices to update their mappings. If there is a conflict on a specific field, the operation fails and we may be in a situation where the current write index is not up to date. In the meantime, it's on the manual review process to test upgrading the indices to ensure there isn't a mapping conflict but it would be nice to automate this.

@mikecote mikecote added Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Nov 1, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

2 participants