You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some scripts will print the projects fetched if the DEBUG flag is passed. Most do not. Only for scripts that have the following code, but do not have the debugging statement yet...
if [[ $PROJECT_IDS == "" ]]; then
declare PROJECT_IDS=$(gcloud projects list --format="flattened(PROJECT_ID)" | grep project_id | cut -d " " -f 2);
fi;
We want to add the following code just below:
if [[ $DEBUG == "True" ]]; then
echo "Projects: $PROJECT_IDS";
echo "";
fi;
Some scripts will print the projects fetched if the DEBUG flag is passed. Most do not. Only for scripts that have the following code, but do not have the debugging statement yet...
We want to add the following code just below:
A working example is cis-4.1.1-compute-instance-default-service-account.sh
The text was updated successfully, but these errors were encountered: