You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ECS a self-nesting is when one field set is nested inside itself using a different name:
Two examples:
process.parent.* self-nests the process field set renamed as parent
user.target.* self-nests the user.* field set renamed as target (same applies to user.changes and user.effective)
In a very specific case, you may want to self nest the same field set twice:
Reuse process.* as process.target.*
Reuse process again but underneath process.target.* to create process.target.parent.*
The current ECS tooling allows specifying this in the reusable.expected section, but it will not produce the desired result:
- name: processreusable:expected:- at: processas: target# collect the parent of the target process at process.target.parent- at: process.targetas: parent
Solution
Implement logic into the self-nesting phase of .finalize to account for when the at attribute is not the top-level field set but an existing self-nesting.
The text was updated successfully, but these errors were encountered:
Problem
In ECS a self-nesting is when one field set is nested inside itself using a different name:
Two examples:
process.parent.*
self-nests theprocess
field set renamed asparent
user.target.*
self-nests theuser.*
field set renamed astarget
(same applies touser.changes
anduser.effective
)In a very specific case, you may want to self nest the same field set twice:
process.*
asprocess.target.*
process
again but underneathprocess.target.*
to createprocess.target.parent.*
The current ECS tooling allows specifying this in the
reusable.expected
section, but it will not produce the desired result:Solution
Implement logic into the self-nesting phase of
.finalize
to account for when theat
attribute is not the top-level field set but an existing self-nesting.The text was updated successfully, but these errors were encountered: