Skip to content

Modify npipe to directly get the user SID#62

Merged
kvch merged 1 commit intoelastic:mainfrom
andrewkroh:npipe-fetch-sid-only
Jun 13, 2022
Merged

Modify npipe to directly get the user SID#62
kvch merged 1 commit intoelastic:mainfrom
andrewkroh:npipe-fetch-sid-only

Conversation

@andrewkroh
Copy link
Copy Markdown
Member

What does this PR do?

Porting over elastic/beats@1fcdee6

Remove the dependency on user.Current(). It fetches more information than
is required to configure the named pipe. This only needs to know the SID
in order to build the SDDL.

This avoids the possibility of lengthy delays fetching the unnecessary
metadata about the current user.

Relates elastic/beats#31810

Remove the dependency on user.Current(). It fetches more information than
is required to configure the named pipe. This only needs to know the SID
in order to build the SDDL.

This avoids the possibility of lengthy delays fetching the unnecessary
metadata about the current user.

Relates elastic/beats#31810

Porting over elastic/beats@1fcdee6
@andrewkroh andrewkroh requested a review from a team as a code owner June 9, 2022 14:38
@andrewkroh andrewkroh requested review from belimawr and kvch and removed request for a team June 9, 2022 14:38
@elasticmachine
Copy link
Copy Markdown
Collaborator

💚 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: 2022-06-09T14:39:01.607+0000

  • Duration: 9 min 55 sec

Test stats 🧪

Test Results
Failed 0
Passed 1067
Skipped 6
Total 1073

🤖 GitHub comments

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

  • /test : Re-trigger the build.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants