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.