feat(identity): confirm registration email atomically
This commit is contained in:
1 parent
8e7ce8d71c
commit
fade4e76e4
75 files changed
+4188
-403
No files matched your search
@@ -9,3 +9,86 @@ paths = [
|
||||
'''(^|/)(node_modules|\.venv[^/]*|\.cache|\.mypy_cache|\.ruff_cache|\.pytest_cache|__pycache__|dist|bin)/''',
|
||||
'''^security/(\.bin|\.tools|reports)/''',
|
||||
]
|
||||
|
||||
# These exceptions match one rule, repository path, and complete finding text.
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: generated copy of the public OpenAPI request example; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^api/core/openapi\\.bundle\\.yml$"]
|
||||
regexes = [
|
||||
"^token: q3Zt9b2Kx7LmP4vR8sW1yC6nD0fH5jA2eG9uI3oT7kE$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: public OpenAPI request example; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^api/core/routes/identity_email_verifications\\.yml$"]
|
||||
regexes = [
|
||||
"^token: q3Zt9b2Kx7LmP4vR8sW1yC6nD0fH5jA2eG9uI3oT7kE$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: synthetic HTTP test fixture; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^backend/internal/adapter/primary/http/router_test\\.go$"]
|
||||
regexes = [
|
||||
"^testIdempotencyKey = \"5f0c6a8e-3b0e-4c47-9f4c-2a8f9e5d7c11\"$",
|
||||
"^token\":\"q3Zt9b2Kx7LmP4vR8sW1yC6nD0fH5jA2eG9uI3oT7kE\"$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: static Redis rate-limit bucket-key prefix, not an authentication credential; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^backend/internal/adapter/secondary/redis/ratelimit\\.go$"]
|
||||
regexes = [
|
||||
"^keys, rateLimitKeyPrefix\\+\"$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: synthetic password test value; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^backend/internal/domain/password_test\\.go$"]
|
||||
regexes = [
|
||||
"^testPasswordHash, \"c2FsdHNhbHRzYWx0\"$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: synthetic redaction test value; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^backend/internal/domain/redaction_test\\.go$"]
|
||||
regexes = [
|
||||
"^testPasswordHash, \"c2FsdHNhbHRzYWx0\"$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: synthetic generated-client compatibility fixture; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["generic-api-key"]
|
||||
paths = ["^backend/testdata/ogen_compat_test\\.go$"]
|
||||
regexes = [
|
||||
"^Idempotency-Key\": \"5f0c6a8e-3b0e-4c47-9f4c-2a8f9e5d7c11\"$",
|
||||
]
|
||||
|
||||
[[allowlists]]
|
||||
description = "Reason: synthetic AWS credential-format release-manifest fixture; owner: project maintainers; expires: 2026-11-07."
|
||||
condition = "AND"
|
||||
regexTarget = "match"
|
||||
targetRules = ["aws-access-token"]
|
||||
paths = ["^deploy/scripts/test_release_manifest\\.py$"]
|
||||
regexes = [
|
||||
"^AKIAABCDEFGHIJKLMNOP$",
|
||||
]
|
||||
Reference in new issue
Block a user