Skip to content

KC-1377: Add --format json support for various Commands - #2278

Merged
craiglurey merged 1 commit into
releasefrom
json-support-for-commands
Aug 10, 2026
Merged

KC-1377: Add --format json support for various Commands#2278
craiglurey merged 1 commit into
releasefrom
json-support-for-commands

Conversation

@sshrushanth-ks

@sshrushanth-ks sshrushanth-ks commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Added --format json support to trash get, pam rotation list, pam action service list, pam action discover rule list, pam access user list, pam action discover status, pam tunnel list, pam action gateway-info, and pam action saas user.

Changes

  • Added --format {detail,json} to trash get
  • Added --format {table,json} to pam rotation list, pam action service list, pam action discover rule list, pam action discover status, and pam tunnel list
  • Added --format {text,json} to pam action gateway-info and pam action saas user
  • Implemented pam access user list (via IdP group list + members) with --format {table,json}
  • Emitted clean snake_case JSON payloads (no ANSI coloring); kept existing table/text defaults
  • Fixed gateway context selection when --configuration-uid is provided for discovery commands

* Add --format json support to whoami and PAM list/info commands

* reverted changes for whoami and pam action job-list
@sshrushanth-ks sshrushanth-ks changed the title KC-1377: Add --format json support for various Commands (#2265) KC-1377: Add --format json support for various Commands Aug 10, 2026
@sshrushanth-ks sshrushanth-ks self-assigned this Aug 10, 2026
@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review August 10, 2026 13:17
@craiglurey
craiglurey merged commit fb34254 into release Aug 10, 2026
8 checks passed
@sshrushanth-ks
sshrushanth-ks deleted the json-support-for-commands branch August 11, 2026 05:09
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