Updates to 2nd Sight Lab Job Execution Framework Configuration Deployment Script
ACM.457 Modifying parameter deployments to work with the new directory structure
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⚙️ Part of my series on Automating Cybersecurity Metrics. The Code.
🔒 Related Stories: AWS Security | Application Security | IAM
💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I just checked in code to modify the deploy_config.sh script in the job configuration repository. It had a few issues and wasn’t working with the new file paths.
It also has to pull the configuration to deploy from the private repository now that we have create a configuration there as described in this post so basically I changed the configuration directory:

In addition, this script uses the shared parameter_functions.sh file which references a shared functions file. I had to make that work both in the container and outside of the container when running a local test.
I check to see if the base directory exists. Otherwise we’re in the container.

I made a few other tweaks but that was about it. Then I created a new job configuration for testing creation of the root users and roles in my local account. I don’t want to deploy an organization while testing.
And what I might do is try to make this administrator stack generic so I can use it for other administrator users, policies and roles. TBD.
I checked in the code to the test repository and it should not work.
Follow for updates.
Teri Radichel | © 2nd Sight Lab 2024
About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight LabNeed Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for PresentationFollow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
