Проверка публичной безопасности

This commit is contained in:
EgorAnti
2026-11-27 09:52:10 +03:00
parent 87a3f9d8e5
commit ac39f303d5
7 changed files with 100 additions and 3 deletions
+4 -1
View File
@@ -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