forked from mtusi2026/mtusi2026lab7
Проверка публичной безопасности
This commit is contained in:
@@ -4,7 +4,7 @@ CA_FILE ?=
|
||||
ACTION_SCRIPT ?=
|
||||
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
|
||||
|
||||
.PHONY: help check validate test load test-persistence test-failover test-security test-mtls
|
||||
.PHONY: help check validate test load test-persistence test-failover test-security test-session-expiry test-mtls
|
||||
|
||||
help:
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
|
||||
@@ -32,5 +32,8 @@ test-failover:
|
||||
test-security:
|
||||
$(PYTHON) tests/security.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-session-expiry:
|
||||
$(PYTHON) tests/session_expiry.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
test-mtls:
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/test-mtls.ps1
|
||||
|
||||
Reference in New Issue
Block a user