Skip to content

KC-1372: Return IDs for node/teams/roles in enterprise-info --users --verbose#2239

Closed
sshrushanth-ks wants to merge 2 commits into
KC-1372from
KC-1372-int
Closed

KC-1372: Return IDs for node/teams/roles in enterprise-info --users --verbose#2239
sshrushanth-ks wants to merge 2 commits into
KC-1372from
KC-1372-int

Conversation

@sshrushanth-ks

@sshrushanth-ks sshrushanth-ks commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Support SailPoint identity mapping by returning node/team/role IDs from enterprise-info --users -v.
  • Add tree --format=json so SailPoint can consume a Commander-native nested tree response.
  • Include classic and NSF folder/record share permissions in that JSON (and in text with -s / -ns).

Changes

  • enterprise-info

    • With -v, node / teams / roles return IDs instead of path/names; non-verbose output is unchanged.
  • tree – --format=json (main)

    • Adds native nested JSON output for tree (name, path, kind, children, share_permissions).
    • Recommended for SailPoint / new service-mode callers: tree --format=json.
    • Plain service-mode tree (no --format=json) keeps the legacy flat ASCII→parser response for existing integrations.
  • tree – folders

    • Classic (-s): text uses a single default: segment (no duplicate user:).
    • Classic JSON: user_permissions (MU/MR) and record_permissions (CE/CS), plus users / teams.
    • NSF (-ns): folder ACLs via warmed cache; JSON kind is nested_share_folder.
  • tree – records

    • Classic (-s -r): direct user shares only; no inherited folders list on the record.
    • NSF (-ns -r): record ACLs with parent-folder fallback when needed.
    • JSON kind is record (classic) or nested_record (NSF).

@sshrushanth-ks
sshrushanth-ks marked this pull request as ready for review July 22, 2026 06:35
@sshrushanth-ks sshrushanth-ks self-assigned this Jul 22, 2026
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.

4 participants