Python script to create conformity profiles based on compliance standards & frameworks available within Conformity
Ensure build tools such as make, automake, libtool are already installed as these are require to install pyjq.
sudo apt-get install build-essential
Run the following command:
pip3 install -r requirements.txt
- Create
env.sh
file as mentioned inbuild.sh
helper - Run
./build.sh
to create the Docker image - Run
./run.sh bash
to run a container and open bash on it
- Optionally set the
apiKey
andapiRegion
environment variables for your conformity api key and region. (Only required foronline
option). - Run the script with one of the following arguments:
local
to generate profile files locally in the current folder, oronline
to create the profiles directly within your Conformity account. Optionally uselocal4api
to produce profile that can be uploaded via API later.
python3 cpb.py local