Реализовать лабораторную 7: mTLS, OpenBao и защита worker
This commit is contained in:
@@ -31,3 +31,18 @@ test-failover:
|
||||
|
||||
test-security:
|
||||
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
.PHONY: up test-all research audit
|
||||
up:
|
||||
./scripts/up.sh
|
||||
|
||||
test-all:
|
||||
./scripts/test_all.sh
|
||||
|
||||
research:
|
||||
.venv/bin/python tests/compromise_research.py
|
||||
.venv/bin/python scripts/research_graphs.py
|
||||
|
||||
audit:
|
||||
docker run --rm --network none --entrypoint pip mtusi-lab7-api:local --no-cache-dir freeze > evidence/runtime-packages.txt
|
||||
.venv/bin/pip-audit --no-deps --disable-pip -r evidence/runtime-packages.txt --format json --output evidence/dependency-audit.json
|
||||
|
||||
Reference in New Issue
Block a user