Проверка rehash, login DoS и общего rate limit
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-session-expiry test-mtls
|
||||
.PHONY: help check validate test load test-persistence test-failover test-security test-session-expiry test-mtls test-login-dos test-credential-storage
|
||||
|
||||
help:
|
||||
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"
|
||||
@@ -35,5 +35,12 @@ test-security:
|
||||
test-session-expiry:
|
||||
$(PYTHON) tests/session_expiry.py --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
LOGIN_DOS_ARGS ?= --source-budget
|
||||
test-login-dos:
|
||||
$(PYTHON) tests/login_dos.py --base-url "$(BASE_URL)" $(TLS_ARGS) $(LOGIN_DOS_ARGS)
|
||||
|
||||
test-credential-storage:
|
||||
$(PYTHON) tests/credential_storage.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