@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,1007 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Session Recording System for Privileged Access Audit Trails
|
|
3
|
+
*
|
|
4
|
+
* Provides comprehensive recording of privileged access sessions with:
|
|
5
|
+
* - Tamper-evident hash chain for integrity
|
|
6
|
+
* - Privacy controls (masking, PII hashing)
|
|
7
|
+
* - Buffered storage with Redis and database persistence
|
|
8
|
+
* - Compliance-ready export capabilities
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
*/
|
|
12
|
+
import { z } from 'zod';
|
|
13
|
+
import { VorionError, NotFoundError, ForbiddenError } from '../../common/errors.js';
|
|
14
|
+
import { type RedactionConfig } from '../../common/redaction.js';
|
|
15
|
+
import type { FastifyInstance, FastifyRequest } from 'fastify';
|
|
16
|
+
declare const DEFAULT_RETENTION_DAYS = 90;
|
|
17
|
+
declare const DEFAULT_FLUSH_INTERVAL_MS = 5000;
|
|
18
|
+
declare const DEFAULT_MAX_BUFFER_SIZE = 100;
|
|
19
|
+
/**
|
|
20
|
+
* Session event types that can be recorded
|
|
21
|
+
*/
|
|
22
|
+
export declare const SessionEventType: {
|
|
23
|
+
readonly API_CALL: "api_call";
|
|
24
|
+
readonly DATA_ACCESS: "data_access";
|
|
25
|
+
readonly PERMISSION_USAGE: "permission_usage";
|
|
26
|
+
readonly CONFIG_CHANGE: "config_change";
|
|
27
|
+
readonly AUTH_EVENT: "auth_event";
|
|
28
|
+
readonly ERROR: "error";
|
|
29
|
+
readonly CUSTOM: "custom";
|
|
30
|
+
};
|
|
31
|
+
export type SessionEventType = (typeof SessionEventType)[keyof typeof SessionEventType];
|
|
32
|
+
export declare const sessionEventTypeSchema: z.ZodNativeEnum<{
|
|
33
|
+
readonly API_CALL: "api_call";
|
|
34
|
+
readonly DATA_ACCESS: "data_access";
|
|
35
|
+
readonly PERMISSION_USAGE: "permission_usage";
|
|
36
|
+
readonly CONFIG_CHANGE: "config_change";
|
|
37
|
+
readonly AUTH_EVENT: "auth_event";
|
|
38
|
+
readonly ERROR: "error";
|
|
39
|
+
readonly CUSTOM: "custom";
|
|
40
|
+
}>;
|
|
41
|
+
/**
|
|
42
|
+
* API call event details
|
|
43
|
+
*/
|
|
44
|
+
export interface ApiCallEvent {
|
|
45
|
+
type: 'api_call';
|
|
46
|
+
method: string;
|
|
47
|
+
path: string;
|
|
48
|
+
statusCode: number;
|
|
49
|
+
durationMs: number;
|
|
50
|
+
requestId?: string;
|
|
51
|
+
query?: Record<string, unknown>;
|
|
52
|
+
requestBody?: unknown;
|
|
53
|
+
responseBody?: unknown;
|
|
54
|
+
headers?: Record<string, string>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Data access event details
|
|
58
|
+
*/
|
|
59
|
+
export interface DataAccessEvent {
|
|
60
|
+
type: 'data_access';
|
|
61
|
+
operation: 'read' | 'write' | 'delete' | 'list';
|
|
62
|
+
resourceType: string;
|
|
63
|
+
resourceId?: string;
|
|
64
|
+
resourceIds?: string[];
|
|
65
|
+
query?: Record<string, unknown>;
|
|
66
|
+
recordCount?: number;
|
|
67
|
+
dataClassification?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Permission usage event details
|
|
71
|
+
*/
|
|
72
|
+
export interface PermissionUsageEvent {
|
|
73
|
+
type: 'permission_usage';
|
|
74
|
+
permission: string;
|
|
75
|
+
action: string;
|
|
76
|
+
resource?: string;
|
|
77
|
+
granted: boolean;
|
|
78
|
+
reason?: string;
|
|
79
|
+
elevatedFrom?: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Configuration change event details
|
|
83
|
+
*/
|
|
84
|
+
export interface ConfigChangeEvent {
|
|
85
|
+
type: 'config_change';
|
|
86
|
+
configType: string;
|
|
87
|
+
configId?: string;
|
|
88
|
+
changes: {
|
|
89
|
+
field: string;
|
|
90
|
+
oldValue?: unknown;
|
|
91
|
+
newValue?: unknown;
|
|
92
|
+
}[];
|
|
93
|
+
reason?: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Authentication event details
|
|
97
|
+
*/
|
|
98
|
+
export interface AuthEventDetails {
|
|
99
|
+
type: 'auth_event';
|
|
100
|
+
action: 'login' | 'logout' | 'token_refresh' | 'mfa_verify' | 'session_extend' | 'impersonate';
|
|
101
|
+
success: boolean;
|
|
102
|
+
method?: string;
|
|
103
|
+
targetUserId?: string;
|
|
104
|
+
reason?: string;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Error event details
|
|
108
|
+
*/
|
|
109
|
+
export interface ErrorEvent {
|
|
110
|
+
type: 'error';
|
|
111
|
+
errorCode: string;
|
|
112
|
+
errorMessage: string;
|
|
113
|
+
stack?: string;
|
|
114
|
+
context?: Record<string, unknown>;
|
|
115
|
+
severity: 'warning' | 'error' | 'critical';
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Custom event details
|
|
119
|
+
*/
|
|
120
|
+
export interface CustomEvent {
|
|
121
|
+
type: 'custom';
|
|
122
|
+
eventName: string;
|
|
123
|
+
data: Record<string, unknown>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Union type for all event details
|
|
127
|
+
*/
|
|
128
|
+
export type SessionEventDetails = ApiCallEvent | DataAccessEvent | PermissionUsageEvent | ConfigChangeEvent | AuthEventDetails | ErrorEvent | CustomEvent;
|
|
129
|
+
/**
|
|
130
|
+
* Session event structure
|
|
131
|
+
*/
|
|
132
|
+
export interface SessionEvent {
|
|
133
|
+
id: string;
|
|
134
|
+
recordingId: string;
|
|
135
|
+
timestamp: string;
|
|
136
|
+
sequenceNumber: number;
|
|
137
|
+
eventType: SessionEventType;
|
|
138
|
+
details: SessionEventDetails;
|
|
139
|
+
previousHash: string | null;
|
|
140
|
+
eventHash: string;
|
|
141
|
+
}
|
|
142
|
+
export declare const sessionEventSchema: z.ZodObject<{
|
|
143
|
+
id: z.ZodString;
|
|
144
|
+
recordingId: z.ZodString;
|
|
145
|
+
timestamp: z.ZodString;
|
|
146
|
+
sequenceNumber: z.ZodNumber;
|
|
147
|
+
eventType: z.ZodNativeEnum<{
|
|
148
|
+
readonly API_CALL: "api_call";
|
|
149
|
+
readonly DATA_ACCESS: "data_access";
|
|
150
|
+
readonly PERMISSION_USAGE: "permission_usage";
|
|
151
|
+
readonly CONFIG_CHANGE: "config_change";
|
|
152
|
+
readonly AUTH_EVENT: "auth_event";
|
|
153
|
+
readonly ERROR: "error";
|
|
154
|
+
readonly CUSTOM: "custom";
|
|
155
|
+
}>;
|
|
156
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
157
|
+
previousHash: z.ZodNullable<z.ZodString>;
|
|
158
|
+
eventHash: z.ZodString;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
details?: Record<string, unknown>;
|
|
161
|
+
id?: string;
|
|
162
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
163
|
+
previousHash?: string;
|
|
164
|
+
sequenceNumber?: number;
|
|
165
|
+
timestamp?: string;
|
|
166
|
+
recordingId?: string;
|
|
167
|
+
eventHash?: string;
|
|
168
|
+
}, {
|
|
169
|
+
details?: Record<string, unknown>;
|
|
170
|
+
id?: string;
|
|
171
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
172
|
+
previousHash?: string;
|
|
173
|
+
sequenceNumber?: number;
|
|
174
|
+
timestamp?: string;
|
|
175
|
+
recordingId?: string;
|
|
176
|
+
eventHash?: string;
|
|
177
|
+
}>;
|
|
178
|
+
/**
|
|
179
|
+
* Recording metadata
|
|
180
|
+
*/
|
|
181
|
+
export interface RecordingMetadata {
|
|
182
|
+
/** Reason for elevated access */
|
|
183
|
+
reason: string;
|
|
184
|
+
/** Associated ticket/request ID */
|
|
185
|
+
ticketId?: string;
|
|
186
|
+
/** List of approvers who authorized access */
|
|
187
|
+
approvers?: string[];
|
|
188
|
+
/** Business justification */
|
|
189
|
+
justification?: string;
|
|
190
|
+
/** Target resources being accessed */
|
|
191
|
+
targetResources?: string[];
|
|
192
|
+
/** Expected duration in minutes */
|
|
193
|
+
expectedDurationMinutes?: number;
|
|
194
|
+
/** Risk level assessment */
|
|
195
|
+
riskLevel?: 'low' | 'medium' | 'high' | 'critical';
|
|
196
|
+
/** Additional custom metadata */
|
|
197
|
+
custom?: Record<string, unknown>;
|
|
198
|
+
}
|
|
199
|
+
export declare const recordingMetadataSchema: z.ZodObject<{
|
|
200
|
+
reason: z.ZodString;
|
|
201
|
+
ticketId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
approvers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
203
|
+
justification: z.ZodOptional<z.ZodString>;
|
|
204
|
+
targetResources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
205
|
+
expectedDurationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
206
|
+
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
207
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
reason?: string;
|
|
210
|
+
custom?: Record<string, unknown>;
|
|
211
|
+
justification?: string;
|
|
212
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
213
|
+
approvers?: string[];
|
|
214
|
+
ticketId?: string;
|
|
215
|
+
targetResources?: string[];
|
|
216
|
+
expectedDurationMinutes?: number;
|
|
217
|
+
}, {
|
|
218
|
+
reason?: string;
|
|
219
|
+
custom?: Record<string, unknown>;
|
|
220
|
+
justification?: string;
|
|
221
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
222
|
+
approvers?: string[];
|
|
223
|
+
ticketId?: string;
|
|
224
|
+
targetResources?: string[];
|
|
225
|
+
expectedDurationMinutes?: number;
|
|
226
|
+
}>;
|
|
227
|
+
/**
|
|
228
|
+
* Recording summary statistics
|
|
229
|
+
*/
|
|
230
|
+
export interface RecordingSummary {
|
|
231
|
+
totalEvents: number;
|
|
232
|
+
eventsByType: Record<SessionEventType, number>;
|
|
233
|
+
dataAccessed: {
|
|
234
|
+
resourceTypes: string[];
|
|
235
|
+
totalRecords: number;
|
|
236
|
+
operations: Record<string, number>;
|
|
237
|
+
};
|
|
238
|
+
permissionsUsed: {
|
|
239
|
+
permissions: string[];
|
|
240
|
+
denied: number;
|
|
241
|
+
granted: number;
|
|
242
|
+
};
|
|
243
|
+
errors: {
|
|
244
|
+
count: number;
|
|
245
|
+
bySeverity: Record<string, number>;
|
|
246
|
+
};
|
|
247
|
+
apiCalls: {
|
|
248
|
+
count: number;
|
|
249
|
+
avgDurationMs: number;
|
|
250
|
+
statusCodes: Record<string, number>;
|
|
251
|
+
};
|
|
252
|
+
durationSeconds: number;
|
|
253
|
+
integrityValid: boolean;
|
|
254
|
+
}
|
|
255
|
+
export declare const recordingSummarySchema: z.ZodObject<{
|
|
256
|
+
totalEvents: z.ZodNumber;
|
|
257
|
+
eventsByType: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
258
|
+
dataAccessed: z.ZodObject<{
|
|
259
|
+
resourceTypes: z.ZodArray<z.ZodString, "many">;
|
|
260
|
+
totalRecords: z.ZodNumber;
|
|
261
|
+
operations: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
262
|
+
}, "strip", z.ZodTypeAny, {
|
|
263
|
+
totalRecords?: number;
|
|
264
|
+
resourceTypes?: string[];
|
|
265
|
+
operations?: Record<string, number>;
|
|
266
|
+
}, {
|
|
267
|
+
totalRecords?: number;
|
|
268
|
+
resourceTypes?: string[];
|
|
269
|
+
operations?: Record<string, number>;
|
|
270
|
+
}>;
|
|
271
|
+
permissionsUsed: z.ZodObject<{
|
|
272
|
+
permissions: z.ZodArray<z.ZodString, "many">;
|
|
273
|
+
denied: z.ZodNumber;
|
|
274
|
+
granted: z.ZodNumber;
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
denied?: number;
|
|
277
|
+
permissions?: string[];
|
|
278
|
+
granted?: number;
|
|
279
|
+
}, {
|
|
280
|
+
denied?: number;
|
|
281
|
+
permissions?: string[];
|
|
282
|
+
granted?: number;
|
|
283
|
+
}>;
|
|
284
|
+
errors: z.ZodObject<{
|
|
285
|
+
count: z.ZodNumber;
|
|
286
|
+
bySeverity: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
count?: number;
|
|
289
|
+
bySeverity?: Record<string, number>;
|
|
290
|
+
}, {
|
|
291
|
+
count?: number;
|
|
292
|
+
bySeverity?: Record<string, number>;
|
|
293
|
+
}>;
|
|
294
|
+
apiCalls: z.ZodObject<{
|
|
295
|
+
count: z.ZodNumber;
|
|
296
|
+
avgDurationMs: z.ZodNumber;
|
|
297
|
+
statusCodes: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
298
|
+
}, "strip", z.ZodTypeAny, {
|
|
299
|
+
count?: number;
|
|
300
|
+
avgDurationMs?: number;
|
|
301
|
+
statusCodes?: Record<string, number>;
|
|
302
|
+
}, {
|
|
303
|
+
count?: number;
|
|
304
|
+
avgDurationMs?: number;
|
|
305
|
+
statusCodes?: Record<string, number>;
|
|
306
|
+
}>;
|
|
307
|
+
durationSeconds: z.ZodNumber;
|
|
308
|
+
integrityValid: z.ZodBoolean;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
errors?: {
|
|
311
|
+
count?: number;
|
|
312
|
+
bySeverity?: Record<string, number>;
|
|
313
|
+
};
|
|
314
|
+
totalEvents?: number;
|
|
315
|
+
eventsByType?: Record<string, number>;
|
|
316
|
+
dataAccessed?: {
|
|
317
|
+
totalRecords?: number;
|
|
318
|
+
resourceTypes?: string[];
|
|
319
|
+
operations?: Record<string, number>;
|
|
320
|
+
};
|
|
321
|
+
permissionsUsed?: {
|
|
322
|
+
denied?: number;
|
|
323
|
+
permissions?: string[];
|
|
324
|
+
granted?: number;
|
|
325
|
+
};
|
|
326
|
+
apiCalls?: {
|
|
327
|
+
count?: number;
|
|
328
|
+
avgDurationMs?: number;
|
|
329
|
+
statusCodes?: Record<string, number>;
|
|
330
|
+
};
|
|
331
|
+
durationSeconds?: number;
|
|
332
|
+
integrityValid?: boolean;
|
|
333
|
+
}, {
|
|
334
|
+
errors?: {
|
|
335
|
+
count?: number;
|
|
336
|
+
bySeverity?: Record<string, number>;
|
|
337
|
+
};
|
|
338
|
+
totalEvents?: number;
|
|
339
|
+
eventsByType?: Record<string, number>;
|
|
340
|
+
dataAccessed?: {
|
|
341
|
+
totalRecords?: number;
|
|
342
|
+
resourceTypes?: string[];
|
|
343
|
+
operations?: Record<string, number>;
|
|
344
|
+
};
|
|
345
|
+
permissionsUsed?: {
|
|
346
|
+
denied?: number;
|
|
347
|
+
permissions?: string[];
|
|
348
|
+
granted?: number;
|
|
349
|
+
};
|
|
350
|
+
apiCalls?: {
|
|
351
|
+
count?: number;
|
|
352
|
+
avgDurationMs?: number;
|
|
353
|
+
statusCodes?: Record<string, number>;
|
|
354
|
+
};
|
|
355
|
+
durationSeconds?: number;
|
|
356
|
+
integrityValid?: boolean;
|
|
357
|
+
}>;
|
|
358
|
+
/**
|
|
359
|
+
* Recording status
|
|
360
|
+
*/
|
|
361
|
+
export declare const RecordingStatus: {
|
|
362
|
+
readonly ACTIVE: "active";
|
|
363
|
+
readonly COMPLETED: "completed";
|
|
364
|
+
readonly FAILED: "failed";
|
|
365
|
+
readonly ARCHIVED: "archived";
|
|
366
|
+
};
|
|
367
|
+
export type RecordingStatus = (typeof RecordingStatus)[keyof typeof RecordingStatus];
|
|
368
|
+
export declare const recordingStatusSchema: z.ZodNativeEnum<{
|
|
369
|
+
readonly ACTIVE: "active";
|
|
370
|
+
readonly COMPLETED: "completed";
|
|
371
|
+
readonly FAILED: "failed";
|
|
372
|
+
readonly ARCHIVED: "archived";
|
|
373
|
+
}>;
|
|
374
|
+
/**
|
|
375
|
+
* Complete recording structure
|
|
376
|
+
*/
|
|
377
|
+
export interface Recording {
|
|
378
|
+
id: string;
|
|
379
|
+
sessionId: string;
|
|
380
|
+
userId: string;
|
|
381
|
+
tenantId?: string;
|
|
382
|
+
status: RecordingStatus;
|
|
383
|
+
startedAt: string;
|
|
384
|
+
endedAt?: string;
|
|
385
|
+
events: SessionEvent[];
|
|
386
|
+
metadata: RecordingMetadata;
|
|
387
|
+
summary?: RecordingSummary;
|
|
388
|
+
retentionUntil: string;
|
|
389
|
+
recordingHash: string;
|
|
390
|
+
createdBy: string;
|
|
391
|
+
deletionApprovedBy?: string;
|
|
392
|
+
deletionApprovedAt?: string;
|
|
393
|
+
}
|
|
394
|
+
export declare const recordingSchema: z.ZodObject<{
|
|
395
|
+
id: z.ZodString;
|
|
396
|
+
sessionId: z.ZodString;
|
|
397
|
+
userId: z.ZodString;
|
|
398
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
399
|
+
status: z.ZodNativeEnum<{
|
|
400
|
+
readonly ACTIVE: "active";
|
|
401
|
+
readonly COMPLETED: "completed";
|
|
402
|
+
readonly FAILED: "failed";
|
|
403
|
+
readonly ARCHIVED: "archived";
|
|
404
|
+
}>;
|
|
405
|
+
startedAt: z.ZodString;
|
|
406
|
+
endedAt: z.ZodOptional<z.ZodString>;
|
|
407
|
+
events: z.ZodArray<z.ZodObject<{
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
recordingId: z.ZodString;
|
|
410
|
+
timestamp: z.ZodString;
|
|
411
|
+
sequenceNumber: z.ZodNumber;
|
|
412
|
+
eventType: z.ZodNativeEnum<{
|
|
413
|
+
readonly API_CALL: "api_call";
|
|
414
|
+
readonly DATA_ACCESS: "data_access";
|
|
415
|
+
readonly PERMISSION_USAGE: "permission_usage";
|
|
416
|
+
readonly CONFIG_CHANGE: "config_change";
|
|
417
|
+
readonly AUTH_EVENT: "auth_event";
|
|
418
|
+
readonly ERROR: "error";
|
|
419
|
+
readonly CUSTOM: "custom";
|
|
420
|
+
}>;
|
|
421
|
+
details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
422
|
+
previousHash: z.ZodNullable<z.ZodString>;
|
|
423
|
+
eventHash: z.ZodString;
|
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
|
425
|
+
details?: Record<string, unknown>;
|
|
426
|
+
id?: string;
|
|
427
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
428
|
+
previousHash?: string;
|
|
429
|
+
sequenceNumber?: number;
|
|
430
|
+
timestamp?: string;
|
|
431
|
+
recordingId?: string;
|
|
432
|
+
eventHash?: string;
|
|
433
|
+
}, {
|
|
434
|
+
details?: Record<string, unknown>;
|
|
435
|
+
id?: string;
|
|
436
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
437
|
+
previousHash?: string;
|
|
438
|
+
sequenceNumber?: number;
|
|
439
|
+
timestamp?: string;
|
|
440
|
+
recordingId?: string;
|
|
441
|
+
eventHash?: string;
|
|
442
|
+
}>, "many">;
|
|
443
|
+
metadata: z.ZodObject<{
|
|
444
|
+
reason: z.ZodString;
|
|
445
|
+
ticketId: z.ZodOptional<z.ZodString>;
|
|
446
|
+
approvers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
447
|
+
justification: z.ZodOptional<z.ZodString>;
|
|
448
|
+
targetResources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
449
|
+
expectedDurationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
riskLevel: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "critical"]>>;
|
|
451
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
reason?: string;
|
|
454
|
+
custom?: Record<string, unknown>;
|
|
455
|
+
justification?: string;
|
|
456
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
457
|
+
approvers?: string[];
|
|
458
|
+
ticketId?: string;
|
|
459
|
+
targetResources?: string[];
|
|
460
|
+
expectedDurationMinutes?: number;
|
|
461
|
+
}, {
|
|
462
|
+
reason?: string;
|
|
463
|
+
custom?: Record<string, unknown>;
|
|
464
|
+
justification?: string;
|
|
465
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
466
|
+
approvers?: string[];
|
|
467
|
+
ticketId?: string;
|
|
468
|
+
targetResources?: string[];
|
|
469
|
+
expectedDurationMinutes?: number;
|
|
470
|
+
}>;
|
|
471
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
totalEvents: z.ZodNumber;
|
|
473
|
+
eventsByType: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
474
|
+
dataAccessed: z.ZodObject<{
|
|
475
|
+
resourceTypes: z.ZodArray<z.ZodString, "many">;
|
|
476
|
+
totalRecords: z.ZodNumber;
|
|
477
|
+
operations: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
totalRecords?: number;
|
|
480
|
+
resourceTypes?: string[];
|
|
481
|
+
operations?: Record<string, number>;
|
|
482
|
+
}, {
|
|
483
|
+
totalRecords?: number;
|
|
484
|
+
resourceTypes?: string[];
|
|
485
|
+
operations?: Record<string, number>;
|
|
486
|
+
}>;
|
|
487
|
+
permissionsUsed: z.ZodObject<{
|
|
488
|
+
permissions: z.ZodArray<z.ZodString, "many">;
|
|
489
|
+
denied: z.ZodNumber;
|
|
490
|
+
granted: z.ZodNumber;
|
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
|
492
|
+
denied?: number;
|
|
493
|
+
permissions?: string[];
|
|
494
|
+
granted?: number;
|
|
495
|
+
}, {
|
|
496
|
+
denied?: number;
|
|
497
|
+
permissions?: string[];
|
|
498
|
+
granted?: number;
|
|
499
|
+
}>;
|
|
500
|
+
errors: z.ZodObject<{
|
|
501
|
+
count: z.ZodNumber;
|
|
502
|
+
bySeverity: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
count?: number;
|
|
505
|
+
bySeverity?: Record<string, number>;
|
|
506
|
+
}, {
|
|
507
|
+
count?: number;
|
|
508
|
+
bySeverity?: Record<string, number>;
|
|
509
|
+
}>;
|
|
510
|
+
apiCalls: z.ZodObject<{
|
|
511
|
+
count: z.ZodNumber;
|
|
512
|
+
avgDurationMs: z.ZodNumber;
|
|
513
|
+
statusCodes: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
count?: number;
|
|
516
|
+
avgDurationMs?: number;
|
|
517
|
+
statusCodes?: Record<string, number>;
|
|
518
|
+
}, {
|
|
519
|
+
count?: number;
|
|
520
|
+
avgDurationMs?: number;
|
|
521
|
+
statusCodes?: Record<string, number>;
|
|
522
|
+
}>;
|
|
523
|
+
durationSeconds: z.ZodNumber;
|
|
524
|
+
integrityValid: z.ZodBoolean;
|
|
525
|
+
}, "strip", z.ZodTypeAny, {
|
|
526
|
+
errors?: {
|
|
527
|
+
count?: number;
|
|
528
|
+
bySeverity?: Record<string, number>;
|
|
529
|
+
};
|
|
530
|
+
totalEvents?: number;
|
|
531
|
+
eventsByType?: Record<string, number>;
|
|
532
|
+
dataAccessed?: {
|
|
533
|
+
totalRecords?: number;
|
|
534
|
+
resourceTypes?: string[];
|
|
535
|
+
operations?: Record<string, number>;
|
|
536
|
+
};
|
|
537
|
+
permissionsUsed?: {
|
|
538
|
+
denied?: number;
|
|
539
|
+
permissions?: string[];
|
|
540
|
+
granted?: number;
|
|
541
|
+
};
|
|
542
|
+
apiCalls?: {
|
|
543
|
+
count?: number;
|
|
544
|
+
avgDurationMs?: number;
|
|
545
|
+
statusCodes?: Record<string, number>;
|
|
546
|
+
};
|
|
547
|
+
durationSeconds?: number;
|
|
548
|
+
integrityValid?: boolean;
|
|
549
|
+
}, {
|
|
550
|
+
errors?: {
|
|
551
|
+
count?: number;
|
|
552
|
+
bySeverity?: Record<string, number>;
|
|
553
|
+
};
|
|
554
|
+
totalEvents?: number;
|
|
555
|
+
eventsByType?: Record<string, number>;
|
|
556
|
+
dataAccessed?: {
|
|
557
|
+
totalRecords?: number;
|
|
558
|
+
resourceTypes?: string[];
|
|
559
|
+
operations?: Record<string, number>;
|
|
560
|
+
};
|
|
561
|
+
permissionsUsed?: {
|
|
562
|
+
denied?: number;
|
|
563
|
+
permissions?: string[];
|
|
564
|
+
granted?: number;
|
|
565
|
+
};
|
|
566
|
+
apiCalls?: {
|
|
567
|
+
count?: number;
|
|
568
|
+
avgDurationMs?: number;
|
|
569
|
+
statusCodes?: Record<string, number>;
|
|
570
|
+
};
|
|
571
|
+
durationSeconds?: number;
|
|
572
|
+
integrityValid?: boolean;
|
|
573
|
+
}>>;
|
|
574
|
+
retentionUntil: z.ZodString;
|
|
575
|
+
recordingHash: z.ZodString;
|
|
576
|
+
createdBy: z.ZodString;
|
|
577
|
+
deletionApprovedBy: z.ZodOptional<z.ZodString>;
|
|
578
|
+
deletionApprovedAt: z.ZodOptional<z.ZodString>;
|
|
579
|
+
}, "strip", z.ZodTypeAny, {
|
|
580
|
+
id?: string;
|
|
581
|
+
status?: "completed" | "failed" | "archived" | "active";
|
|
582
|
+
metadata?: {
|
|
583
|
+
reason?: string;
|
|
584
|
+
custom?: Record<string, unknown>;
|
|
585
|
+
justification?: string;
|
|
586
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
587
|
+
approvers?: string[];
|
|
588
|
+
ticketId?: string;
|
|
589
|
+
targetResources?: string[];
|
|
590
|
+
expectedDurationMinutes?: number;
|
|
591
|
+
};
|
|
592
|
+
tenantId?: string;
|
|
593
|
+
userId?: string;
|
|
594
|
+
sessionId?: string;
|
|
595
|
+
events?: {
|
|
596
|
+
details?: Record<string, unknown>;
|
|
597
|
+
id?: string;
|
|
598
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
599
|
+
previousHash?: string;
|
|
600
|
+
sequenceNumber?: number;
|
|
601
|
+
timestamp?: string;
|
|
602
|
+
recordingId?: string;
|
|
603
|
+
eventHash?: string;
|
|
604
|
+
}[];
|
|
605
|
+
createdBy?: string;
|
|
606
|
+
summary?: {
|
|
607
|
+
errors?: {
|
|
608
|
+
count?: number;
|
|
609
|
+
bySeverity?: Record<string, number>;
|
|
610
|
+
};
|
|
611
|
+
totalEvents?: number;
|
|
612
|
+
eventsByType?: Record<string, number>;
|
|
613
|
+
dataAccessed?: {
|
|
614
|
+
totalRecords?: number;
|
|
615
|
+
resourceTypes?: string[];
|
|
616
|
+
operations?: Record<string, number>;
|
|
617
|
+
};
|
|
618
|
+
permissionsUsed?: {
|
|
619
|
+
denied?: number;
|
|
620
|
+
permissions?: string[];
|
|
621
|
+
granted?: number;
|
|
622
|
+
};
|
|
623
|
+
apiCalls?: {
|
|
624
|
+
count?: number;
|
|
625
|
+
avgDurationMs?: number;
|
|
626
|
+
statusCodes?: Record<string, number>;
|
|
627
|
+
};
|
|
628
|
+
durationSeconds?: number;
|
|
629
|
+
integrityValid?: boolean;
|
|
630
|
+
};
|
|
631
|
+
startedAt?: string;
|
|
632
|
+
endedAt?: string;
|
|
633
|
+
retentionUntil?: string;
|
|
634
|
+
recordingHash?: string;
|
|
635
|
+
deletionApprovedBy?: string;
|
|
636
|
+
deletionApprovedAt?: string;
|
|
637
|
+
}, {
|
|
638
|
+
id?: string;
|
|
639
|
+
status?: "completed" | "failed" | "archived" | "active";
|
|
640
|
+
metadata?: {
|
|
641
|
+
reason?: string;
|
|
642
|
+
custom?: Record<string, unknown>;
|
|
643
|
+
justification?: string;
|
|
644
|
+
riskLevel?: "critical" | "low" | "medium" | "high";
|
|
645
|
+
approvers?: string[];
|
|
646
|
+
ticketId?: string;
|
|
647
|
+
targetResources?: string[];
|
|
648
|
+
expectedDurationMinutes?: number;
|
|
649
|
+
};
|
|
650
|
+
tenantId?: string;
|
|
651
|
+
userId?: string;
|
|
652
|
+
sessionId?: string;
|
|
653
|
+
events?: {
|
|
654
|
+
details?: Record<string, unknown>;
|
|
655
|
+
id?: string;
|
|
656
|
+
eventType?: "error" | "custom" | "data_access" | "config_change" | "api_call" | "permission_usage" | "auth_event";
|
|
657
|
+
previousHash?: string;
|
|
658
|
+
sequenceNumber?: number;
|
|
659
|
+
timestamp?: string;
|
|
660
|
+
recordingId?: string;
|
|
661
|
+
eventHash?: string;
|
|
662
|
+
}[];
|
|
663
|
+
createdBy?: string;
|
|
664
|
+
summary?: {
|
|
665
|
+
errors?: {
|
|
666
|
+
count?: number;
|
|
667
|
+
bySeverity?: Record<string, number>;
|
|
668
|
+
};
|
|
669
|
+
totalEvents?: number;
|
|
670
|
+
eventsByType?: Record<string, number>;
|
|
671
|
+
dataAccessed?: {
|
|
672
|
+
totalRecords?: number;
|
|
673
|
+
resourceTypes?: string[];
|
|
674
|
+
operations?: Record<string, number>;
|
|
675
|
+
};
|
|
676
|
+
permissionsUsed?: {
|
|
677
|
+
denied?: number;
|
|
678
|
+
permissions?: string[];
|
|
679
|
+
granted?: number;
|
|
680
|
+
};
|
|
681
|
+
apiCalls?: {
|
|
682
|
+
count?: number;
|
|
683
|
+
avgDurationMs?: number;
|
|
684
|
+
statusCodes?: Record<string, number>;
|
|
685
|
+
};
|
|
686
|
+
durationSeconds?: number;
|
|
687
|
+
integrityValid?: boolean;
|
|
688
|
+
};
|
|
689
|
+
startedAt?: string;
|
|
690
|
+
endedAt?: string;
|
|
691
|
+
retentionUntil?: string;
|
|
692
|
+
recordingHash?: string;
|
|
693
|
+
deletionApprovedBy?: string;
|
|
694
|
+
deletionApprovedAt?: string;
|
|
695
|
+
}>;
|
|
696
|
+
/**
|
|
697
|
+
* Recording filter for search
|
|
698
|
+
*/
|
|
699
|
+
export interface RecordingFilter {
|
|
700
|
+
userId?: string;
|
|
701
|
+
sessionId?: string;
|
|
702
|
+
tenantId?: string;
|
|
703
|
+
status?: RecordingStatus;
|
|
704
|
+
startedAfter?: string;
|
|
705
|
+
startedBefore?: string;
|
|
706
|
+
ticketId?: string;
|
|
707
|
+
riskLevel?: string;
|
|
708
|
+
hasErrors?: boolean;
|
|
709
|
+
permissionUsed?: string;
|
|
710
|
+
resourceAccessed?: string;
|
|
711
|
+
limit?: number;
|
|
712
|
+
offset?: number;
|
|
713
|
+
}
|
|
714
|
+
export declare const recordingFilterSchema: z.ZodObject<{
|
|
715
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
716
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
717
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
718
|
+
status: z.ZodOptional<z.ZodNativeEnum<{
|
|
719
|
+
readonly ACTIVE: "active";
|
|
720
|
+
readonly COMPLETED: "completed";
|
|
721
|
+
readonly FAILED: "failed";
|
|
722
|
+
readonly ARCHIVED: "archived";
|
|
723
|
+
}>>;
|
|
724
|
+
startedAfter: z.ZodOptional<z.ZodString>;
|
|
725
|
+
startedBefore: z.ZodOptional<z.ZodString>;
|
|
726
|
+
ticketId: z.ZodOptional<z.ZodString>;
|
|
727
|
+
riskLevel: z.ZodOptional<z.ZodString>;
|
|
728
|
+
hasErrors: z.ZodOptional<z.ZodBoolean>;
|
|
729
|
+
permissionUsed: z.ZodOptional<z.ZodString>;
|
|
730
|
+
resourceAccessed: z.ZodOptional<z.ZodString>;
|
|
731
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
732
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
733
|
+
}, "strip", z.ZodTypeAny, {
|
|
734
|
+
limit?: number;
|
|
735
|
+
status?: "completed" | "failed" | "archived" | "active";
|
|
736
|
+
tenantId?: string;
|
|
737
|
+
userId?: string;
|
|
738
|
+
sessionId?: string;
|
|
739
|
+
offset?: number;
|
|
740
|
+
riskLevel?: string;
|
|
741
|
+
ticketId?: string;
|
|
742
|
+
startedAfter?: string;
|
|
743
|
+
startedBefore?: string;
|
|
744
|
+
hasErrors?: boolean;
|
|
745
|
+
permissionUsed?: string;
|
|
746
|
+
resourceAccessed?: string;
|
|
747
|
+
}, {
|
|
748
|
+
limit?: number;
|
|
749
|
+
status?: "completed" | "failed" | "archived" | "active";
|
|
750
|
+
tenantId?: string;
|
|
751
|
+
userId?: string;
|
|
752
|
+
sessionId?: string;
|
|
753
|
+
offset?: number;
|
|
754
|
+
riskLevel?: string;
|
|
755
|
+
ticketId?: string;
|
|
756
|
+
startedAfter?: string;
|
|
757
|
+
startedBefore?: string;
|
|
758
|
+
hasErrors?: boolean;
|
|
759
|
+
permissionUsed?: string;
|
|
760
|
+
resourceAccessed?: string;
|
|
761
|
+
}>;
|
|
762
|
+
/**
|
|
763
|
+
* Session recording error
|
|
764
|
+
*/
|
|
765
|
+
export declare class SessionRecordingError extends VorionError {
|
|
766
|
+
code: string;
|
|
767
|
+
statusCode: number;
|
|
768
|
+
constructor(message: string, details?: Record<string, unknown>);
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Recording not found error
|
|
772
|
+
*/
|
|
773
|
+
export declare class RecordingNotFoundError extends NotFoundError {
|
|
774
|
+
code: string;
|
|
775
|
+
constructor(recordingId: string);
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* Recording deletion denied error
|
|
779
|
+
*/
|
|
780
|
+
export declare class RecordingDeletionDeniedError extends ForbiddenError {
|
|
781
|
+
code: string;
|
|
782
|
+
constructor(recordingId: string, reason: string);
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* Privacy configuration for recordings
|
|
786
|
+
*/
|
|
787
|
+
export interface PrivacyConfig {
|
|
788
|
+
/** Fields to always mask */
|
|
789
|
+
maskFields: string[];
|
|
790
|
+
/** Fields to exclude entirely */
|
|
791
|
+
excludeFields: string[];
|
|
792
|
+
/** Fields containing PII to hash */
|
|
793
|
+
piiFields: string[];
|
|
794
|
+
/** Custom redaction config */
|
|
795
|
+
redactionConfig?: RedactionConfig;
|
|
796
|
+
/** Whether to mask request bodies */
|
|
797
|
+
maskRequestBodies: boolean;
|
|
798
|
+
/** Whether to mask response bodies */
|
|
799
|
+
maskResponseBodies: boolean;
|
|
800
|
+
/** Maximum body size to record (bytes) */
|
|
801
|
+
maxBodySize: number;
|
|
802
|
+
}
|
|
803
|
+
declare const DEFAULT_PRIVACY_CONFIG: PrivacyConfig;
|
|
804
|
+
/**
|
|
805
|
+
* Storage interface for recordings
|
|
806
|
+
*/
|
|
807
|
+
export interface RecordingStorage {
|
|
808
|
+
/** Save a recording */
|
|
809
|
+
save(recording: Recording): Promise<void>;
|
|
810
|
+
/** Get a recording by ID */
|
|
811
|
+
get(recordingId: string): Promise<Recording | null>;
|
|
812
|
+
/** Update a recording */
|
|
813
|
+
update(recording: Recording): Promise<void>;
|
|
814
|
+
/** Search recordings */
|
|
815
|
+
search(filter: RecordingFilter): Promise<{
|
|
816
|
+
recordings: Recording[];
|
|
817
|
+
total: number;
|
|
818
|
+
}>;
|
|
819
|
+
/** Delete a recording (requires approval) */
|
|
820
|
+
delete(recordingId: string, approvedBy: string): Promise<void>;
|
|
821
|
+
/** Flush buffered events to storage */
|
|
822
|
+
flushEvents(recordingId: string, events: SessionEvent[]): Promise<void>;
|
|
823
|
+
/** Get events for a recording */
|
|
824
|
+
getEvents(recordingId: string): Promise<SessionEvent[]>;
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* In-memory storage implementation (for development/testing)
|
|
828
|
+
*/
|
|
829
|
+
export declare class InMemoryRecordingStorage implements RecordingStorage {
|
|
830
|
+
private recordings;
|
|
831
|
+
private events;
|
|
832
|
+
save(recording: Recording): Promise<void>;
|
|
833
|
+
get(recordingId: string): Promise<Recording | null>;
|
|
834
|
+
update(recording: Recording): Promise<void>;
|
|
835
|
+
search(filter: RecordingFilter): Promise<{
|
|
836
|
+
recordings: Recording[];
|
|
837
|
+
total: number;
|
|
838
|
+
}>;
|
|
839
|
+
delete(recordingId: string, approvedBy: string): Promise<void>;
|
|
840
|
+
flushEvents(recordingId: string, events: SessionEvent[]): Promise<void>;
|
|
841
|
+
getEvents(recordingId: string): Promise<SessionEvent[]>;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Session recorder configuration
|
|
845
|
+
*/
|
|
846
|
+
export interface SessionRecorderConfig {
|
|
847
|
+
/** Storage backend */
|
|
848
|
+
storage: RecordingStorage;
|
|
849
|
+
/** Privacy configuration */
|
|
850
|
+
privacy?: Partial<PrivacyConfig>;
|
|
851
|
+
/** Default retention period in days */
|
|
852
|
+
retentionDays?: number;
|
|
853
|
+
/** Event buffer flush interval in ms */
|
|
854
|
+
flushIntervalMs?: number;
|
|
855
|
+
/** Maximum events to buffer before force flush */
|
|
856
|
+
maxBufferSize?: number;
|
|
857
|
+
/** Tenant ID for multi-tenant setups */
|
|
858
|
+
tenantId?: string;
|
|
859
|
+
}
|
|
860
|
+
/**
|
|
861
|
+
* Session Recorder Class
|
|
862
|
+
*
|
|
863
|
+
* Records privileged access sessions with tamper-evident logging,
|
|
864
|
+
* privacy controls, and compliance-ready exports.
|
|
865
|
+
*
|
|
866
|
+
* @example
|
|
867
|
+
* ```typescript
|
|
868
|
+
* const recorder = new SessionRecorder({
|
|
869
|
+
* storage: new InMemoryRecordingStorage(),
|
|
870
|
+
* retentionDays: 90,
|
|
871
|
+
* });
|
|
872
|
+
*
|
|
873
|
+
* // Start recording
|
|
874
|
+
* const recording = await recorder.startRecording('session-123', 'user-456', {
|
|
875
|
+
* reason: 'Production database maintenance',
|
|
876
|
+
* ticketId: 'JIRA-789',
|
|
877
|
+
* approvers: ['admin-1', 'admin-2'],
|
|
878
|
+
* });
|
|
879
|
+
*
|
|
880
|
+
* // Record events
|
|
881
|
+
* await recorder.recordEvent(recording.id, {
|
|
882
|
+
* type: 'api_call',
|
|
883
|
+
* method: 'GET',
|
|
884
|
+
* path: '/api/users',
|
|
885
|
+
* statusCode: 200,
|
|
886
|
+
* durationMs: 45,
|
|
887
|
+
* });
|
|
888
|
+
*
|
|
889
|
+
* // Stop recording
|
|
890
|
+
* const summary = await recorder.stopRecording(recording.id);
|
|
891
|
+
* ```
|
|
892
|
+
*/
|
|
893
|
+
export declare class SessionRecorder {
|
|
894
|
+
private storage;
|
|
895
|
+
private privacyConfig;
|
|
896
|
+
private retentionDays;
|
|
897
|
+
private flushIntervalMs;
|
|
898
|
+
private maxBufferSize;
|
|
899
|
+
private tenantId?;
|
|
900
|
+
private activeRecordings;
|
|
901
|
+
private flushTimer;
|
|
902
|
+
constructor(config: SessionRecorderConfig);
|
|
903
|
+
/**
|
|
904
|
+
* Start recording a session
|
|
905
|
+
*/
|
|
906
|
+
startRecording(sessionId: string, userId: string, metadata: RecordingMetadata): Promise<Recording>;
|
|
907
|
+
/**
|
|
908
|
+
* Record an event in a session
|
|
909
|
+
*/
|
|
910
|
+
recordEvent(recordingId: string, eventDetails: SessionEventDetails): Promise<void>;
|
|
911
|
+
/**
|
|
912
|
+
* Stop recording and finalize
|
|
913
|
+
*/
|
|
914
|
+
stopRecording(recordingId: string): Promise<RecordingSummary>;
|
|
915
|
+
/**
|
|
916
|
+
* Get a recording by ID
|
|
917
|
+
*/
|
|
918
|
+
getRecording(recordingId: string): Promise<Recording>;
|
|
919
|
+
/**
|
|
920
|
+
* Search recordings
|
|
921
|
+
*/
|
|
922
|
+
searchRecordings(filter: RecordingFilter): Promise<Recording[]>;
|
|
923
|
+
/**
|
|
924
|
+
* Export recording for audit
|
|
925
|
+
*/
|
|
926
|
+
exportRecording(recordingId: string, format: 'json' | 'csv'): Promise<string>;
|
|
927
|
+
/**
|
|
928
|
+
* Verify recording integrity
|
|
929
|
+
*/
|
|
930
|
+
verifyIntegrity(recordingId: string): Promise<{
|
|
931
|
+
valid: boolean;
|
|
932
|
+
brokenAt?: number;
|
|
933
|
+
error?: string;
|
|
934
|
+
}>;
|
|
935
|
+
/**
|
|
936
|
+
* Request deletion of a recording (requires admin approval)
|
|
937
|
+
*/
|
|
938
|
+
requestDeletion(recordingId: string, requestedBy: string, reason: string): Promise<void>;
|
|
939
|
+
/**
|
|
940
|
+
* Approve and execute deletion (admin only)
|
|
941
|
+
*/
|
|
942
|
+
approveDeletion(recordingId: string, approvedBy: string): Promise<void>;
|
|
943
|
+
/**
|
|
944
|
+
* Check if a session has an active recording
|
|
945
|
+
*/
|
|
946
|
+
isRecording(sessionId: string): boolean;
|
|
947
|
+
/**
|
|
948
|
+
* Get active recording for a session
|
|
949
|
+
*/
|
|
950
|
+
getActiveRecordingForSession(sessionId: string): Recording | null;
|
|
951
|
+
/**
|
|
952
|
+
* Destroy the recorder and cleanup resources
|
|
953
|
+
*/
|
|
954
|
+
destroy(): void;
|
|
955
|
+
private startFlushTimer;
|
|
956
|
+
private flushAllBuffers;
|
|
957
|
+
private flushBuffer;
|
|
958
|
+
private computeEventHash;
|
|
959
|
+
private computeRecordingHash;
|
|
960
|
+
private computeSummary;
|
|
961
|
+
}
|
|
962
|
+
/**
|
|
963
|
+
* Options for the session recording Fastify plugin
|
|
964
|
+
*/
|
|
965
|
+
export interface SessionRecordingPluginOptions {
|
|
966
|
+
/** Session recorder instance */
|
|
967
|
+
recorder: SessionRecorder;
|
|
968
|
+
/** Function to determine if request should be recorded */
|
|
969
|
+
shouldRecord?: (request: FastifyRequest) => boolean;
|
|
970
|
+
/** Function to get session ID from request */
|
|
971
|
+
getSessionId?: (request: FastifyRequest) => string | null;
|
|
972
|
+
/** Function to get user ID from request */
|
|
973
|
+
getUserId?: (request: FastifyRequest) => string | null;
|
|
974
|
+
/** Paths to exclude from recording */
|
|
975
|
+
excludePaths?: string[];
|
|
976
|
+
/** Whether to record request bodies */
|
|
977
|
+
recordRequestBodies?: boolean;
|
|
978
|
+
/** Whether to record response bodies */
|
|
979
|
+
recordResponseBodies?: boolean;
|
|
980
|
+
}
|
|
981
|
+
/**
|
|
982
|
+
* Create a Fastify plugin for auto-recording requests during elevated sessions
|
|
983
|
+
*/
|
|
984
|
+
export declare function createSessionRecordingPlugin(options: SessionRecordingPluginOptions): (fastify: FastifyInstance) => Promise<void>;
|
|
985
|
+
/**
|
|
986
|
+
* PAM session hooks for auto-starting/stopping recordings
|
|
987
|
+
*/
|
|
988
|
+
export interface PAMSessionHooks {
|
|
989
|
+
/** Called when a PAM session starts */
|
|
990
|
+
onSessionStart: (sessionId: string, userId: string, metadata: RecordingMetadata) => Promise<Recording>;
|
|
991
|
+
/** Called when a PAM session ends */
|
|
992
|
+
onSessionEnd: (sessionId: string) => Promise<RecordingSummary | null>;
|
|
993
|
+
/** Record a permission usage event */
|
|
994
|
+
recordPermissionUsage: (sessionId: string, permission: string, action: string, granted: boolean, details?: Partial<PermissionUsageEvent>) => Promise<void>;
|
|
995
|
+
/** Record a data access event */
|
|
996
|
+
recordDataAccess: (sessionId: string, operation: 'read' | 'write' | 'delete' | 'list', resourceType: string, details?: Partial<DataAccessEvent>) => Promise<void>;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* Create PAM session hooks
|
|
1000
|
+
*/
|
|
1001
|
+
export declare function createPAMSessionHooks(recorder: SessionRecorder): PAMSessionHooks;
|
|
1002
|
+
/**
|
|
1003
|
+
* Create a session recorder with default configuration
|
|
1004
|
+
*/
|
|
1005
|
+
export declare function createSessionRecorder(options?: Partial<SessionRecorderConfig>): SessionRecorder;
|
|
1006
|
+
export { DEFAULT_PRIVACY_CONFIG, DEFAULT_RETENTION_DAYS, DEFAULT_FLUSH_INTERVAL_MS, DEFAULT_MAX_BUFFER_SIZE, };
|
|
1007
|
+
//# sourceMappingURL=session-recording.d.ts.map
|