This repo is there to customize the original OWASP DevSecOps Maturity Model.
cd DevSecOps-MaturityModel-custom
mkdir /tmp/generated
docker run -e "IS_IMPLEMENTED_WHEN_EVIDENCE=true" -v $(pwd)/data/custom:/var/www/html/src/assets/YAML/custom -v /tmp/generated:/var/www/html/src/assets/YAML/generated wurstbrot/dsomm-yaml-generation
docker run -p 8080:8080 -v /tmp/generated:/srv/assets/YAML/generated -v $(pwd)/evidence-images:/srv/assets/evidence-images wurstbrot/dsomm:latest
You can set the environment variable IS_IMPLEMENTED_WHEN_EVIDENCE=true
to enable an activity if evidence is set.
docker run -ti -v $(pwd)/../DevSecOps-MaturityModel-data/yaml-generation/generateDimensions.php:/var/www/html/yaml-generation/generateDimensions.php -v $(pwd)/../DevSecOps-MaturityModel-data/yaml-generation/:/var/www/html/yaml-generation/ -e "IS_IMPLEMENTED_WHEN_EVIDENCE=true" -v $(pwd)/data/custom:/var/www/html/src/assets/YAML/custom -v $(pwd)/generated:/var/www/html/src/assets/YAML/generated wurstbrot/dsomm-yaml-generation bash
You can use the following script to include all actvities from DSOMM
rm data/custom/*/*.yaml
for file in $(find ../DevSecOps-MaturityModel-data/src/assets/YAML/default/*/*.yaml | grep -v _meta.yaml); do baseFileName=$(basename $file); cat $file | grep "^ [a-Z]\|^ [a-Z]\|^[a-Z]" > data/custom/definition/definition-$baseFileName;done