Repository navigation
Enforce gateway permissions on pam gateway edit and set-max-instances - #2571
Merged
Merged
Conversation
amangalampalli-ks
approved these changes
Nov 26, 2026
adeshmukh-ks
approved these changes
Nov 26, 2026
* Prevent command history disclosure Block history/h in Service Mode, exclude shell-only commands from provisioning, and keep Service Mode requests out of the global CLI history. * align shell command restrictions Keep shell commands visible in CLI help while excluding them from Service Mode grants. Apply the shared command set and aliases at provisioning and runtime, including server controls, and document the upgrade behavior. --------- (cherry picked from commit 387150e) Signed-off-by: sshrushanth-ks <sshrushanth@keepersecurity.com>
* Pagination improvements and logging The loop also had no page log, and two exits were unsafe. A short page, including a last page of 1 record, was kept but not logged. hasNext: true with a nextSkip that does not advance skipped forever. A body with no records list stopped with no log. Each page now logs skip, take, records, total, hasNext, nextSkip, and the running total. A nextSkip that does not move, or a missing records list, logs a warning and stops with the records already collected. thycotic_search already paged. It did not log each page, and a hasNext value of true with a nextSkip that did not advance would request the same page forever. Each page now logs skip, take, records, total, hasNext, nextSkip, and the running total. A page shorter than 1000, including a last page of 1 record, is kept and logged. A missing records list, a non-object body, or a nextSkip that does not move forward logs a warning and stops with the records already collected. * Move per-page pagination logs to debug level, refine short page condition to count < take, add edge case test * Pagination: fix duplicate param check, refactor for clarity, fix test logging * Address reviewer feedback: JSON error handling, query deduplication, truncated status * update names, and valueError --------- Co-authored-by: Aditya J. <ajaiswal@keepersecurity.com>
sali-ks
approved these changes
Nov 27, 2026
ukumar-ks
force-pushed
the
fix/pam-gateway-edit-int
branch
from
November 27, 2026 10:38
f0c4fff to
74da45a
Compare
craiglurey
pushed a commit
that referenced
this pull request
Nov 27, 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.
No description provided.