Scripts to assist with the configuration and operation of Cloud Foundry.
-
uaac target <OPS_UAA_FQDN>
-
uaac token client get admin -s <OPS_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-concourse-navigator.sh <EMAIL_ADDRESS>
-
uaac target <OPS_UAA_FQDN>
-
uaac token client get admin -s <OPS_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-concourse-navigator.sh -r <EMAIL_ADDRESS>
These steps correspond to the steps for creating admins.
-
Have the user log in to CF first.
-
uaac target <CF_UAA_FQDN>
-
uaac token client get admin -s <CF_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-cf-admin.sh <EMAIL_ADDRESS>
-
uaac target <OPS_UAA_FQDN>
-
uaac token client get admin -s <OPS_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-ops-admin.sh <EMAIL_ADDRESS>
-
uaac target <CF_UAA_FQDN>
-
uaac token client get admin -s <CF_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-cf-admin.sh -r <EMAIL_ADDRESS>
-
uaac target <OPS_UAA_FQDN>
-
uaac token client get admin -s <OPS_UAA_ADMINCLIENT_PASSPHRASE>
-
Run
./make-ops-admin.sh -r <EMAIL_ADDRESS>
-
Ensure the user running this is a CF admin (see Creating admins)
-
Run
./cf-create-deployer-user.sh <ORG>
pip install pyyaml
gem install cf-uaac
uaac target uaa.fr.cloud.gov
uaac token sso get cf -s '' --scope scim.read
- Once you log in with UAA, make sure you navigate to https://login.fr.cloud.gov/passcode to get your one-time passcode.
python cf-get-recent-users.py YYYY-MM-DD
apt update
apt install python3
pip install -U requests
pip install -U dateutil
export ES_HOST="${IP_ADDRESS_LOGSEARCH_MASTER_NODE}"
python3 count-sandbox-logs.py
ls -l summary.csv