Created
June 20, 2025 12:00
-
-
Save qrkourier/cc54b021f35f2ac1a36215241608e60b to your computer and use it in GitHub Desktop.
summarize ziti-edge-tunnel identities' statuses
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
ziti-edge-tunnel tunnel_status \ | |
| jq -r ' | |
.Data.Identities[] | |
|select(.Active == true and .Loaded == true) | |
| { | |
Name: .Name, | |
Identifier: .Identifier, | |
ztAPIs: ([.Config.ztAPI] + .Config.ztAPIs | unique) | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment