Skip to content

[Winlogbeat] Add subdomain value for sysmon module#22999

Merged
andrewstucki merged 4 commits intoelastic:masterfrom
andrewstucki:winlogbeat-subdomain
Dec 9, 2020
Merged

[Winlogbeat] Add subdomain value for sysmon module#22999
andrewstucki merged 4 commits intoelastic:masterfrom
andrewstucki:winlogbeat-subdomain

Conversation

@andrewstucki
Copy link
Copy Markdown

@andrewstucki andrewstucki commented Dec 8, 2020

What does this PR do?

This adds subdomain to the event in the sysmon module. To make it a bit more reusable I added an optional target_subdomain_field to the registered_domain processor that different modules in winlogbeat and filebeat use for parsing out the registered_domain value.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Dec 8, 2020
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Dec 8, 2020

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #22999 updated

  • Start Time: 2020-12-09T02:12:38.596+0000

  • Duration: 67 min 35 sec

Test stats 🧪

Test Results
Failed 0
Passed 17359
Skipped 1373
Total 18732

Steps errors 2

Expand to view the steps failures

Terraform Apply on x-pack/metricbeat/module/aws
  • Took 0 min 14 sec . View more details on here
Terraform Apply on x-pack/metricbeat/module/aws
  • Took 0 min 15 sec . View more details on here

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 17359
Skipped 1373
Total 18732

Copy link
Copy Markdown
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

Good idea to update the processor.

I noticed there is a dns.question.top_level_domain field. I guess. that. could go in there too. https://www.elastic.co/guide/en/ecs/current/ecs-dns.html#field-dns-question-top-level-domain

@andrewstucki
Copy link
Copy Markdown
Author

Opened an issue to track circling back and adding "top_level_domain" handling: #23005

@andrewstucki andrewstucki merged commit d38a5d0 into elastic:master Dec 9, 2020
andrewstucki pushed a commit to andrewstucki/beats that referenced this pull request Dec 9, 2020
* [Winlogbeat] Add subdomain value for sysmon module

* Add changelog entry

* Add target_subdomain_field to docs example

(cherry picked from commit d38a5d0)
andrewstucki pushed a commit that referenced this pull request Dec 9, 2020
…n module (#23008)

* [Winlogbeat] Add subdomain value for sysmon module (#22999)

* [Winlogbeat] Add subdomain value for sysmon module

* Add changelog entry

* Add target_subdomain_field to docs example

(cherry picked from commit d38a5d0)

* Fix up changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants