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-essentialRun the following command:
pip3 install -r requirements.txt- Create
env.shfile as mentioned inbuild.shhelper - Run
./build.shto create the Docker image - Run
./run.sh bashto run a container and open bash on it
- Optionally set the
apiKeyandapiRegionenvironment variables for your conformity api key and region. (Only required foronlineoption). - Run the script with one of the following arguments:
localto generate profile files locally in the current folder, oronlineto create the profiles directly within your Conformity account. Optionally uselocal4apito produce profile that can be uploaded via API later.
python3 cpb.py local