- A docker-containerized micro-service for https://cyber-dojo.org.
- An HTTP service (sinatra based) for diffing two sets of files.
- Demonstrates a Kosli instrumented GitHub CI workflow deploying, with Continuous Compliance, to staging and production AWS environments.
- Uses Attestation patterns from https://www.kosli.com/blog/using-kosli-attest-in-github-action-workflows-some-tips/
There are two sets of tests:
- server: these run from inside the saver container
- client: these run from outside the saver container, making api calls only
# Build the images
$ make {image_server|image_client}
# Run all tests
$ make {test_server|test_client}
# Run only specific tests
$ ./bin/run_tests.sh {-h|--help}
$ ./bin/run_tests.sh server B56
# Check test metrics
$ make {metrics_test_server|metrics_test_client}
# Check test coverage metrics
$ make {metrics_coverage_server|metrics_coverage_client}
# Check image for snyk vulnerabilities
$ make snyk_container_test
# Run demo
$ make demo