-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Reponse Ops][Alerting] Excluding ECS experimental fields from ECS component template #170571
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
...solution/server/lib/detection_engine/rule_types/factories/utils/strip_non_ecs_fields.test.ts
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one question regarding impact on existing customers before alerts index rolls out
...solution/server/lib/detection_engine/rule_types/factories/utils/strip_non_ecs_fields.test.ts
Outdated
Show resolved
Hide resolved
…bana into exclude-experimental-ecs-fields
@elasticmachine merge upstream |
I tried a "migration" from main to this PR, and got the following:
|
…bana into exclude-experimental-ecs-fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - survives "migrating" from main to this PR; adding the "children" of faas
to be excluded (added in subsequent commits) resolved the migration issue I reported ^^^
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @ymao1 |
Resolves #168959
Summary
Hard-coding a list of experimental (RFC stage 2) ECS fields to exclude from the ECS component template. These are only the fields that are not currently defined in
ecs_flat.yml
. The only existing field that is excluded isfaas.trigger
which, if included, will cause a mapping conflict exception because of an ECS mapping change fromnested
toobject
.To Verify
Compare the mappings for the
.alerts-ecs-mappings
component template betweenmain
and this branch and notice that thefaas.trigger
field is excluded from the component template on this branch.