@vorionsys/platform-core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -0
- package/README.md +88 -0
- package/dist/a2a/attestation.d.ts +145 -0
- package/dist/a2a/attestation.d.ts.map +1 -0
- package/dist/a2a/attestation.js +353 -0
- package/dist/a2a/attestation.js.map +1 -0
- package/dist/a2a/chain-of-trust.d.ts +143 -0
- package/dist/a2a/chain-of-trust.d.ts.map +1 -0
- package/dist/a2a/chain-of-trust.js +422 -0
- package/dist/a2a/chain-of-trust.js.map +1 -0
- package/dist/a2a/index.d.ts +15 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +23 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/a2a/openapi.d.ts +22 -0
- package/dist/a2a/openapi.d.ts.map +1 -0
- package/dist/a2a/openapi.js +1133 -0
- package/dist/a2a/openapi.js.map +1 -0
- package/dist/a2a/router.d.ts +167 -0
- package/dist/a2a/router.d.ts.map +1 -0
- package/dist/a2a/router.js +454 -0
- package/dist/a2a/router.js.map +1 -0
- package/dist/a2a/routes.d.ts +11 -0
- package/dist/a2a/routes.d.ts.map +1 -0
- package/dist/a2a/routes.js +442 -0
- package/dist/a2a/routes.js.map +1 -0
- package/dist/a2a/trust-negotiation.d.ts +119 -0
- package/dist/a2a/trust-negotiation.d.ts.map +1 -0
- package/dist/a2a/trust-negotiation.js +425 -0
- package/dist/a2a/trust-negotiation.js.map +1 -0
- package/dist/a2a/types.d.ts +413 -0
- package/dist/a2a/types.d.ts.map +1 -0
- package/dist/a2a/types.js +38 -0
- package/dist/a2a/types.js.map +1 -0
- package/dist/agent-registry/a3i-cache.d.ts +113 -0
- package/dist/agent-registry/a3i-cache.d.ts.map +1 -0
- package/dist/agent-registry/a3i-cache.js +305 -0
- package/dist/agent-registry/a3i-cache.js.map +1 -0
- package/dist/agent-registry/index.d.ts +14 -0
- package/dist/agent-registry/index.d.ts.map +1 -0
- package/dist/agent-registry/index.js +17 -0
- package/dist/agent-registry/index.js.map +1 -0
- package/dist/agent-registry/openapi.d.ts +23 -0
- package/dist/agent-registry/openapi.d.ts.map +1 -0
- package/dist/agent-registry/openapi.js +1377 -0
- package/dist/agent-registry/openapi.js.map +1 -0
- package/dist/agent-registry/routes.d.ts +10 -0
- package/dist/agent-registry/routes.d.ts.map +1 -0
- package/dist/agent-registry/routes.js +485 -0
- package/dist/agent-registry/routes.js.map +1 -0
- package/dist/agent-registry/service.d.ts +159 -0
- package/dist/agent-registry/service.d.ts.map +1 -0
- package/dist/agent-registry/service.js +652 -0
- package/dist/agent-registry/service.js.map +1 -0
- package/dist/agent-registry/tenant-service.d.ts +104 -0
- package/dist/agent-registry/tenant-service.d.ts.map +1 -0
- package/dist/agent-registry/tenant-service.js +313 -0
- package/dist/agent-registry/tenant-service.js.map +1 -0
- package/dist/api/auth.d.ts +55 -0
- package/dist/api/auth.d.ts.map +1 -0
- package/dist/api/auth.js +322 -0
- package/dist/api/auth.js.map +1 -0
- package/dist/api/errors.d.ts +146 -0
- package/dist/api/errors.d.ts.map +1 -0
- package/dist/api/errors.js +464 -0
- package/dist/api/errors.js.map +1 -0
- package/dist/api/index.d.ts +15 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +19 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/middleware/api-key-enforcement.d.ts +131 -0
- package/dist/api/middleware/api-key-enforcement.d.ts.map +1 -0
- package/dist/api/middleware/api-key-enforcement.js +674 -0
- package/dist/api/middleware/api-key-enforcement.js.map +1 -0
- package/dist/api/middleware/audit.d.ts +151 -0
- package/dist/api/middleware/audit.d.ts.map +1 -0
- package/dist/api/middleware/audit.js +384 -0
- package/dist/api/middleware/audit.js.map +1 -0
- package/dist/api/middleware/dpop-enforcement.d.ts +176 -0
- package/dist/api/middleware/dpop-enforcement.d.ts.map +1 -0
- package/dist/api/middleware/dpop-enforcement.js +596 -0
- package/dist/api/middleware/dpop-enforcement.js.map +1 -0
- package/dist/api/middleware/index.d.ts +24 -0
- package/dist/api/middleware/index.d.ts.map +1 -0
- package/dist/api/middleware/index.js +43 -0
- package/dist/api/middleware/index.js.map +1 -0
- package/dist/api/middleware/metrics.d.ts +41 -0
- package/dist/api/middleware/metrics.d.ts.map +1 -0
- package/dist/api/middleware/metrics.js +150 -0
- package/dist/api/middleware/metrics.js.map +1 -0
- package/dist/api/middleware/rate-limits.d.ts +224 -0
- package/dist/api/middleware/rate-limits.d.ts.map +1 -0
- package/dist/api/middleware/rate-limits.js +686 -0
- package/dist/api/middleware/rate-limits.js.map +1 -0
- package/dist/api/middleware/rateLimit.d.ts +165 -0
- package/dist/api/middleware/rateLimit.d.ts.map +1 -0
- package/dist/api/middleware/rateLimit.js +477 -0
- package/dist/api/middleware/rateLimit.js.map +1 -0
- package/dist/api/middleware/redis-rate-limiter.d.ts +279 -0
- package/dist/api/middleware/redis-rate-limiter.d.ts.map +1 -0
- package/dist/api/middleware/redis-rate-limiter.js +1074 -0
- package/dist/api/middleware/redis-rate-limiter.js.map +1 -0
- package/dist/api/middleware/security-headers.d.ts +248 -0
- package/dist/api/middleware/security-headers.d.ts.map +1 -0
- package/dist/api/middleware/security-headers.js +410 -0
- package/dist/api/middleware/security-headers.js.map +1 -0
- package/dist/api/middleware/security.d.ts +156 -0
- package/dist/api/middleware/security.d.ts.map +1 -0
- package/dist/api/middleware/security.js +412 -0
- package/dist/api/middleware/security.js.map +1 -0
- package/dist/api/middleware/validation.d.ts +132 -0
- package/dist/api/middleware/validation.d.ts.map +1 -0
- package/dist/api/middleware/validation.js +363 -0
- package/dist/api/middleware/validation.js.map +1 -0
- package/dist/api/middleware/webhook-verify.d.ts +130 -0
- package/dist/api/middleware/webhook-verify.d.ts.map +1 -0
- package/dist/api/middleware/webhook-verify.js +366 -0
- package/dist/api/middleware/webhook-verify.js.map +1 -0
- package/dist/api/rate-limit.d.ts +115 -0
- package/dist/api/rate-limit.d.ts.map +1 -0
- package/dist/api/rate-limit.js +335 -0
- package/dist/api/rate-limit.js.map +1 -0
- package/dist/api/server.d.ts +37 -0
- package/dist/api/server.d.ts.map +1 -0
- package/dist/api/server.js +2086 -0
- package/dist/api/server.js.map +1 -0
- package/dist/api/validation.d.ts +243 -0
- package/dist/api/validation.d.ts.map +1 -0
- package/dist/api/validation.js +247 -0
- package/dist/api/validation.js.map +1 -0
- package/dist/audit/compliance-reporter.d.ts +271 -0
- package/dist/audit/compliance-reporter.d.ts.map +1 -0
- package/dist/audit/compliance-reporter.js +587 -0
- package/dist/audit/compliance-reporter.js.map +1 -0
- package/dist/audit/db-store.d.ts +689 -0
- package/dist/audit/db-store.d.ts.map +1 -0
- package/dist/audit/db-store.js +589 -0
- package/dist/audit/db-store.js.map +1 -0
- package/dist/audit/event-schema.d.ts +605 -0
- package/dist/audit/event-schema.d.ts.map +1 -0
- package/dist/audit/event-schema.js +566 -0
- package/dist/audit/event-schema.js.map +1 -0
- package/dist/audit/index.d.ts +16 -0
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/index.js +44 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/audit/security-events.d.ts +1624 -0
- package/dist/audit/security-events.d.ts.map +1 -0
- package/dist/audit/security-events.js +775 -0
- package/dist/audit/security-events.js.map +1 -0
- package/dist/audit/security-logger.d.ts +288 -0
- package/dist/audit/security-logger.d.ts.map +1 -0
- package/dist/audit/security-logger.js +820 -0
- package/dist/audit/security-logger.js.map +1 -0
- package/dist/audit/service.d.ts +206 -0
- package/dist/audit/service.d.ts.map +1 -0
- package/dist/audit/service.js +756 -0
- package/dist/audit/service.js.map +1 -0
- package/dist/audit/siem/elastic.d.ts +94 -0
- package/dist/audit/siem/elastic.d.ts.map +1 -0
- package/dist/audit/siem/elastic.js +412 -0
- package/dist/audit/siem/elastic.js.map +1 -0
- package/dist/audit/siem/index.d.ts +179 -0
- package/dist/audit/siem/index.d.ts.map +1 -0
- package/dist/audit/siem/index.js +368 -0
- package/dist/audit/siem/index.js.map +1 -0
- package/dist/audit/siem/loki.d.ts +100 -0
- package/dist/audit/siem/loki.d.ts.map +1 -0
- package/dist/audit/siem/loki.js +406 -0
- package/dist/audit/siem/loki.js.map +1 -0
- package/dist/audit/siem/splunk.d.ts +91 -0
- package/dist/audit/siem/splunk.d.ts.map +1 -0
- package/dist/audit/siem/splunk.js +375 -0
- package/dist/audit/siem/splunk.js.map +1 -0
- package/dist/audit/siem/types.d.ts +547 -0
- package/dist/audit/siem/types.d.ts.map +1 -0
- package/dist/audit/siem/types.js +270 -0
- package/dist/audit/siem/types.js.map +1 -0
- package/dist/audit/types.d.ts +410 -0
- package/dist/audit/types.d.ts.map +1 -0
- package/dist/audit/types.js +130 -0
- package/dist/audit/types.js.map +1 -0
- package/dist/auth/index.d.ts +10 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +10 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/mfa/index.d.ts +9 -0
- package/dist/auth/mfa/index.d.ts.map +1 -0
- package/dist/auth/mfa/index.js +9 -0
- package/dist/auth/mfa/index.js.map +1 -0
- package/dist/auth/mfa/totp.d.ts +222 -0
- package/dist/auth/mfa/totp.d.ts.map +1 -0
- package/dist/auth/mfa/totp.js +329 -0
- package/dist/auth/mfa/totp.js.map +1 -0
- package/dist/auth/piv-cac/card-removal-handler.d.ts +197 -0
- package/dist/auth/piv-cac/card-removal-handler.d.ts.map +1 -0
- package/dist/auth/piv-cac/card-removal-handler.js +560 -0
- package/dist/auth/piv-cac/card-removal-handler.js.map +1 -0
- package/dist/auth/piv-cac/certificate-auth.d.ts +117 -0
- package/dist/auth/piv-cac/certificate-auth.d.ts.map +1 -0
- package/dist/auth/piv-cac/certificate-auth.js +727 -0
- package/dist/auth/piv-cac/certificate-auth.js.map +1 -0
- package/dist/auth/piv-cac/certificate-mapper.d.ts +141 -0
- package/dist/auth/piv-cac/certificate-mapper.d.ts.map +1 -0
- package/dist/auth/piv-cac/certificate-mapper.js +569 -0
- package/dist/auth/piv-cac/certificate-mapper.js.map +1 -0
- package/dist/auth/piv-cac/crl-validator.d.ts +195 -0
- package/dist/auth/piv-cac/crl-validator.d.ts.map +1 -0
- package/dist/auth/piv-cac/crl-validator.js +824 -0
- package/dist/auth/piv-cac/crl-validator.js.map +1 -0
- package/dist/auth/piv-cac/index.d.ts +72 -0
- package/dist/auth/piv-cac/index.d.ts.map +1 -0
- package/dist/auth/piv-cac/index.js +172 -0
- package/dist/auth/piv-cac/index.js.map +1 -0
- package/dist/auth/piv-cac/ocsp-validator.d.ts +183 -0
- package/dist/auth/piv-cac/ocsp-validator.d.ts.map +1 -0
- package/dist/auth/piv-cac/ocsp-validator.js +657 -0
- package/dist/auth/piv-cac/ocsp-validator.js.map +1 -0
- package/dist/auth/piv-cac/piv-middleware.d.ts +95 -0
- package/dist/auth/piv-cac/piv-middleware.d.ts.map +1 -0
- package/dist/auth/piv-cac/piv-middleware.js +524 -0
- package/dist/auth/piv-cac/piv-middleware.js.map +1 -0
- package/dist/auth/piv-cac/piv-routes.d.ts +29 -0
- package/dist/auth/piv-cac/piv-routes.d.ts.map +1 -0
- package/dist/auth/piv-cac/piv-routes.js +534 -0
- package/dist/auth/piv-cac/piv-routes.js.map +1 -0
- package/dist/auth/piv-cac/pkcs11-provider.d.ts +280 -0
- package/dist/auth/piv-cac/pkcs11-provider.d.ts.map +1 -0
- package/dist/auth/piv-cac/pkcs11-provider.js +535 -0
- package/dist/auth/piv-cac/pkcs11-provider.js.map +1 -0
- package/dist/auth/piv-cac/types.d.ts +4098 -0
- package/dist/auth/piv-cac/types.d.ts.map +1 -0
- package/dist/auth/piv-cac/types.js +495 -0
- package/dist/auth/piv-cac/types.js.map +1 -0
- package/dist/basis/evaluator.d.ts +72 -0
- package/dist/basis/evaluator.d.ts.map +1 -0
- package/dist/basis/evaluator.js +275 -0
- package/dist/basis/evaluator.js.map +1 -0
- package/dist/basis/expression-evaluator.d.ts +77 -0
- package/dist/basis/expression-evaluator.d.ts.map +1 -0
- package/dist/basis/expression-evaluator.js +826 -0
- package/dist/basis/expression-evaluator.js.map +1 -0
- package/dist/basis/index.d.ts +13 -0
- package/dist/basis/index.d.ts.map +1 -0
- package/dist/basis/index.js +13 -0
- package/dist/basis/index.js.map +1 -0
- package/dist/basis/parser.d.ts +376 -0
- package/dist/basis/parser.d.ts.map +1 -0
- package/dist/basis/parser.js +178 -0
- package/dist/basis/parser.js.map +1 -0
- package/dist/basis/types.d.ts +115 -0
- package/dist/basis/types.d.ts.map +1 -0
- package/dist/basis/types.js +5 -0
- package/dist/basis/types.js.map +1 -0
- package/dist/car-extensions/aci-string-extensions.d.ts +10 -0
- package/dist/car-extensions/aci-string-extensions.d.ts.map +1 -0
- package/dist/car-extensions/aci-string-extensions.js +24 -0
- package/dist/car-extensions/aci-string-extensions.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/audit.d.ts +88 -0
- package/dist/car-extensions/builtin-extensions/audit.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/audit.js +445 -0
- package/dist/car-extensions/builtin-extensions/audit.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/governance.d.ts +32 -0
- package/dist/car-extensions/builtin-extensions/governance.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/governance.js +534 -0
- package/dist/car-extensions/builtin-extensions/governance.js.map +1 -0
- package/dist/car-extensions/builtin-extensions/monitoring.d.ts +43 -0
- package/dist/car-extensions/builtin-extensions/monitoring.d.ts.map +1 -0
- package/dist/car-extensions/builtin-extensions/monitoring.js +416 -0
- package/dist/car-extensions/builtin-extensions/monitoring.js.map +1 -0
- package/dist/car-extensions/car-string-extensions.d.ts +355 -0
- package/dist/car-extensions/car-string-extensions.d.ts.map +1 -0
- package/dist/car-extensions/car-string-extensions.js +473 -0
- package/dist/car-extensions/car-string-extensions.js.map +1 -0
- package/dist/car-extensions/executor.d.ts +208 -0
- package/dist/car-extensions/executor.d.ts.map +1 -0
- package/dist/car-extensions/executor.js +789 -0
- package/dist/car-extensions/executor.js.map +1 -0
- package/dist/car-extensions/index.d.ts +94 -0
- package/dist/car-extensions/index.d.ts.map +1 -0
- package/dist/car-extensions/index.js +159 -0
- package/dist/car-extensions/index.js.map +1 -0
- package/dist/car-extensions/registry.d.ts +217 -0
- package/dist/car-extensions/registry.d.ts.map +1 -0
- package/dist/car-extensions/registry.js +450 -0
- package/dist/car-extensions/registry.js.map +1 -0
- package/dist/car-extensions/service.d.ts +220 -0
- package/dist/car-extensions/service.d.ts.map +1 -0
- package/dist/car-extensions/service.js +486 -0
- package/dist/car-extensions/service.js.map +1 -0
- package/dist/car-extensions/types.d.ts +2269 -0
- package/dist/car-extensions/types.d.ts.map +1 -0
- package/dist/car-extensions/types.js +389 -0
- package/dist/car-extensions/types.js.map +1 -0
- package/dist/cognigate/index.d.ts +192 -0
- package/dist/cognigate/index.d.ts.map +1 -0
- package/dist/cognigate/index.js +435 -0
- package/dist/cognigate/index.js.map +1 -0
- package/dist/cognigate/sandbox/capability-broker.d.ts +166 -0
- package/dist/cognigate/sandbox/capability-broker.d.ts.map +1 -0
- package/dist/cognigate/sandbox/capability-broker.js +461 -0
- package/dist/cognigate/sandbox/capability-broker.js.map +1 -0
- package/dist/cognigate/sandbox/filesystem-policy.d.ts +139 -0
- package/dist/cognigate/sandbox/filesystem-policy.d.ts.map +1 -0
- package/dist/cognigate/sandbox/filesystem-policy.js +426 -0
- package/dist/cognigate/sandbox/filesystem-policy.js.map +1 -0
- package/dist/cognigate/sandbox/index.d.ts +17 -0
- package/dist/cognigate/sandbox/index.d.ts.map +1 -0
- package/dist/cognigate/sandbox/index.js +24 -0
- package/dist/cognigate/sandbox/index.js.map +1 -0
- package/dist/cognigate/sandbox/network-policy.d.ts +126 -0
- package/dist/cognigate/sandbox/network-policy.d.ts.map +1 -0
- package/dist/cognigate/sandbox/network-policy.js +382 -0
- package/dist/cognigate/sandbox/network-policy.js.map +1 -0
- package/dist/cognigate/sandbox/sandbox-service.d.ts +70 -0
- package/dist/cognigate/sandbox/sandbox-service.d.ts.map +1 -0
- package/dist/cognigate/sandbox/sandbox-service.js +472 -0
- package/dist/cognigate/sandbox/sandbox-service.js.map +1 -0
- package/dist/cognigate/sandbox/types.d.ts +376 -0
- package/dist/cognigate/sandbox/types.d.ts.map +1 -0
- package/dist/cognigate/sandbox/types.js +179 -0
- package/dist/cognigate/sandbox/types.js.map +1 -0
- package/dist/common/adapters/index.d.ts +34 -0
- package/dist/common/adapters/index.d.ts.map +1 -0
- package/dist/common/adapters/index.js +46 -0
- package/dist/common/adapters/index.js.map +1 -0
- package/dist/common/adapters/memory-cache.d.ts +91 -0
- package/dist/common/adapters/memory-cache.d.ts.map +1 -0
- package/dist/common/adapters/memory-cache.js +201 -0
- package/dist/common/adapters/memory-cache.js.map +1 -0
- package/dist/common/adapters/memory-lock.d.ts +75 -0
- package/dist/common/adapters/memory-lock.d.ts.map +1 -0
- package/dist/common/adapters/memory-lock.js +219 -0
- package/dist/common/adapters/memory-lock.js.map +1 -0
- package/dist/common/adapters/memory-queue.d.ts +64 -0
- package/dist/common/adapters/memory-queue.d.ts.map +1 -0
- package/dist/common/adapters/memory-queue.js +233 -0
- package/dist/common/adapters/memory-queue.js.map +1 -0
- package/dist/common/adapters/memory-ratelimit.d.ts +78 -0
- package/dist/common/adapters/memory-ratelimit.d.ts.map +1 -0
- package/dist/common/adapters/memory-ratelimit.js +196 -0
- package/dist/common/adapters/memory-ratelimit.js.map +1 -0
- package/dist/common/adapters/memory-session.d.ts +105 -0
- package/dist/common/adapters/memory-session.d.ts.map +1 -0
- package/dist/common/adapters/memory-session.js +302 -0
- package/dist/common/adapters/memory-session.js.map +1 -0
- package/dist/common/adapters/provider.d.ts +47 -0
- package/dist/common/adapters/provider.d.ts.map +1 -0
- package/dist/common/adapters/provider.js +347 -0
- package/dist/common/adapters/provider.js.map +1 -0
- package/dist/common/adapters/types.d.ts +247 -0
- package/dist/common/adapters/types.d.ts.map +1 -0
- package/dist/common/adapters/types.js +11 -0
- package/dist/common/adapters/types.js.map +1 -0
- package/dist/common/alerts.d.ts +57 -0
- package/dist/common/alerts.d.ts.map +1 -0
- package/dist/common/alerts.js +216 -0
- package/dist/common/alerts.js.map +1 -0
- package/dist/common/authorization.d.ts +137 -0
- package/dist/common/authorization.d.ts.map +1 -0
- package/dist/common/authorization.js +270 -0
- package/dist/common/authorization.js.map +1 -0
- package/dist/common/canonical-bridge.d.ts +153 -0
- package/dist/common/canonical-bridge.d.ts.map +1 -0
- package/dist/common/canonical-bridge.js +236 -0
- package/dist/common/canonical-bridge.js.map +1 -0
- package/dist/common/canonical-json.d.ts +64 -0
- package/dist/common/canonical-json.d.ts.map +1 -0
- package/dist/common/canonical-json.js +95 -0
- package/dist/common/canonical-json.js.map +1 -0
- package/dist/common/circuit-breaker.d.ts +320 -0
- package/dist/common/circuit-breaker.d.ts.map +1 -0
- package/dist/common/circuit-breaker.js +887 -0
- package/dist/common/circuit-breaker.js.map +1 -0
- package/dist/common/config.d.ts +2053 -0
- package/dist/common/config.d.ts.map +1 -0
- package/dist/common/config.js +1314 -0
- package/dist/common/config.js.map +1 -0
- package/dist/common/contracts/index.d.ts +2 -0
- package/dist/common/contracts/index.d.ts.map +1 -0
- package/dist/common/contracts/index.js +2 -0
- package/dist/common/contracts/index.js.map +1 -0
- package/dist/common/contracts/output.d.ts +81 -0
- package/dist/common/contracts/output.d.ts.map +1 -0
- package/dist/common/contracts/output.js +38 -0
- package/dist/common/contracts/output.js.map +1 -0
- package/dist/common/crypto-utils.d.ts +103 -0
- package/dist/common/crypto-utils.d.ts.map +1 -0
- package/dist/common/crypto-utils.js +275 -0
- package/dist/common/crypto-utils.js.map +1 -0
- package/dist/common/crypto.d.ts +70 -0
- package/dist/common/crypto.d.ts.map +1 -0
- package/dist/common/crypto.js +201 -0
- package/dist/common/crypto.js.map +1 -0
- package/dist/common/database-resilience.d.ts +156 -0
- package/dist/common/database-resilience.d.ts.map +1 -0
- package/dist/common/database-resilience.js +269 -0
- package/dist/common/database-resilience.js.map +1 -0
- package/dist/common/db-metrics.d.ts +90 -0
- package/dist/common/db-metrics.d.ts.map +1 -0
- package/dist/common/db-metrics.js +219 -0
- package/dist/common/db-metrics.js.map +1 -0
- package/dist/common/db-pool.d.ts +307 -0
- package/dist/common/db-pool.d.ts.map +1 -0
- package/dist/common/db-pool.js +879 -0
- package/dist/common/db-pool.js.map +1 -0
- package/dist/common/db.d.ts +105 -0
- package/dist/common/db.d.ts.map +1 -0
- package/dist/common/db.js +216 -0
- package/dist/common/db.js.map +1 -0
- package/dist/common/debug-auth-middleware.d.ts +111 -0
- package/dist/common/debug-auth-middleware.d.ts.map +1 -0
- package/dist/common/debug-auth-middleware.js +285 -0
- package/dist/common/debug-auth-middleware.js.map +1 -0
- package/dist/common/di.d.ts +202 -0
- package/dist/common/di.d.ts.map +1 -0
- package/dist/common/di.js +219 -0
- package/dist/common/di.js.map +1 -0
- package/dist/common/encryption.d.ts +233 -0
- package/dist/common/encryption.d.ts.map +1 -0
- package/dist/common/encryption.js +527 -0
- package/dist/common/encryption.js.map +1 -0
- package/dist/common/error-sanitizer.d.ts +67 -0
- package/dist/common/error-sanitizer.d.ts.map +1 -0
- package/dist/common/error-sanitizer.js +298 -0
- package/dist/common/error-sanitizer.js.map +1 -0
- package/dist/common/errors.d.ts +229 -0
- package/dist/common/errors.d.ts.map +1 -0
- package/dist/common/errors.js +349 -0
- package/dist/common/errors.js.map +1 -0
- package/dist/common/expression/evaluator.d.ts +58 -0
- package/dist/common/expression/evaluator.d.ts.map +1 -0
- package/dist/common/expression/evaluator.js +326 -0
- package/dist/common/expression/evaluator.js.map +1 -0
- package/dist/common/expression/index.d.ts +180 -0
- package/dist/common/expression/index.d.ts.map +1 -0
- package/dist/common/expression/index.js +198 -0
- package/dist/common/expression/index.js.map +1 -0
- package/dist/common/expression/lexer.d.ts +69 -0
- package/dist/common/expression/lexer.d.ts.map +1 -0
- package/dist/common/expression/lexer.js +255 -0
- package/dist/common/expression/lexer.js.map +1 -0
- package/dist/common/expression/parser.d.ts +133 -0
- package/dist/common/expression/parser.d.ts.map +1 -0
- package/dist/common/expression/parser.js +293 -0
- package/dist/common/expression/parser.js.map +1 -0
- package/dist/common/group-membership.d.ts +119 -0
- package/dist/common/group-membership.d.ts.map +1 -0
- package/dist/common/group-membership.js +250 -0
- package/dist/common/group-membership.js.map +1 -0
- package/dist/common/index.d.ts +14 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +15 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/leader-election.d.ts +40 -0
- package/dist/common/leader-election.d.ts.map +1 -0
- package/dist/common/leader-election.js +232 -0
- package/dist/common/leader-election.js.map +1 -0
- package/dist/common/lock.d.ts +77 -0
- package/dist/common/lock.d.ts.map +1 -0
- package/dist/common/lock.js +167 -0
- package/dist/common/lock.js.map +1 -0
- package/dist/common/logger.d.ts +19 -0
- package/dist/common/logger.d.ts.map +1 -0
- package/dist/common/logger.js +80 -0
- package/dist/common/logger.js.map +1 -0
- package/dist/common/metrics-registry.d.ts +48 -0
- package/dist/common/metrics-registry.d.ts.map +1 -0
- package/dist/common/metrics-registry.js +77 -0
- package/dist/common/metrics-registry.js.map +1 -0
- package/dist/common/metrics.d.ts +204 -0
- package/dist/common/metrics.d.ts.map +1 -0
- package/dist/common/metrics.js +497 -0
- package/dist/common/metrics.js.map +1 -0
- package/dist/common/operation-tracker.d.ts +137 -0
- package/dist/common/operation-tracker.d.ts.map +1 -0
- package/dist/common/operation-tracker.js +366 -0
- package/dist/common/operation-tracker.js.map +1 -0
- package/dist/common/provenance/chain.d.ts +54 -0
- package/dist/common/provenance/chain.d.ts.map +1 -0
- package/dist/common/provenance/chain.js +252 -0
- package/dist/common/provenance/chain.js.map +1 -0
- package/dist/common/provenance/index.d.ts +14 -0
- package/dist/common/provenance/index.d.ts.map +1 -0
- package/dist/common/provenance/index.js +19 -0
- package/dist/common/provenance/index.js.map +1 -0
- package/dist/common/provenance/query.d.ts +111 -0
- package/dist/common/provenance/query.d.ts.map +1 -0
- package/dist/common/provenance/query.js +310 -0
- package/dist/common/provenance/query.js.map +1 -0
- package/dist/common/provenance/storage.d.ts +297 -0
- package/dist/common/provenance/storage.d.ts.map +1 -0
- package/dist/common/provenance/storage.js +436 -0
- package/dist/common/provenance/storage.js.map +1 -0
- package/dist/common/provenance/tracker.d.ts +57 -0
- package/dist/common/provenance/tracker.d.ts.map +1 -0
- package/dist/common/provenance/tracker.js +209 -0
- package/dist/common/provenance/tracker.js.map +1 -0
- package/dist/common/provenance/types.d.ts +146 -0
- package/dist/common/provenance/types.d.ts.map +1 -0
- package/dist/common/provenance/types.js +10 -0
- package/dist/common/provenance/types.js.map +1 -0
- package/dist/common/random.d.ts +84 -0
- package/dist/common/random.d.ts.map +1 -0
- package/dist/common/random.js +130 -0
- package/dist/common/random.js.map +1 -0
- package/dist/common/redaction.d.ts +49 -0
- package/dist/common/redaction.d.ts.map +1 -0
- package/dist/common/redaction.js +217 -0
- package/dist/common/redaction.js.map +1 -0
- package/dist/common/redis-cluster.d.ts +538 -0
- package/dist/common/redis-cluster.d.ts.map +1 -0
- package/dist/common/redis-cluster.js +1539 -0
- package/dist/common/redis-cluster.js.map +1 -0
- package/dist/common/redis-resilience.d.ts +270 -0
- package/dist/common/redis-resilience.d.ts.map +1 -0
- package/dist/common/redis-resilience.js +586 -0
- package/dist/common/redis-resilience.js.map +1 -0
- package/dist/common/redis.d.ts +19 -0
- package/dist/common/redis.d.ts.map +1 -0
- package/dist/common/redis.js +73 -0
- package/dist/common/redis.js.map +1 -0
- package/dist/common/safe-json.d.ts +246 -0
- package/dist/common/safe-json.d.ts.map +1 -0
- package/dist/common/safe-json.js +442 -0
- package/dist/common/safe-json.js.map +1 -0
- package/dist/common/secret-generator.d.ts +142 -0
- package/dist/common/secret-generator.d.ts.map +1 -0
- package/dist/common/secret-generator.js +286 -0
- package/dist/common/secret-generator.js.map +1 -0
- package/dist/common/secure-fetch.d.ts +182 -0
- package/dist/common/secure-fetch.d.ts.map +1 -0
- package/dist/common/secure-fetch.js +657 -0
- package/dist/common/secure-fetch.js.map +1 -0
- package/dist/common/security-mode.d.ts +151 -0
- package/dist/common/security-mode.d.ts.map +1 -0
- package/dist/common/security-mode.js +482 -0
- package/dist/common/security-mode.js.map +1 -0
- package/dist/common/telemetry/index.d.ts +82 -0
- package/dist/common/telemetry/index.d.ts.map +1 -0
- package/dist/common/telemetry/index.js +198 -0
- package/dist/common/telemetry/index.js.map +1 -0
- package/dist/common/telemetry/instrumentation.d.ts +167 -0
- package/dist/common/telemetry/instrumentation.d.ts.map +1 -0
- package/dist/common/telemetry/instrumentation.js +492 -0
- package/dist/common/telemetry/instrumentation.js.map +1 -0
- package/dist/common/telemetry/metrics-bridge.d.ts +227 -0
- package/dist/common/telemetry/metrics-bridge.d.ts.map +1 -0
- package/dist/common/telemetry/metrics-bridge.js +437 -0
- package/dist/common/telemetry/metrics-bridge.js.map +1 -0
- package/dist/common/telemetry/middleware.d.ts +114 -0
- package/dist/common/telemetry/middleware.d.ts.map +1 -0
- package/dist/common/telemetry/middleware.js +353 -0
- package/dist/common/telemetry/middleware.js.map +1 -0
- package/dist/common/telemetry/propagation.d.ts +221 -0
- package/dist/common/telemetry/propagation.d.ts.map +1 -0
- package/dist/common/telemetry/propagation.js +409 -0
- package/dist/common/telemetry/propagation.js.map +1 -0
- package/dist/common/telemetry/spans.d.ts +295 -0
- package/dist/common/telemetry/spans.d.ts.map +1 -0
- package/dist/common/telemetry/spans.js +439 -0
- package/dist/common/telemetry/spans.js.map +1 -0
- package/dist/common/telemetry/tracer.d.ts +155 -0
- package/dist/common/telemetry/tracer.d.ts.map +1 -0
- package/dist/common/telemetry/tracer.js +343 -0
- package/dist/common/telemetry/tracer.js.map +1 -0
- package/dist/common/telemetry.d.ts +15 -0
- package/dist/common/telemetry.d.ts.map +1 -0
- package/dist/common/telemetry.js +61 -0
- package/dist/common/telemetry.js.map +1 -0
- package/dist/common/tenant-context.d.ts +253 -0
- package/dist/common/tenant-context.d.ts.map +1 -0
- package/dist/common/tenant-context.js +259 -0
- package/dist/common/tenant-context.js.map +1 -0
- package/dist/common/tenant-verification.d.ts +86 -0
- package/dist/common/tenant-verification.d.ts.map +1 -0
- package/dist/common/tenant-verification.js +184 -0
- package/dist/common/tenant-verification.js.map +1 -0
- package/dist/common/timeout.d.ts +40 -0
- package/dist/common/timeout.d.ts.map +1 -0
- package/dist/common/timeout.js +82 -0
- package/dist/common/timeout.js.map +1 -0
- package/dist/common/token-revocation.d.ts +44 -0
- package/dist/common/token-revocation.d.ts.map +1 -0
- package/dist/common/token-revocation.js +169 -0
- package/dist/common/token-revocation.js.map +1 -0
- package/dist/common/trace.d.ts +149 -0
- package/dist/common/trace.d.ts.map +1 -0
- package/dist/common/trace.js +328 -0
- package/dist/common/trace.js.map +1 -0
- package/dist/common/trust-cache.d.ts +263 -0
- package/dist/common/trust-cache.d.ts.map +1 -0
- package/dist/common/trust-cache.js +670 -0
- package/dist/common/trust-cache.js.map +1 -0
- package/dist/common/types.d.ts +351 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/common/types.js +55 -0
- package/dist/common/types.js.map +1 -0
- package/dist/common/validation.d.ts +113 -0
- package/dist/common/validation.d.ts.map +1 -0
- package/dist/common/validation.js +221 -0
- package/dist/common/validation.js.map +1 -0
- package/dist/db/client.d.ts +72 -0
- package/dist/db/client.d.ts.map +1 -0
- package/dist/db/client.js +110 -0
- package/dist/db/client.js.map +1 -0
- package/dist/db/index.d.ts +9 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +9 -0
- package/dist/db/index.js.map +1 -0
- package/dist/db/schema/merkle.d.ts +475 -0
- package/dist/db/schema/merkle.d.ts.map +1 -0
- package/dist/db/schema/merkle.js +100 -0
- package/dist/db/schema/merkle.js.map +1 -0
- package/dist/db/schema/proofs.d.ts +412 -0
- package/dist/db/schema/proofs.d.ts.map +1 -0
- package/dist/db/schema/proofs.js +63 -0
- package/dist/db/schema/proofs.js.map +1 -0
- package/dist/enforce/adapters.d.ts +73 -0
- package/dist/enforce/adapters.d.ts.map +1 -0
- package/dist/enforce/adapters.js +293 -0
- package/dist/enforce/adapters.js.map +1 -0
- package/dist/enforce/index.d.ts +213 -0
- package/dist/enforce/index.d.ts.map +1 -0
- package/dist/enforce/index.js +630 -0
- package/dist/enforce/index.js.map +1 -0
- package/dist/enforce/repository.d.ts +203 -0
- package/dist/enforce/repository.d.ts.map +1 -0
- package/dist/enforce/repository.js +359 -0
- package/dist/enforce/repository.js.map +1 -0
- package/dist/enforce/schema.d.ts +1198 -0
- package/dist/enforce/schema.d.ts.map +1 -0
- package/dist/enforce/schema.js +257 -0
- package/dist/enforce/schema.js.map +1 -0
- package/dist/friction/index.d.ts +235 -0
- package/dist/friction/index.d.ts.map +1 -0
- package/dist/friction/index.js +636 -0
- package/dist/friction/index.js.map +1 -0
- package/dist/friction/openapi.d.ts +23 -0
- package/dist/friction/openapi.d.ts.map +1 -0
- package/dist/friction/openapi.js +883 -0
- package/dist/friction/openapi.js.map +1 -0
- package/dist/friction/routes.d.ts +14 -0
- package/dist/friction/routes.d.ts.map +1 -0
- package/dist/friction/routes.js +206 -0
- package/dist/friction/routes.js.map +1 -0
- package/dist/governance/engine.d.ts +158 -0
- package/dist/governance/engine.d.ts.map +1 -0
- package/dist/governance/engine.js +248 -0
- package/dist/governance/engine.js.map +1 -0
- package/dist/governance/evaluator.d.ts +106 -0
- package/dist/governance/evaluator.d.ts.map +1 -0
- package/dist/governance/evaluator.js +277 -0
- package/dist/governance/evaluator.js.map +1 -0
- package/dist/governance/index.d.ts +11 -0
- package/dist/governance/index.d.ts.map +1 -0
- package/dist/governance/index.js +14 -0
- package/dist/governance/index.js.map +1 -0
- package/dist/governance/policy.d.ts +152 -0
- package/dist/governance/policy.d.ts.map +1 -0
- package/dist/governance/policy.js +152 -0
- package/dist/governance/policy.js.map +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/dist/intent/adapters.d.ts +101 -0
- package/dist/intent/adapters.d.ts.map +1 -0
- package/dist/intent/adapters.js +250 -0
- package/dist/intent/adapters.js.map +1 -0
- package/dist/intent/audit.d.ts +119 -0
- package/dist/intent/audit.d.ts.map +1 -0
- package/dist/intent/audit.js +463 -0
- package/dist/intent/audit.js.map +1 -0
- package/dist/intent/classifier/index.d.ts +121 -0
- package/dist/intent/classifier/index.d.ts.map +1 -0
- package/dist/intent/classifier/index.js +232 -0
- package/dist/intent/classifier/index.js.map +1 -0
- package/dist/intent/classifier/patterns.d.ts +129 -0
- package/dist/intent/classifier/patterns.d.ts.map +1 -0
- package/dist/intent/classifier/patterns.js +471 -0
- package/dist/intent/classifier/patterns.js.map +1 -0
- package/dist/intent/classifier/risk.d.ts +177 -0
- package/dist/intent/classifier/risk.d.ts.map +1 -0
- package/dist/intent/classifier/risk.js +335 -0
- package/dist/intent/classifier/risk.js.map +1 -0
- package/dist/intent/cleanup.d.ts +24 -0
- package/dist/intent/cleanup.d.ts.map +1 -0
- package/dist/intent/cleanup.js +104 -0
- package/dist/intent/cleanup.js.map +1 -0
- package/dist/intent/consent.d.ts +238 -0
- package/dist/intent/consent.d.ts.map +1 -0
- package/dist/intent/consent.js +427 -0
- package/dist/intent/consent.js.map +1 -0
- package/dist/intent/escalation.d.ts +284 -0
- package/dist/intent/escalation.d.ts.map +1 -0
- package/dist/intent/escalation.js +618 -0
- package/dist/intent/escalation.js.map +1 -0
- package/dist/intent/gdpr-rate-limiter.d.ts +170 -0
- package/dist/intent/gdpr-rate-limiter.d.ts.map +1 -0
- package/dist/intent/gdpr-rate-limiter.js +385 -0
- package/dist/intent/gdpr-rate-limiter.js.map +1 -0
- package/dist/intent/gdpr.d.ts +323 -0
- package/dist/intent/gdpr.d.ts.map +1 -0
- package/dist/intent/gdpr.js +1013 -0
- package/dist/intent/gdpr.js.map +1 -0
- package/dist/intent/health.d.ts +214 -0
- package/dist/intent/health.d.ts.map +1 -0
- package/dist/intent/health.js +526 -0
- package/dist/intent/health.js.map +1 -0
- package/dist/intent/index.d.ts +565 -0
- package/dist/intent/index.d.ts.map +1 -0
- package/dist/intent/index.js +756 -0
- package/dist/intent/index.js.map +1 -0
- package/dist/intent/metrics.d.ts +399 -0
- package/dist/intent/metrics.d.ts.map +1 -0
- package/dist/intent/metrics.js +886 -0
- package/dist/intent/metrics.js.map +1 -0
- package/dist/intent/openapi.d.ts +22 -0
- package/dist/intent/openapi.d.ts.map +1 -0
- package/dist/intent/openapi.js +1674 -0
- package/dist/intent/openapi.js.map +1 -0
- package/dist/intent/planner/dependency.d.ts +78 -0
- package/dist/intent/planner/dependency.d.ts.map +1 -0
- package/dist/intent/planner/dependency.js +334 -0
- package/dist/intent/planner/dependency.js.map +1 -0
- package/dist/intent/planner/index.d.ts +130 -0
- package/dist/intent/planner/index.d.ts.map +1 -0
- package/dist/intent/planner/index.js +372 -0
- package/dist/intent/planner/index.js.map +1 -0
- package/dist/intent/planner/rollback.d.ts +92 -0
- package/dist/intent/planner/rollback.d.ts.map +1 -0
- package/dist/intent/planner/rollback.js +326 -0
- package/dist/intent/planner/rollback.js.map +1 -0
- package/dist/intent/planner/templates.d.ts +81 -0
- package/dist/intent/planner/templates.d.ts.map +1 -0
- package/dist/intent/planner/templates.js +560 -0
- package/dist/intent/planner/templates.js.map +1 -0
- package/dist/intent/planner/types.d.ts +38 -0
- package/dist/intent/planner/types.d.ts.map +1 -0
- package/dist/intent/planner/types.js +10 -0
- package/dist/intent/planner/types.js.map +1 -0
- package/dist/intent/queue.d.ts +150 -0
- package/dist/intent/queue.d.ts.map +1 -0
- package/dist/intent/queue.js +339 -0
- package/dist/intent/queue.js.map +1 -0
- package/dist/intent/queues.d.ts +176 -0
- package/dist/intent/queues.d.ts.map +1 -0
- package/dist/intent/queues.js +1393 -0
- package/dist/intent/queues.js.map +1 -0
- package/dist/intent/ratelimit.d.ts +147 -0
- package/dist/intent/ratelimit.d.ts.map +1 -0
- package/dist/intent/ratelimit.js +301 -0
- package/dist/intent/ratelimit.js.map +1 -0
- package/dist/intent/replay/comparator.d.ts +73 -0
- package/dist/intent/replay/comparator.d.ts.map +1 -0
- package/dist/intent/replay/comparator.js +320 -0
- package/dist/intent/replay/comparator.js.map +1 -0
- package/dist/intent/replay/index.d.ts +104 -0
- package/dist/intent/replay/index.d.ts.map +1 -0
- package/dist/intent/replay/index.js +487 -0
- package/dist/intent/replay/index.js.map +1 -0
- package/dist/intent/replay/simulator.d.ts +184 -0
- package/dist/intent/replay/simulator.d.ts.map +1 -0
- package/dist/intent/replay/simulator.js +512 -0
- package/dist/intent/replay/simulator.js.map +1 -0
- package/dist/intent/replay/snapshot.d.ts +149 -0
- package/dist/intent/replay/snapshot.d.ts.map +1 -0
- package/dist/intent/replay/snapshot.js +245 -0
- package/dist/intent/replay/snapshot.js.map +1 -0
- package/dist/intent/replay/types.d.ts +143 -0
- package/dist/intent/replay/types.d.ts.map +1 -0
- package/dist/intent/replay/types.js +10 -0
- package/dist/intent/replay/types.js.map +1 -0
- package/dist/intent/repository.d.ts +198 -0
- package/dist/intent/repository.d.ts.map +1 -0
- package/dist/intent/repository.js +538 -0
- package/dist/intent/repository.js.map +1 -0
- package/dist/intent/response-middleware.d.ts +156 -0
- package/dist/intent/response-middleware.d.ts.map +1 -0
- package/dist/intent/response-middleware.js +346 -0
- package/dist/intent/response-middleware.js.map +1 -0
- package/dist/intent/response.d.ts +267 -0
- package/dist/intent/response.d.ts.map +1 -0
- package/dist/intent/response.js +402 -0
- package/dist/intent/response.js.map +1 -0
- package/dist/intent/routes.d.ts +35 -0
- package/dist/intent/routes.d.ts.map +1 -0
- package/dist/intent/routes.js +1023 -0
- package/dist/intent/routes.js.map +1 -0
- package/dist/intent/scheduler.d.ts +45 -0
- package/dist/intent/scheduler.d.ts.map +1 -0
- package/dist/intent/scheduler.js +221 -0
- package/dist/intent/scheduler.js.map +1 -0
- package/dist/intent/schema.d.ts +3817 -0
- package/dist/intent/schema.d.ts.map +1 -0
- package/dist/intent/schema.js +631 -0
- package/dist/intent/schema.js.map +1 -0
- package/dist/intent/shutdown.d.ts +145 -0
- package/dist/intent/shutdown.d.ts.map +1 -0
- package/dist/intent/shutdown.js +468 -0
- package/dist/intent/shutdown.js.map +1 -0
- package/dist/intent/state-machine.d.ts +111 -0
- package/dist/intent/state-machine.d.ts.map +1 -0
- package/dist/intent/state-machine.js +242 -0
- package/dist/intent/state-machine.js.map +1 -0
- package/dist/intent/tracing.d.ts +152 -0
- package/dist/intent/tracing.d.ts.map +1 -0
- package/dist/intent/tracing.js +658 -0
- package/dist/intent/tracing.js.map +1 -0
- package/dist/intent/types.d.ts +188 -0
- package/dist/intent/types.d.ts.map +1 -0
- package/dist/intent/types.js +25 -0
- package/dist/intent/types.js.map +1 -0
- package/dist/intent/webhooks/delivery-repository.d.ts +80 -0
- package/dist/intent/webhooks/delivery-repository.d.ts.map +1 -0
- package/dist/intent/webhooks/delivery-repository.js +251 -0
- package/dist/intent/webhooks/delivery-repository.js.map +1 -0
- package/dist/intent/webhooks/dns-pinning.d.ts +30 -0
- package/dist/intent/webhooks/dns-pinning.d.ts.map +1 -0
- package/dist/intent/webhooks/dns-pinning.js +69 -0
- package/dist/intent/webhooks/dns-pinning.js.map +1 -0
- package/dist/intent/webhooks/index.d.ts +14 -0
- package/dist/intent/webhooks/index.d.ts.map +1 -0
- package/dist/intent/webhooks/index.js +17 -0
- package/dist/intent/webhooks/index.js.map +1 -0
- package/dist/intent/webhooks/signature.d.ts +47 -0
- package/dist/intent/webhooks/signature.d.ts.map +1 -0
- package/dist/intent/webhooks/signature.js +80 -0
- package/dist/intent/webhooks/signature.js.map +1 -0
- package/dist/intent/webhooks/ssrf-protection.d.ts +29 -0
- package/dist/intent/webhooks/ssrf-protection.d.ts.map +1 -0
- package/dist/intent/webhooks/ssrf-protection.js +161 -0
- package/dist/intent/webhooks/ssrf-protection.js.map +1 -0
- package/dist/intent/webhooks/types.d.ts +132 -0
- package/dist/intent/webhooks/types.d.ts.map +1 -0
- package/dist/intent/webhooks/types.js +14 -0
- package/dist/intent/webhooks/types.js.map +1 -0
- package/dist/intent/webhooks.d.ts +618 -0
- package/dist/intent/webhooks.d.ts.map +1 -0
- package/dist/intent/webhooks.js +1836 -0
- package/dist/intent/webhooks.js.map +1 -0
- package/dist/intent-gateway/ai-act-classifier.d.ts +18 -0
- package/dist/intent-gateway/ai-act-classifier.d.ts.map +1 -0
- package/dist/intent-gateway/ai-act-classifier.js +296 -0
- package/dist/intent-gateway/ai-act-classifier.js.map +1 -0
- package/dist/intent-gateway/index.d.ts +43 -0
- package/dist/intent-gateway/index.d.ts.map +1 -0
- package/dist/intent-gateway/index.js +236 -0
- package/dist/intent-gateway/index.js.map +1 -0
- package/dist/intent-gateway/jurisdiction-resolver.d.ts +19 -0
- package/dist/intent-gateway/jurisdiction-resolver.d.ts.map +1 -0
- package/dist/intent-gateway/jurisdiction-resolver.js +236 -0
- package/dist/intent-gateway/jurisdiction-resolver.js.map +1 -0
- package/dist/intent-gateway/policy-composer.d.ts +27 -0
- package/dist/intent-gateway/policy-composer.d.ts.map +1 -0
- package/dist/intent-gateway/policy-composer.js +418 -0
- package/dist/intent-gateway/policy-composer.js.map +1 -0
- package/dist/intent-gateway/regime-selector.d.ts +26 -0
- package/dist/intent-gateway/regime-selector.d.ts.map +1 -0
- package/dist/intent-gateway/regime-selector.js +185 -0
- package/dist/intent-gateway/regime-selector.js.map +1 -0
- package/dist/intent-gateway/types.d.ts +103 -0
- package/dist/intent-gateway/types.d.ts.map +1 -0
- package/dist/intent-gateway/types.js +85 -0
- package/dist/intent-gateway/types.js.map +1 -0
- package/dist/observability/alerts.d.ts +136 -0
- package/dist/observability/alerts.d.ts.map +1 -0
- package/dist/observability/alerts.js +485 -0
- package/dist/observability/alerts.js.map +1 -0
- package/dist/observability/health.d.ts +102 -0
- package/dist/observability/health.d.ts.map +1 -0
- package/dist/observability/health.js +415 -0
- package/dist/observability/health.js.map +1 -0
- package/dist/observability/index.d.ts +29 -0
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +72 -0
- package/dist/observability/index.js.map +1 -0
- package/dist/observability/logging.d.ts +90 -0
- package/dist/observability/logging.d.ts.map +1 -0
- package/dist/observability/logging.js +260 -0
- package/dist/observability/logging.js.map +1 -0
- package/dist/observability/metrics.d.ts +226 -0
- package/dist/observability/metrics.d.ts.map +1 -0
- package/dist/observability/metrics.js +527 -0
- package/dist/observability/metrics.js.map +1 -0
- package/dist/observability/tracing.d.ts +120 -0
- package/dist/observability/tracing.d.ts.map +1 -0
- package/dist/observability/tracing.js +285 -0
- package/dist/observability/tracing.js.map +1 -0
- package/dist/persistence/audit.d.ts +169 -0
- package/dist/persistence/audit.d.ts.map +1 -0
- package/dist/persistence/audit.js +342 -0
- package/dist/persistence/audit.js.map +1 -0
- package/dist/persistence/index.d.ts +13 -0
- package/dist/persistence/index.d.ts.map +1 -0
- package/dist/persistence/index.js +15 -0
- package/dist/persistence/index.js.map +1 -0
- package/dist/persistence/repository.d.ts +192 -0
- package/dist/persistence/repository.d.ts.map +1 -0
- package/dist/persistence/repository.js +223 -0
- package/dist/persistence/repository.js.map +1 -0
- package/dist/policy/diff.d.ts +88 -0
- package/dist/policy/diff.d.ts.map +1 -0
- package/dist/policy/diff.js +325 -0
- package/dist/policy/diff.js.map +1 -0
- package/dist/policy/distributed-cache.d.ts +205 -0
- package/dist/policy/distributed-cache.d.ts.map +1 -0
- package/dist/policy/distributed-cache.js +683 -0
- package/dist/policy/distributed-cache.js.map +1 -0
- package/dist/policy/evaluator.d.ts +102 -0
- package/dist/policy/evaluator.d.ts.map +1 -0
- package/dist/policy/evaluator.js +648 -0
- package/dist/policy/evaluator.js.map +1 -0
- package/dist/policy/index.d.ts +24 -0
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +27 -0
- package/dist/policy/index.js.map +1 -0
- package/dist/policy/loader.d.ts +63 -0
- package/dist/policy/loader.d.ts.map +1 -0
- package/dist/policy/loader.js +176 -0
- package/dist/policy/loader.js.map +1 -0
- package/dist/policy/service.d.ts +240 -0
- package/dist/policy/service.d.ts.map +1 -0
- package/dist/policy/service.js +1032 -0
- package/dist/policy/service.js.map +1 -0
- package/dist/policy/types.d.ts +220 -0
- package/dist/policy/types.d.ts.map +1 -0
- package/dist/policy/types.js +36 -0
- package/dist/policy/types.js.map +1 -0
- package/dist/policy/visual-builder/index.d.ts +201 -0
- package/dist/policy/visual-builder/index.d.ts.map +1 -0
- package/dist/policy/visual-builder/index.js +727 -0
- package/dist/policy/visual-builder/index.js.map +1 -0
- package/dist/policy/visual-builder/inheritance.d.ts +151 -0
- package/dist/policy/visual-builder/inheritance.d.ts.map +1 -0
- package/dist/policy/visual-builder/inheritance.js +314 -0
- package/dist/policy/visual-builder/inheritance.js.map +1 -0
- package/dist/policy/visual-builder/propagation.d.ts +146 -0
- package/dist/policy/visual-builder/propagation.d.ts.map +1 -0
- package/dist/policy/visual-builder/propagation.js +299 -0
- package/dist/policy/visual-builder/propagation.js.map +1 -0
- package/dist/policy/visual-builder/routes.d.ts +14 -0
- package/dist/policy/visual-builder/routes.d.ts.map +1 -0
- package/dist/policy/visual-builder/routes.js +528 -0
- package/dist/policy/visual-builder/routes.js.map +1 -0
- package/dist/policy/visual-builder/simulator.d.ts +161 -0
- package/dist/policy/visual-builder/simulator.d.ts.map +1 -0
- package/dist/policy/visual-builder/simulator.js +413 -0
- package/dist/policy/visual-builder/simulator.js.map +1 -0
- package/dist/policy/visual-builder/templates.d.ts +119 -0
- package/dist/policy/visual-builder/templates.d.ts.map +1 -0
- package/dist/policy/visual-builder/templates.js +627 -0
- package/dist/policy/visual-builder/templates.js.map +1 -0
- package/dist/proof/chain/index.d.ts +271 -0
- package/dist/proof/chain/index.d.ts.map +1 -0
- package/dist/proof/chain/index.js +483 -0
- package/dist/proof/chain/index.js.map +1 -0
- package/dist/proof/index.d.ts +206 -0
- package/dist/proof/index.d.ts.map +1 -0
- package/dist/proof/index.js +597 -0
- package/dist/proof/index.js.map +1 -0
- package/dist/proof/merkle-service.d.ts +194 -0
- package/dist/proof/merkle-service.d.ts.map +1 -0
- package/dist/proof/merkle-service.js +463 -0
- package/dist/proof/merkle-service.js.map +1 -0
- package/dist/proof/merkle.d.ts +118 -0
- package/dist/proof/merkle.d.ts.map +1 -0
- package/dist/proof/merkle.js +265 -0
- package/dist/proof/merkle.js.map +1 -0
- package/dist/security/ai-governance/access-policy.d.ts +197 -0
- package/dist/security/ai-governance/access-policy.d.ts.map +1 -0
- package/dist/security/ai-governance/access-policy.js +522 -0
- package/dist/security/ai-governance/access-policy.js.map +1 -0
- package/dist/security/ai-governance/audit-trail.d.ts +241 -0
- package/dist/security/ai-governance/audit-trail.d.ts.map +1 -0
- package/dist/security/ai-governance/audit-trail.js +645 -0
- package/dist/security/ai-governance/audit-trail.js.map +1 -0
- package/dist/security/ai-governance/bias-detection.d.ts +221 -0
- package/dist/security/ai-governance/bias-detection.d.ts.map +1 -0
- package/dist/security/ai-governance/bias-detection.js +615 -0
- package/dist/security/ai-governance/bias-detection.js.map +1 -0
- package/dist/security/ai-governance/index.d.ts +92 -0
- package/dist/security/ai-governance/index.d.ts.map +1 -0
- package/dist/security/ai-governance/index.js +184 -0
- package/dist/security/ai-governance/index.js.map +1 -0
- package/dist/security/ai-governance/middleware.d.ts +110 -0
- package/dist/security/ai-governance/middleware.d.ts.map +1 -0
- package/dist/security/ai-governance/middleware.js +359 -0
- package/dist/security/ai-governance/middleware.js.map +1 -0
- package/dist/security/ai-governance/model-registry.d.ts +229 -0
- package/dist/security/ai-governance/model-registry.d.ts.map +1 -0
- package/dist/security/ai-governance/model-registry.js +535 -0
- package/dist/security/ai-governance/model-registry.js.map +1 -0
- package/dist/security/ai-governance/output-filter.d.ts +150 -0
- package/dist/security/ai-governance/output-filter.d.ts.map +1 -0
- package/dist/security/ai-governance/output-filter.js +561 -0
- package/dist/security/ai-governance/output-filter.js.map +1 -0
- package/dist/security/ai-governance/prompt-injection.d.ts +153 -0
- package/dist/security/ai-governance/prompt-injection.d.ts.map +1 -0
- package/dist/security/ai-governance/prompt-injection.js +614 -0
- package/dist/security/ai-governance/prompt-injection.js.map +1 -0
- package/dist/security/ai-governance/rate-limiter.d.ts +156 -0
- package/dist/security/ai-governance/rate-limiter.d.ts.map +1 -0
- package/dist/security/ai-governance/rate-limiter.js +541 -0
- package/dist/security/ai-governance/rate-limiter.js.map +1 -0
- package/dist/security/ai-governance/types.d.ts +594 -0
- package/dist/security/ai-governance/types.d.ts.map +1 -0
- package/dist/security/ai-governance/types.js +6 -0
- package/dist/security/ai-governance/types.js.map +1 -0
- package/dist/security/alerting/channels/base.d.ts +91 -0
- package/dist/security/alerting/channels/base.d.ts.map +1 -0
- package/dist/security/alerting/channels/base.js +128 -0
- package/dist/security/alerting/channels/base.js.map +1 -0
- package/dist/security/alerting/channels/email.d.ts +92 -0
- package/dist/security/alerting/channels/email.d.ts.map +1 -0
- package/dist/security/alerting/channels/email.js +418 -0
- package/dist/security/alerting/channels/email.js.map +1 -0
- package/dist/security/alerting/channels/http-base.d.ts +86 -0
- package/dist/security/alerting/channels/http-base.d.ts.map +1 -0
- package/dist/security/alerting/channels/http-base.js +133 -0
- package/dist/security/alerting/channels/http-base.js.map +1 -0
- package/dist/security/alerting/channels/index.d.ts +30 -0
- package/dist/security/alerting/channels/index.d.ts.map +1 -0
- package/dist/security/alerting/channels/index.js +22 -0
- package/dist/security/alerting/channels/index.js.map +1 -0
- package/dist/security/alerting/channels/pagerduty.d.ts +70 -0
- package/dist/security/alerting/channels/pagerduty.d.ts.map +1 -0
- package/dist/security/alerting/channels/pagerduty.js +248 -0
- package/dist/security/alerting/channels/pagerduty.js.map +1 -0
- package/dist/security/alerting/channels/slack.d.ts +55 -0
- package/dist/security/alerting/channels/slack.d.ts.map +1 -0
- package/dist/security/alerting/channels/slack.js +215 -0
- package/dist/security/alerting/channels/slack.js.map +1 -0
- package/dist/security/alerting/channels/sns.d.ts +87 -0
- package/dist/security/alerting/channels/sns.d.ts.map +1 -0
- package/dist/security/alerting/channels/sns.js +251 -0
- package/dist/security/alerting/channels/sns.js.map +1 -0
- package/dist/security/alerting/channels/webhook.d.ts +92 -0
- package/dist/security/alerting/channels/webhook.d.ts.map +1 -0
- package/dist/security/alerting/channels/webhook.js +203 -0
- package/dist/security/alerting/channels/webhook.js.map +1 -0
- package/dist/security/alerting/detector.d.ts +217 -0
- package/dist/security/alerting/detector.d.ts.map +1 -0
- package/dist/security/alerting/detector.js +725 -0
- package/dist/security/alerting/detector.js.map +1 -0
- package/dist/security/alerting/index.d.ts +57 -0
- package/dist/security/alerting/index.d.ts.map +1 -0
- package/dist/security/alerting/index.js +214 -0
- package/dist/security/alerting/index.js.map +1 -0
- package/dist/security/alerting/service.d.ts +190 -0
- package/dist/security/alerting/service.d.ts.map +1 -0
- package/dist/security/alerting/service.js +815 -0
- package/dist/security/alerting/service.js.map +1 -0
- package/dist/security/alerting/types.d.ts +2165 -0
- package/dist/security/alerting/types.d.ts.map +1 -0
- package/dist/security/alerting/types.js +278 -0
- package/dist/security/alerting/types.js.map +1 -0
- package/dist/security/anomaly/detectors/account-compromise.d.ts +198 -0
- package/dist/security/anomaly/detectors/account-compromise.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/account-compromise.js +815 -0
- package/dist/security/anomaly/detectors/account-compromise.js.map +1 -0
- package/dist/security/anomaly/detectors/data-exfiltration.d.ts +175 -0
- package/dist/security/anomaly/detectors/data-exfiltration.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/data-exfiltration.js +733 -0
- package/dist/security/anomaly/detectors/data-exfiltration.js.map +1 -0
- package/dist/security/anomaly/detectors/geographic.d.ts +100 -0
- package/dist/security/anomaly/detectors/geographic.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/geographic.js +348 -0
- package/dist/security/anomaly/detectors/geographic.js.map +1 -0
- package/dist/security/anomaly/detectors/index.d.ts +86 -0
- package/dist/security/anomaly/detectors/index.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/index.js +118 -0
- package/dist/security/anomaly/detectors/index.js.map +1 -0
- package/dist/security/anomaly/detectors/lateral-movement.d.ts +168 -0
- package/dist/security/anomaly/detectors/lateral-movement.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/lateral-movement.js +795 -0
- package/dist/security/anomaly/detectors/lateral-movement.js.map +1 -0
- package/dist/security/anomaly/detectors/privilege-escalation.d.ts +177 -0
- package/dist/security/anomaly/detectors/privilege-escalation.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/privilege-escalation.js +741 -0
- package/dist/security/anomaly/detectors/privilege-escalation.js.map +1 -0
- package/dist/security/anomaly/detectors/temporal.d.ts +71 -0
- package/dist/security/anomaly/detectors/temporal.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/temporal.js +398 -0
- package/dist/security/anomaly/detectors/temporal.js.map +1 -0
- package/dist/security/anomaly/detectors/volume.d.ts +97 -0
- package/dist/security/anomaly/detectors/volume.d.ts.map +1 -0
- package/dist/security/anomaly/detectors/volume.js +424 -0
- package/dist/security/anomaly/detectors/volume.js.map +1 -0
- package/dist/security/anomaly/index.d.ts +128 -0
- package/dist/security/anomaly/index.d.ts.map +1 -0
- package/dist/security/anomaly/index.js +378 -0
- package/dist/security/anomaly/index.js.map +1 -0
- package/dist/security/anomaly/types.d.ts +1209 -0
- package/dist/security/anomaly/types.d.ts.map +1 -0
- package/dist/security/anomaly/types.js +193 -0
- package/dist/security/anomaly/types.js.map +1 -0
- package/dist/security/api-keys/cache.d.ts +255 -0
- package/dist/security/api-keys/cache.d.ts.map +1 -0
- package/dist/security/api-keys/cache.js +595 -0
- package/dist/security/api-keys/cache.js.map +1 -0
- package/dist/security/api-keys/db-store.d.ts +150 -0
- package/dist/security/api-keys/db-store.d.ts.map +1 -0
- package/dist/security/api-keys/db-store.js +694 -0
- package/dist/security/api-keys/db-store.js.map +1 -0
- package/dist/security/api-keys/index.d.ts +29 -0
- package/dist/security/api-keys/index.d.ts.map +1 -0
- package/dist/security/api-keys/index.js +81 -0
- package/dist/security/api-keys/index.js.map +1 -0
- package/dist/security/api-keys/middleware.d.ts +164 -0
- package/dist/security/api-keys/middleware.d.ts.map +1 -0
- package/dist/security/api-keys/middleware.js +392 -0
- package/dist/security/api-keys/middleware.js.map +1 -0
- package/dist/security/api-keys/service.d.ts +226 -0
- package/dist/security/api-keys/service.d.ts.map +1 -0
- package/dist/security/api-keys/service.js +861 -0
- package/dist/security/api-keys/service.js.map +1 -0
- package/dist/security/api-keys/store.d.ts +241 -0
- package/dist/security/api-keys/store.d.ts.map +1 -0
- package/dist/security/api-keys/store.js +360 -0
- package/dist/security/api-keys/store.js.map +1 -0
- package/dist/security/api-keys/types.d.ts +718 -0
- package/dist/security/api-keys/types.d.ts.map +1 -0
- package/dist/security/api-keys/types.js +162 -0
- package/dist/security/api-keys/types.js.map +1 -0
- package/dist/security/brute-force.d.ts +390 -0
- package/dist/security/brute-force.d.ts.map +1 -0
- package/dist/security/brute-force.js +677 -0
- package/dist/security/brute-force.js.map +1 -0
- package/dist/security/config-validator.d.ts +152 -0
- package/dist/security/config-validator.d.ts.map +1 -0
- package/dist/security/config-validator.js +667 -0
- package/dist/security/config-validator.js.map +1 -0
- package/dist/security/crypto/fips-mode.d.ts +726 -0
- package/dist/security/crypto/fips-mode.d.ts.map +1 -0
- package/dist/security/crypto/fips-mode.js +1297 -0
- package/dist/security/crypto/fips-mode.js.map +1 -0
- package/dist/security/crypto/index.d.ts +203 -0
- package/dist/security/crypto/index.d.ts.map +1 -0
- package/dist/security/crypto/index.js +293 -0
- package/dist/security/crypto/index.js.map +1 -0
- package/dist/security/crypto/post-quantum/benchmark.d.ts +125 -0
- package/dist/security/crypto/post-quantum/benchmark.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/benchmark.js +530 -0
- package/dist/security/crypto/post-quantum/benchmark.js.map +1 -0
- package/dist/security/crypto/post-quantum/dilithium.d.ts +146 -0
- package/dist/security/crypto/post-quantum/dilithium.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/dilithium.js +662 -0
- package/dist/security/crypto/post-quantum/dilithium.js.map +1 -0
- package/dist/security/crypto/post-quantum/hybrid.d.ts +267 -0
- package/dist/security/crypto/post-quantum/hybrid.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/hybrid.js +457 -0
- package/dist/security/crypto/post-quantum/hybrid.js.map +1 -0
- package/dist/security/crypto/post-quantum/index.d.ts +166 -0
- package/dist/security/crypto/post-quantum/index.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/index.js +236 -0
- package/dist/security/crypto/post-quantum/index.js.map +1 -0
- package/dist/security/crypto/post-quantum/kyber.d.ts +131 -0
- package/dist/security/crypto/post-quantum/kyber.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/kyber.js +640 -0
- package/dist/security/crypto/post-quantum/kyber.js.map +1 -0
- package/dist/security/crypto/post-quantum/migration.d.ts +230 -0
- package/dist/security/crypto/post-quantum/migration.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/migration.js +563 -0
- package/dist/security/crypto/post-quantum/migration.js.map +1 -0
- package/dist/security/crypto/post-quantum/types.d.ts +1056 -0
- package/dist/security/crypto/post-quantum/types.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/types.js +350 -0
- package/dist/security/crypto/post-quantum/types.js.map +1 -0
- package/dist/security/crypto/shamir/comparison.d.ts +128 -0
- package/dist/security/crypto/shamir/comparison.d.ts.map +1 -0
- package/dist/security/crypto/shamir/comparison.js +423 -0
- package/dist/security/crypto/shamir/comparison.js.map +1 -0
- package/dist/security/crypto/shamir/index.d.ts +76 -0
- package/dist/security/crypto/shamir/index.d.ts.map +1 -0
- package/dist/security/crypto/shamir/index.js +155 -0
- package/dist/security/crypto/shamir/index.js.map +1 -0
- package/dist/security/crypto/shamir/proofs.d.ts +259 -0
- package/dist/security/crypto/shamir/proofs.d.ts.map +1 -0
- package/dist/security/crypto/shamir/proofs.js +605 -0
- package/dist/security/crypto/shamir/proofs.js.map +1 -0
- package/dist/security/crypto/shamir/property-tests.d.ts +104 -0
- package/dist/security/crypto/shamir/property-tests.d.ts.map +1 -0
- package/dist/security/crypto/shamir/property-tests.js +480 -0
- package/dist/security/crypto/shamir/property-tests.js.map +1 -0
- package/dist/security/crypto/shamir/security-analysis.d.ts +97 -0
- package/dist/security/crypto/shamir/security-analysis.d.ts.map +1 -0
- package/dist/security/crypto/shamir/security-analysis.js +503 -0
- package/dist/security/crypto/shamir/security-analysis.js.map +1 -0
- package/dist/security/crypto/shamir/test-vectors.d.ts +116 -0
- package/dist/security/crypto/shamir/test-vectors.d.ts.map +1 -0
- package/dist/security/crypto/shamir/test-vectors.js +377 -0
- package/dist/security/crypto/shamir/test-vectors.js.map +1 -0
- package/dist/security/crypto/shamir/types.d.ts +281 -0
- package/dist/security/crypto/shamir/types.d.ts.map +1 -0
- package/dist/security/crypto/shamir/types.js +82 -0
- package/dist/security/crypto/shamir/types.js.map +1 -0
- package/dist/security/crypto/shamir/verified-shamir.d.ts +170 -0
- package/dist/security/crypto/shamir/verified-shamir.d.ts.map +1 -0
- package/dist/security/crypto/shamir/verified-shamir.js +624 -0
- package/dist/security/crypto/shamir/verified-shamir.js.map +1 -0
- package/dist/security/csrf.d.ts +215 -0
- package/dist/security/csrf.d.ts.map +1 -0
- package/dist/security/csrf.js +467 -0
- package/dist/security/csrf.js.map +1 -0
- package/dist/security/distributed-state.d.ts +331 -0
- package/dist/security/distributed-state.d.ts.map +1 -0
- package/dist/security/distributed-state.js +768 -0
- package/dist/security/distributed-state.js.map +1 -0
- package/dist/security/dlp/index.d.ts +27 -0
- package/dist/security/dlp/index.d.ts.map +1 -0
- package/dist/security/dlp/index.js +54 -0
- package/dist/security/dlp/index.js.map +1 -0
- package/dist/security/dlp/scanner.d.ts +451 -0
- package/dist/security/dlp/scanner.d.ts.map +1 -0
- package/dist/security/dlp/scanner.js +1241 -0
- package/dist/security/dlp/scanner.js.map +1 -0
- package/dist/security/dpop.d.ts +260 -0
- package/dist/security/dpop.d.ts.map +1 -0
- package/dist/security/dpop.js +1058 -0
- package/dist/security/dpop.js.map +1 -0
- package/dist/security/encryption/decorators.d.ts +263 -0
- package/dist/security/encryption/decorators.d.ts.map +1 -0
- package/dist/security/encryption/decorators.js +359 -0
- package/dist/security/encryption/decorators.js.map +1 -0
- package/dist/security/encryption/index.d.ts +83 -0
- package/dist/security/encryption/index.d.ts.map +1 -0
- package/dist/security/encryption/index.js +140 -0
- package/dist/security/encryption/index.js.map +1 -0
- package/dist/security/encryption/key-provider.d.ts +335 -0
- package/dist/security/encryption/key-provider.d.ts.map +1 -0
- package/dist/security/encryption/key-provider.js +853 -0
- package/dist/security/encryption/key-provider.js.map +1 -0
- package/dist/security/encryption/middleware.d.ts +279 -0
- package/dist/security/encryption/middleware.d.ts.map +1 -0
- package/dist/security/encryption/middleware.js +493 -0
- package/dist/security/encryption/middleware.js.map +1 -0
- package/dist/security/encryption/service.d.ts +164 -0
- package/dist/security/encryption/service.d.ts.map +1 -0
- package/dist/security/encryption/service.js +623 -0
- package/dist/security/encryption/service.js.map +1 -0
- package/dist/security/encryption/types.d.ts +745 -0
- package/dist/security/encryption/types.d.ts.map +1 -0
- package/dist/security/encryption/types.js +229 -0
- package/dist/security/encryption/types.js.map +1 -0
- package/dist/security/error-sanitizer.d.ts +329 -0
- package/dist/security/error-sanitizer.d.ts.map +1 -0
- package/dist/security/error-sanitizer.js +700 -0
- package/dist/security/error-sanitizer.js.map +1 -0
- package/dist/security/fingerprint-service.d.ts +139 -0
- package/dist/security/fingerprint-service.d.ts.map +1 -0
- package/dist/security/fingerprint-service.js +240 -0
- package/dist/security/fingerprint-service.js.map +1 -0
- package/dist/security/headers/csp.d.ts +270 -0
- package/dist/security/headers/csp.d.ts.map +1 -0
- package/dist/security/headers/csp.js +655 -0
- package/dist/security/headers/csp.js.map +1 -0
- package/dist/security/headers/hsts.d.ts +161 -0
- package/dist/security/headers/hsts.d.ts.map +1 -0
- package/dist/security/headers/hsts.js +346 -0
- package/dist/security/headers/hsts.js.map +1 -0
- package/dist/security/headers/index.d.ts +47 -0
- package/dist/security/headers/index.d.ts.map +1 -0
- package/dist/security/headers/index.js +110 -0
- package/dist/security/headers/index.js.map +1 -0
- package/dist/security/headers/middleware.d.ts +70 -0
- package/dist/security/headers/middleware.d.ts.map +1 -0
- package/dist/security/headers/middleware.js +549 -0
- package/dist/security/headers/middleware.js.map +1 -0
- package/dist/security/headers/permissions-policy.d.ts +189 -0
- package/dist/security/headers/permissions-policy.d.ts.map +1 -0
- package/dist/security/headers/permissions-policy.js +508 -0
- package/dist/security/headers/permissions-policy.js.map +1 -0
- package/dist/security/headers/types.d.ts +1570 -0
- package/dist/security/headers/types.d.ts.map +1 -0
- package/dist/security/headers/types.js +281 -0
- package/dist/security/headers/types.js.map +1 -0
- package/dist/security/headers/validator.d.ts +36 -0
- package/dist/security/headers/validator.d.ts.map +1 -0
- package/dist/security/headers/validator.js +616 -0
- package/dist/security/headers/validator.js.map +1 -0
- package/dist/security/hsm/aws-cloudhsm.d.ts +157 -0
- package/dist/security/hsm/aws-cloudhsm.d.ts.map +1 -0
- package/dist/security/hsm/aws-cloudhsm.js +712 -0
- package/dist/security/hsm/aws-cloudhsm.js.map +1 -0
- package/dist/security/hsm/azure-hsm.d.ts +174 -0
- package/dist/security/hsm/azure-hsm.d.ts.map +1 -0
- package/dist/security/hsm/azure-hsm.js +792 -0
- package/dist/security/hsm/azure-hsm.js.map +1 -0
- package/dist/security/hsm/gcp-hsm.d.ts +184 -0
- package/dist/security/hsm/gcp-hsm.d.ts.map +1 -0
- package/dist/security/hsm/gcp-hsm.js +817 -0
- package/dist/security/hsm/gcp-hsm.js.map +1 -0
- package/dist/security/hsm/hsm-service.d.ts +264 -0
- package/dist/security/hsm/hsm-service.d.ts.map +1 -0
- package/dist/security/hsm/hsm-service.js +772 -0
- package/dist/security/hsm/hsm-service.js.map +1 -0
- package/dist/security/hsm/index.d.ts +248 -0
- package/dist/security/hsm/index.d.ts.map +1 -0
- package/dist/security/hsm/index.js +329 -0
- package/dist/security/hsm/index.js.map +1 -0
- package/dist/security/hsm/key-ceremony.d.ts +214 -0
- package/dist/security/hsm/key-ceremony.d.ts.map +1 -0
- package/dist/security/hsm/key-ceremony.js +636 -0
- package/dist/security/hsm/key-ceremony.js.map +1 -0
- package/dist/security/hsm/key-operations.d.ts +218 -0
- package/dist/security/hsm/key-operations.d.ts.map +1 -0
- package/dist/security/hsm/key-operations.js +625 -0
- package/dist/security/hsm/key-operations.js.map +1 -0
- package/dist/security/hsm/local-softHSM.d.ts +122 -0
- package/dist/security/hsm/local-softHSM.d.ts.map +1 -0
- package/dist/security/hsm/local-softHSM.js +786 -0
- package/dist/security/hsm/local-softHSM.js.map +1 -0
- package/dist/security/hsm/pkcs11-wrapper.d.ts +386 -0
- package/dist/security/hsm/pkcs11-wrapper.d.ts.map +1 -0
- package/dist/security/hsm/pkcs11-wrapper.js +1149 -0
- package/dist/security/hsm/pkcs11-wrapper.js.map +1 -0
- package/dist/security/hsm/provider.d.ts +333 -0
- package/dist/security/hsm/provider.d.ts.map +1 -0
- package/dist/security/hsm/provider.js +264 -0
- package/dist/security/hsm/provider.js.map +1 -0
- package/dist/security/hsm/thales-luna.d.ts +209 -0
- package/dist/security/hsm/thales-luna.d.ts.map +1 -0
- package/dist/security/hsm/thales-luna.js +820 -0
- package/dist/security/hsm/thales-luna.js.map +1 -0
- package/dist/security/incident/actions/block-ip.d.ts +82 -0
- package/dist/security/incident/actions/block-ip.d.ts.map +1 -0
- package/dist/security/incident/actions/block-ip.js +454 -0
- package/dist/security/incident/actions/block-ip.js.map +1 -0
- package/dist/security/incident/actions/collect-evidence.d.ts +93 -0
- package/dist/security/incident/actions/collect-evidence.d.ts.map +1 -0
- package/dist/security/incident/actions/collect-evidence.js +449 -0
- package/dist/security/incident/actions/collect-evidence.js.map +1 -0
- package/dist/security/incident/actions/index.d.ts +39 -0
- package/dist/security/incident/actions/index.d.ts.map +1 -0
- package/dist/security/incident/actions/index.js +52 -0
- package/dist/security/incident/actions/index.js.map +1 -0
- package/dist/security/incident/actions/isolate-system.d.ts +61 -0
- package/dist/security/incident/actions/isolate-system.d.ts.map +1 -0
- package/dist/security/incident/actions/isolate-system.js +369 -0
- package/dist/security/incident/actions/isolate-system.js.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts +70 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.js +377 -0
- package/dist/security/incident/actions/notify-stakeholders.js.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts +75 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.js +320 -0
- package/dist/security/incident/actions/revoke-credentials.js.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts +88 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.js +473 -0
- package/dist/security/incident/actions/scale-monitoring.js.map +1 -0
- package/dist/security/incident/executor.d.ts +128 -0
- package/dist/security/incident/executor.d.ts.map +1 -0
- package/dist/security/incident/executor.js +695 -0
- package/dist/security/incident/executor.js.map +1 -0
- package/dist/security/incident/index.d.ts +220 -0
- package/dist/security/incident/index.d.ts.map +1 -0
- package/dist/security/incident/index.js +1284 -0
- package/dist/security/incident/index.js.map +1 -0
- package/dist/security/incident/notification.d.ts +68 -0
- package/dist/security/incident/notification.d.ts.map +1 -0
- package/dist/security/incident/notification.js +512 -0
- package/dist/security/incident/notification.js.map +1 -0
- package/dist/security/incident/playbooks/account-compromise.d.ts +13 -0
- package/dist/security/incident/playbooks/account-compromise.d.ts.map +1 -0
- package/dist/security/incident/playbooks/account-compromise.js +379 -0
- package/dist/security/incident/playbooks/account-compromise.js.map +1 -0
- package/dist/security/incident/playbooks/configuration-error.d.ts +17 -0
- package/dist/security/incident/playbooks/configuration-error.d.ts.map +1 -0
- package/dist/security/incident/playbooks/configuration-error.js +340 -0
- package/dist/security/incident/playbooks/configuration-error.js.map +1 -0
- package/dist/security/incident/playbooks/data-breach.d.ts +13 -0
- package/dist/security/incident/playbooks/data-breach.d.ts.map +1 -0
- package/dist/security/incident/playbooks/data-breach.js +394 -0
- package/dist/security/incident/playbooks/data-breach.js.map +1 -0
- package/dist/security/incident/playbooks/denial-of-service.d.ts +13 -0
- package/dist/security/incident/playbooks/denial-of-service.d.ts.map +1 -0
- package/dist/security/incident/playbooks/denial-of-service.js +540 -0
- package/dist/security/incident/playbooks/denial-of-service.js.map +1 -0
- package/dist/security/incident/playbooks/index.d.ts +36 -0
- package/dist/security/incident/playbooks/index.d.ts.map +1 -0
- package/dist/security/incident/playbooks/index.js +56 -0
- package/dist/security/incident/playbooks/index.js.map +1 -0
- package/dist/security/incident/playbooks/insider-threat.d.ts +18 -0
- package/dist/security/incident/playbooks/insider-threat.d.ts.map +1 -0
- package/dist/security/incident/playbooks/insider-threat.js +600 -0
- package/dist/security/incident/playbooks/insider-threat.js.map +1 -0
- package/dist/security/incident/playbooks/malware.d.ts +13 -0
- package/dist/security/incident/playbooks/malware.d.ts.map +1 -0
- package/dist/security/incident/playbooks/malware.js +515 -0
- package/dist/security/incident/playbooks/malware.js.map +1 -0
- package/dist/security/incident/playbooks/ransomware.d.ts +14 -0
- package/dist/security/incident/playbooks/ransomware.d.ts.map +1 -0
- package/dist/security/incident/playbooks/ransomware.js +693 -0
- package/dist/security/incident/playbooks/ransomware.js.map +1 -0
- package/dist/security/incident/playbooks/unauthorized-access.d.ts +13 -0
- package/dist/security/incident/playbooks/unauthorized-access.d.ts.map +1 -0
- package/dist/security/incident/playbooks/unauthorized-access.js +412 -0
- package/dist/security/incident/playbooks/unauthorized-access.js.map +1 -0
- package/dist/security/incident/triggers.d.ts +120 -0
- package/dist/security/incident/triggers.d.ts.map +1 -0
- package/dist/security/incident/triggers.js +708 -0
- package/dist/security/incident/triggers.js.map +1 -0
- package/dist/security/incident/types.d.ts +1517 -0
- package/dist/security/incident/types.d.ts.map +1 -0
- package/dist/security/incident/types.js +222 -0
- package/dist/security/incident/types.js.map +1 -0
- package/dist/security/index.d.ts +59 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +295 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/injection-detector.d.ts +510 -0
- package/dist/security/injection-detector.d.ts.map +1 -0
- package/dist/security/injection-detector.js +1325 -0
- package/dist/security/injection-detector.js.map +1 -0
- package/dist/security/introspection.d.ts +137 -0
- package/dist/security/introspection.d.ts.map +1 -0
- package/dist/security/introspection.js +451 -0
- package/dist/security/introspection.js.map +1 -0
- package/dist/security/key-rotation.d.ts +213 -0
- package/dist/security/key-rotation.d.ts.map +1 -0
- package/dist/security/key-rotation.js +530 -0
- package/dist/security/key-rotation.js.map +1 -0
- package/dist/security/kms/aws-kms.d.ts +152 -0
- package/dist/security/kms/aws-kms.d.ts.map +1 -0
- package/dist/security/kms/aws-kms.js +808 -0
- package/dist/security/kms/aws-kms.js.map +1 -0
- package/dist/security/kms/index.d.ts +165 -0
- package/dist/security/kms/index.d.ts.map +1 -0
- package/dist/security/kms/index.js +351 -0
- package/dist/security/kms/index.js.map +1 -0
- package/dist/security/kms/local.d.ts +127 -0
- package/dist/security/kms/local.d.ts.map +1 -0
- package/dist/security/kms/local.js +682 -0
- package/dist/security/kms/local.js.map +1 -0
- package/dist/security/kms/types.d.ts +1000 -0
- package/dist/security/kms/types.d.ts.map +1 -0
- package/dist/security/kms/types.js +167 -0
- package/dist/security/kms/types.js.map +1 -0
- package/dist/security/kms/vault.d.ts +165 -0
- package/dist/security/kms/vault.d.ts.map +1 -0
- package/dist/security/kms/vault.js +820 -0
- package/dist/security/kms/vault.js.map +1 -0
- package/dist/security/mfa/index.d.ts +17 -0
- package/dist/security/mfa/index.d.ts.map +1 -0
- package/dist/security/mfa/index.js +37 -0
- package/dist/security/mfa/index.js.map +1 -0
- package/dist/security/mfa/mfa-middleware.d.ts +74 -0
- package/dist/security/mfa/mfa-middleware.d.ts.map +1 -0
- package/dist/security/mfa/mfa-middleware.js +244 -0
- package/dist/security/mfa/mfa-middleware.js.map +1 -0
- package/dist/security/mfa/mfa-service.d.ts +115 -0
- package/dist/security/mfa/mfa-service.d.ts.map +1 -0
- package/dist/security/mfa/mfa-service.js +509 -0
- package/dist/security/mfa/mfa-service.js.map +1 -0
- package/dist/security/mfa/mfa-store.d.ts +615 -0
- package/dist/security/mfa/mfa-store.d.ts.map +1 -0
- package/dist/security/mfa/mfa-store.js +431 -0
- package/dist/security/mfa/mfa-store.js.map +1 -0
- package/dist/security/mfa/types.d.ts +417 -0
- package/dist/security/mfa/types.d.ts.map +1 -0
- package/dist/security/mfa/types.js +123 -0
- package/dist/security/mfa/types.js.map +1 -0
- package/dist/security/middleware.d.ts +179 -0
- package/dist/security/middleware.d.ts.map +1 -0
- package/dist/security/middleware.js +534 -0
- package/dist/security/middleware.js.map +1 -0
- package/dist/security/pairwise-did.d.ts +157 -0
- package/dist/security/pairwise-did.d.ts.map +1 -0
- package/dist/security/pairwise-did.js +450 -0
- package/dist/security/pairwise-did.js.map +1 -0
- package/dist/security/pam/break-glass.d.ts +776 -0
- package/dist/security/pam/break-glass.d.ts.map +1 -0
- package/dist/security/pam/break-glass.js +1137 -0
- package/dist/security/pam/break-glass.js.map +1 -0
- package/dist/security/pam/index.d.ts +120 -0
- package/dist/security/pam/index.d.ts.map +1 -0
- package/dist/security/pam/index.js +179 -0
- package/dist/security/pam/index.js.map +1 -0
- package/dist/security/pam/jit-access.d.ts +482 -0
- package/dist/security/pam/jit-access.d.ts.map +1 -0
- package/dist/security/pam/jit-access.js +1030 -0
- package/dist/security/pam/jit-access.js.map +1 -0
- package/dist/security/pam/session-recording.d.ts +1007 -0
- package/dist/security/pam/session-recording.d.ts.map +1 -0
- package/dist/security/pam/session-recording.js +1047 -0
- package/dist/security/pam/session-recording.js.map +1 -0
- package/dist/security/password-hashing.d.ts +199 -0
- package/dist/security/password-hashing.d.ts.map +1 -0
- package/dist/security/password-hashing.js +366 -0
- package/dist/security/password-hashing.js.map +1 -0
- package/dist/security/password-policy.d.ts +304 -0
- package/dist/security/password-policy.d.ts.map +1 -0
- package/dist/security/password-policy.js +730 -0
- package/dist/security/password-policy.js.map +1 -0
- package/dist/security/pkce.d.ts +269 -0
- package/dist/security/pkce.d.ts.map +1 -0
- package/dist/security/pkce.js +408 -0
- package/dist/security/pkce.js.map +1 -0
- package/dist/security/policy-engine/built-in-policies.d.ts +90 -0
- package/dist/security/policy-engine/built-in-policies.d.ts.map +1 -0
- package/dist/security/policy-engine/built-in-policies.js +627 -0
- package/dist/security/policy-engine/built-in-policies.js.map +1 -0
- package/dist/security/policy-engine/condition-evaluator.d.ts +129 -0
- package/dist/security/policy-engine/condition-evaluator.d.ts.map +1 -0
- package/dist/security/policy-engine/condition-evaluator.js +647 -0
- package/dist/security/policy-engine/condition-evaluator.js.map +1 -0
- package/dist/security/policy-engine/engine.d.ts +200 -0
- package/dist/security/policy-engine/engine.d.ts.map +1 -0
- package/dist/security/policy-engine/engine.js +752 -0
- package/dist/security/policy-engine/engine.js.map +1 -0
- package/dist/security/policy-engine/index.d.ts +58 -0
- package/dist/security/policy-engine/index.d.ts.map +1 -0
- package/dist/security/policy-engine/index.js +80 -0
- package/dist/security/policy-engine/index.js.map +1 -0
- package/dist/security/policy-engine/middleware.d.ts +77 -0
- package/dist/security/policy-engine/middleware.d.ts.map +1 -0
- package/dist/security/policy-engine/middleware.js +375 -0
- package/dist/security/policy-engine/middleware.js.map +1 -0
- package/dist/security/policy-engine/rule-evaluator.d.ts +140 -0
- package/dist/security/policy-engine/rule-evaluator.d.ts.map +1 -0
- package/dist/security/policy-engine/rule-evaluator.js +593 -0
- package/dist/security/policy-engine/rule-evaluator.js.map +1 -0
- package/dist/security/policy-engine/types.d.ts +2855 -0
- package/dist/security/policy-engine/types.d.ts.map +1 -0
- package/dist/security/policy-engine/types.js +443 -0
- package/dist/security/policy-engine/types.js.map +1 -0
- package/dist/security/rbac/index.d.ts +317 -0
- package/dist/security/rbac/index.d.ts.map +1 -0
- package/dist/security/rbac/index.js +618 -0
- package/dist/security/rbac/index.js.map +1 -0
- package/dist/security/rbac/permissions.d.ts +305 -0
- package/dist/security/rbac/permissions.d.ts.map +1 -0
- package/dist/security/rbac/permissions.js +947 -0
- package/dist/security/rbac/permissions.js.map +1 -0
- package/dist/security/rbac/policy-engine.d.ts +542 -0
- package/dist/security/rbac/policy-engine.d.ts.map +1 -0
- package/dist/security/rbac/policy-engine.js +1244 -0
- package/dist/security/rbac/policy-engine.js.map +1 -0
- package/dist/security/rbac/roles.d.ts +478 -0
- package/dist/security/rbac/roles.d.ts.map +1 -0
- package/dist/security/rbac/roles.js +363 -0
- package/dist/security/rbac/roles.js.map +1 -0
- package/dist/security/refresh-token.d.ts +305 -0
- package/dist/security/refresh-token.d.ts.map +1 -0
- package/dist/security/refresh-token.js +674 -0
- package/dist/security/refresh-token.js.map +1 -0
- package/dist/security/request-integrity.d.ts +289 -0
- package/dist/security/request-integrity.d.ts.map +1 -0
- package/dist/security/request-integrity.js +663 -0
- package/dist/security/request-integrity.js.map +1 -0
- package/dist/security/revocation-check.d.ts +188 -0
- package/dist/security/revocation-check.d.ts.map +1 -0
- package/dist/security/revocation-check.js +606 -0
- package/dist/security/revocation-check.js.map +1 -0
- package/dist/security/revocation.d.ts +191 -0
- package/dist/security/revocation.d.ts.map +1 -0
- package/dist/security/revocation.js +522 -0
- package/dist/security/revocation.js.map +1 -0
- package/dist/security/secrets-rotation.d.ts +501 -0
- package/dist/security/secrets-rotation.d.ts.map +1 -0
- package/dist/security/secrets-rotation.js +934 -0
- package/dist/security/secrets-rotation.js.map +1 -0
- package/dist/security/secure-memory.d.ts +325 -0
- package/dist/security/secure-memory.d.ts.map +1 -0
- package/dist/security/secure-memory.js +595 -0
- package/dist/security/secure-memory.js.map +1 -0
- package/dist/security/security-service.d.ts +186 -0
- package/dist/security/security-service.d.ts.map +1 -0
- package/dist/security/security-service.js +531 -0
- package/dist/security/security-service.js.map +1 -0
- package/dist/security/service-auth/index.d.ts +20 -0
- package/dist/security/service-auth/index.d.ts.map +1 -0
- package/dist/security/service-auth/index.js +61 -0
- package/dist/security/service-auth/index.js.map +1 -0
- package/dist/security/service-auth/service-account.d.ts +357 -0
- package/dist/security/service-auth/service-account.d.ts.map +1 -0
- package/dist/security/service-auth/service-account.js +475 -0
- package/dist/security/service-auth/service-account.js.map +1 -0
- package/dist/security/service-auth/service-auth-middleware.d.ts +174 -0
- package/dist/security/service-auth/service-auth-middleware.d.ts.map +1 -0
- package/dist/security/service-auth/service-auth-middleware.js +461 -0
- package/dist/security/service-auth/service-auth-middleware.js.map +1 -0
- package/dist/security/service-auth/service-token.d.ts +391 -0
- package/dist/security/service-auth/service-token.d.ts.map +1 -0
- package/dist/security/service-auth/service-token.js +472 -0
- package/dist/security/service-auth/service-token.js.map +1 -0
- package/dist/security/session-manager.d.ts +177 -0
- package/dist/security/session-manager.d.ts.map +1 -0
- package/dist/security/session-manager.js +353 -0
- package/dist/security/session-manager.js.map +1 -0
- package/dist/security/session-store.d.ts +205 -0
- package/dist/security/session-store.d.ts.map +1 -0
- package/dist/security/session-store.js +581 -0
- package/dist/security/session-store.js.map +1 -0
- package/dist/security/siem/connector.d.ts +147 -0
- package/dist/security/siem/connector.d.ts.map +1 -0
- package/dist/security/siem/connector.js +254 -0
- package/dist/security/siem/connector.js.map +1 -0
- package/dist/security/siem/datadog.d.ts +81 -0
- package/dist/security/siem/datadog.d.ts.map +1 -0
- package/dist/security/siem/datadog.js +362 -0
- package/dist/security/siem/datadog.js.map +1 -0
- package/dist/security/siem/elastic.d.ts +83 -0
- package/dist/security/siem/elastic.d.ts.map +1 -0
- package/dist/security/siem/elastic.js +514 -0
- package/dist/security/siem/elastic.js.map +1 -0
- package/dist/security/siem/enrichment.d.ts +133 -0
- package/dist/security/siem/enrichment.d.ts.map +1 -0
- package/dist/security/siem/enrichment.js +434 -0
- package/dist/security/siem/enrichment.js.map +1 -0
- package/dist/security/siem/formatter.d.ts +118 -0
- package/dist/security/siem/formatter.d.ts.map +1 -0
- package/dist/security/siem/formatter.js +381 -0
- package/dist/security/siem/formatter.js.map +1 -0
- package/dist/security/siem/hooks.d.ts +107 -0
- package/dist/security/siem/hooks.d.ts.map +1 -0
- package/dist/security/siem/hooks.js +459 -0
- package/dist/security/siem/hooks.js.map +1 -0
- package/dist/security/siem/index.d.ts +83 -0
- package/dist/security/siem/index.d.ts.map +1 -0
- package/dist/security/siem/index.js +95 -0
- package/dist/security/siem/index.js.map +1 -0
- package/dist/security/siem/service.d.ts +153 -0
- package/dist/security/siem/service.d.ts.map +1 -0
- package/dist/security/siem/service.js +615 -0
- package/dist/security/siem/service.js.map +1 -0
- package/dist/security/siem/splunk.d.ts +76 -0
- package/dist/security/siem/splunk.d.ts.map +1 -0
- package/dist/security/siem/splunk.js +283 -0
- package/dist/security/siem/splunk.js.map +1 -0
- package/dist/security/siem/types.d.ts +1980 -0
- package/dist/security/siem/types.d.ts.map +1 -0
- package/dist/security/siem/types.js +268 -0
- package/dist/security/siem/types.js.map +1 -0
- package/dist/security/tee-production.d.ts +157 -0
- package/dist/security/tee-production.d.ts.map +1 -0
- package/dist/security/tee-production.js +792 -0
- package/dist/security/tee-production.js.map +1 -0
- package/dist/security/tee.d.ts +182 -0
- package/dist/security/tee.d.ts.map +1 -0
- package/dist/security/tee.js +1031 -0
- package/dist/security/tee.js.map +1 -0
- package/dist/security/threat-intel/bot-detection.d.ts +275 -0
- package/dist/security/threat-intel/bot-detection.d.ts.map +1 -0
- package/dist/security/threat-intel/bot-detection.js +890 -0
- package/dist/security/threat-intel/bot-detection.js.map +1 -0
- package/dist/security/threat-intel/credential-stuffing.d.ts +368 -0
- package/dist/security/threat-intel/credential-stuffing.d.ts.map +1 -0
- package/dist/security/threat-intel/credential-stuffing.js +957 -0
- package/dist/security/threat-intel/credential-stuffing.js.map +1 -0
- package/dist/security/threat-intel/index.d.ts +10 -0
- package/dist/security/threat-intel/index.d.ts.map +1 -0
- package/dist/security/threat-intel/index.js +18 -0
- package/dist/security/threat-intel/index.js.map +1 -0
- package/dist/security/threat-intel/ip-reputation.d.ts +323 -0
- package/dist/security/threat-intel/ip-reputation.d.ts.map +1 -0
- package/dist/security/threat-intel/ip-reputation.js +923 -0
- package/dist/security/threat-intel/ip-reputation.js.map +1 -0
- package/dist/security/token-lifecycle.d.ts +272 -0
- package/dist/security/token-lifecycle.d.ts.map +1 -0
- package/dist/security/token-lifecycle.js +732 -0
- package/dist/security/token-lifecycle.js.map +1 -0
- package/dist/security/token-lifetime.d.ts +206 -0
- package/dist/security/token-lifetime.d.ts.map +1 -0
- package/dist/security/token-lifetime.js +388 -0
- package/dist/security/token-lifetime.js.map +1 -0
- package/dist/security/trust-oracle/alerts.d.ts +202 -0
- package/dist/security/trust-oracle/alerts.d.ts.map +1 -0
- package/dist/security/trust-oracle/alerts.js +763 -0
- package/dist/security/trust-oracle/alerts.js.map +1 -0
- package/dist/security/trust-oracle/api.d.ts +116 -0
- package/dist/security/trust-oracle/api.d.ts.map +1 -0
- package/dist/security/trust-oracle/api.js +721 -0
- package/dist/security/trust-oracle/api.js.map +1 -0
- package/dist/security/trust-oracle/continuous-monitoring.d.ts +105 -0
- package/dist/security/trust-oracle/continuous-monitoring.d.ts.map +1 -0
- package/dist/security/trust-oracle/continuous-monitoring.js +696 -0
- package/dist/security/trust-oracle/continuous-monitoring.js.map +1 -0
- package/dist/security/trust-oracle/data-sources.d.ts +126 -0
- package/dist/security/trust-oracle/data-sources.d.ts.map +1 -0
- package/dist/security/trust-oracle/data-sources.js +867 -0
- package/dist/security/trust-oracle/data-sources.js.map +1 -0
- package/dist/security/trust-oracle/index.d.ts +79 -0
- package/dist/security/trust-oracle/index.d.ts.map +1 -0
- package/dist/security/trust-oracle/index.js +206 -0
- package/dist/security/trust-oracle/index.js.map +1 -0
- package/dist/security/trust-oracle/oracle.d.ts +125 -0
- package/dist/security/trust-oracle/oracle.d.ts.map +1 -0
- package/dist/security/trust-oracle/oracle.js +489 -0
- package/dist/security/trust-oracle/oracle.js.map +1 -0
- package/dist/security/trust-oracle/reporting.d.ts +145 -0
- package/dist/security/trust-oracle/reporting.d.ts.map +1 -0
- package/dist/security/trust-oracle/reporting.js +1098 -0
- package/dist/security/trust-oracle/reporting.js.map +1 -0
- package/dist/security/trust-oracle/risk-scorer.d.ts +207 -0
- package/dist/security/trust-oracle/risk-scorer.d.ts.map +1 -0
- package/dist/security/trust-oracle/risk-scorer.js +1033 -0
- package/dist/security/trust-oracle/risk-scorer.js.map +1 -0
- package/dist/security/trust-oracle/types.d.ts +444 -0
- package/dist/security/trust-oracle/types.d.ts.map +1 -0
- package/dist/security/trust-oracle/types.js +6 -0
- package/dist/security/trust-oracle/types.js.map +1 -0
- package/dist/security/trust-oracle/vendor-registry.d.ts +228 -0
- package/dist/security/trust-oracle/vendor-registry.d.ts.map +1 -0
- package/dist/security/trust-oracle/vendor-registry.js +727 -0
- package/dist/security/trust-oracle/vendor-registry.js.map +1 -0
- package/dist/security/types.d.ts +1777 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/security/types.js +388 -0
- package/dist/security/types.js.map +1 -0
- package/dist/security/webauthn/index.d.ts +47 -0
- package/dist/security/webauthn/index.d.ts.map +1 -0
- package/dist/security/webauthn/index.js +48 -0
- package/dist/security/webauthn/index.js.map +1 -0
- package/dist/security/webauthn/middleware.d.ts +109 -0
- package/dist/security/webauthn/middleware.d.ts.map +1 -0
- package/dist/security/webauthn/middleware.js +629 -0
- package/dist/security/webauthn/middleware.js.map +1 -0
- package/dist/security/webauthn/service.d.ts +179 -0
- package/dist/security/webauthn/service.d.ts.map +1 -0
- package/dist/security/webauthn/service.js +758 -0
- package/dist/security/webauthn/service.js.map +1 -0
- package/dist/security/webauthn/store.d.ts +240 -0
- package/dist/security/webauthn/store.d.ts.map +1 -0
- package/dist/security/webauthn/store.js +505 -0
- package/dist/security/webauthn/store.js.map +1 -0
- package/dist/security/webauthn/types.d.ts +678 -0
- package/dist/security/webauthn/types.d.ts.map +1 -0
- package/dist/security/webauthn/types.js +176 -0
- package/dist/security/webauthn/types.js.map +1 -0
- package/dist/security/zkp/circuits.d.ts +296 -0
- package/dist/security/zkp/circuits.d.ts.map +1 -0
- package/dist/security/zkp/circuits.js +771 -0
- package/dist/security/zkp/circuits.js.map +1 -0
- package/dist/security/zkp/commitment.d.ts +319 -0
- package/dist/security/zkp/commitment.d.ts.map +1 -0
- package/dist/security/zkp/commitment.js +591 -0
- package/dist/security/zkp/commitment.js.map +1 -0
- package/dist/security/zkp/compliance.d.ts +251 -0
- package/dist/security/zkp/compliance.d.ts.map +1 -0
- package/dist/security/zkp/compliance.js +734 -0
- package/dist/security/zkp/compliance.js.map +1 -0
- package/dist/security/zkp/index.d.ts +184 -0
- package/dist/security/zkp/index.d.ts.map +1 -0
- package/dist/security/zkp/index.js +285 -0
- package/dist/security/zkp/index.js.map +1 -0
- package/dist/security/zkp/integration.d.ts +289 -0
- package/dist/security/zkp/integration.d.ts.map +1 -0
- package/dist/security/zkp/integration.js +571 -0
- package/dist/security/zkp/integration.js.map +1 -0
- package/dist/security/zkp/prover.d.ts +158 -0
- package/dist/security/zkp/prover.d.ts.map +1 -0
- package/dist/security/zkp/prover.js +465 -0
- package/dist/security/zkp/prover.js.map +1 -0
- package/dist/security/zkp/snark-utils.d.ts +321 -0
- package/dist/security/zkp/snark-utils.d.ts.map +1 -0
- package/dist/security/zkp/snark-utils.js +640 -0
- package/dist/security/zkp/snark-utils.js.map +1 -0
- package/dist/security/zkp/types.d.ts +1192 -0
- package/dist/security/zkp/types.d.ts.map +1 -0
- package/dist/security/zkp/types.js +264 -0
- package/dist/security/zkp/types.js.map +1 -0
- package/dist/security/zkp/verifier.d.ts +111 -0
- package/dist/security/zkp/verifier.d.ts.map +1 -0
- package/dist/security/zkp/verifier.js +554 -0
- package/dist/security/zkp/verifier.js.map +1 -0
- package/dist/semantic-governance/context-validator.d.ts +158 -0
- package/dist/semantic-governance/context-validator.d.ts.map +1 -0
- package/dist/semantic-governance/context-validator.js +598 -0
- package/dist/semantic-governance/context-validator.js.map +1 -0
- package/dist/semantic-governance/credential-manager.d.ts +156 -0
- package/dist/semantic-governance/credential-manager.d.ts.map +1 -0
- package/dist/semantic-governance/credential-manager.js +438 -0
- package/dist/semantic-governance/credential-manager.js.map +1 -0
- package/dist/semantic-governance/dual-channel.d.ts +138 -0
- package/dist/semantic-governance/dual-channel.d.ts.map +1 -0
- package/dist/semantic-governance/dual-channel.js +333 -0
- package/dist/semantic-governance/dual-channel.js.map +1 -0
- package/dist/semantic-governance/index.d.ts +107 -0
- package/dist/semantic-governance/index.d.ts.map +1 -0
- package/dist/semantic-governance/index.js +141 -0
- package/dist/semantic-governance/index.js.map +1 -0
- package/dist/semantic-governance/inference-validator.d.ts +114 -0
- package/dist/semantic-governance/inference-validator.d.ts.map +1 -0
- package/dist/semantic-governance/inference-validator.js +390 -0
- package/dist/semantic-governance/inference-validator.js.map +1 -0
- package/dist/semantic-governance/instruction-validator.d.ts +146 -0
- package/dist/semantic-governance/instruction-validator.d.ts.map +1 -0
- package/dist/semantic-governance/instruction-validator.js +363 -0
- package/dist/semantic-governance/instruction-validator.js.map +1 -0
- package/dist/semantic-governance/integration.d.ts +253 -0
- package/dist/semantic-governance/integration.d.ts.map +1 -0
- package/dist/semantic-governance/integration.js +658 -0
- package/dist/semantic-governance/integration.js.map +1 -0
- package/dist/semantic-governance/output-validator.d.ts +135 -0
- package/dist/semantic-governance/output-validator.d.ts.map +1 -0
- package/dist/semantic-governance/output-validator.js +448 -0
- package/dist/semantic-governance/output-validator.js.map +1 -0
- package/dist/semantic-governance/service.d.ts +120 -0
- package/dist/semantic-governance/service.d.ts.map +1 -0
- package/dist/semantic-governance/service.js +527 -0
- package/dist/semantic-governance/service.js.map +1 -0
- package/dist/semantic-governance/types.d.ts +3925 -0
- package/dist/semantic-governance/types.d.ts.map +1 -0
- package/dist/semantic-governance/types.js +471 -0
- package/dist/semantic-governance/types.js.map +1 -0
- package/dist/trust-engine/car-integration.d.ts +263 -0
- package/dist/trust-engine/car-integration.d.ts.map +1 -0
- package/dist/trust-engine/car-integration.js +320 -0
- package/dist/trust-engine/car-integration.js.map +1 -0
- package/dist/trust-engine/context.d.ts +198 -0
- package/dist/trust-engine/context.d.ts.map +1 -0
- package/dist/trust-engine/context.js +308 -0
- package/dist/trust-engine/context.js.map +1 -0
- package/dist/trust-engine/diminishing-returns.d.ts +123 -0
- package/dist/trust-engine/diminishing-returns.d.ts.map +1 -0
- package/dist/trust-engine/diminishing-returns.js +197 -0
- package/dist/trust-engine/diminishing-returns.js.map +1 -0
- package/dist/trust-engine/index.d.ts +433 -0
- package/dist/trust-engine/index.d.ts.map +1 -0
- package/dist/trust-engine/index.js +1241 -0
- package/dist/trust-engine/index.js.map +1 -0
- package/dist/trust-engine/observability.d.ts +175 -0
- package/dist/trust-engine/observability.d.ts.map +1 -0
- package/dist/trust-engine/observability.js +246 -0
- package/dist/trust-engine/observability.js.map +1 -0
- package/dist/trust-engine/signal-diversity.d.ts +130 -0
- package/dist/trust-engine/signal-diversity.d.ts.map +1 -0
- package/dist/trust-engine/signal-diversity.js +238 -0
- package/dist/trust-engine/signal-diversity.js.map +1 -0
- package/dist/versioning/deprecation.d.ts +65 -0
- package/dist/versioning/deprecation.d.ts.map +1 -0
- package/dist/versioning/deprecation.js +199 -0
- package/dist/versioning/deprecation.js.map +1 -0
- package/dist/versioning/index.d.ts +46 -0
- package/dist/versioning/index.d.ts.map +1 -0
- package/dist/versioning/index.js +76 -0
- package/dist/versioning/index.js.map +1 -0
- package/dist/versioning/semver.d.ts +116 -0
- package/dist/versioning/semver.d.ts.map +1 -0
- package/dist/versioning/semver.js +321 -0
- package/dist/versioning/semver.js.map +1 -0
- package/package.json +161 -0
|
@@ -0,0 +1,2053 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Configuration management for Vorion
|
|
3
|
+
*/
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
/**
|
|
6
|
+
* Environment configuration schema
|
|
7
|
+
*/
|
|
8
|
+
declare const configSchema: z.ZodEffects<z.ZodObject<{
|
|
9
|
+
env: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
10
|
+
logLevel: z.ZodDefault<z.ZodEnum<["debug", "info", "warn", "error"]>>;
|
|
11
|
+
app: z.ZodObject<{
|
|
12
|
+
name: z.ZodDefault<z.ZodString>;
|
|
13
|
+
version: z.ZodDefault<z.ZodString>;
|
|
14
|
+
environment: z.ZodDefault<z.ZodString>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
version?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
environment?: string;
|
|
19
|
+
}, {
|
|
20
|
+
version?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
environment?: string;
|
|
23
|
+
}>;
|
|
24
|
+
telemetry: z.ZodObject<{
|
|
25
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
26
|
+
serviceName: z.ZodDefault<z.ZodString>;
|
|
27
|
+
otlpEndpoint: z.ZodDefault<z.ZodString>;
|
|
28
|
+
otlpHeaders: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
29
|
+
sampleRate: z.ZodDefault<z.ZodNumber>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
enabled?: boolean;
|
|
32
|
+
serviceName?: string;
|
|
33
|
+
otlpEndpoint?: string;
|
|
34
|
+
otlpHeaders?: Record<string, string>;
|
|
35
|
+
sampleRate?: number;
|
|
36
|
+
}, {
|
|
37
|
+
enabled?: boolean;
|
|
38
|
+
serviceName?: string;
|
|
39
|
+
otlpEndpoint?: string;
|
|
40
|
+
otlpHeaders?: Record<string, string>;
|
|
41
|
+
sampleRate?: number;
|
|
42
|
+
}>;
|
|
43
|
+
api: z.ZodObject<{
|
|
44
|
+
port: z.ZodDefault<z.ZodNumber>;
|
|
45
|
+
host: z.ZodDefault<z.ZodString>;
|
|
46
|
+
basePath: z.ZodDefault<z.ZodString>;
|
|
47
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
48
|
+
rateLimit: z.ZodDefault<z.ZodNumber>;
|
|
49
|
+
/** Separate rate limit for bulk operations (default: 10 requests per minute) */
|
|
50
|
+
bulkRateLimit: z.ZodDefault<z.ZodNumber>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
timeout?: number;
|
|
53
|
+
port?: number;
|
|
54
|
+
host?: string;
|
|
55
|
+
basePath?: string;
|
|
56
|
+
rateLimit?: number;
|
|
57
|
+
bulkRateLimit?: number;
|
|
58
|
+
}, {
|
|
59
|
+
timeout?: number;
|
|
60
|
+
port?: number;
|
|
61
|
+
host?: string;
|
|
62
|
+
basePath?: string;
|
|
63
|
+
rateLimit?: number;
|
|
64
|
+
bulkRateLimit?: number;
|
|
65
|
+
}>;
|
|
66
|
+
cors: z.ZodDefault<z.ZodObject<{
|
|
67
|
+
/** Allowed origins for CORS (used in non-production environments) */
|
|
68
|
+
allowedOrigins: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
allowedOrigins?: string[];
|
|
71
|
+
}, {
|
|
72
|
+
allowedOrigins?: string[];
|
|
73
|
+
}>>;
|
|
74
|
+
health: z.ZodObject<{
|
|
75
|
+
checkTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
76
|
+
readyTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
77
|
+
livenessTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
checkTimeoutMs?: number;
|
|
80
|
+
readyTimeoutMs?: number;
|
|
81
|
+
livenessTimeoutMs?: number;
|
|
82
|
+
}, {
|
|
83
|
+
checkTimeoutMs?: number;
|
|
84
|
+
readyTimeoutMs?: number;
|
|
85
|
+
livenessTimeoutMs?: number;
|
|
86
|
+
}>;
|
|
87
|
+
database: z.ZodObject<{
|
|
88
|
+
host: z.ZodDefault<z.ZodString>;
|
|
89
|
+
port: z.ZodDefault<z.ZodNumber>;
|
|
90
|
+
name: z.ZodDefault<z.ZodString>;
|
|
91
|
+
user: z.ZodDefault<z.ZodString>;
|
|
92
|
+
password: z.ZodDefault<z.ZodString>;
|
|
93
|
+
poolMin: z.ZodDefault<z.ZodNumber>;
|
|
94
|
+
poolMax: z.ZodDefault<z.ZodNumber>;
|
|
95
|
+
poolIdleTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
96
|
+
poolConnectionTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
97
|
+
metricsIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
98
|
+
/**
|
|
99
|
+
* Default statement timeout for database queries in milliseconds.
|
|
100
|
+
* Queries exceeding this timeout will be cancelled by PostgreSQL.
|
|
101
|
+
* Default: 30000 (30 seconds)
|
|
102
|
+
*/
|
|
103
|
+
statementTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
104
|
+
/**
|
|
105
|
+
* Extended timeout for long-running queries (reports, exports) in milliseconds.
|
|
106
|
+
* Default: 120000 (2 minutes)
|
|
107
|
+
*/
|
|
108
|
+
longQueryTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
user?: string;
|
|
111
|
+
password?: string;
|
|
112
|
+
name?: string;
|
|
113
|
+
port?: number;
|
|
114
|
+
host?: string;
|
|
115
|
+
poolMin?: number;
|
|
116
|
+
poolMax?: number;
|
|
117
|
+
poolIdleTimeoutMs?: number;
|
|
118
|
+
poolConnectionTimeoutMs?: number;
|
|
119
|
+
metricsIntervalMs?: number;
|
|
120
|
+
statementTimeoutMs?: number;
|
|
121
|
+
longQueryTimeoutMs?: number;
|
|
122
|
+
}, {
|
|
123
|
+
user?: string;
|
|
124
|
+
password?: string;
|
|
125
|
+
name?: string;
|
|
126
|
+
port?: number;
|
|
127
|
+
host?: string;
|
|
128
|
+
poolMin?: number;
|
|
129
|
+
poolMax?: number;
|
|
130
|
+
poolIdleTimeoutMs?: number;
|
|
131
|
+
poolConnectionTimeoutMs?: number;
|
|
132
|
+
metricsIntervalMs?: number;
|
|
133
|
+
statementTimeoutMs?: number;
|
|
134
|
+
longQueryTimeoutMs?: number;
|
|
135
|
+
}>;
|
|
136
|
+
redis: z.ZodObject<{
|
|
137
|
+
host: z.ZodDefault<z.ZodString>;
|
|
138
|
+
port: z.ZodDefault<z.ZodNumber>;
|
|
139
|
+
password: z.ZodOptional<z.ZodString>;
|
|
140
|
+
db: z.ZodDefault<z.ZodNumber>;
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
password?: string;
|
|
143
|
+
port?: number;
|
|
144
|
+
host?: string;
|
|
145
|
+
db?: number;
|
|
146
|
+
}, {
|
|
147
|
+
password?: string;
|
|
148
|
+
port?: number;
|
|
149
|
+
host?: string;
|
|
150
|
+
db?: number;
|
|
151
|
+
}>;
|
|
152
|
+
jwt: z.ZodEffects<z.ZodObject<{
|
|
153
|
+
secret: z.ZodString;
|
|
154
|
+
expiration: z.ZodDefault<z.ZodString>;
|
|
155
|
+
refreshExpiration: z.ZodDefault<z.ZodString>;
|
|
156
|
+
requireJti: z.ZodDefault<z.ZodBoolean>;
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
|
+
secret?: string;
|
|
159
|
+
expiration?: string;
|
|
160
|
+
refreshExpiration?: string;
|
|
161
|
+
requireJti?: boolean;
|
|
162
|
+
}, {
|
|
163
|
+
secret?: string;
|
|
164
|
+
expiration?: string;
|
|
165
|
+
refreshExpiration?: string;
|
|
166
|
+
requireJti?: boolean;
|
|
167
|
+
}>, {
|
|
168
|
+
secret?: string;
|
|
169
|
+
expiration?: string;
|
|
170
|
+
refreshExpiration?: string;
|
|
171
|
+
requireJti?: boolean;
|
|
172
|
+
}, {
|
|
173
|
+
secret?: string;
|
|
174
|
+
expiration?: string;
|
|
175
|
+
refreshExpiration?: string;
|
|
176
|
+
requireJti?: boolean;
|
|
177
|
+
}>;
|
|
178
|
+
proof: z.ZodObject<{
|
|
179
|
+
storage: z.ZodDefault<z.ZodEnum<["local", "s3", "gcs"]>>;
|
|
180
|
+
localPath: z.ZodDefault<z.ZodString>;
|
|
181
|
+
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
storage?: "local" | "s3" | "gcs";
|
|
184
|
+
localPath?: string;
|
|
185
|
+
retentionDays?: number;
|
|
186
|
+
}, {
|
|
187
|
+
storage?: "local" | "s3" | "gcs";
|
|
188
|
+
localPath?: string;
|
|
189
|
+
retentionDays?: number;
|
|
190
|
+
}>;
|
|
191
|
+
trust: z.ZodObject<{
|
|
192
|
+
calcInterval: z.ZodDefault<z.ZodNumber>;
|
|
193
|
+
cacheTtl: z.ZodDefault<z.ZodNumber>;
|
|
194
|
+
/** @deprecated Inactivity decay now uses stepped milestones. See DECAY_MILESTONES in trust-engine. */
|
|
195
|
+
decayRate: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
calcInterval?: number;
|
|
198
|
+
cacheTtl?: number;
|
|
199
|
+
decayRate?: number;
|
|
200
|
+
}, {
|
|
201
|
+
calcInterval?: number;
|
|
202
|
+
cacheTtl?: number;
|
|
203
|
+
decayRate?: number;
|
|
204
|
+
}>;
|
|
205
|
+
basis: z.ZodObject<{
|
|
206
|
+
evalTimeout: z.ZodDefault<z.ZodNumber>;
|
|
207
|
+
maxRules: z.ZodDefault<z.ZodNumber>;
|
|
208
|
+
cacheEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
209
|
+
}, "strip", z.ZodTypeAny, {
|
|
210
|
+
evalTimeout?: number;
|
|
211
|
+
maxRules?: number;
|
|
212
|
+
cacheEnabled?: boolean;
|
|
213
|
+
}, {
|
|
214
|
+
evalTimeout?: number;
|
|
215
|
+
maxRules?: number;
|
|
216
|
+
cacheEnabled?: boolean;
|
|
217
|
+
}>;
|
|
218
|
+
cognigate: z.ZodObject<{
|
|
219
|
+
timeout: z.ZodDefault<z.ZodNumber>;
|
|
220
|
+
maxConcurrent: z.ZodDefault<z.ZodNumber>;
|
|
221
|
+
maxMemoryMb: z.ZodDefault<z.ZodNumber>;
|
|
222
|
+
maxCpuPercent: z.ZodDefault<z.ZodNumber>;
|
|
223
|
+
}, "strip", z.ZodTypeAny, {
|
|
224
|
+
timeout?: number;
|
|
225
|
+
maxConcurrent?: number;
|
|
226
|
+
maxMemoryMb?: number;
|
|
227
|
+
maxCpuPercent?: number;
|
|
228
|
+
}, {
|
|
229
|
+
timeout?: number;
|
|
230
|
+
maxConcurrent?: number;
|
|
231
|
+
maxMemoryMb?: number;
|
|
232
|
+
maxCpuPercent?: number;
|
|
233
|
+
}>;
|
|
234
|
+
intent: z.ZodObject<{
|
|
235
|
+
defaultNamespace: z.ZodDefault<z.ZodString>;
|
|
236
|
+
namespaceRouting: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
237
|
+
dedupeTtlSeconds: z.ZodDefault<z.ZodNumber>;
|
|
238
|
+
/**
|
|
239
|
+
* HMAC secret for secure deduplication hash computation.
|
|
240
|
+
* REQUIRED in production/staging to prevent hash prediction attacks.
|
|
241
|
+
* Generate with: openssl rand -base64 32
|
|
242
|
+
*/
|
|
243
|
+
dedupeSecret: z.ZodOptional<z.ZodString>;
|
|
244
|
+
/**
|
|
245
|
+
* Timestamp window for deduplication in seconds.
|
|
246
|
+
* Hashes are computed with a time bucket to prevent replay attacks
|
|
247
|
+
* while allowing legitimate retries within the window.
|
|
248
|
+
* Default: 300 seconds (5 minutes)
|
|
249
|
+
*/
|
|
250
|
+
dedupeTimestampWindowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
251
|
+
sensitivePaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
+
defaultMaxInFlight: z.ZodDefault<z.ZodNumber>;
|
|
253
|
+
tenantMaxInFlight: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
254
|
+
queueConcurrency: z.ZodDefault<z.ZodNumber>;
|
|
255
|
+
jobTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
256
|
+
maxRetries: z.ZodDefault<z.ZodNumber>;
|
|
257
|
+
retryBackoffMs: z.ZodDefault<z.ZodNumber>;
|
|
258
|
+
queueDepthThreshold: z.ZodDefault<z.ZodNumber>;
|
|
259
|
+
eventRetentionDays: z.ZodDefault<z.ZodNumber>;
|
|
260
|
+
encryptContext: z.ZodDefault<z.ZodBoolean>;
|
|
261
|
+
trustGates: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
262
|
+
defaultMinTrustLevel: z.ZodDefault<z.ZodNumber>;
|
|
263
|
+
revalidateTrustAtDecision: z.ZodDefault<z.ZodBoolean>;
|
|
264
|
+
softDeleteRetentionDays: z.ZodDefault<z.ZodNumber>;
|
|
265
|
+
escalationTimeout: z.ZodDefault<z.ZodString>;
|
|
266
|
+
escalationDefaultRecipient: z.ZodDefault<z.ZodString>;
|
|
267
|
+
cleanupCronSchedule: z.ZodDefault<z.ZodString>;
|
|
268
|
+
timeoutCheckCronSchedule: z.ZodDefault<z.ZodString>;
|
|
269
|
+
shutdownTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
270
|
+
rateLimits: z.ZodDefault<z.ZodObject<{
|
|
271
|
+
default: z.ZodDefault<z.ZodObject<{
|
|
272
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
273
|
+
windowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
limit?: number;
|
|
276
|
+
windowSeconds?: number;
|
|
277
|
+
}, {
|
|
278
|
+
limit?: number;
|
|
279
|
+
windowSeconds?: number;
|
|
280
|
+
}>>;
|
|
281
|
+
highRisk: z.ZodDefault<z.ZodObject<{
|
|
282
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
283
|
+
windowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
limit?: number;
|
|
286
|
+
windowSeconds?: number;
|
|
287
|
+
}, {
|
|
288
|
+
limit?: number;
|
|
289
|
+
windowSeconds?: number;
|
|
290
|
+
}>>;
|
|
291
|
+
dataExport: z.ZodDefault<z.ZodObject<{
|
|
292
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
293
|
+
windowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
limit?: number;
|
|
296
|
+
windowSeconds?: number;
|
|
297
|
+
}, {
|
|
298
|
+
limit?: number;
|
|
299
|
+
windowSeconds?: number;
|
|
300
|
+
}>>;
|
|
301
|
+
adminAction: z.ZodDefault<z.ZodObject<{
|
|
302
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
303
|
+
windowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
305
|
+
limit?: number;
|
|
306
|
+
windowSeconds?: number;
|
|
307
|
+
}, {
|
|
308
|
+
limit?: number;
|
|
309
|
+
windowSeconds?: number;
|
|
310
|
+
}>>;
|
|
311
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
default?: {
|
|
313
|
+
limit?: number;
|
|
314
|
+
windowSeconds?: number;
|
|
315
|
+
};
|
|
316
|
+
highRisk?: {
|
|
317
|
+
limit?: number;
|
|
318
|
+
windowSeconds?: number;
|
|
319
|
+
};
|
|
320
|
+
dataExport?: {
|
|
321
|
+
limit?: number;
|
|
322
|
+
windowSeconds?: number;
|
|
323
|
+
};
|
|
324
|
+
adminAction?: {
|
|
325
|
+
limit?: number;
|
|
326
|
+
windowSeconds?: number;
|
|
327
|
+
};
|
|
328
|
+
}, {
|
|
329
|
+
default?: {
|
|
330
|
+
limit?: number;
|
|
331
|
+
windowSeconds?: number;
|
|
332
|
+
};
|
|
333
|
+
highRisk?: {
|
|
334
|
+
limit?: number;
|
|
335
|
+
windowSeconds?: number;
|
|
336
|
+
};
|
|
337
|
+
dataExport?: {
|
|
338
|
+
limit?: number;
|
|
339
|
+
windowSeconds?: number;
|
|
340
|
+
};
|
|
341
|
+
adminAction?: {
|
|
342
|
+
limit?: number;
|
|
343
|
+
windowSeconds?: number;
|
|
344
|
+
};
|
|
345
|
+
}>>;
|
|
346
|
+
policyCircuitBreaker: z.ZodDefault<z.ZodObject<{
|
|
347
|
+
/** Number of consecutive failures before opening the circuit (default: 5) */
|
|
348
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
349
|
+
/** Time in milliseconds before attempting to close the circuit (default: 30000) */
|
|
350
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
failureThreshold?: number;
|
|
353
|
+
resetTimeoutMs?: number;
|
|
354
|
+
}, {
|
|
355
|
+
failureThreshold?: number;
|
|
356
|
+
resetTimeoutMs?: number;
|
|
357
|
+
}>>;
|
|
358
|
+
}, "strip", z.ZodTypeAny, {
|
|
359
|
+
defaultNamespace?: string;
|
|
360
|
+
namespaceRouting?: Record<string, string>;
|
|
361
|
+
dedupeTtlSeconds?: number;
|
|
362
|
+
dedupeSecret?: string;
|
|
363
|
+
dedupeTimestampWindowSeconds?: number;
|
|
364
|
+
sensitivePaths?: string[];
|
|
365
|
+
defaultMaxInFlight?: number;
|
|
366
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
367
|
+
queueConcurrency?: number;
|
|
368
|
+
jobTimeoutMs?: number;
|
|
369
|
+
maxRetries?: number;
|
|
370
|
+
retryBackoffMs?: number;
|
|
371
|
+
queueDepthThreshold?: number;
|
|
372
|
+
eventRetentionDays?: number;
|
|
373
|
+
encryptContext?: boolean;
|
|
374
|
+
trustGates?: Record<string, number>;
|
|
375
|
+
defaultMinTrustLevel?: number;
|
|
376
|
+
revalidateTrustAtDecision?: boolean;
|
|
377
|
+
softDeleteRetentionDays?: number;
|
|
378
|
+
escalationTimeout?: string;
|
|
379
|
+
escalationDefaultRecipient?: string;
|
|
380
|
+
cleanupCronSchedule?: string;
|
|
381
|
+
timeoutCheckCronSchedule?: string;
|
|
382
|
+
shutdownTimeoutMs?: number;
|
|
383
|
+
rateLimits?: {
|
|
384
|
+
default?: {
|
|
385
|
+
limit?: number;
|
|
386
|
+
windowSeconds?: number;
|
|
387
|
+
};
|
|
388
|
+
highRisk?: {
|
|
389
|
+
limit?: number;
|
|
390
|
+
windowSeconds?: number;
|
|
391
|
+
};
|
|
392
|
+
dataExport?: {
|
|
393
|
+
limit?: number;
|
|
394
|
+
windowSeconds?: number;
|
|
395
|
+
};
|
|
396
|
+
adminAction?: {
|
|
397
|
+
limit?: number;
|
|
398
|
+
windowSeconds?: number;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
policyCircuitBreaker?: {
|
|
402
|
+
failureThreshold?: number;
|
|
403
|
+
resetTimeoutMs?: number;
|
|
404
|
+
};
|
|
405
|
+
}, {
|
|
406
|
+
defaultNamespace?: string;
|
|
407
|
+
namespaceRouting?: Record<string, string>;
|
|
408
|
+
dedupeTtlSeconds?: number;
|
|
409
|
+
dedupeSecret?: string;
|
|
410
|
+
dedupeTimestampWindowSeconds?: number;
|
|
411
|
+
sensitivePaths?: string[];
|
|
412
|
+
defaultMaxInFlight?: number;
|
|
413
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
414
|
+
queueConcurrency?: number;
|
|
415
|
+
jobTimeoutMs?: number;
|
|
416
|
+
maxRetries?: number;
|
|
417
|
+
retryBackoffMs?: number;
|
|
418
|
+
queueDepthThreshold?: number;
|
|
419
|
+
eventRetentionDays?: number;
|
|
420
|
+
encryptContext?: boolean;
|
|
421
|
+
trustGates?: Record<string, number>;
|
|
422
|
+
defaultMinTrustLevel?: number;
|
|
423
|
+
revalidateTrustAtDecision?: boolean;
|
|
424
|
+
softDeleteRetentionDays?: number;
|
|
425
|
+
escalationTimeout?: string;
|
|
426
|
+
escalationDefaultRecipient?: string;
|
|
427
|
+
cleanupCronSchedule?: string;
|
|
428
|
+
timeoutCheckCronSchedule?: string;
|
|
429
|
+
shutdownTimeoutMs?: number;
|
|
430
|
+
rateLimits?: {
|
|
431
|
+
default?: {
|
|
432
|
+
limit?: number;
|
|
433
|
+
windowSeconds?: number;
|
|
434
|
+
};
|
|
435
|
+
highRisk?: {
|
|
436
|
+
limit?: number;
|
|
437
|
+
windowSeconds?: number;
|
|
438
|
+
};
|
|
439
|
+
dataExport?: {
|
|
440
|
+
limit?: number;
|
|
441
|
+
windowSeconds?: number;
|
|
442
|
+
};
|
|
443
|
+
adminAction?: {
|
|
444
|
+
limit?: number;
|
|
445
|
+
windowSeconds?: number;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
policyCircuitBreaker?: {
|
|
449
|
+
failureThreshold?: number;
|
|
450
|
+
resetTimeoutMs?: number;
|
|
451
|
+
};
|
|
452
|
+
}>;
|
|
453
|
+
circuitBreaker: z.ZodDefault<z.ZodObject<{
|
|
454
|
+
database: z.ZodDefault<z.ZodObject<{
|
|
455
|
+
/** Number of failures before opening the circuit (default: 5) */
|
|
456
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
457
|
+
/** Time in ms before attempting to close the circuit (default: 30000) */
|
|
458
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
459
|
+
/** Maximum attempts in half-open state before reopening (default: 3) */
|
|
460
|
+
halfOpenMaxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
461
|
+
/** Time window in ms to monitor for failures (default: 60000) */
|
|
462
|
+
monitorWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
463
|
+
}, "strip", z.ZodTypeAny, {
|
|
464
|
+
failureThreshold?: number;
|
|
465
|
+
resetTimeoutMs?: number;
|
|
466
|
+
halfOpenMaxAttempts?: number;
|
|
467
|
+
monitorWindowMs?: number;
|
|
468
|
+
}, {
|
|
469
|
+
failureThreshold?: number;
|
|
470
|
+
resetTimeoutMs?: number;
|
|
471
|
+
halfOpenMaxAttempts?: number;
|
|
472
|
+
monitorWindowMs?: number;
|
|
473
|
+
}>>;
|
|
474
|
+
redis: z.ZodDefault<z.ZodObject<{
|
|
475
|
+
/** Number of failures before opening the circuit (default: 10) */
|
|
476
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
477
|
+
/** Time in ms before attempting to close the circuit (default: 10000) */
|
|
478
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
479
|
+
/** Maximum attempts in half-open state before reopening (default: 5) */
|
|
480
|
+
halfOpenMaxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
481
|
+
/** Time window in ms to monitor for failures (default: 30000) */
|
|
482
|
+
monitorWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
failureThreshold?: number;
|
|
485
|
+
resetTimeoutMs?: number;
|
|
486
|
+
halfOpenMaxAttempts?: number;
|
|
487
|
+
monitorWindowMs?: number;
|
|
488
|
+
}, {
|
|
489
|
+
failureThreshold?: number;
|
|
490
|
+
resetTimeoutMs?: number;
|
|
491
|
+
halfOpenMaxAttempts?: number;
|
|
492
|
+
monitorWindowMs?: number;
|
|
493
|
+
}>>;
|
|
494
|
+
webhook: z.ZodDefault<z.ZodObject<{
|
|
495
|
+
/** Number of failures before opening the circuit (default: 3) */
|
|
496
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
497
|
+
/** Time in ms before attempting to close the circuit (default: 60000) */
|
|
498
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
499
|
+
/** Maximum attempts in half-open state before reopening (default: 2) */
|
|
500
|
+
halfOpenMaxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
501
|
+
/** Time window in ms to monitor for failures (default: 120000) */
|
|
502
|
+
monitorWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
failureThreshold?: number;
|
|
505
|
+
resetTimeoutMs?: number;
|
|
506
|
+
halfOpenMaxAttempts?: number;
|
|
507
|
+
monitorWindowMs?: number;
|
|
508
|
+
}, {
|
|
509
|
+
failureThreshold?: number;
|
|
510
|
+
resetTimeoutMs?: number;
|
|
511
|
+
halfOpenMaxAttempts?: number;
|
|
512
|
+
monitorWindowMs?: number;
|
|
513
|
+
}>>;
|
|
514
|
+
policyEngine: z.ZodDefault<z.ZodObject<{
|
|
515
|
+
/** Number of failures before opening the circuit (default: 5) */
|
|
516
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
517
|
+
/** Time in ms before attempting to close the circuit (default: 15000) */
|
|
518
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
519
|
+
/** Maximum attempts in half-open state before reopening (default: 3) */
|
|
520
|
+
halfOpenMaxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
521
|
+
/** Time window in ms to monitor for failures (default: 60000) */
|
|
522
|
+
monitorWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
523
|
+
}, "strip", z.ZodTypeAny, {
|
|
524
|
+
failureThreshold?: number;
|
|
525
|
+
resetTimeoutMs?: number;
|
|
526
|
+
halfOpenMaxAttempts?: number;
|
|
527
|
+
monitorWindowMs?: number;
|
|
528
|
+
}, {
|
|
529
|
+
failureThreshold?: number;
|
|
530
|
+
resetTimeoutMs?: number;
|
|
531
|
+
halfOpenMaxAttempts?: number;
|
|
532
|
+
monitorWindowMs?: number;
|
|
533
|
+
}>>;
|
|
534
|
+
trustEngine: z.ZodDefault<z.ZodObject<{
|
|
535
|
+
/** Number of failures before opening the circuit (default: 5) */
|
|
536
|
+
failureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
537
|
+
/** Time in ms before attempting to close the circuit (default: 15000) */
|
|
538
|
+
resetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
539
|
+
/** Maximum attempts in half-open state before reopening (default: 3) */
|
|
540
|
+
halfOpenMaxAttempts: z.ZodDefault<z.ZodNumber>;
|
|
541
|
+
/** Time window in ms to monitor for failures (default: 60000) */
|
|
542
|
+
monitorWindowMs: z.ZodDefault<z.ZodNumber>;
|
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
|
544
|
+
failureThreshold?: number;
|
|
545
|
+
resetTimeoutMs?: number;
|
|
546
|
+
halfOpenMaxAttempts?: number;
|
|
547
|
+
monitorWindowMs?: number;
|
|
548
|
+
}, {
|
|
549
|
+
failureThreshold?: number;
|
|
550
|
+
resetTimeoutMs?: number;
|
|
551
|
+
halfOpenMaxAttempts?: number;
|
|
552
|
+
monitorWindowMs?: number;
|
|
553
|
+
}>>;
|
|
554
|
+
}, "strip", z.ZodTypeAny, {
|
|
555
|
+
database?: {
|
|
556
|
+
failureThreshold?: number;
|
|
557
|
+
resetTimeoutMs?: number;
|
|
558
|
+
halfOpenMaxAttempts?: number;
|
|
559
|
+
monitorWindowMs?: number;
|
|
560
|
+
};
|
|
561
|
+
redis?: {
|
|
562
|
+
failureThreshold?: number;
|
|
563
|
+
resetTimeoutMs?: number;
|
|
564
|
+
halfOpenMaxAttempts?: number;
|
|
565
|
+
monitorWindowMs?: number;
|
|
566
|
+
};
|
|
567
|
+
webhook?: {
|
|
568
|
+
failureThreshold?: number;
|
|
569
|
+
resetTimeoutMs?: number;
|
|
570
|
+
halfOpenMaxAttempts?: number;
|
|
571
|
+
monitorWindowMs?: number;
|
|
572
|
+
};
|
|
573
|
+
policyEngine?: {
|
|
574
|
+
failureThreshold?: number;
|
|
575
|
+
resetTimeoutMs?: number;
|
|
576
|
+
halfOpenMaxAttempts?: number;
|
|
577
|
+
monitorWindowMs?: number;
|
|
578
|
+
};
|
|
579
|
+
trustEngine?: {
|
|
580
|
+
failureThreshold?: number;
|
|
581
|
+
resetTimeoutMs?: number;
|
|
582
|
+
halfOpenMaxAttempts?: number;
|
|
583
|
+
monitorWindowMs?: number;
|
|
584
|
+
};
|
|
585
|
+
}, {
|
|
586
|
+
database?: {
|
|
587
|
+
failureThreshold?: number;
|
|
588
|
+
resetTimeoutMs?: number;
|
|
589
|
+
halfOpenMaxAttempts?: number;
|
|
590
|
+
monitorWindowMs?: number;
|
|
591
|
+
};
|
|
592
|
+
redis?: {
|
|
593
|
+
failureThreshold?: number;
|
|
594
|
+
resetTimeoutMs?: number;
|
|
595
|
+
halfOpenMaxAttempts?: number;
|
|
596
|
+
monitorWindowMs?: number;
|
|
597
|
+
};
|
|
598
|
+
webhook?: {
|
|
599
|
+
failureThreshold?: number;
|
|
600
|
+
resetTimeoutMs?: number;
|
|
601
|
+
halfOpenMaxAttempts?: number;
|
|
602
|
+
monitorWindowMs?: number;
|
|
603
|
+
};
|
|
604
|
+
policyEngine?: {
|
|
605
|
+
failureThreshold?: number;
|
|
606
|
+
resetTimeoutMs?: number;
|
|
607
|
+
halfOpenMaxAttempts?: number;
|
|
608
|
+
monitorWindowMs?: number;
|
|
609
|
+
};
|
|
610
|
+
trustEngine?: {
|
|
611
|
+
failureThreshold?: number;
|
|
612
|
+
resetTimeoutMs?: number;
|
|
613
|
+
halfOpenMaxAttempts?: number;
|
|
614
|
+
monitorWindowMs?: number;
|
|
615
|
+
};
|
|
616
|
+
}>>;
|
|
617
|
+
webhook: z.ZodObject<{
|
|
618
|
+
timeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
619
|
+
retryAttempts: z.ZodDefault<z.ZodNumber>;
|
|
620
|
+
retryDelayMs: z.ZodDefault<z.ZodNumber>;
|
|
621
|
+
allowDnsChange: z.ZodDefault<z.ZodBoolean>;
|
|
622
|
+
circuitFailureThreshold: z.ZodDefault<z.ZodNumber>;
|
|
623
|
+
circuitResetTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
624
|
+
deliveryConcurrency: z.ZodDefault<z.ZodNumber>;
|
|
625
|
+
allowedDomains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
626
|
+
blockedDomains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
627
|
+
enforceAllowlist: z.ZodDefault<z.ZodBoolean>;
|
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
|
629
|
+
timeoutMs?: number;
|
|
630
|
+
retryAttempts?: number;
|
|
631
|
+
retryDelayMs?: number;
|
|
632
|
+
allowDnsChange?: boolean;
|
|
633
|
+
circuitFailureThreshold?: number;
|
|
634
|
+
circuitResetTimeoutMs?: number;
|
|
635
|
+
deliveryConcurrency?: number;
|
|
636
|
+
allowedDomains?: string[];
|
|
637
|
+
blockedDomains?: string[];
|
|
638
|
+
enforceAllowlist?: boolean;
|
|
639
|
+
}, {
|
|
640
|
+
timeoutMs?: number;
|
|
641
|
+
retryAttempts?: number;
|
|
642
|
+
retryDelayMs?: number;
|
|
643
|
+
allowDnsChange?: boolean;
|
|
644
|
+
circuitFailureThreshold?: number;
|
|
645
|
+
circuitResetTimeoutMs?: number;
|
|
646
|
+
deliveryConcurrency?: number;
|
|
647
|
+
allowedDomains?: string[];
|
|
648
|
+
blockedDomains?: string[];
|
|
649
|
+
enforceAllowlist?: boolean;
|
|
650
|
+
}>;
|
|
651
|
+
gdpr: z.ZodDefault<z.ZodObject<{
|
|
652
|
+
/** Concurrency for GDPR export worker (default: max(2, CPU count)) */
|
|
653
|
+
exportConcurrency: z.ZodOptional<z.ZodNumber>;
|
|
654
|
+
}, "strip", z.ZodTypeAny, {
|
|
655
|
+
exportConcurrency?: number;
|
|
656
|
+
}, {
|
|
657
|
+
exportConcurrency?: number;
|
|
658
|
+
}>>;
|
|
659
|
+
audit: z.ZodObject<{
|
|
660
|
+
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
661
|
+
archiveEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
662
|
+
archiveAfterDays: z.ZodDefault<z.ZodNumber>;
|
|
663
|
+
cleanupBatchSize: z.ZodDefault<z.ZodNumber>;
|
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
|
+
retentionDays?: number;
|
|
666
|
+
archiveEnabled?: boolean;
|
|
667
|
+
archiveAfterDays?: number;
|
|
668
|
+
cleanupBatchSize?: number;
|
|
669
|
+
}, {
|
|
670
|
+
retentionDays?: number;
|
|
671
|
+
archiveEnabled?: boolean;
|
|
672
|
+
archiveAfterDays?: number;
|
|
673
|
+
cleanupBatchSize?: number;
|
|
674
|
+
}>;
|
|
675
|
+
encryption: z.ZodDefault<z.ZodObject<{
|
|
676
|
+
/**
|
|
677
|
+
* Dedicated encryption key for data at rest (required in production/staging)
|
|
678
|
+
* MUST be at least 32 characters. Generate with: openssl rand -base64 32
|
|
679
|
+
*/
|
|
680
|
+
key: z.ZodOptional<z.ZodString>;
|
|
681
|
+
/**
|
|
682
|
+
* Salt for PBKDF2 key derivation (required in production/staging)
|
|
683
|
+
* MUST be at least 16 characters. Generate with: openssl rand -base64 16
|
|
684
|
+
*/
|
|
685
|
+
salt: z.ZodOptional<z.ZodString>;
|
|
686
|
+
algorithm: z.ZodDefault<z.ZodString>;
|
|
687
|
+
/**
|
|
688
|
+
* PBKDF2 iterations - higher is more secure but slower
|
|
689
|
+
* Minimum 100,000 recommended by OWASP
|
|
690
|
+
*/
|
|
691
|
+
pbkdf2Iterations: z.ZodDefault<z.ZodNumber>;
|
|
692
|
+
/**
|
|
693
|
+
* Key derivation version for future algorithm changes
|
|
694
|
+
* v1 = SHA-256 (legacy, insecure)
|
|
695
|
+
* v2 = PBKDF2-SHA512 (current)
|
|
696
|
+
*/
|
|
697
|
+
kdfVersion: z.ZodDefault<z.ZodNumber>;
|
|
698
|
+
}, "strip", z.ZodTypeAny, {
|
|
699
|
+
key?: string;
|
|
700
|
+
salt?: string;
|
|
701
|
+
algorithm?: string;
|
|
702
|
+
pbkdf2Iterations?: number;
|
|
703
|
+
kdfVersion?: number;
|
|
704
|
+
}, {
|
|
705
|
+
key?: string;
|
|
706
|
+
salt?: string;
|
|
707
|
+
algorithm?: string;
|
|
708
|
+
pbkdf2Iterations?: number;
|
|
709
|
+
kdfVersion?: number;
|
|
710
|
+
}>>;
|
|
711
|
+
csrf: z.ZodDefault<z.ZodObject<{
|
|
712
|
+
/** Whether CSRF protection is enabled */
|
|
713
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
714
|
+
/** Secret key for HMAC signing (min 32 chars, auto-generated if not provided) */
|
|
715
|
+
secret: z.ZodOptional<z.ZodString>;
|
|
716
|
+
/** Name of the CSRF cookie */
|
|
717
|
+
cookieName: z.ZodDefault<z.ZodString>;
|
|
718
|
+
/** Name of the header containing the CSRF token */
|
|
719
|
+
headerName: z.ZodDefault<z.ZodString>;
|
|
720
|
+
/** Token validity duration in milliseconds */
|
|
721
|
+
tokenTTL: z.ZodDefault<z.ZodNumber>;
|
|
722
|
+
/** Paths to exclude from CSRF protection (supports glob patterns) */
|
|
723
|
+
excludePaths: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
724
|
+
/** HTTP methods to exclude from CSRF validation */
|
|
725
|
+
excludeMethods: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
726
|
+
}, "strip", z.ZodTypeAny, {
|
|
727
|
+
secret?: string;
|
|
728
|
+
enabled?: boolean;
|
|
729
|
+
cookieName?: string;
|
|
730
|
+
headerName?: string;
|
|
731
|
+
tokenTTL?: number;
|
|
732
|
+
excludePaths?: string[];
|
|
733
|
+
excludeMethods?: string[];
|
|
734
|
+
}, {
|
|
735
|
+
secret?: string;
|
|
736
|
+
enabled?: boolean;
|
|
737
|
+
cookieName?: string;
|
|
738
|
+
headerName?: string;
|
|
739
|
+
tokenTTL?: number;
|
|
740
|
+
excludePaths?: string[];
|
|
741
|
+
excludeMethods?: string[];
|
|
742
|
+
}>>;
|
|
743
|
+
session: z.ZodDefault<z.ZodObject<{
|
|
744
|
+
/** Whether server-side fingerprint validation is enabled */
|
|
745
|
+
fingerprintEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
746
|
+
/**
|
|
747
|
+
* Strictness level for fingerprint validation: 'warn' logs mismatches, 'block' rejects the request.
|
|
748
|
+
* SECURITY: Default is 'block' to actively prevent session hijacking attempts.
|
|
749
|
+
* Use 'warn' only during initial rollout to identify false positives before enforcement.
|
|
750
|
+
* In 'block' mode, requests with mismatched fingerprints are rejected with 403 Forbidden.
|
|
751
|
+
*/
|
|
752
|
+
fingerprintStrictness: z.ZodDefault<z.ZodEnum<["warn", "block"]>>;
|
|
753
|
+
/** Components to include in fingerprint computation */
|
|
754
|
+
fingerprintComponents: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
fingerprintEnabled?: boolean;
|
|
757
|
+
fingerprintStrictness?: "warn" | "block";
|
|
758
|
+
fingerprintComponents?: string[];
|
|
759
|
+
}, {
|
|
760
|
+
fingerprintEnabled?: boolean;
|
|
761
|
+
fingerprintStrictness?: "warn" | "block";
|
|
762
|
+
fingerprintComponents?: string[];
|
|
763
|
+
}>>;
|
|
764
|
+
lite: z.ZodDefault<z.ZodObject<{
|
|
765
|
+
/**
|
|
766
|
+
* Enable lite mode for simplified single-instance deployments.
|
|
767
|
+
* When enabled, Vorion can run with reduced infrastructure requirements.
|
|
768
|
+
*/
|
|
769
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
770
|
+
/**
|
|
771
|
+
* Automatically generate secure secrets for development when not provided.
|
|
772
|
+
* MUST be false in production.
|
|
773
|
+
*/
|
|
774
|
+
autoGenerateSecrets: z.ZodDefault<z.ZodBoolean>;
|
|
775
|
+
/**
|
|
776
|
+
* Directory for local data storage (proofs, temp files, etc.)
|
|
777
|
+
*/
|
|
778
|
+
dataDirectory: z.ZodDefault<z.ZodString>;
|
|
779
|
+
/**
|
|
780
|
+
* Allow running without Redis using in-memory adapters.
|
|
781
|
+
* Useful for development and single-instance deployments.
|
|
782
|
+
* Note: In-memory state is NOT shared across instances.
|
|
783
|
+
*/
|
|
784
|
+
redisOptional: z.ZodDefault<z.ZodBoolean>;
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
|
+
enabled?: boolean;
|
|
787
|
+
autoGenerateSecrets?: boolean;
|
|
788
|
+
dataDirectory?: string;
|
|
789
|
+
redisOptional?: boolean;
|
|
790
|
+
}, {
|
|
791
|
+
enabled?: boolean;
|
|
792
|
+
autoGenerateSecrets?: boolean;
|
|
793
|
+
dataDirectory?: string;
|
|
794
|
+
redisOptional?: boolean;
|
|
795
|
+
}>>;
|
|
796
|
+
hsm: z.ZodDefault<z.ZodObject<{
|
|
797
|
+
/**
|
|
798
|
+
* Enable HSM integration for FIPS 140-3 compliant key management.
|
|
799
|
+
* When enabled, cryptographic operations use HSM-backed keys.
|
|
800
|
+
*/
|
|
801
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
802
|
+
/**
|
|
803
|
+
* HSM provider type: aws, azure, gcp, thales, softhsm, or pkcs11.
|
|
804
|
+
* Use 'softhsm' for development/testing.
|
|
805
|
+
*/
|
|
806
|
+
provider: z.ZodDefault<z.ZodEnum<["aws", "azure", "gcp", "thales", "softhsm", "pkcs11"]>>;
|
|
807
|
+
/**
|
|
808
|
+
* Enable automatic failover to backup HSM providers.
|
|
809
|
+
*/
|
|
810
|
+
enableFailover: z.ZodDefault<z.ZodBoolean>;
|
|
811
|
+
/**
|
|
812
|
+
* Failover providers in priority order (comma-separated).
|
|
813
|
+
*/
|
|
814
|
+
failoverProviders: z.ZodDefault<z.ZodArray<z.ZodEnum<["aws", "azure", "gcp", "thales", "softhsm"]>, "many">>;
|
|
815
|
+
/**
|
|
816
|
+
* Health check interval in milliseconds.
|
|
817
|
+
*/
|
|
818
|
+
healthCheckIntervalMs: z.ZodDefault<z.ZodNumber>;
|
|
819
|
+
/**
|
|
820
|
+
* Enable key metadata caching.
|
|
821
|
+
*/
|
|
822
|
+
enableKeyCache: z.ZodDefault<z.ZodBoolean>;
|
|
823
|
+
/**
|
|
824
|
+
* Key cache TTL in seconds.
|
|
825
|
+
*/
|
|
826
|
+
keyCacheTTLSeconds: z.ZodDefault<z.ZodNumber>;
|
|
827
|
+
/**
|
|
828
|
+
* Enable HSM operation audit logging.
|
|
829
|
+
*/
|
|
830
|
+
enableAuditLogging: z.ZodDefault<z.ZodBoolean>;
|
|
831
|
+
/**
|
|
832
|
+
* Enable FIPS 140-3 compliance mode (restricts to FIPS-approved algorithms).
|
|
833
|
+
*/
|
|
834
|
+
fipsMode: z.ZodDefault<z.ZodBoolean>;
|
|
835
|
+
/**
|
|
836
|
+
* Connection timeout in milliseconds.
|
|
837
|
+
*/
|
|
838
|
+
connectionTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
839
|
+
/**
|
|
840
|
+
* Operation timeout in milliseconds.
|
|
841
|
+
*/
|
|
842
|
+
operationTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
843
|
+
/**
|
|
844
|
+
* AWS CloudHSM configuration.
|
|
845
|
+
*/
|
|
846
|
+
aws: z.ZodDefault<z.ZodObject<{
|
|
847
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
848
|
+
region: z.ZodDefault<z.ZodString>;
|
|
849
|
+
cryptoUser: z.ZodOptional<z.ZodString>;
|
|
850
|
+
}, "strip", z.ZodTypeAny, {
|
|
851
|
+
clusterId?: string;
|
|
852
|
+
region?: string;
|
|
853
|
+
cryptoUser?: string;
|
|
854
|
+
}, {
|
|
855
|
+
clusterId?: string;
|
|
856
|
+
region?: string;
|
|
857
|
+
cryptoUser?: string;
|
|
858
|
+
}>>;
|
|
859
|
+
/**
|
|
860
|
+
* Azure Managed HSM configuration.
|
|
861
|
+
*/
|
|
862
|
+
azure: z.ZodDefault<z.ZodObject<{
|
|
863
|
+
hsmName: z.ZodOptional<z.ZodString>;
|
|
864
|
+
region: z.ZodDefault<z.ZodString>;
|
|
865
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
866
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
867
|
+
}, "strip", z.ZodTypeAny, {
|
|
868
|
+
region?: string;
|
|
869
|
+
hsmName?: string;
|
|
870
|
+
tenantId?: string;
|
|
871
|
+
clientId?: string;
|
|
872
|
+
}, {
|
|
873
|
+
region?: string;
|
|
874
|
+
hsmName?: string;
|
|
875
|
+
tenantId?: string;
|
|
876
|
+
clientId?: string;
|
|
877
|
+
}>>;
|
|
878
|
+
/**
|
|
879
|
+
* GCP Cloud HSM configuration.
|
|
880
|
+
*/
|
|
881
|
+
gcp: z.ZodDefault<z.ZodObject<{
|
|
882
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
883
|
+
location: z.ZodDefault<z.ZodString>;
|
|
884
|
+
keyRing: z.ZodOptional<z.ZodString>;
|
|
885
|
+
}, "strip", z.ZodTypeAny, {
|
|
886
|
+
projectId?: string;
|
|
887
|
+
location?: string;
|
|
888
|
+
keyRing?: string;
|
|
889
|
+
}, {
|
|
890
|
+
projectId?: string;
|
|
891
|
+
location?: string;
|
|
892
|
+
keyRing?: string;
|
|
893
|
+
}>>;
|
|
894
|
+
/**
|
|
895
|
+
* Thales Luna HSM configuration.
|
|
896
|
+
*/
|
|
897
|
+
thales: z.ZodDefault<z.ZodObject<{
|
|
898
|
+
partitionName: z.ZodOptional<z.ZodString>;
|
|
899
|
+
hsmIpAddresses: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
900
|
+
}, "strip", z.ZodTypeAny, {
|
|
901
|
+
partitionName?: string;
|
|
902
|
+
hsmIpAddresses?: string[];
|
|
903
|
+
}, {
|
|
904
|
+
partitionName?: string;
|
|
905
|
+
hsmIpAddresses?: string[];
|
|
906
|
+
}>>;
|
|
907
|
+
/**
|
|
908
|
+
* PKCS#11 token configuration (for smart cards/hardware tokens).
|
|
909
|
+
*/
|
|
910
|
+
pkcs11: z.ZodDefault<z.ZodObject<{
|
|
911
|
+
libraryPath: z.ZodOptional<z.ZodString>;
|
|
912
|
+
slot: z.ZodOptional<z.ZodNumber>;
|
|
913
|
+
fipsMode: z.ZodDefault<z.ZodBoolean>;
|
|
914
|
+
}, "strip", z.ZodTypeAny, {
|
|
915
|
+
fipsMode?: boolean;
|
|
916
|
+
libraryPath?: string;
|
|
917
|
+
slot?: number;
|
|
918
|
+
}, {
|
|
919
|
+
fipsMode?: boolean;
|
|
920
|
+
libraryPath?: string;
|
|
921
|
+
slot?: number;
|
|
922
|
+
}>>;
|
|
923
|
+
}, "strip", z.ZodTypeAny, {
|
|
924
|
+
enabled?: boolean;
|
|
925
|
+
aws?: {
|
|
926
|
+
clusterId?: string;
|
|
927
|
+
region?: string;
|
|
928
|
+
cryptoUser?: string;
|
|
929
|
+
};
|
|
930
|
+
azure?: {
|
|
931
|
+
region?: string;
|
|
932
|
+
hsmName?: string;
|
|
933
|
+
tenantId?: string;
|
|
934
|
+
clientId?: string;
|
|
935
|
+
};
|
|
936
|
+
gcp?: {
|
|
937
|
+
projectId?: string;
|
|
938
|
+
location?: string;
|
|
939
|
+
keyRing?: string;
|
|
940
|
+
};
|
|
941
|
+
thales?: {
|
|
942
|
+
partitionName?: string;
|
|
943
|
+
hsmIpAddresses?: string[];
|
|
944
|
+
};
|
|
945
|
+
pkcs11?: {
|
|
946
|
+
fipsMode?: boolean;
|
|
947
|
+
libraryPath?: string;
|
|
948
|
+
slot?: number;
|
|
949
|
+
};
|
|
950
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
951
|
+
enableFailover?: boolean;
|
|
952
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
953
|
+
healthCheckIntervalMs?: number;
|
|
954
|
+
enableKeyCache?: boolean;
|
|
955
|
+
keyCacheTTLSeconds?: number;
|
|
956
|
+
enableAuditLogging?: boolean;
|
|
957
|
+
fipsMode?: boolean;
|
|
958
|
+
connectionTimeoutMs?: number;
|
|
959
|
+
operationTimeoutMs?: number;
|
|
960
|
+
}, {
|
|
961
|
+
enabled?: boolean;
|
|
962
|
+
aws?: {
|
|
963
|
+
clusterId?: string;
|
|
964
|
+
region?: string;
|
|
965
|
+
cryptoUser?: string;
|
|
966
|
+
};
|
|
967
|
+
azure?: {
|
|
968
|
+
region?: string;
|
|
969
|
+
hsmName?: string;
|
|
970
|
+
tenantId?: string;
|
|
971
|
+
clientId?: string;
|
|
972
|
+
};
|
|
973
|
+
gcp?: {
|
|
974
|
+
projectId?: string;
|
|
975
|
+
location?: string;
|
|
976
|
+
keyRing?: string;
|
|
977
|
+
};
|
|
978
|
+
thales?: {
|
|
979
|
+
partitionName?: string;
|
|
980
|
+
hsmIpAddresses?: string[];
|
|
981
|
+
};
|
|
982
|
+
pkcs11?: {
|
|
983
|
+
fipsMode?: boolean;
|
|
984
|
+
libraryPath?: string;
|
|
985
|
+
slot?: number;
|
|
986
|
+
};
|
|
987
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
988
|
+
enableFailover?: boolean;
|
|
989
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
990
|
+
healthCheckIntervalMs?: number;
|
|
991
|
+
enableKeyCache?: boolean;
|
|
992
|
+
keyCacheTTLSeconds?: number;
|
|
993
|
+
enableAuditLogging?: boolean;
|
|
994
|
+
fipsMode?: boolean;
|
|
995
|
+
connectionTimeoutMs?: number;
|
|
996
|
+
operationTimeoutMs?: number;
|
|
997
|
+
}>>;
|
|
998
|
+
}, "strip", z.ZodTypeAny, {
|
|
999
|
+
basis?: {
|
|
1000
|
+
evalTimeout?: number;
|
|
1001
|
+
maxRules?: number;
|
|
1002
|
+
cacheEnabled?: boolean;
|
|
1003
|
+
};
|
|
1004
|
+
env?: "production" | "development" | "staging";
|
|
1005
|
+
logLevel?: "error" | "warn" | "info" | "debug";
|
|
1006
|
+
app?: {
|
|
1007
|
+
version?: string;
|
|
1008
|
+
name?: string;
|
|
1009
|
+
environment?: string;
|
|
1010
|
+
};
|
|
1011
|
+
telemetry?: {
|
|
1012
|
+
enabled?: boolean;
|
|
1013
|
+
serviceName?: string;
|
|
1014
|
+
otlpEndpoint?: string;
|
|
1015
|
+
otlpHeaders?: Record<string, string>;
|
|
1016
|
+
sampleRate?: number;
|
|
1017
|
+
};
|
|
1018
|
+
api?: {
|
|
1019
|
+
timeout?: number;
|
|
1020
|
+
port?: number;
|
|
1021
|
+
host?: string;
|
|
1022
|
+
basePath?: string;
|
|
1023
|
+
rateLimit?: number;
|
|
1024
|
+
bulkRateLimit?: number;
|
|
1025
|
+
};
|
|
1026
|
+
cors?: {
|
|
1027
|
+
allowedOrigins?: string[];
|
|
1028
|
+
};
|
|
1029
|
+
health?: {
|
|
1030
|
+
checkTimeoutMs?: number;
|
|
1031
|
+
readyTimeoutMs?: number;
|
|
1032
|
+
livenessTimeoutMs?: number;
|
|
1033
|
+
};
|
|
1034
|
+
database?: {
|
|
1035
|
+
user?: string;
|
|
1036
|
+
password?: string;
|
|
1037
|
+
name?: string;
|
|
1038
|
+
port?: number;
|
|
1039
|
+
host?: string;
|
|
1040
|
+
poolMin?: number;
|
|
1041
|
+
poolMax?: number;
|
|
1042
|
+
poolIdleTimeoutMs?: number;
|
|
1043
|
+
poolConnectionTimeoutMs?: number;
|
|
1044
|
+
metricsIntervalMs?: number;
|
|
1045
|
+
statementTimeoutMs?: number;
|
|
1046
|
+
longQueryTimeoutMs?: number;
|
|
1047
|
+
};
|
|
1048
|
+
redis?: {
|
|
1049
|
+
password?: string;
|
|
1050
|
+
port?: number;
|
|
1051
|
+
host?: string;
|
|
1052
|
+
db?: number;
|
|
1053
|
+
};
|
|
1054
|
+
jwt?: {
|
|
1055
|
+
secret?: string;
|
|
1056
|
+
expiration?: string;
|
|
1057
|
+
refreshExpiration?: string;
|
|
1058
|
+
requireJti?: boolean;
|
|
1059
|
+
};
|
|
1060
|
+
proof?: {
|
|
1061
|
+
storage?: "local" | "s3" | "gcs";
|
|
1062
|
+
localPath?: string;
|
|
1063
|
+
retentionDays?: number;
|
|
1064
|
+
};
|
|
1065
|
+
trust?: {
|
|
1066
|
+
calcInterval?: number;
|
|
1067
|
+
cacheTtl?: number;
|
|
1068
|
+
decayRate?: number;
|
|
1069
|
+
};
|
|
1070
|
+
cognigate?: {
|
|
1071
|
+
timeout?: number;
|
|
1072
|
+
maxConcurrent?: number;
|
|
1073
|
+
maxMemoryMb?: number;
|
|
1074
|
+
maxCpuPercent?: number;
|
|
1075
|
+
};
|
|
1076
|
+
intent?: {
|
|
1077
|
+
defaultNamespace?: string;
|
|
1078
|
+
namespaceRouting?: Record<string, string>;
|
|
1079
|
+
dedupeTtlSeconds?: number;
|
|
1080
|
+
dedupeSecret?: string;
|
|
1081
|
+
dedupeTimestampWindowSeconds?: number;
|
|
1082
|
+
sensitivePaths?: string[];
|
|
1083
|
+
defaultMaxInFlight?: number;
|
|
1084
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
1085
|
+
queueConcurrency?: number;
|
|
1086
|
+
jobTimeoutMs?: number;
|
|
1087
|
+
maxRetries?: number;
|
|
1088
|
+
retryBackoffMs?: number;
|
|
1089
|
+
queueDepthThreshold?: number;
|
|
1090
|
+
eventRetentionDays?: number;
|
|
1091
|
+
encryptContext?: boolean;
|
|
1092
|
+
trustGates?: Record<string, number>;
|
|
1093
|
+
defaultMinTrustLevel?: number;
|
|
1094
|
+
revalidateTrustAtDecision?: boolean;
|
|
1095
|
+
softDeleteRetentionDays?: number;
|
|
1096
|
+
escalationTimeout?: string;
|
|
1097
|
+
escalationDefaultRecipient?: string;
|
|
1098
|
+
cleanupCronSchedule?: string;
|
|
1099
|
+
timeoutCheckCronSchedule?: string;
|
|
1100
|
+
shutdownTimeoutMs?: number;
|
|
1101
|
+
rateLimits?: {
|
|
1102
|
+
default?: {
|
|
1103
|
+
limit?: number;
|
|
1104
|
+
windowSeconds?: number;
|
|
1105
|
+
};
|
|
1106
|
+
highRisk?: {
|
|
1107
|
+
limit?: number;
|
|
1108
|
+
windowSeconds?: number;
|
|
1109
|
+
};
|
|
1110
|
+
dataExport?: {
|
|
1111
|
+
limit?: number;
|
|
1112
|
+
windowSeconds?: number;
|
|
1113
|
+
};
|
|
1114
|
+
adminAction?: {
|
|
1115
|
+
limit?: number;
|
|
1116
|
+
windowSeconds?: number;
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
policyCircuitBreaker?: {
|
|
1120
|
+
failureThreshold?: number;
|
|
1121
|
+
resetTimeoutMs?: number;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
webhook?: {
|
|
1125
|
+
timeoutMs?: number;
|
|
1126
|
+
retryAttempts?: number;
|
|
1127
|
+
retryDelayMs?: number;
|
|
1128
|
+
allowDnsChange?: boolean;
|
|
1129
|
+
circuitFailureThreshold?: number;
|
|
1130
|
+
circuitResetTimeoutMs?: number;
|
|
1131
|
+
deliveryConcurrency?: number;
|
|
1132
|
+
allowedDomains?: string[];
|
|
1133
|
+
blockedDomains?: string[];
|
|
1134
|
+
enforceAllowlist?: boolean;
|
|
1135
|
+
};
|
|
1136
|
+
circuitBreaker?: {
|
|
1137
|
+
database?: {
|
|
1138
|
+
failureThreshold?: number;
|
|
1139
|
+
resetTimeoutMs?: number;
|
|
1140
|
+
halfOpenMaxAttempts?: number;
|
|
1141
|
+
monitorWindowMs?: number;
|
|
1142
|
+
};
|
|
1143
|
+
redis?: {
|
|
1144
|
+
failureThreshold?: number;
|
|
1145
|
+
resetTimeoutMs?: number;
|
|
1146
|
+
halfOpenMaxAttempts?: number;
|
|
1147
|
+
monitorWindowMs?: number;
|
|
1148
|
+
};
|
|
1149
|
+
webhook?: {
|
|
1150
|
+
failureThreshold?: number;
|
|
1151
|
+
resetTimeoutMs?: number;
|
|
1152
|
+
halfOpenMaxAttempts?: number;
|
|
1153
|
+
monitorWindowMs?: number;
|
|
1154
|
+
};
|
|
1155
|
+
policyEngine?: {
|
|
1156
|
+
failureThreshold?: number;
|
|
1157
|
+
resetTimeoutMs?: number;
|
|
1158
|
+
halfOpenMaxAttempts?: number;
|
|
1159
|
+
monitorWindowMs?: number;
|
|
1160
|
+
};
|
|
1161
|
+
trustEngine?: {
|
|
1162
|
+
failureThreshold?: number;
|
|
1163
|
+
resetTimeoutMs?: number;
|
|
1164
|
+
halfOpenMaxAttempts?: number;
|
|
1165
|
+
monitorWindowMs?: number;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
gdpr?: {
|
|
1169
|
+
exportConcurrency?: number;
|
|
1170
|
+
};
|
|
1171
|
+
audit?: {
|
|
1172
|
+
retentionDays?: number;
|
|
1173
|
+
archiveEnabled?: boolean;
|
|
1174
|
+
archiveAfterDays?: number;
|
|
1175
|
+
cleanupBatchSize?: number;
|
|
1176
|
+
};
|
|
1177
|
+
encryption?: {
|
|
1178
|
+
key?: string;
|
|
1179
|
+
salt?: string;
|
|
1180
|
+
algorithm?: string;
|
|
1181
|
+
pbkdf2Iterations?: number;
|
|
1182
|
+
kdfVersion?: number;
|
|
1183
|
+
};
|
|
1184
|
+
csrf?: {
|
|
1185
|
+
secret?: string;
|
|
1186
|
+
enabled?: boolean;
|
|
1187
|
+
cookieName?: string;
|
|
1188
|
+
headerName?: string;
|
|
1189
|
+
tokenTTL?: number;
|
|
1190
|
+
excludePaths?: string[];
|
|
1191
|
+
excludeMethods?: string[];
|
|
1192
|
+
};
|
|
1193
|
+
session?: {
|
|
1194
|
+
fingerprintEnabled?: boolean;
|
|
1195
|
+
fingerprintStrictness?: "warn" | "block";
|
|
1196
|
+
fingerprintComponents?: string[];
|
|
1197
|
+
};
|
|
1198
|
+
lite?: {
|
|
1199
|
+
enabled?: boolean;
|
|
1200
|
+
autoGenerateSecrets?: boolean;
|
|
1201
|
+
dataDirectory?: string;
|
|
1202
|
+
redisOptional?: boolean;
|
|
1203
|
+
};
|
|
1204
|
+
hsm?: {
|
|
1205
|
+
enabled?: boolean;
|
|
1206
|
+
aws?: {
|
|
1207
|
+
clusterId?: string;
|
|
1208
|
+
region?: string;
|
|
1209
|
+
cryptoUser?: string;
|
|
1210
|
+
};
|
|
1211
|
+
azure?: {
|
|
1212
|
+
region?: string;
|
|
1213
|
+
hsmName?: string;
|
|
1214
|
+
tenantId?: string;
|
|
1215
|
+
clientId?: string;
|
|
1216
|
+
};
|
|
1217
|
+
gcp?: {
|
|
1218
|
+
projectId?: string;
|
|
1219
|
+
location?: string;
|
|
1220
|
+
keyRing?: string;
|
|
1221
|
+
};
|
|
1222
|
+
thales?: {
|
|
1223
|
+
partitionName?: string;
|
|
1224
|
+
hsmIpAddresses?: string[];
|
|
1225
|
+
};
|
|
1226
|
+
pkcs11?: {
|
|
1227
|
+
fipsMode?: boolean;
|
|
1228
|
+
libraryPath?: string;
|
|
1229
|
+
slot?: number;
|
|
1230
|
+
};
|
|
1231
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
1232
|
+
enableFailover?: boolean;
|
|
1233
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
1234
|
+
healthCheckIntervalMs?: number;
|
|
1235
|
+
enableKeyCache?: boolean;
|
|
1236
|
+
keyCacheTTLSeconds?: number;
|
|
1237
|
+
enableAuditLogging?: boolean;
|
|
1238
|
+
fipsMode?: boolean;
|
|
1239
|
+
connectionTimeoutMs?: number;
|
|
1240
|
+
operationTimeoutMs?: number;
|
|
1241
|
+
};
|
|
1242
|
+
}, {
|
|
1243
|
+
basis?: {
|
|
1244
|
+
evalTimeout?: number;
|
|
1245
|
+
maxRules?: number;
|
|
1246
|
+
cacheEnabled?: boolean;
|
|
1247
|
+
};
|
|
1248
|
+
env?: "production" | "development" | "staging";
|
|
1249
|
+
logLevel?: "error" | "warn" | "info" | "debug";
|
|
1250
|
+
app?: {
|
|
1251
|
+
version?: string;
|
|
1252
|
+
name?: string;
|
|
1253
|
+
environment?: string;
|
|
1254
|
+
};
|
|
1255
|
+
telemetry?: {
|
|
1256
|
+
enabled?: boolean;
|
|
1257
|
+
serviceName?: string;
|
|
1258
|
+
otlpEndpoint?: string;
|
|
1259
|
+
otlpHeaders?: Record<string, string>;
|
|
1260
|
+
sampleRate?: number;
|
|
1261
|
+
};
|
|
1262
|
+
api?: {
|
|
1263
|
+
timeout?: number;
|
|
1264
|
+
port?: number;
|
|
1265
|
+
host?: string;
|
|
1266
|
+
basePath?: string;
|
|
1267
|
+
rateLimit?: number;
|
|
1268
|
+
bulkRateLimit?: number;
|
|
1269
|
+
};
|
|
1270
|
+
cors?: {
|
|
1271
|
+
allowedOrigins?: string[];
|
|
1272
|
+
};
|
|
1273
|
+
health?: {
|
|
1274
|
+
checkTimeoutMs?: number;
|
|
1275
|
+
readyTimeoutMs?: number;
|
|
1276
|
+
livenessTimeoutMs?: number;
|
|
1277
|
+
};
|
|
1278
|
+
database?: {
|
|
1279
|
+
user?: string;
|
|
1280
|
+
password?: string;
|
|
1281
|
+
name?: string;
|
|
1282
|
+
port?: number;
|
|
1283
|
+
host?: string;
|
|
1284
|
+
poolMin?: number;
|
|
1285
|
+
poolMax?: number;
|
|
1286
|
+
poolIdleTimeoutMs?: number;
|
|
1287
|
+
poolConnectionTimeoutMs?: number;
|
|
1288
|
+
metricsIntervalMs?: number;
|
|
1289
|
+
statementTimeoutMs?: number;
|
|
1290
|
+
longQueryTimeoutMs?: number;
|
|
1291
|
+
};
|
|
1292
|
+
redis?: {
|
|
1293
|
+
password?: string;
|
|
1294
|
+
port?: number;
|
|
1295
|
+
host?: string;
|
|
1296
|
+
db?: number;
|
|
1297
|
+
};
|
|
1298
|
+
jwt?: {
|
|
1299
|
+
secret?: string;
|
|
1300
|
+
expiration?: string;
|
|
1301
|
+
refreshExpiration?: string;
|
|
1302
|
+
requireJti?: boolean;
|
|
1303
|
+
};
|
|
1304
|
+
proof?: {
|
|
1305
|
+
storage?: "local" | "s3" | "gcs";
|
|
1306
|
+
localPath?: string;
|
|
1307
|
+
retentionDays?: number;
|
|
1308
|
+
};
|
|
1309
|
+
trust?: {
|
|
1310
|
+
calcInterval?: number;
|
|
1311
|
+
cacheTtl?: number;
|
|
1312
|
+
decayRate?: number;
|
|
1313
|
+
};
|
|
1314
|
+
cognigate?: {
|
|
1315
|
+
timeout?: number;
|
|
1316
|
+
maxConcurrent?: number;
|
|
1317
|
+
maxMemoryMb?: number;
|
|
1318
|
+
maxCpuPercent?: number;
|
|
1319
|
+
};
|
|
1320
|
+
intent?: {
|
|
1321
|
+
defaultNamespace?: string;
|
|
1322
|
+
namespaceRouting?: Record<string, string>;
|
|
1323
|
+
dedupeTtlSeconds?: number;
|
|
1324
|
+
dedupeSecret?: string;
|
|
1325
|
+
dedupeTimestampWindowSeconds?: number;
|
|
1326
|
+
sensitivePaths?: string[];
|
|
1327
|
+
defaultMaxInFlight?: number;
|
|
1328
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
1329
|
+
queueConcurrency?: number;
|
|
1330
|
+
jobTimeoutMs?: number;
|
|
1331
|
+
maxRetries?: number;
|
|
1332
|
+
retryBackoffMs?: number;
|
|
1333
|
+
queueDepthThreshold?: number;
|
|
1334
|
+
eventRetentionDays?: number;
|
|
1335
|
+
encryptContext?: boolean;
|
|
1336
|
+
trustGates?: Record<string, number>;
|
|
1337
|
+
defaultMinTrustLevel?: number;
|
|
1338
|
+
revalidateTrustAtDecision?: boolean;
|
|
1339
|
+
softDeleteRetentionDays?: number;
|
|
1340
|
+
escalationTimeout?: string;
|
|
1341
|
+
escalationDefaultRecipient?: string;
|
|
1342
|
+
cleanupCronSchedule?: string;
|
|
1343
|
+
timeoutCheckCronSchedule?: string;
|
|
1344
|
+
shutdownTimeoutMs?: number;
|
|
1345
|
+
rateLimits?: {
|
|
1346
|
+
default?: {
|
|
1347
|
+
limit?: number;
|
|
1348
|
+
windowSeconds?: number;
|
|
1349
|
+
};
|
|
1350
|
+
highRisk?: {
|
|
1351
|
+
limit?: number;
|
|
1352
|
+
windowSeconds?: number;
|
|
1353
|
+
};
|
|
1354
|
+
dataExport?: {
|
|
1355
|
+
limit?: number;
|
|
1356
|
+
windowSeconds?: number;
|
|
1357
|
+
};
|
|
1358
|
+
adminAction?: {
|
|
1359
|
+
limit?: number;
|
|
1360
|
+
windowSeconds?: number;
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
policyCircuitBreaker?: {
|
|
1364
|
+
failureThreshold?: number;
|
|
1365
|
+
resetTimeoutMs?: number;
|
|
1366
|
+
};
|
|
1367
|
+
};
|
|
1368
|
+
webhook?: {
|
|
1369
|
+
timeoutMs?: number;
|
|
1370
|
+
retryAttempts?: number;
|
|
1371
|
+
retryDelayMs?: number;
|
|
1372
|
+
allowDnsChange?: boolean;
|
|
1373
|
+
circuitFailureThreshold?: number;
|
|
1374
|
+
circuitResetTimeoutMs?: number;
|
|
1375
|
+
deliveryConcurrency?: number;
|
|
1376
|
+
allowedDomains?: string[];
|
|
1377
|
+
blockedDomains?: string[];
|
|
1378
|
+
enforceAllowlist?: boolean;
|
|
1379
|
+
};
|
|
1380
|
+
circuitBreaker?: {
|
|
1381
|
+
database?: {
|
|
1382
|
+
failureThreshold?: number;
|
|
1383
|
+
resetTimeoutMs?: number;
|
|
1384
|
+
halfOpenMaxAttempts?: number;
|
|
1385
|
+
monitorWindowMs?: number;
|
|
1386
|
+
};
|
|
1387
|
+
redis?: {
|
|
1388
|
+
failureThreshold?: number;
|
|
1389
|
+
resetTimeoutMs?: number;
|
|
1390
|
+
halfOpenMaxAttempts?: number;
|
|
1391
|
+
monitorWindowMs?: number;
|
|
1392
|
+
};
|
|
1393
|
+
webhook?: {
|
|
1394
|
+
failureThreshold?: number;
|
|
1395
|
+
resetTimeoutMs?: number;
|
|
1396
|
+
halfOpenMaxAttempts?: number;
|
|
1397
|
+
monitorWindowMs?: number;
|
|
1398
|
+
};
|
|
1399
|
+
policyEngine?: {
|
|
1400
|
+
failureThreshold?: number;
|
|
1401
|
+
resetTimeoutMs?: number;
|
|
1402
|
+
halfOpenMaxAttempts?: number;
|
|
1403
|
+
monitorWindowMs?: number;
|
|
1404
|
+
};
|
|
1405
|
+
trustEngine?: {
|
|
1406
|
+
failureThreshold?: number;
|
|
1407
|
+
resetTimeoutMs?: number;
|
|
1408
|
+
halfOpenMaxAttempts?: number;
|
|
1409
|
+
monitorWindowMs?: number;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
gdpr?: {
|
|
1413
|
+
exportConcurrency?: number;
|
|
1414
|
+
};
|
|
1415
|
+
audit?: {
|
|
1416
|
+
retentionDays?: number;
|
|
1417
|
+
archiveEnabled?: boolean;
|
|
1418
|
+
archiveAfterDays?: number;
|
|
1419
|
+
cleanupBatchSize?: number;
|
|
1420
|
+
};
|
|
1421
|
+
encryption?: {
|
|
1422
|
+
key?: string;
|
|
1423
|
+
salt?: string;
|
|
1424
|
+
algorithm?: string;
|
|
1425
|
+
pbkdf2Iterations?: number;
|
|
1426
|
+
kdfVersion?: number;
|
|
1427
|
+
};
|
|
1428
|
+
csrf?: {
|
|
1429
|
+
secret?: string;
|
|
1430
|
+
enabled?: boolean;
|
|
1431
|
+
cookieName?: string;
|
|
1432
|
+
headerName?: string;
|
|
1433
|
+
tokenTTL?: number;
|
|
1434
|
+
excludePaths?: string[];
|
|
1435
|
+
excludeMethods?: string[];
|
|
1436
|
+
};
|
|
1437
|
+
session?: {
|
|
1438
|
+
fingerprintEnabled?: boolean;
|
|
1439
|
+
fingerprintStrictness?: "warn" | "block";
|
|
1440
|
+
fingerprintComponents?: string[];
|
|
1441
|
+
};
|
|
1442
|
+
lite?: {
|
|
1443
|
+
enabled?: boolean;
|
|
1444
|
+
autoGenerateSecrets?: boolean;
|
|
1445
|
+
dataDirectory?: string;
|
|
1446
|
+
redisOptional?: boolean;
|
|
1447
|
+
};
|
|
1448
|
+
hsm?: {
|
|
1449
|
+
enabled?: boolean;
|
|
1450
|
+
aws?: {
|
|
1451
|
+
clusterId?: string;
|
|
1452
|
+
region?: string;
|
|
1453
|
+
cryptoUser?: string;
|
|
1454
|
+
};
|
|
1455
|
+
azure?: {
|
|
1456
|
+
region?: string;
|
|
1457
|
+
hsmName?: string;
|
|
1458
|
+
tenantId?: string;
|
|
1459
|
+
clientId?: string;
|
|
1460
|
+
};
|
|
1461
|
+
gcp?: {
|
|
1462
|
+
projectId?: string;
|
|
1463
|
+
location?: string;
|
|
1464
|
+
keyRing?: string;
|
|
1465
|
+
};
|
|
1466
|
+
thales?: {
|
|
1467
|
+
partitionName?: string;
|
|
1468
|
+
hsmIpAddresses?: string[];
|
|
1469
|
+
};
|
|
1470
|
+
pkcs11?: {
|
|
1471
|
+
fipsMode?: boolean;
|
|
1472
|
+
libraryPath?: string;
|
|
1473
|
+
slot?: number;
|
|
1474
|
+
};
|
|
1475
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
1476
|
+
enableFailover?: boolean;
|
|
1477
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
1478
|
+
healthCheckIntervalMs?: number;
|
|
1479
|
+
enableKeyCache?: boolean;
|
|
1480
|
+
keyCacheTTLSeconds?: number;
|
|
1481
|
+
enableAuditLogging?: boolean;
|
|
1482
|
+
fipsMode?: boolean;
|
|
1483
|
+
connectionTimeoutMs?: number;
|
|
1484
|
+
operationTimeoutMs?: number;
|
|
1485
|
+
};
|
|
1486
|
+
}>, {
|
|
1487
|
+
basis?: {
|
|
1488
|
+
evalTimeout?: number;
|
|
1489
|
+
maxRules?: number;
|
|
1490
|
+
cacheEnabled?: boolean;
|
|
1491
|
+
};
|
|
1492
|
+
env?: "production" | "development" | "staging";
|
|
1493
|
+
logLevel?: "error" | "warn" | "info" | "debug";
|
|
1494
|
+
app?: {
|
|
1495
|
+
version?: string;
|
|
1496
|
+
name?: string;
|
|
1497
|
+
environment?: string;
|
|
1498
|
+
};
|
|
1499
|
+
telemetry?: {
|
|
1500
|
+
enabled?: boolean;
|
|
1501
|
+
serviceName?: string;
|
|
1502
|
+
otlpEndpoint?: string;
|
|
1503
|
+
otlpHeaders?: Record<string, string>;
|
|
1504
|
+
sampleRate?: number;
|
|
1505
|
+
};
|
|
1506
|
+
api?: {
|
|
1507
|
+
timeout?: number;
|
|
1508
|
+
port?: number;
|
|
1509
|
+
host?: string;
|
|
1510
|
+
basePath?: string;
|
|
1511
|
+
rateLimit?: number;
|
|
1512
|
+
bulkRateLimit?: number;
|
|
1513
|
+
};
|
|
1514
|
+
cors?: {
|
|
1515
|
+
allowedOrigins?: string[];
|
|
1516
|
+
};
|
|
1517
|
+
health?: {
|
|
1518
|
+
checkTimeoutMs?: number;
|
|
1519
|
+
readyTimeoutMs?: number;
|
|
1520
|
+
livenessTimeoutMs?: number;
|
|
1521
|
+
};
|
|
1522
|
+
database?: {
|
|
1523
|
+
user?: string;
|
|
1524
|
+
password?: string;
|
|
1525
|
+
name?: string;
|
|
1526
|
+
port?: number;
|
|
1527
|
+
host?: string;
|
|
1528
|
+
poolMin?: number;
|
|
1529
|
+
poolMax?: number;
|
|
1530
|
+
poolIdleTimeoutMs?: number;
|
|
1531
|
+
poolConnectionTimeoutMs?: number;
|
|
1532
|
+
metricsIntervalMs?: number;
|
|
1533
|
+
statementTimeoutMs?: number;
|
|
1534
|
+
longQueryTimeoutMs?: number;
|
|
1535
|
+
};
|
|
1536
|
+
redis?: {
|
|
1537
|
+
password?: string;
|
|
1538
|
+
port?: number;
|
|
1539
|
+
host?: string;
|
|
1540
|
+
db?: number;
|
|
1541
|
+
};
|
|
1542
|
+
jwt?: {
|
|
1543
|
+
secret?: string;
|
|
1544
|
+
expiration?: string;
|
|
1545
|
+
refreshExpiration?: string;
|
|
1546
|
+
requireJti?: boolean;
|
|
1547
|
+
};
|
|
1548
|
+
proof?: {
|
|
1549
|
+
storage?: "local" | "s3" | "gcs";
|
|
1550
|
+
localPath?: string;
|
|
1551
|
+
retentionDays?: number;
|
|
1552
|
+
};
|
|
1553
|
+
trust?: {
|
|
1554
|
+
calcInterval?: number;
|
|
1555
|
+
cacheTtl?: number;
|
|
1556
|
+
decayRate?: number;
|
|
1557
|
+
};
|
|
1558
|
+
cognigate?: {
|
|
1559
|
+
timeout?: number;
|
|
1560
|
+
maxConcurrent?: number;
|
|
1561
|
+
maxMemoryMb?: number;
|
|
1562
|
+
maxCpuPercent?: number;
|
|
1563
|
+
};
|
|
1564
|
+
intent?: {
|
|
1565
|
+
defaultNamespace?: string;
|
|
1566
|
+
namespaceRouting?: Record<string, string>;
|
|
1567
|
+
dedupeTtlSeconds?: number;
|
|
1568
|
+
dedupeSecret?: string;
|
|
1569
|
+
dedupeTimestampWindowSeconds?: number;
|
|
1570
|
+
sensitivePaths?: string[];
|
|
1571
|
+
defaultMaxInFlight?: number;
|
|
1572
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
1573
|
+
queueConcurrency?: number;
|
|
1574
|
+
jobTimeoutMs?: number;
|
|
1575
|
+
maxRetries?: number;
|
|
1576
|
+
retryBackoffMs?: number;
|
|
1577
|
+
queueDepthThreshold?: number;
|
|
1578
|
+
eventRetentionDays?: number;
|
|
1579
|
+
encryptContext?: boolean;
|
|
1580
|
+
trustGates?: Record<string, number>;
|
|
1581
|
+
defaultMinTrustLevel?: number;
|
|
1582
|
+
revalidateTrustAtDecision?: boolean;
|
|
1583
|
+
softDeleteRetentionDays?: number;
|
|
1584
|
+
escalationTimeout?: string;
|
|
1585
|
+
escalationDefaultRecipient?: string;
|
|
1586
|
+
cleanupCronSchedule?: string;
|
|
1587
|
+
timeoutCheckCronSchedule?: string;
|
|
1588
|
+
shutdownTimeoutMs?: number;
|
|
1589
|
+
rateLimits?: {
|
|
1590
|
+
default?: {
|
|
1591
|
+
limit?: number;
|
|
1592
|
+
windowSeconds?: number;
|
|
1593
|
+
};
|
|
1594
|
+
highRisk?: {
|
|
1595
|
+
limit?: number;
|
|
1596
|
+
windowSeconds?: number;
|
|
1597
|
+
};
|
|
1598
|
+
dataExport?: {
|
|
1599
|
+
limit?: number;
|
|
1600
|
+
windowSeconds?: number;
|
|
1601
|
+
};
|
|
1602
|
+
adminAction?: {
|
|
1603
|
+
limit?: number;
|
|
1604
|
+
windowSeconds?: number;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
policyCircuitBreaker?: {
|
|
1608
|
+
failureThreshold?: number;
|
|
1609
|
+
resetTimeoutMs?: number;
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
webhook?: {
|
|
1613
|
+
timeoutMs?: number;
|
|
1614
|
+
retryAttempts?: number;
|
|
1615
|
+
retryDelayMs?: number;
|
|
1616
|
+
allowDnsChange?: boolean;
|
|
1617
|
+
circuitFailureThreshold?: number;
|
|
1618
|
+
circuitResetTimeoutMs?: number;
|
|
1619
|
+
deliveryConcurrency?: number;
|
|
1620
|
+
allowedDomains?: string[];
|
|
1621
|
+
blockedDomains?: string[];
|
|
1622
|
+
enforceAllowlist?: boolean;
|
|
1623
|
+
};
|
|
1624
|
+
circuitBreaker?: {
|
|
1625
|
+
database?: {
|
|
1626
|
+
failureThreshold?: number;
|
|
1627
|
+
resetTimeoutMs?: number;
|
|
1628
|
+
halfOpenMaxAttempts?: number;
|
|
1629
|
+
monitorWindowMs?: number;
|
|
1630
|
+
};
|
|
1631
|
+
redis?: {
|
|
1632
|
+
failureThreshold?: number;
|
|
1633
|
+
resetTimeoutMs?: number;
|
|
1634
|
+
halfOpenMaxAttempts?: number;
|
|
1635
|
+
monitorWindowMs?: number;
|
|
1636
|
+
};
|
|
1637
|
+
webhook?: {
|
|
1638
|
+
failureThreshold?: number;
|
|
1639
|
+
resetTimeoutMs?: number;
|
|
1640
|
+
halfOpenMaxAttempts?: number;
|
|
1641
|
+
monitorWindowMs?: number;
|
|
1642
|
+
};
|
|
1643
|
+
policyEngine?: {
|
|
1644
|
+
failureThreshold?: number;
|
|
1645
|
+
resetTimeoutMs?: number;
|
|
1646
|
+
halfOpenMaxAttempts?: number;
|
|
1647
|
+
monitorWindowMs?: number;
|
|
1648
|
+
};
|
|
1649
|
+
trustEngine?: {
|
|
1650
|
+
failureThreshold?: number;
|
|
1651
|
+
resetTimeoutMs?: number;
|
|
1652
|
+
halfOpenMaxAttempts?: number;
|
|
1653
|
+
monitorWindowMs?: number;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
gdpr?: {
|
|
1657
|
+
exportConcurrency?: number;
|
|
1658
|
+
};
|
|
1659
|
+
audit?: {
|
|
1660
|
+
retentionDays?: number;
|
|
1661
|
+
archiveEnabled?: boolean;
|
|
1662
|
+
archiveAfterDays?: number;
|
|
1663
|
+
cleanupBatchSize?: number;
|
|
1664
|
+
};
|
|
1665
|
+
encryption?: {
|
|
1666
|
+
key?: string;
|
|
1667
|
+
salt?: string;
|
|
1668
|
+
algorithm?: string;
|
|
1669
|
+
pbkdf2Iterations?: number;
|
|
1670
|
+
kdfVersion?: number;
|
|
1671
|
+
};
|
|
1672
|
+
csrf?: {
|
|
1673
|
+
secret?: string;
|
|
1674
|
+
enabled?: boolean;
|
|
1675
|
+
cookieName?: string;
|
|
1676
|
+
headerName?: string;
|
|
1677
|
+
tokenTTL?: number;
|
|
1678
|
+
excludePaths?: string[];
|
|
1679
|
+
excludeMethods?: string[];
|
|
1680
|
+
};
|
|
1681
|
+
session?: {
|
|
1682
|
+
fingerprintEnabled?: boolean;
|
|
1683
|
+
fingerprintStrictness?: "warn" | "block";
|
|
1684
|
+
fingerprintComponents?: string[];
|
|
1685
|
+
};
|
|
1686
|
+
lite?: {
|
|
1687
|
+
enabled?: boolean;
|
|
1688
|
+
autoGenerateSecrets?: boolean;
|
|
1689
|
+
dataDirectory?: string;
|
|
1690
|
+
redisOptional?: boolean;
|
|
1691
|
+
};
|
|
1692
|
+
hsm?: {
|
|
1693
|
+
enabled?: boolean;
|
|
1694
|
+
aws?: {
|
|
1695
|
+
clusterId?: string;
|
|
1696
|
+
region?: string;
|
|
1697
|
+
cryptoUser?: string;
|
|
1698
|
+
};
|
|
1699
|
+
azure?: {
|
|
1700
|
+
region?: string;
|
|
1701
|
+
hsmName?: string;
|
|
1702
|
+
tenantId?: string;
|
|
1703
|
+
clientId?: string;
|
|
1704
|
+
};
|
|
1705
|
+
gcp?: {
|
|
1706
|
+
projectId?: string;
|
|
1707
|
+
location?: string;
|
|
1708
|
+
keyRing?: string;
|
|
1709
|
+
};
|
|
1710
|
+
thales?: {
|
|
1711
|
+
partitionName?: string;
|
|
1712
|
+
hsmIpAddresses?: string[];
|
|
1713
|
+
};
|
|
1714
|
+
pkcs11?: {
|
|
1715
|
+
fipsMode?: boolean;
|
|
1716
|
+
libraryPath?: string;
|
|
1717
|
+
slot?: number;
|
|
1718
|
+
};
|
|
1719
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
1720
|
+
enableFailover?: boolean;
|
|
1721
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
1722
|
+
healthCheckIntervalMs?: number;
|
|
1723
|
+
enableKeyCache?: boolean;
|
|
1724
|
+
keyCacheTTLSeconds?: number;
|
|
1725
|
+
enableAuditLogging?: boolean;
|
|
1726
|
+
fipsMode?: boolean;
|
|
1727
|
+
connectionTimeoutMs?: number;
|
|
1728
|
+
operationTimeoutMs?: number;
|
|
1729
|
+
};
|
|
1730
|
+
}, {
|
|
1731
|
+
basis?: {
|
|
1732
|
+
evalTimeout?: number;
|
|
1733
|
+
maxRules?: number;
|
|
1734
|
+
cacheEnabled?: boolean;
|
|
1735
|
+
};
|
|
1736
|
+
env?: "production" | "development" | "staging";
|
|
1737
|
+
logLevel?: "error" | "warn" | "info" | "debug";
|
|
1738
|
+
app?: {
|
|
1739
|
+
version?: string;
|
|
1740
|
+
name?: string;
|
|
1741
|
+
environment?: string;
|
|
1742
|
+
};
|
|
1743
|
+
telemetry?: {
|
|
1744
|
+
enabled?: boolean;
|
|
1745
|
+
serviceName?: string;
|
|
1746
|
+
otlpEndpoint?: string;
|
|
1747
|
+
otlpHeaders?: Record<string, string>;
|
|
1748
|
+
sampleRate?: number;
|
|
1749
|
+
};
|
|
1750
|
+
api?: {
|
|
1751
|
+
timeout?: number;
|
|
1752
|
+
port?: number;
|
|
1753
|
+
host?: string;
|
|
1754
|
+
basePath?: string;
|
|
1755
|
+
rateLimit?: number;
|
|
1756
|
+
bulkRateLimit?: number;
|
|
1757
|
+
};
|
|
1758
|
+
cors?: {
|
|
1759
|
+
allowedOrigins?: string[];
|
|
1760
|
+
};
|
|
1761
|
+
health?: {
|
|
1762
|
+
checkTimeoutMs?: number;
|
|
1763
|
+
readyTimeoutMs?: number;
|
|
1764
|
+
livenessTimeoutMs?: number;
|
|
1765
|
+
};
|
|
1766
|
+
database?: {
|
|
1767
|
+
user?: string;
|
|
1768
|
+
password?: string;
|
|
1769
|
+
name?: string;
|
|
1770
|
+
port?: number;
|
|
1771
|
+
host?: string;
|
|
1772
|
+
poolMin?: number;
|
|
1773
|
+
poolMax?: number;
|
|
1774
|
+
poolIdleTimeoutMs?: number;
|
|
1775
|
+
poolConnectionTimeoutMs?: number;
|
|
1776
|
+
metricsIntervalMs?: number;
|
|
1777
|
+
statementTimeoutMs?: number;
|
|
1778
|
+
longQueryTimeoutMs?: number;
|
|
1779
|
+
};
|
|
1780
|
+
redis?: {
|
|
1781
|
+
password?: string;
|
|
1782
|
+
port?: number;
|
|
1783
|
+
host?: string;
|
|
1784
|
+
db?: number;
|
|
1785
|
+
};
|
|
1786
|
+
jwt?: {
|
|
1787
|
+
secret?: string;
|
|
1788
|
+
expiration?: string;
|
|
1789
|
+
refreshExpiration?: string;
|
|
1790
|
+
requireJti?: boolean;
|
|
1791
|
+
};
|
|
1792
|
+
proof?: {
|
|
1793
|
+
storage?: "local" | "s3" | "gcs";
|
|
1794
|
+
localPath?: string;
|
|
1795
|
+
retentionDays?: number;
|
|
1796
|
+
};
|
|
1797
|
+
trust?: {
|
|
1798
|
+
calcInterval?: number;
|
|
1799
|
+
cacheTtl?: number;
|
|
1800
|
+
decayRate?: number;
|
|
1801
|
+
};
|
|
1802
|
+
cognigate?: {
|
|
1803
|
+
timeout?: number;
|
|
1804
|
+
maxConcurrent?: number;
|
|
1805
|
+
maxMemoryMb?: number;
|
|
1806
|
+
maxCpuPercent?: number;
|
|
1807
|
+
};
|
|
1808
|
+
intent?: {
|
|
1809
|
+
defaultNamespace?: string;
|
|
1810
|
+
namespaceRouting?: Record<string, string>;
|
|
1811
|
+
dedupeTtlSeconds?: number;
|
|
1812
|
+
dedupeSecret?: string;
|
|
1813
|
+
dedupeTimestampWindowSeconds?: number;
|
|
1814
|
+
sensitivePaths?: string[];
|
|
1815
|
+
defaultMaxInFlight?: number;
|
|
1816
|
+
tenantMaxInFlight?: Record<string, number>;
|
|
1817
|
+
queueConcurrency?: number;
|
|
1818
|
+
jobTimeoutMs?: number;
|
|
1819
|
+
maxRetries?: number;
|
|
1820
|
+
retryBackoffMs?: number;
|
|
1821
|
+
queueDepthThreshold?: number;
|
|
1822
|
+
eventRetentionDays?: number;
|
|
1823
|
+
encryptContext?: boolean;
|
|
1824
|
+
trustGates?: Record<string, number>;
|
|
1825
|
+
defaultMinTrustLevel?: number;
|
|
1826
|
+
revalidateTrustAtDecision?: boolean;
|
|
1827
|
+
softDeleteRetentionDays?: number;
|
|
1828
|
+
escalationTimeout?: string;
|
|
1829
|
+
escalationDefaultRecipient?: string;
|
|
1830
|
+
cleanupCronSchedule?: string;
|
|
1831
|
+
timeoutCheckCronSchedule?: string;
|
|
1832
|
+
shutdownTimeoutMs?: number;
|
|
1833
|
+
rateLimits?: {
|
|
1834
|
+
default?: {
|
|
1835
|
+
limit?: number;
|
|
1836
|
+
windowSeconds?: number;
|
|
1837
|
+
};
|
|
1838
|
+
highRisk?: {
|
|
1839
|
+
limit?: number;
|
|
1840
|
+
windowSeconds?: number;
|
|
1841
|
+
};
|
|
1842
|
+
dataExport?: {
|
|
1843
|
+
limit?: number;
|
|
1844
|
+
windowSeconds?: number;
|
|
1845
|
+
};
|
|
1846
|
+
adminAction?: {
|
|
1847
|
+
limit?: number;
|
|
1848
|
+
windowSeconds?: number;
|
|
1849
|
+
};
|
|
1850
|
+
};
|
|
1851
|
+
policyCircuitBreaker?: {
|
|
1852
|
+
failureThreshold?: number;
|
|
1853
|
+
resetTimeoutMs?: number;
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
webhook?: {
|
|
1857
|
+
timeoutMs?: number;
|
|
1858
|
+
retryAttempts?: number;
|
|
1859
|
+
retryDelayMs?: number;
|
|
1860
|
+
allowDnsChange?: boolean;
|
|
1861
|
+
circuitFailureThreshold?: number;
|
|
1862
|
+
circuitResetTimeoutMs?: number;
|
|
1863
|
+
deliveryConcurrency?: number;
|
|
1864
|
+
allowedDomains?: string[];
|
|
1865
|
+
blockedDomains?: string[];
|
|
1866
|
+
enforceAllowlist?: boolean;
|
|
1867
|
+
};
|
|
1868
|
+
circuitBreaker?: {
|
|
1869
|
+
database?: {
|
|
1870
|
+
failureThreshold?: number;
|
|
1871
|
+
resetTimeoutMs?: number;
|
|
1872
|
+
halfOpenMaxAttempts?: number;
|
|
1873
|
+
monitorWindowMs?: number;
|
|
1874
|
+
};
|
|
1875
|
+
redis?: {
|
|
1876
|
+
failureThreshold?: number;
|
|
1877
|
+
resetTimeoutMs?: number;
|
|
1878
|
+
halfOpenMaxAttempts?: number;
|
|
1879
|
+
monitorWindowMs?: number;
|
|
1880
|
+
};
|
|
1881
|
+
webhook?: {
|
|
1882
|
+
failureThreshold?: number;
|
|
1883
|
+
resetTimeoutMs?: number;
|
|
1884
|
+
halfOpenMaxAttempts?: number;
|
|
1885
|
+
monitorWindowMs?: number;
|
|
1886
|
+
};
|
|
1887
|
+
policyEngine?: {
|
|
1888
|
+
failureThreshold?: number;
|
|
1889
|
+
resetTimeoutMs?: number;
|
|
1890
|
+
halfOpenMaxAttempts?: number;
|
|
1891
|
+
monitorWindowMs?: number;
|
|
1892
|
+
};
|
|
1893
|
+
trustEngine?: {
|
|
1894
|
+
failureThreshold?: number;
|
|
1895
|
+
resetTimeoutMs?: number;
|
|
1896
|
+
halfOpenMaxAttempts?: number;
|
|
1897
|
+
monitorWindowMs?: number;
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
gdpr?: {
|
|
1901
|
+
exportConcurrency?: number;
|
|
1902
|
+
};
|
|
1903
|
+
audit?: {
|
|
1904
|
+
retentionDays?: number;
|
|
1905
|
+
archiveEnabled?: boolean;
|
|
1906
|
+
archiveAfterDays?: number;
|
|
1907
|
+
cleanupBatchSize?: number;
|
|
1908
|
+
};
|
|
1909
|
+
encryption?: {
|
|
1910
|
+
key?: string;
|
|
1911
|
+
salt?: string;
|
|
1912
|
+
algorithm?: string;
|
|
1913
|
+
pbkdf2Iterations?: number;
|
|
1914
|
+
kdfVersion?: number;
|
|
1915
|
+
};
|
|
1916
|
+
csrf?: {
|
|
1917
|
+
secret?: string;
|
|
1918
|
+
enabled?: boolean;
|
|
1919
|
+
cookieName?: string;
|
|
1920
|
+
headerName?: string;
|
|
1921
|
+
tokenTTL?: number;
|
|
1922
|
+
excludePaths?: string[];
|
|
1923
|
+
excludeMethods?: string[];
|
|
1924
|
+
};
|
|
1925
|
+
session?: {
|
|
1926
|
+
fingerprintEnabled?: boolean;
|
|
1927
|
+
fingerprintStrictness?: "warn" | "block";
|
|
1928
|
+
fingerprintComponents?: string[];
|
|
1929
|
+
};
|
|
1930
|
+
lite?: {
|
|
1931
|
+
enabled?: boolean;
|
|
1932
|
+
autoGenerateSecrets?: boolean;
|
|
1933
|
+
dataDirectory?: string;
|
|
1934
|
+
redisOptional?: boolean;
|
|
1935
|
+
};
|
|
1936
|
+
hsm?: {
|
|
1937
|
+
enabled?: boolean;
|
|
1938
|
+
aws?: {
|
|
1939
|
+
clusterId?: string;
|
|
1940
|
+
region?: string;
|
|
1941
|
+
cryptoUser?: string;
|
|
1942
|
+
};
|
|
1943
|
+
azure?: {
|
|
1944
|
+
region?: string;
|
|
1945
|
+
hsmName?: string;
|
|
1946
|
+
tenantId?: string;
|
|
1947
|
+
clientId?: string;
|
|
1948
|
+
};
|
|
1949
|
+
gcp?: {
|
|
1950
|
+
projectId?: string;
|
|
1951
|
+
location?: string;
|
|
1952
|
+
keyRing?: string;
|
|
1953
|
+
};
|
|
1954
|
+
thales?: {
|
|
1955
|
+
partitionName?: string;
|
|
1956
|
+
hsmIpAddresses?: string[];
|
|
1957
|
+
};
|
|
1958
|
+
pkcs11?: {
|
|
1959
|
+
fipsMode?: boolean;
|
|
1960
|
+
libraryPath?: string;
|
|
1961
|
+
slot?: number;
|
|
1962
|
+
};
|
|
1963
|
+
provider?: "aws" | "azure" | "gcp" | "thales" | "softhsm" | "pkcs11";
|
|
1964
|
+
enableFailover?: boolean;
|
|
1965
|
+
failoverProviders?: ("aws" | "azure" | "gcp" | "thales" | "softhsm")[];
|
|
1966
|
+
healthCheckIntervalMs?: number;
|
|
1967
|
+
enableKeyCache?: boolean;
|
|
1968
|
+
keyCacheTTLSeconds?: number;
|
|
1969
|
+
enableAuditLogging?: boolean;
|
|
1970
|
+
fipsMode?: boolean;
|
|
1971
|
+
connectionTimeoutMs?: number;
|
|
1972
|
+
operationTimeoutMs?: number;
|
|
1973
|
+
};
|
|
1974
|
+
}>;
|
|
1975
|
+
export type Config = z.infer<typeof configSchema>;
|
|
1976
|
+
/**
|
|
1977
|
+
* Load configuration from environment
|
|
1978
|
+
*/
|
|
1979
|
+
export declare function loadConfig(): Config;
|
|
1980
|
+
/**
|
|
1981
|
+
* Get configuration (loads once)
|
|
1982
|
+
*/
|
|
1983
|
+
export declare function getConfig(): Config;
|
|
1984
|
+
/**
|
|
1985
|
+
* Calculate Shannon entropy of a secret string in bits.
|
|
1986
|
+
* Used to detect weak secrets like repeated characters, simple patterns, etc.
|
|
1987
|
+
*
|
|
1988
|
+
* SE-C1: Entropy check (not just length check) to prevent weak secrets
|
|
1989
|
+
* that could bypass validation in production.
|
|
1990
|
+
*
|
|
1991
|
+
* @param secret - The secret string to analyze
|
|
1992
|
+
* @returns Entropy in bits
|
|
1993
|
+
*/
|
|
1994
|
+
export declare function calculateSecretEntropy(secret: string): number;
|
|
1995
|
+
/**
|
|
1996
|
+
* Generate a cryptographically secure secret with entropy validation.
|
|
1997
|
+
*
|
|
1998
|
+
* Uses Node.js crypto.randomBytes which is backed by the OS CSPRNG.
|
|
1999
|
+
* Validates that the generated secret meets minimum entropy requirements.
|
|
2000
|
+
*
|
|
2001
|
+
* @param bytes - Number of random bytes to generate (default: 64)
|
|
2002
|
+
* @param minEntropy - Minimum required entropy in bits (default: 128)
|
|
2003
|
+
* @returns Base64-encoded secret string
|
|
2004
|
+
* @throws Error if generated secret has insufficient entropy (indicates CSPRNG issue)
|
|
2005
|
+
*
|
|
2006
|
+
* @example
|
|
2007
|
+
* ```typescript
|
|
2008
|
+
* const secret = generateStrongSecret(64); // 64 bytes = 512 bits
|
|
2009
|
+
* // Returns base64 string with ~340+ bits of entropy
|
|
2010
|
+
* ```
|
|
2011
|
+
*/
|
|
2012
|
+
export declare function generateStrongSecret(bytes?: number, minEntropy?: number): string;
|
|
2013
|
+
/**
|
|
2014
|
+
* Production configuration validation errors
|
|
2015
|
+
*/
|
|
2016
|
+
export interface ProductionConfigError {
|
|
2017
|
+
field: string;
|
|
2018
|
+
message: string;
|
|
2019
|
+
critical: boolean;
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* Validate configuration for production deployment.
|
|
2023
|
+
*
|
|
2024
|
+
* This function performs comprehensive validation of all CRITICAL security
|
|
2025
|
+
* fields required for production deployments. It should be called during
|
|
2026
|
+
* application startup to ensure the deployment is properly configured.
|
|
2027
|
+
*
|
|
2028
|
+
* Validates:
|
|
2029
|
+
* - JWT_SECRET: Not default, minimum 32 chars, minimum 128 bits entropy
|
|
2030
|
+
* - ENCRYPTION_KEY: Minimum 32 chars, minimum 128 bits entropy
|
|
2031
|
+
* - SIGNING_PRIVATE_KEY: Valid Ed25519/ECDSA key format
|
|
2032
|
+
* - DATABASE_URL/connection: Valid PostgreSQL connection string
|
|
2033
|
+
*
|
|
2034
|
+
* @throws Error if any critical validation fails with detailed message
|
|
2035
|
+
* @returns void on success
|
|
2036
|
+
*
|
|
2037
|
+
* @example
|
|
2038
|
+
* ```typescript
|
|
2039
|
+
* import { validateProductionConfig } from './config.js';
|
|
2040
|
+
*
|
|
2041
|
+
* // Call at application startup
|
|
2042
|
+
* try {
|
|
2043
|
+
* validateProductionConfig();
|
|
2044
|
+
* console.log('Production configuration validated successfully');
|
|
2045
|
+
* } catch (error) {
|
|
2046
|
+
* console.error('Configuration error:', error.message);
|
|
2047
|
+
* process.exit(1);
|
|
2048
|
+
* }
|
|
2049
|
+
* ```
|
|
2050
|
+
*/
|
|
2051
|
+
export declare function validateProductionConfig(): void;
|
|
2052
|
+
export {};
|
|
2053
|
+
//# sourceMappingURL=config.d.ts.map
|