Skip to content

[checkpoint] Improve normalization of user.name field - #10896

Merged
aleksmaus merged 4 commits into
elastic:mainfrom
aleksmaus:feature/checkpoint_improve_normalization_user_name
Sep 9, 2024
Merged

[checkpoint] Improve normalization of user.name field#10896
aleksmaus merged 4 commits into
elastic:mainfrom
aleksmaus:feature/checkpoint_improve_normalization_user_name

Conversation

@aleksmaus

Copy link
Copy Markdown
Contributor

Proposed commit message

Improve normalization of user.name field

Addressing this proposal
#10191

Using a different approach, since the rename processors sequence with condition, lead to cases where the checkout fields sometimes are deleted and in some cases are left behind, depending on the target field condition.
Making it consistent, changed rename to the set processors and preserving the original checkpoint user related fields. Added mappings for "administrator" and "src_user_name" fields (we already had "dst_user_name" preserved btw).

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.

Related issues

@aleksmaus aleksmaus added the enhancement New feature or request label Aug 27, 2024
@aleksmaus aleksmaus self-assigned this Aug 27, 2024
@aleksmaus
aleksmaus requested a review from a team as a code owner August 27, 2024 12:57
@andrewkroh andrewkroh added Integration:checkpoint Check Point Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices] labels Aug 27, 2024
@elasticmachine

Copy link
Copy Markdown

Pinging @elastic/sec-deployment-and-devices (Team:Security-Deployment and Devices)

@elasticmachine

Copy link
Copy Markdown

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@aleksmaus
aleksmaus requested a review from mjwolf September 6, 2024 19:21
@aleksmaus

Copy link
Copy Markdown
Contributor Author

@mjwolf I addressed your suggestions, could you please take another look?

@elasticmachine

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @aleksmaus

@pkoutsovasilis pkoutsovasilis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@aleksmaus
aleksmaus merged commit 3f9c174 into elastic:main Sep 9, 2024
@elasticmachine

Copy link
Copy Markdown

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

harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 4, 2025
* [checkpoint] Improve normalization of user.name field

* Updated changelog with PR number

* Address code review feedback
harnish-crest-data pushed a commit to chavdaharnish/integrations that referenced this pull request Feb 5, 2025
* [checkpoint] Improve normalization of user.name field

* Updated changelog with PR number

* Address code review feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:checkpoint Check Point Team:Security-Deployment and Devices DEPRECATED Deployment and Devices Security team [elastic/sec-deployment-and-devices]

5 participants