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

Extend user.name mapping to Windows Integration Package #8289

Merged
merged 15 commits into from
Nov 5, 2023

Conversation

ChriZzn
Copy link
Contributor

@ChriZzn ChriZzn commented Oct 25, 2023

Proposed commit message

Adding EventID 4662 and 5136, to use the 'winlog.event_data.SubjectUserName' as user.name and related.user

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Adding EventID 4662 and 5136, to use the winlog.event_data.SubjectUserName as user.name and related.user
@ChriZzn ChriZzn requested review from a team as code owners October 25, 2023 07:10
@elasticmachine
Copy link

elasticmachine commented Oct 25, 2023

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2023-11-02T21:57:10.916+0000

  • Duration: 20 min 22 sec

Test stats 🧪

Test Results
Failed 0
Passed 305
Skipped 0
Total 305

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@pierrehilbert pierrehilbert added the Team:Elastic-Agent Label for the Agent team label Oct 25, 2023
@elasticmachine
Copy link

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@elasticmachine
Copy link

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

Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

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

you will need to update the version number in packages/windows/manifest.yml as well.

@ChriZzn ChriZzn requested a review from a team as a code owner October 25, 2023 14:20
@pierrehilbert pierrehilbert added the Team:Elastic-Agent Label for the Agent team label Oct 25, 2023
@rdner rdner removed their request for review October 30, 2023 11:19
@ChriZzn
Copy link
Contributor Author

ChriZzn commented Oct 30, 2023

Any Updates on this?

@efd6
Copy link
Contributor

efd6 commented Oct 30, 2023

Sorry this was dropped. Please fix the conflict in the system changelog.

@ChriZzn
Copy link
Contributor Author

ChriZzn commented Oct 31, 2023

Hello, should be resolved now, Regards

@efd6
Copy link
Contributor

efd6 commented Oct 31, 2023

/test

Copy link
Contributor

@efd6 efd6 left a comment

Choose a reason for hiding this comment

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

Are you able to provide test cases for this? If not, let me know and I will construct ones from the MS docs (here and here, but real cases would be better).

@elasticmachine
Copy link

elasticmachine commented Oct 31, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (11/11) 💚
Files 93.75% (15/16) 👎 -6.25
Classes 93.75% (15/16) 👎 -6.25
Methods 78.302% (166/212) 👎 -19.067
Lines 93.783% (8855/9442) 👎 -1.644
Conditionals 100.0% (0/0) 💚

@ChriZzn
Copy link
Contributor Author

ChriZzn commented Oct 31, 2023

Are you able to provide test cases for this? If not, let me know and I will construct ones from the MS docs (here and here, but real cases would be better).

Hi, im sorry i cant provide you test data, because they are from active environments...

@efd6
Copy link
Contributor

efd6 commented Nov 1, 2023

Please apply the this patch file and then resolve the conflicts, 0001-add-tests.patch.

Copy link

cla-checker-service bot commented Nov 1, 2023

💚 CLA has been signed

@ChriZzn
Copy link
Contributor Author

ChriZzn commented Nov 1, 2023

Hi i applied the patch and resolved the conflicts....

@efd6
Copy link
Contributor

efd6 commented Nov 1, 2023

The author you've used to apply the patch is making the CLA checker unhappy. Would you please sign the CLA with that name/email address as well?

@ChriZzn
Copy link
Contributor Author

ChriZzn commented Nov 2, 2023

The author you've used to apply the patch is making the CLA checker unhappy. Would you please sign the CLA with that name/email address as well?

Hi, should be signed now with username 'cw', Regards

@efd6
Copy link
Contributor

efd6 commented Nov 2, 2023

It will need to match exactly, including the email address.

@ChriZzn
Copy link
Contributor Author

ChriZzn commented Nov 2, 2023

so

It will need to match exactly, including the email address.

Resigned the CLA, please DM me the email/username combo if there are still Problems

@efd6
Copy link
Contributor

efd6 commented Nov 2, 2023

/test

@efd6 efd6 requested a review from leehinman November 2, 2023 22:35
Copy link
Contributor

@leehinman leehinman left a comment

Choose a reason for hiding this comment

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

LGTM

@efd6 efd6 merged commit 566ecfa into elastic:main Nov 5, 2023
4 checks passed
@elasticmachine
Copy link

Package system - 1.48.0 containing this change is available at https://epr.elastic.co/search?package=system

@elasticmachine
Copy link

Package windows - 1.42.0 containing this change is available at https://epr.elastic.co/search?package=windows

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.

7 participants