Skip to content

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

Merged
sshrushanth-ks merged 2 commits into
json-support-for-commandsfrom
json-support-for-commands-int
Aug 10, 2026
Merged

KC-1377: Add --format json support for various Commands#2265
sshrushanth-ks merged 2 commits into
json-support-for-commandsfrom
json-support-for-commands-int

Conversation

@sshrushanth-ks

@sshrushanth-ks sshrushanth-ks commented Aug 6, 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

@sshrushanth-ks sshrushanth-ks self-assigned this Aug 6, 2026
@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review August 6, 2026 08:17

@amangalampalli-ks amangalampalli-ks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to revert whoami and pam action job-list changes. Rest looks good.

@sshrushanth-ks
sshrushanth-ks merged commit defc2d7 into json-support-for-commands Aug 10, 2026
4 checks passed
sshrushanth-ks added a commit that referenced this pull request Aug 10, 2026
* Add --format json support to whoami and PAM list/info commands

* reverted changes for whoami and pam action job-list
craiglurey pushed a commit that referenced this pull request Aug 10, 2026
* Add --format json support to whoami and PAM list/info commands

* reverted changes for whoami and pam action job-list
@sshrushanth-ks
sshrushanth-ks deleted the json-support-for-commands-int branch August 11, 2026 05:08
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.

3 participants