forked from mtusi2026/mtusi2026lab7
Лабораторная 7: TLS, mTLS и OpenBao
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
PYTHON ?= python3
|
||||
BASE_URL ?= https://localhost:8443
|
||||
CA_FILE ?=
|
||||
CA_FILE ?= $(CURDIR)/secrets/ca/ca.crt
|
||||
ACTION_SCRIPT ?=
|
||||
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
@@ -31,3 +31,13 @@ test-failover:
|
||||
|
||||
test-security:
|
||||
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
.PHONY: test-observability test-student-security test-tls-matrix
|
||||
test-observability:
|
||||
$(PYTHON) student-tests/observability_tls.py
|
||||
|
||||
test-student-security:
|
||||
$(PYTHON) student-tests/public_security.py
|
||||
|
||||
test-tls-matrix:
|
||||
docker compose --profile operator run --rm --no-deps -v "$(CURDIR):/workspace:ro" migrate python /workspace/student-tests/internal_security.py
|
||||
|
||||
Reference in New Issue
Block a user