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

Pe ordering fix #1605

Merged
merged 13 commits into from
Sep 16, 2021
Merged

Pe ordering fix #1605

merged 13 commits into from
Sep 16, 2021

Conversation

kgeller
Copy link
Contributor

@kgeller kgeller commented Sep 9, 2021

Just like in #1603, we realized we were missing pe.* under threat.indicator.file and `threat.enrichments.indicator.file' like the threat RFC describes. I realized this was due to an ordering issue on our field reuses. We solve this issue the same way here for 'group' at 'user'.

Sibling PR to remove the incorrect nestings #1606

Copy link
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should delete pe as a top-level field on indicator; otherwise this looks good to me.

@@ -14448,6 +14624,13 @@ threat:
- threat.indicator.x509
prefix: threat.
reused_here:
- full: threat.indicator.pe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want these gone, right? pe will be nested under file or process, but not as a sibling

Copy link
Contributor

@rylnd rylnd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disregard the last review, it looks like you already made my proposed changes in #1604. :shipit:

I appreciate the logically separated PRs; I do not envy merging them back together, though!

Copy link
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kgeller kgeller merged commit 7dc91e9 into elastic:master Sep 16, 2021
@kgeller kgeller deleted the pe-ordering-fix branch September 16, 2021 18:46
kgeller added a commit that referenced this pull request Sep 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants