Skip to content

Commit

Permalink
add: zsec support for zscalergov.net cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
jmolnar-zscaler committed Dec 6, 2024
1 parent 5eadd0b commit ae52bc0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions examples/zsec
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi

if [[ "$oper" == "up" && ! -e ./.zsecrc ]]; then
PS3="${CYAN}Select your Zscaler Cloud: ${RESET}"
zs_clouds=("zscloud.net" "zscaler.net" "zscalertwo.net" "zscalerthree.net" "zscalerten.net" "zscalerbeta.net" "other")
zs_clouds=("zscloud.net" "zscaler.net" "zscalertwo.net" "zscalerthree.net" "zscalerten.net" "zscalergov.net" "zscalerbeta.net" "other")
select zscaler_cloud in "${zs_clouds[@]}"
do
case $REPLY in
Expand All @@ -48,7 +48,7 @@ if [[ "$oper" == "up" && ! -e ./.zsecrc ]]; then
echo "Zscaler Cloud ${GREEN}$zscaler_cloud${RESET} selected"
zscaler_cloud=$zscaler_cloud
break
;;
;;
4)
echo "Zscaler Cloud ${GREEN}$zscaler_cloud${RESET} selected"
zscaler_cloud=$zscaler_cloud
Expand All @@ -59,12 +59,17 @@ if [[ "$oper" == "up" && ! -e ./.zsecrc ]]; then
zscaler_cloud=$zscaler_cloud
break
;;
6)
6)
echo "Zscaler Cloud ${GREEN}$zscaler_cloud${RESET} selected"
zscaler_cloud=$zscaler_cloud
break
;;
7)
echo "Zscaler Cloud ${GREEN}$zscaler_cloud${RESET} selected"
zscaler_cloud=$zscaler_cloud
break
;;
8)
echo "Zscaler Cloud ${YELLOW}$zscaler_cloud${RESET} selected"
while true; do
read -r -p "${CYAN}Enter your desired Zscaler Cloud name (e.g. zscalerbeta.net): ${RESET}" manual_cloud_name_response
Expand Down

0 comments on commit ae52bc0

Please sign in to comment.