-
You're using the ENTERPRISE EDITION OF PRISMA CLOUD
-
You're using ubuntu 20.04
-
You're able to reach your Prisma Cloud Enterprise Edition console from your ubuntu 20.04 machine
-
You would know how to harden this process if working in a production environment.
-
If you do decide to keep the keys in this script, then it's critical you:
- Add it to your
.gitignore
(if using git) file andchmod 700 iac_script.bash
between steps 2 and 3 below so that others can't read, write, or excute it.
- Add it to your
- Step 1:
git clone https://github.com/Kyle9021/pcee_add_user_api_script
- Step 2:
cd pcee_add_user_api_script/
- Step 3:
nano add_user.bash
and assign variables according to comment documentation - Step 4: Install jq if you dont have it
sudo apt update && upgrade -y
thensudo apt-get install jq
- Step 5:
bash rql_api.bash