Skip to content

KC-1426: Fix epm approval list truncating application_info/account_info in JSON/CSV output - #2393

Merged
craiglurey merged 1 commit into
releasefrom
KC-1426
Sep 24, 2026
Merged

craiglurey merged 1 commit into
releasefrom
KC-1426

Conversation

@sshrushanth-ks

Copy link
Copy Markdown
Contributor

Summary

The 30-char limit was hardcoded for all output formats, causing JSON/CSV to disagree with the full values shown in the Vault "Request Detail" UI. Truncation is now applied only for table display, where it exists purely for terminal readability.

Changes

  • keepercommander/commands/pedm/pedm_admin.py:
    • Build account_info/application_info strings from full field values instead of slicing to [:30] unconditionally
    • Apply the [:30] truncation only when fmt != 'json' (i.e. table output), leaving JSON and CSV untruncated

@sshrushanth-ks sshrushanth-ks self-assigned this Sep 23, 2026
@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review September 23, 2026 13:15
@craiglurey
craiglurey merged commit dda0399 into release Sep 24, 2026
4 checks passed
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.

2 participants