feature(secret-rotation): windows local account secret rotation#5269
Merged
victorvhs017 merged 22 commits intomainfrom Jan 29, 2026
Merged
feature(secret-rotation): windows local account secret rotation#5269victorvhs017 merged 22 commits intomainfrom
victorvhs017 merged 22 commits intomainfrom
Conversation
added 6 commits
January 21, 2026 18:07
…nd update related schemas
… and update schemas
…ation handling, and improve related schemas
…ated schemas to enforce character limits
Collaborator
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
…B and local account secret rotation
…es for enhanced clarity
added 3 commits
January 27, 2026 00:37
…tationItem for improved readability
Contributor
Greptile OverviewGreptile SummaryThis PR implements Windows Local Account secret rotation using SMB/RPC protocol, adding a new app connection type and rotation provider. The implementation follows secure coding practices with comprehensive input validation and proper credential handling. Key Changes
Security Strengths
Critical Issue Found
Confidence Score: 4/5
Important Files Changed
|
backend/src/ee/routes/v2/secret-rotation-v2-routers/windows-local-account-rotation-router.ts
Outdated
Show resolved
Hide resolved
…ls and update regex handling in SMB RPC client
akhilmhdh
reviewed
Jan 27, 2026
.../secret-rotation-v2/windows-local-account-rotation/windows-local-account-rotation-schemas.ts
Outdated
Show resolved
Hide resolved
docs/documentation/platform/secret-rotation/windows-local-account.mdx
Outdated
Show resolved
Hide resolved
Member
|
Doing an application test shortly |
added 3 commits
January 27, 2026 21:03
…tion schemas to prevent command injection and improve security
…account and SMB connection schemas to improve security and clarity
…to block dangerous characters and improve security
…Windows local account schemas for improved security and consistency
Contributor
Author
|
@greptileai re-review this PR and update the summary |
...ices/secret-rotation-v2/windows-local-account-rotation/windows-local-account-rotation-fns.ts
Show resolved
Hide resolved
...ices/secret-rotation-v2/windows-local-account-rotation/windows-local-account-rotation-fns.ts
Show resolved
Hide resolved
…assword rotation for privileged accounts and improve password validation
added 2 commits
January 28, 2026 15:21
… definitions in SMB and Windows local account schemas for improved clarity and security
…n regarding administrator privileges
…for consistency and clarity
akhilmhdh
previously approved these changes
Jan 29, 2026
akhilmhdh
approved these changes
Jan 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This PR implements Windows Local Account secret rotation using SMB/RPC. This is done using the samba-client package in the image due to the lack of native support in the Node.js ecosystem.
Key changes:
rpcclientto change passwords via SMB/RPCsamba-clientpackageSteps to verify the change
Windows App Connection
Windows Secret Rotation
Documentation
Type
Checklist
type(scope): short description(scope is optional, e.g.,fix: prevent crash on syncorfix(api): handle null response).