feat(pam): add KCM database import command with auto-detect and group filtering#1904
Closed
jlima8900 wants to merge 1 commit intoKeeper-Security:releasefrom
Closed
feat(pam): add KCM database import command with auto-detect and group filtering#1904jlima8900 wants to merge 1 commit intoKeeper-Security:releasefrom
jlima8900 wants to merge 1 commit intoKeeper-Security:releasefrom
Conversation
06f3429 to
690ae26
Compare
Contributor
Author
Note: Credential history resolvedThe branch has been squashed to a single commit ( The test file now uses |
80fc0ba to
2b894b0
Compare
Contributor
Author
|
@aaunario — ready for review. Squashed to single commit, 79 unit tests + 27 E2E tests passing, no hardcoded credentials. |
09b2c10 to
96aa3e5
Compare
e967de6 to
8104e81
Compare
8104e81 to
e98ea91
Compare
… filtering Adds pam project kcm-import and pam project kcm-cleanup commands. Imports connections directly from a KCM/Guacamole database into Keeper PAM with Docker auto-detect, group filtering, adaptive throttling, and 150+ parameter mappings across SSH, RDP, VNC, Telnet, HTTP, MySQL, PostgreSQL, Oracle, SQL Server, LDAP, and Kubernetes protocols.
0841913 to
af25290
Compare
Contributor
Author
|
Closing in favor of a clean PR — same branch, squashed to single commit. |
8 tasks
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.
Summary
Adds
pam project kcm-import— a new command that imports connections directly from a KCM/Guacamole database into Keeper PAM, andpam project kcm-cleanupto reverse imports.Key features
--groups,--exclude-groups,--list-groupswith wildcard supportpam project kcm-cleanupUsage
```bash
Auto-detect everything from Docker (simplest)
pam project kcm-import --docker-detect --name "My KCM Migration"
Preview without vault changes
pam project kcm-import --docker-detect --dry-run
List available connection groups
pam project kcm-import --docker-detect --list-groups
Import only specific groups (wildcard support)
pam project kcm-import --docker-detect --groups "Production*,Staging*" --name "Prod"
Exclude groups from import
pam project kcm-import --docker-detect --exclude-groups "Test*,Incomplete*"
Manual database connection with vault-stored password
pam project kcm-import --db-host 10.0.0.5 --db-type postgresql --db-password-record "KCM DB Creds" --db-ssl --name "Production KCM"
Extend an existing PAM config with new groups
pam project kcm-import --docker-detect --config "Existing Config" --groups "NewDept*"
Save JSON for review before importing
pam project kcm-import --docker-detect --output ~/kcm-review.json
Non-interactive batch mode
pam project kcm-import --docker-detect --name "Auto Import" --gateway "My GW" --yes
Size estimate without importing
pam project kcm-import --docker-detect --estimate
Clean up an import (reverse everything)
pam project kcm-cleanup --name "KCM Migration" --dry-run
pam project kcm-cleanup --name "KCM Migration" --yes
```
Gateway
Import Report
After a successful import, a vault record is created at the project's top-level folder containing:
Files changed
Test plan