@vorionsys/security 1.0.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 +85 -0
- package/dist/aci-extensions/aci-string-extensions.d.ts +334 -0
- package/dist/aci-extensions/aci-string-extensions.d.ts.map +1 -0
- package/dist/aci-extensions/aci-string-extensions.js +435 -0
- package/dist/aci-extensions/aci-string-extensions.js.map +1 -0
- package/dist/aci-extensions/builtin-extensions/audit.d.ts +88 -0
- package/dist/aci-extensions/builtin-extensions/audit.d.ts.map +1 -0
- package/dist/aci-extensions/builtin-extensions/audit.js +444 -0
- package/dist/aci-extensions/builtin-extensions/audit.js.map +1 -0
- package/dist/aci-extensions/builtin-extensions/governance.d.ts +32 -0
- package/dist/aci-extensions/builtin-extensions/governance.d.ts.map +1 -0
- package/dist/aci-extensions/builtin-extensions/governance.js +533 -0
- package/dist/aci-extensions/builtin-extensions/governance.js.map +1 -0
- package/dist/aci-extensions/builtin-extensions/monitoring.d.ts +43 -0
- package/dist/aci-extensions/builtin-extensions/monitoring.d.ts.map +1 -0
- package/dist/aci-extensions/builtin-extensions/monitoring.js +416 -0
- package/dist/aci-extensions/builtin-extensions/monitoring.js.map +1 -0
- package/dist/aci-extensions/executor.d.ts +208 -0
- package/dist/aci-extensions/executor.d.ts.map +1 -0
- package/dist/aci-extensions/executor.js +789 -0
- package/dist/aci-extensions/executor.js.map +1 -0
- package/dist/aci-extensions/index.d.ts +6 -0
- package/dist/aci-extensions/index.d.ts.map +1 -0
- package/dist/aci-extensions/index.js +6 -0
- package/dist/aci-extensions/index.js.map +1 -0
- package/dist/aci-extensions/registry.d.ts +217 -0
- package/dist/aci-extensions/registry.d.ts.map +1 -0
- package/dist/aci-extensions/registry.js +443 -0
- package/dist/aci-extensions/registry.js.map +1 -0
- package/dist/aci-extensions/service.d.ts +220 -0
- package/dist/aci-extensions/service.d.ts.map +1 -0
- package/dist/aci-extensions/service.js +484 -0
- package/dist/aci-extensions/service.js.map +1 -0
- package/dist/aci-extensions/types.d.ts +2265 -0
- package/dist/aci-extensions/types.d.ts.map +1 -0
- package/dist/aci-extensions/types.js +389 -0
- package/dist/aci-extensions/types.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 +306 -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 +16 -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 +23 -0
- package/dist/api/middleware/index.d.ts.map +1 -0
- package/dist/api/middleware/index.js +41 -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.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/routes/extensions.d.ts +40 -0
- package/dist/api/routes/extensions.d.ts.map +1 -0
- package/dist/api/routes/extensions.js +434 -0
- package/dist/api/routes/extensions.js.map +1 -0
- package/dist/api/routes/mfa.d.ts +44 -0
- package/dist/api/routes/mfa.d.ts.map +1 -0
- package/dist/api/routes/mfa.js +270 -0
- package/dist/api/routes/mfa.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 +1967 -0
- package/dist/api/server.js.map +1 -0
- package/dist/api/v1/admin.d.ts +11 -0
- package/dist/api/v1/admin.d.ts.map +1 -0
- package/dist/api/v1/admin.js +207 -0
- package/dist/api/v1/admin.js.map +1 -0
- package/dist/api/v1/audit.d.ts +14 -0
- package/dist/api/v1/audit.d.ts.map +1 -0
- package/dist/api/v1/audit.js +376 -0
- package/dist/api/v1/audit.js.map +1 -0
- package/dist/api/v1/auth.d.ts +17 -0
- package/dist/api/v1/auth.d.ts.map +1 -0
- package/dist/api/v1/auth.js +637 -0
- package/dist/api/v1/auth.js.map +1 -0
- package/dist/api/v1/compliance.d.ts +62 -0
- package/dist/api/v1/compliance.d.ts.map +1 -0
- package/dist/api/v1/compliance.js +858 -0
- package/dist/api/v1/compliance.js.map +1 -0
- package/dist/api/v1/constraints.d.ts +11 -0
- package/dist/api/v1/constraints.d.ts.map +1 -0
- package/dist/api/v1/constraints.js +71 -0
- package/dist/api/v1/constraints.js.map +1 -0
- package/dist/api/v1/dashboard.d.ts +224 -0
- package/dist/api/v1/dashboard.d.ts.map +1 -0
- package/dist/api/v1/dashboard.js +833 -0
- package/dist/api/v1/dashboard.js.map +1 -0
- package/dist/api/v1/docs.d.ts +11 -0
- package/dist/api/v1/docs.d.ts.map +1 -0
- package/dist/api/v1/docs.js +95 -0
- package/dist/api/v1/docs.js.map +1 -0
- package/dist/api/v1/escalations.d.ts +11 -0
- package/dist/api/v1/escalations.d.ts.map +1 -0
- package/dist/api/v1/escalations.js +857 -0
- package/dist/api/v1/escalations.js.map +1 -0
- package/dist/api/v1/gdpr.d.ts +11 -0
- package/dist/api/v1/gdpr.d.ts.map +1 -0
- package/dist/api/v1/gdpr.js +220 -0
- package/dist/api/v1/gdpr.js.map +1 -0
- package/dist/api/v1/health.d.ts +22 -0
- package/dist/api/v1/health.d.ts.map +1 -0
- package/dist/api/v1/health.js +512 -0
- package/dist/api/v1/health.js.map +1 -0
- package/dist/api/v1/index.d.ts +22 -0
- package/dist/api/v1/index.d.ts.map +1 -0
- package/dist/api/v1/index.js +81 -0
- package/dist/api/v1/index.js.map +1 -0
- package/dist/api/v1/intents.d.ts +11 -0
- package/dist/api/v1/intents.d.ts.map +1 -0
- package/dist/api/v1/intents.js +239 -0
- package/dist/api/v1/intents.js.map +1 -0
- package/dist/api/v1/operations.d.ts +21 -0
- package/dist/api/v1/operations.d.ts.map +1 -0
- package/dist/api/v1/operations.js +140 -0
- package/dist/api/v1/operations.js.map +1 -0
- package/dist/api/v1/policies.d.ts +11 -0
- package/dist/api/v1/policies.d.ts.map +1 -0
- package/dist/api/v1/policies.js +763 -0
- package/dist/api/v1/policies.js.map +1 -0
- package/dist/api/v1/proofs.d.ts +13 -0
- package/dist/api/v1/proofs.d.ts.map +1 -0
- package/dist/api/v1/proofs.js +239 -0
- package/dist/api/v1/proofs.js.map +1 -0
- package/dist/api/v1/security-dashboard.d.ts +1090 -0
- package/dist/api/v1/security-dashboard.d.ts.map +1 -0
- package/dist/api/v1/security-dashboard.js +755 -0
- package/dist/api/v1/security-dashboard.js.map +1 -0
- package/dist/api/v1/service-accounts.d.ts +16 -0
- package/dist/api/v1/service-accounts.d.ts.map +1 -0
- package/dist/api/v1/service-accounts.js +563 -0
- package/dist/api/v1/service-accounts.js.map +1 -0
- package/dist/api/v1/sessions.d.ts +36 -0
- package/dist/api/v1/sessions.d.ts.map +1 -0
- package/dist/api/v1/sessions.js +333 -0
- package/dist/api/v1/sessions.js.map +1 -0
- package/dist/api/v1/trust.d.ts +14 -0
- package/dist/api/v1/trust.d.ts.map +1 -0
- package/dist/api/v1/trust.js +578 -0
- package/dist/api/v1/trust.js.map +1 -0
- package/dist/api/v1/webhooks.d.ts +11 -0
- package/dist/api/v1/webhooks.d.ts.map +1 -0
- package/dist/api/v1/webhooks.js +250 -0
- package/dist/api/v1/webhooks.js.map +1 -0
- package/dist/api/v2/trust.d.ts +20 -0
- package/dist/api/v2/trust.d.ts.map +1 -0
- package/dist/api/v2/trust.js +362 -0
- package/dist/api/v2/trust.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/api/versioning/backward-compat.d.ts +28 -0
- package/dist/api/versioning/backward-compat.d.ts.map +1 -0
- package/dist/api/versioning/backward-compat.js +161 -0
- package/dist/api/versioning/backward-compat.js.map +1 -0
- package/dist/api/versioning/index.d.ts +112 -0
- package/dist/api/versioning/index.d.ts.map +1 -0
- package/dist/api/versioning/index.js +199 -0
- package/dist/api/versioning/index.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 +411 -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 +405 -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 +374 -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 +405 -0
- package/dist/audit/types.d.ts.map +1 -0
- package/dist/audit/types.js +121 -0
- package/dist/audit/types.js.map +1 -0
- package/dist/auth/mfa/index.d.ts +66 -0
- package/dist/auth/mfa/index.d.ts.map +1 -0
- package/dist/auth/mfa/index.js +15 -0
- package/dist/auth/mfa/index.js.map +1 -0
- package/dist/auth/mfa/totp.d.ts +221 -0
- package/dist/auth/mfa/totp.d.ts.map +1 -0
- package/dist/auth/mfa/totp.js +324 -0
- package/dist/auth/mfa/totp.js.map +1 -0
- package/dist/auth/mfa/webauthn.d.ts +224 -0
- package/dist/auth/mfa/webauthn.d.ts.map +1 -0
- package/dist/auth/mfa/webauthn.js +409 -0
- package/dist/auth/mfa/webauthn.js.map +1 -0
- package/dist/auth/sso/index.d.ts +247 -0
- package/dist/auth/sso/index.d.ts.map +1 -0
- package/dist/auth/sso/index.js +763 -0
- package/dist/auth/sso/index.js.map +1 -0
- package/dist/auth/sso/oidc-provider.d.ts +146 -0
- package/dist/auth/sso/oidc-provider.d.ts.map +1 -0
- package/dist/auth/sso/oidc-provider.js +589 -0
- package/dist/auth/sso/oidc-provider.js.map +1 -0
- package/dist/auth/sso/types.d.ts +488 -0
- package/dist/auth/sso/types.d.ts.map +1 -0
- package/dist/auth/sso/types.js +73 -0
- package/dist/auth/sso/types.js.map +1 -0
- package/dist/basis/evaluator.d.ts +70 -0
- package/dist/basis/evaluator.d.ts.map +1 -0
- package/dist/basis/evaluator.js +269 -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 +174 -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/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 +444 -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 +533 -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 +334 -0
- package/dist/car-extensions/car-string-extensions.d.ts.map +1 -0
- package/dist/car-extensions/car-string-extensions.js +435 -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 +157 -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 +443 -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 +484 -0
- package/dist/car-extensions/service.js.map +1 -0
- package/dist/car-extensions/types.d.ts +2265 -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 +139 -0
- package/dist/cognigate/index.d.ts.map +1 -0
- package/dist/cognigate/index.js +404 -0
- package/dist/cognigate/index.js.map +1 -0
- package/dist/cognigate/lua-scripts.d.ts +96 -0
- package/dist/cognigate/lua-scripts.d.ts.map +1 -0
- package/dist/cognigate/lua-scripts.js +264 -0
- package/dist/cognigate/lua-scripts.js.map +1 -0
- package/dist/cognigate/metrics.d.ts +112 -0
- package/dist/cognigate/metrics.d.ts.map +1 -0
- package/dist/cognigate/metrics.js +229 -0
- package/dist/cognigate/metrics.js.map +1 -0
- package/dist/cognigate/output-integration.d.ts +86 -0
- package/dist/cognigate/output-integration.d.ts.map +1 -0
- package/dist/cognigate/output-integration.js +184 -0
- package/dist/cognigate/output-integration.js.map +1 -0
- package/dist/cognigate/resource-interceptors.d.ts +77 -0
- package/dist/cognigate/resource-interceptors.d.ts.map +1 -0
- package/dist/cognigate/resource-interceptors.js +143 -0
- package/dist/cognigate/resource-interceptors.js.map +1 -0
- package/dist/cognigate/resource-state-provider.d.ts +103 -0
- package/dist/cognigate/resource-state-provider.d.ts.map +1 -0
- package/dist/cognigate/resource-state-provider.js +195 -0
- package/dist/cognigate/resource-state-provider.js.map +1 -0
- package/dist/cognigate/resource-tracker.d.ts +85 -0
- package/dist/cognigate/resource-tracker.d.ts.map +1 -0
- package/dist/cognigate/resource-tracker.js +216 -0
- package/dist/cognigate/resource-tracker.js.map +1 -0
- package/dist/cognigate/types.d.ts +199 -0
- package/dist/cognigate/types.d.ts.map +1 -0
- package/dist/cognigate/types.js +11 -0
- package/dist/cognigate/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/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 +151 -0
- package/dist/common/canonical-bridge.d.ts.map +1 -0
- package/dist/common/canonical-bridge.js +231 -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 +850 -0
- package/dist/common/circuit-breaker.js.map +1 -0
- package/dist/common/config.d.ts +1678 -0
- package/dist/common/config.d.ts.map +1 -0
- package/dist/common/config.js +1057 -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.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/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 +131 -0
- package/dist/common/encryption.d.ts.map +1 -0
- package/dist/common/encryption.js +255 -0
- package/dist/common/encryption.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 +227 -0
- package/dist/common/metrics.d.ts.map +1 -0
- package/dist/common/metrics.js +524 -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/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/security-mode.d.ts +101 -0
- package/dist/common/security-mode.d.ts.map +1 -0
- package/dist/common/security-mode.js +304 -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-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 +328 -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/compliance/export/evidence-collector.d.ts +252 -0
- package/dist/compliance/export/evidence-collector.d.ts.map +1 -0
- package/dist/compliance/export/evidence-collector.js +488 -0
- package/dist/compliance/export/evidence-collector.js.map +1 -0
- package/dist/compliance/export/hash-verifier.d.ts +181 -0
- package/dist/compliance/export/hash-verifier.d.ts.map +1 -0
- package/dist/compliance/export/hash-verifier.js +425 -0
- package/dist/compliance/export/hash-verifier.js.map +1 -0
- package/dist/compliance/export/index.d.ts +14 -0
- package/dist/compliance/export/index.d.ts.map +1 -0
- package/dist/compliance/export/index.js +41 -0
- package/dist/compliance/export/index.js.map +1 -0
- package/dist/compliance/export/report-generator.d.ts +264 -0
- package/dist/compliance/export/report-generator.d.ts.map +1 -0
- package/dist/compliance/export/report-generator.js +890 -0
- package/dist/compliance/export/report-generator.js.map +1 -0
- package/dist/compliance/export/scheduled-exports.d.ts +256 -0
- package/dist/compliance/export/scheduled-exports.d.ts.map +1 -0
- package/dist/compliance/export/scheduled-exports.js +545 -0
- package/dist/compliance/export/scheduled-exports.js.map +1 -0
- package/dist/compliance/export/service.d.ts +191 -0
- package/dist/compliance/export/service.d.ts.map +1 -0
- package/dist/compliance/export/service.js +382 -0
- package/dist/compliance/export/service.js.map +1 -0
- package/dist/compliance/fedramp/assessment.d.ts +654 -0
- package/dist/compliance/fedramp/assessment.d.ts.map +1 -0
- package/dist/compliance/fedramp/assessment.js +721 -0
- package/dist/compliance/fedramp/assessment.js.map +1 -0
- package/dist/compliance/fedramp/boundary.d.ts +932 -0
- package/dist/compliance/fedramp/boundary.d.ts.map +1 -0
- package/dist/compliance/fedramp/boundary.js +645 -0
- package/dist/compliance/fedramp/boundary.js.map +1 -0
- package/dist/compliance/fedramp/continuous-monitoring.d.ts +705 -0
- package/dist/compliance/fedramp/continuous-monitoring.d.ts.map +1 -0
- package/dist/compliance/fedramp/continuous-monitoring.js +616 -0
- package/dist/compliance/fedramp/continuous-monitoring.js.map +1 -0
- package/dist/compliance/fedramp/controls.d.ts +128 -0
- package/dist/compliance/fedramp/controls.d.ts.map +1 -0
- package/dist/compliance/fedramp/controls.js +1110 -0
- package/dist/compliance/fedramp/controls.js.map +1 -0
- package/dist/compliance/fedramp/incident-reporting.d.ts +1001 -0
- package/dist/compliance/fedramp/incident-reporting.d.ts.map +1 -0
- package/dist/compliance/fedramp/incident-reporting.js +764 -0
- package/dist/compliance/fedramp/incident-reporting.js.map +1 -0
- package/dist/compliance/fedramp/index.d.ts +87 -0
- package/dist/compliance/fedramp/index.d.ts.map +1 -0
- package/dist/compliance/fedramp/index.js +192 -0
- package/dist/compliance/fedramp/index.js.map +1 -0
- package/dist/compliance/fedramp/metrics.d.ts +288 -0
- package/dist/compliance/fedramp/metrics.d.ts.map +1 -0
- package/dist/compliance/fedramp/metrics.js +560 -0
- package/dist/compliance/fedramp/metrics.js.map +1 -0
- package/dist/compliance/fedramp/poam.d.ts +635 -0
- package/dist/compliance/fedramp/poam.d.ts.map +1 -0
- package/dist/compliance/fedramp/poam.js +602 -0
- package/dist/compliance/fedramp/poam.js.map +1 -0
- package/dist/compliance/fedramp/ssp-generator.d.ts +368 -0
- package/dist/compliance/fedramp/ssp-generator.d.ts.map +1 -0
- package/dist/compliance/fedramp/ssp-generator.js +543 -0
- package/dist/compliance/fedramp/ssp-generator.js.map +1 -0
- package/dist/compliance/frameworks/nist-800-53.d.ts +35 -0
- package/dist/compliance/frameworks/nist-800-53.d.ts.map +1 -0
- package/dist/compliance/frameworks/nist-800-53.js +892 -0
- package/dist/compliance/frameworks/nist-800-53.js.map +1 -0
- package/dist/compliance/frameworks/pci-dss.d.ts +407 -0
- package/dist/compliance/frameworks/pci-dss.d.ts.map +1 -0
- package/dist/compliance/frameworks/pci-dss.js +1873 -0
- package/dist/compliance/frameworks/pci-dss.js.map +1 -0
- package/dist/compliance/frameworks/soc2.d.ts +42 -0
- package/dist/compliance/frameworks/soc2.d.ts.map +1 -0
- package/dist/compliance/frameworks/soc2.js +669 -0
- package/dist/compliance/frameworks/soc2.js.map +1 -0
- package/dist/compliance/gdpr/data-transfers.d.ts +493 -0
- package/dist/compliance/gdpr/data-transfers.d.ts.map +1 -0
- package/dist/compliance/gdpr/data-transfers.js +1242 -0
- package/dist/compliance/gdpr/data-transfers.js.map +1 -0
- package/dist/compliance/gdpr/index.d.ts +7 -0
- package/dist/compliance/gdpr/index.d.ts.map +1 -0
- package/dist/compliance/gdpr/index.js +7 -0
- package/dist/compliance/gdpr/index.js.map +1 -0
- package/dist/compliance/index.d.ts +148 -0
- package/dist/compliance/index.d.ts.map +1 -0
- package/dist/compliance/index.js +532 -0
- package/dist/compliance/index.js.map +1 -0
- package/dist/compliance/reports.d.ts +141 -0
- package/dist/compliance/reports.d.ts.map +1 -0
- package/dist/compliance/reports.js +495 -0
- package/dist/compliance/reports.js.map +1 -0
- package/dist/compliance/retention/index.d.ts +19 -0
- package/dist/compliance/retention/index.d.ts.map +1 -0
- package/dist/compliance/retention/index.js +46 -0
- package/dist/compliance/retention/index.js.map +1 -0
- package/dist/compliance/retention/retention-enforcer.d.ts +128 -0
- package/dist/compliance/retention/retention-enforcer.d.ts.map +1 -0
- package/dist/compliance/retention/retention-enforcer.js +695 -0
- package/dist/compliance/retention/retention-enforcer.js.map +1 -0
- package/dist/compliance/retention/retention-policy.d.ts +307 -0
- package/dist/compliance/retention/retention-policy.d.ts.map +1 -0
- package/dist/compliance/retention/retention-policy.js +102 -0
- package/dist/compliance/retention/retention-policy.js.map +1 -0
- package/dist/compliance/retention/retention-scheduler.d.ts +124 -0
- package/dist/compliance/retention/retention-scheduler.d.ts.map +1 -0
- package/dist/compliance/retention/retention-scheduler.js +391 -0
- package/dist/compliance/retention/retention-scheduler.js.map +1 -0
- package/dist/compliance/types.d.ts +1162 -0
- package/dist/compliance/types.d.ts.map +1 -0
- package/dist/compliance/types.js +191 -0
- package/dist/compliance/types.js.map +1 -0
- package/dist/db/migration-checker.d.ts +183 -0
- package/dist/db/migration-checker.d.ts.map +1 -0
- package/dist/db/migration-checker.js +680 -0
- package/dist/db/migration-checker.js.map +1 -0
- package/dist/db/schema/api-keys.d.ts +506 -0
- package/dist/db/schema/api-keys.d.ts.map +1 -0
- package/dist/db/schema/api-keys.js +98 -0
- package/dist/db/schema/api-keys.js.map +1 -0
- package/dist/db/schema/escalations.d.ts +554 -0
- package/dist/db/schema/escalations.d.ts.map +1 -0
- package/dist/db/schema/escalations.js +97 -0
- package/dist/db/schema/escalations.js.map +1 -0
- package/dist/db/schema/index.d.ts +19 -0
- package/dist/db/schema/index.d.ts.map +1 -0
- package/dist/db/schema/index.js +19 -0
- package/dist/db/schema/index.js.map +1 -0
- package/dist/db/schema/intents.d.ts +535 -0
- package/dist/db/schema/intents.d.ts.map +1 -0
- package/dist/db/schema/intents.js +90 -0
- package/dist/db/schema/intents.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/operations.d.ts +256 -0
- package/dist/db/schema/operations.d.ts.map +1 -0
- package/dist/db/schema/operations.js +65 -0
- package/dist/db/schema/operations.js.map +1 -0
- package/dist/db/schema/policy-versions.d.ts +149 -0
- package/dist/db/schema/policy-versions.d.ts.map +1 -0
- package/dist/db/schema/policy-versions.js +40 -0
- package/dist/db/schema/policy-versions.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/db/schema/service-accounts.d.ts +783 -0
- package/dist/db/schema/service-accounts.d.ts.map +1 -0
- package/dist/db/schema/service-accounts.js +176 -0
- package/dist/db/schema/service-accounts.js.map +1 -0
- package/dist/db/schema/trust.d.ts +593 -0
- package/dist/db/schema/trust.d.ts.map +1 -0
- package/dist/db/schema/trust.js +98 -0
- package/dist/db/schema/trust.js.map +1 -0
- package/dist/db/schema/users.d.ts +487 -0
- package/dist/db/schema/users.d.ts.map +1 -0
- package/dist/db/schema/users.js +133 -0
- package/dist/db/schema/users.js.map +1 -0
- package/dist/db/schema/webhooks.d.ts +382 -0
- package/dist/db/schema/webhooks.d.ts.map +1 -0
- package/dist/db/schema/webhooks.js +91 -0
- package/dist/db/schema/webhooks.js.map +1 -0
- package/dist/enforce/constraint-evaluator.d.ts +385 -0
- package/dist/enforce/constraint-evaluator.d.ts.map +1 -0
- package/dist/enforce/constraint-evaluator.js +648 -0
- package/dist/enforce/constraint-evaluator.js.map +1 -0
- package/dist/enforce/decision-aggregator.d.ts +269 -0
- package/dist/enforce/decision-aggregator.d.ts.map +1 -0
- package/dist/enforce/decision-aggregator.js +560 -0
- package/dist/enforce/decision-aggregator.js.map +1 -0
- package/dist/enforce/escalation-rules.d.ts +411 -0
- package/dist/enforce/escalation-rules.d.ts.map +1 -0
- package/dist/enforce/escalation-rules.js +681 -0
- package/dist/enforce/escalation-rules.js.map +1 -0
- package/dist/enforce/index.d.ts +175 -0
- package/dist/enforce/index.d.ts.map +1 -0
- package/dist/enforce/index.js +402 -0
- package/dist/enforce/index.js.map +1 -0
- package/dist/enforce/policy-engine.d.ts +390 -0
- package/dist/enforce/policy-engine.d.ts.map +1 -0
- package/dist/enforce/policy-engine.js +652 -0
- package/dist/enforce/policy-engine.js.map +1 -0
- package/dist/enforce/runtime-config.d.ts +387 -0
- package/dist/enforce/runtime-config.d.ts.map +1 -0
- package/dist/enforce/runtime-config.js +709 -0
- package/dist/enforce/runtime-config.js.map +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +74 -0
- package/dist/index.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 +457 -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 +208 -0
- package/dist/intent/escalation.d.ts.map +1 -0
- package/dist/intent/escalation.js +550 -0
- package/dist/intent/escalation.js.map +1 -0
- package/dist/intent/gdpr.d.ts +245 -0
- package/dist/intent/gdpr.d.ts.map +1 -0
- package/dist/intent/gdpr.js +580 -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 +447 -0
- package/dist/intent/index.d.ts.map +1 -0
- package/dist/intent/index.js +685 -0
- package/dist/intent/index.js.map +1 -0
- package/dist/intent/metrics.d.ts +391 -0
- package/dist/intent/metrics.d.ts.map +1 -0
- package/dist/intent/metrics.js +885 -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 +157 -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/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 +1382 -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 +148 -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 +159 -0
- package/dist/intent/replay/index.d.ts.map +1 -0
- package/dist/intent/replay/index.js +486 -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 +510 -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/repository.d.ts +198 -0
- package/dist/intent/repository.d.ts.map +1 -0
- package/dist/intent/repository.js +526 -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 +337 -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 +801 -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 +2997 -0
- package/dist/intent/schema.d.ts.map +1 -0
- package/dist/intent/schema.js +447 -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 +175 -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 +610 -0
- package/dist/intent/webhooks.d.ts.map +1 -0
- package/dist/intent/webhooks.js +1793 -0
- package/dist/intent/webhooks.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/evaluator.d.ts +102 -0
- package/dist/policy/evaluator.d.ts.map +1 -0
- package/dist/policy/evaluator.js +647 -0
- package/dist/policy/evaluator.js.map +1 -0
- package/dist/policy/index.d.ts +16 -0
- package/dist/policy/index.d.ts.map +1 -0
- package/dist/policy/index.js +19 -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 +173 -0
- package/dist/policy/loader.js.map +1 -0
- package/dist/policy/service.d.ts +150 -0
- package/dist/policy/service.d.ts.map +1 -0
- package/dist/policy/service.js +782 -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/proof/hybrid-signing.d.ts +82 -0
- package/dist/proof/hybrid-signing.d.ts.map +1 -0
- package/dist/proof/hybrid-signing.js +239 -0
- package/dist/proof/hybrid-signing.js.map +1 -0
- package/dist/proof/index.d.ts +203 -0
- package/dist/proof/index.d.ts.map +1 -0
- package/dist/proof/index.js +610 -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 +772 -0
- package/dist/security/crypto/fips-mode.d.ts.map +1 -0
- package/dist/security/crypto/fips-mode.js +1363 -0
- package/dist/security/crypto/fips-mode.js.map +1 -0
- package/dist/security/crypto/index.d.ts +202 -0
- package/dist/security/crypto/index.d.ts.map +1 -0
- package/dist/security/crypto/index.js +292 -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 +144 -0
- package/dist/security/crypto/post-quantum/dilithium.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/dilithium.js +675 -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 +129 -0
- package/dist/security/crypto/post-quantum/kyber.d.ts.map +1 -0
- package/dist/security/crypto/post-quantum/kyber.js +649 -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 +693 -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 +132 -0
- package/dist/security/hsm/index.d.ts.map +1 -0
- package/dist/security/hsm/index.js +198 -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/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/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 +84 -0
- package/dist/security/incident/actions/block-ip.d.ts.map +1 -0
- package/dist/security/incident/actions/block-ip.js +464 -0
- package/dist/security/incident/actions/block-ip.js.map +1 -0
- package/dist/security/incident/actions/collect-evidence.d.ts +95 -0
- package/dist/security/incident/actions/collect-evidence.d.ts.map +1 -0
- package/dist/security/incident/actions/collect-evidence.js +458 -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 +63 -0
- package/dist/security/incident/actions/isolate-system.d.ts.map +1 -0
- package/dist/security/incident/actions/isolate-system.js +379 -0
- package/dist/security/incident/actions/isolate-system.js.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts +72 -0
- package/dist/security/incident/actions/notify-stakeholders.d.ts.map +1 -0
- package/dist/security/incident/actions/notify-stakeholders.js +387 -0
- package/dist/security/incident/actions/notify-stakeholders.js.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts +77 -0
- package/dist/security/incident/actions/revoke-credentials.d.ts.map +1 -0
- package/dist/security/incident/actions/revoke-credentials.js +329 -0
- package/dist/security/incident/actions/revoke-credentials.js.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts +90 -0
- package/dist/security/incident/actions/scale-monitoring.d.ts.map +1 -0
- package/dist/security/incident/actions/scale-monitoring.js +483 -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 +56 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +267 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/injection-detector.d.ts +375 -0
- package/dist/security/injection-detector.d.ts.map +1 -0
- package/dist/security/injection-detector.js +969 -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 +508 -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/policy-engine/atsf-adapter.d.ts +93 -0
- package/dist/security/policy-engine/atsf-adapter.d.ts.map +1 -0
- package/dist/security/policy-engine/atsf-adapter.js +265 -0
- package/dist/security/policy-engine/atsf-adapter.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 +59 -0
- package/dist/security/policy-engine/index.d.ts.map +1 -0
- package/dist/security/policy-engine/index.js +84 -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/refresh-token.d.ts +305 -0
- package/dist/security/refresh-token.d.ts.map +1 -0
- package/dist/security/refresh-token.js +678 -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.d.ts +157 -0
- package/dist/security/tee.d.ts.map +1 -0
- package/dist/security/tee.js +1073 -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 +710 -0
- package/dist/security/trust-oracle/continuous-monitoring.js.map +1 -0
- package/dist/security/trust-oracle/data-sources.d.ts +102 -0
- package/dist/security/trust-oracle/data-sources.d.ts.map +1 -0
- package/dist/security/trust-oracle/data-sources.js +794 -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 +1796 -0
- package/dist/security/types.d.ts.map +1 -0
- package/dist/security/types.js +389 -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 +757 -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 +159 -0
- package/dist/semantic-governance/context-validator.d.ts.map +1 -0
- package/dist/semantic-governance/context-validator.js +599 -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 +357 -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 +657 -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 +442 -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 +3916 -0
- package/dist/semantic-governance/types.d.ts.map +1 -0
- package/dist/semantic-governance/types.js +462 -0
- package/dist/semantic-governance/types.js.map +1 -0
- package/dist/trust-engine/aci-integration.d.ts +6 -0
- package/dist/trust-engine/aci-integration.d.ts.map +1 -0
- package/dist/trust-engine/aci-integration.js +6 -0
- package/dist/trust-engine/aci-integration.js.map +1 -0
- package/dist/trust-engine/car-integration.d.ts +244 -0
- package/dist/trust-engine/car-integration.d.ts.map +1 -0
- package/dist/trust-engine/car-integration.js +332 -0
- package/dist/trust-engine/car-integration.js.map +1 -0
- package/dist/trust-engine/context.d.ts +197 -0
- package/dist/trust-engine/context.d.ts.map +1 -0
- package/dist/trust-engine/context.js +307 -0
- package/dist/trust-engine/context.js.map +1 -0
- package/dist/trust-engine/index.d.ts +410 -0
- package/dist/trust-engine/index.d.ts.map +1 -0
- package/dist/trust-engine/index.js +1221 -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 +244 -0
- package/dist/trust-engine/observability.js.map +1 -0
- package/package.json +200 -0
|
@@ -0,0 +1,2165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Security Alerting System - Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive type definitions for security alerting including:
|
|
5
|
+
* - Alert severity and channel enums
|
|
6
|
+
* - Security alert structures
|
|
7
|
+
* - Alert rules and conditions
|
|
8
|
+
* - Configuration interfaces
|
|
9
|
+
*
|
|
10
|
+
* @packageDocumentation
|
|
11
|
+
* @module security/alerting/types
|
|
12
|
+
*/
|
|
13
|
+
import { z } from 'zod';
|
|
14
|
+
/**
|
|
15
|
+
* Alert severity levels
|
|
16
|
+
*/
|
|
17
|
+
export declare const AlertSeverity: {
|
|
18
|
+
readonly CRITICAL: "critical";
|
|
19
|
+
readonly HIGH: "high";
|
|
20
|
+
readonly MEDIUM: "medium";
|
|
21
|
+
readonly LOW: "low";
|
|
22
|
+
readonly INFO: "info";
|
|
23
|
+
};
|
|
24
|
+
export type AlertSeverity = (typeof AlertSeverity)[keyof typeof AlertSeverity];
|
|
25
|
+
export declare const alertSeveritySchema: z.ZodNativeEnum<{
|
|
26
|
+
readonly CRITICAL: "critical";
|
|
27
|
+
readonly HIGH: "high";
|
|
28
|
+
readonly MEDIUM: "medium";
|
|
29
|
+
readonly LOW: "low";
|
|
30
|
+
readonly INFO: "info";
|
|
31
|
+
}>;
|
|
32
|
+
/**
|
|
33
|
+
* Alert delivery channels
|
|
34
|
+
*/
|
|
35
|
+
export declare const AlertChannel: {
|
|
36
|
+
readonly SLACK: "slack";
|
|
37
|
+
readonly PAGERDUTY: "pagerduty";
|
|
38
|
+
readonly EMAIL: "email";
|
|
39
|
+
readonly WEBHOOK: "webhook";
|
|
40
|
+
readonly SNS: "sns";
|
|
41
|
+
};
|
|
42
|
+
export type AlertChannel = (typeof AlertChannel)[keyof typeof AlertChannel];
|
|
43
|
+
export declare const alertChannelSchema: z.ZodNativeEnum<{
|
|
44
|
+
readonly SLACK: "slack";
|
|
45
|
+
readonly PAGERDUTY: "pagerduty";
|
|
46
|
+
readonly EMAIL: "email";
|
|
47
|
+
readonly WEBHOOK: "webhook";
|
|
48
|
+
readonly SNS: "sns";
|
|
49
|
+
}>;
|
|
50
|
+
/**
|
|
51
|
+
* Types of security events that can trigger alerts
|
|
52
|
+
*/
|
|
53
|
+
export declare const SecurityEventType: {
|
|
54
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
55
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
56
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
57
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
58
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
59
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
60
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
61
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
62
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
63
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
64
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
65
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
66
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
67
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
68
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
69
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
70
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
71
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
72
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
73
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
74
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
75
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
76
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
77
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
78
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
79
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
80
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
81
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
82
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
83
|
+
readonly CUSTOM: "custom";
|
|
84
|
+
};
|
|
85
|
+
export type SecurityEventType = (typeof SecurityEventType)[keyof typeof SecurityEventType];
|
|
86
|
+
export declare const securityEventTypeSchema: z.ZodNativeEnum<{
|
|
87
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
88
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
89
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
90
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
91
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
92
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
93
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
94
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
95
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
96
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
97
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
98
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
99
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
100
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
101
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
102
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
103
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
104
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
105
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
106
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
107
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
108
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
109
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
110
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
111
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
112
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
113
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
114
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
115
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
116
|
+
readonly CUSTOM: "custom";
|
|
117
|
+
}>;
|
|
118
|
+
/**
|
|
119
|
+
* Context information for a security alert
|
|
120
|
+
*/
|
|
121
|
+
export interface AlertContext {
|
|
122
|
+
/** User ID if associated with a user */
|
|
123
|
+
userId?: string;
|
|
124
|
+
/** Tenant ID for multi-tenant systems */
|
|
125
|
+
tenantId?: string;
|
|
126
|
+
/** IP address of the request */
|
|
127
|
+
ipAddress?: string;
|
|
128
|
+
/** User agent string */
|
|
129
|
+
userAgent?: string;
|
|
130
|
+
/** Geographic location */
|
|
131
|
+
location?: {
|
|
132
|
+
country?: string;
|
|
133
|
+
city?: string;
|
|
134
|
+
latitude?: number;
|
|
135
|
+
longitude?: number;
|
|
136
|
+
};
|
|
137
|
+
/** Affected resource/endpoint */
|
|
138
|
+
resource?: string;
|
|
139
|
+
/** Request ID for correlation */
|
|
140
|
+
requestId?: string;
|
|
141
|
+
/** Session ID if applicable */
|
|
142
|
+
sessionId?: string;
|
|
143
|
+
/** Additional custom fields */
|
|
144
|
+
metadata?: Record<string, unknown>;
|
|
145
|
+
}
|
|
146
|
+
export declare const alertContextSchema: z.ZodObject<{
|
|
147
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
148
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
149
|
+
ipAddress: z.ZodOptional<z.ZodString>;
|
|
150
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
151
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
152
|
+
country: z.ZodOptional<z.ZodString>;
|
|
153
|
+
city: z.ZodOptional<z.ZodString>;
|
|
154
|
+
latitude: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
longitude: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
country?: string;
|
|
158
|
+
city?: string;
|
|
159
|
+
latitude?: number;
|
|
160
|
+
longitude?: number;
|
|
161
|
+
}, {
|
|
162
|
+
country?: string;
|
|
163
|
+
city?: string;
|
|
164
|
+
latitude?: number;
|
|
165
|
+
longitude?: number;
|
|
166
|
+
}>>;
|
|
167
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
168
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
userId?: string;
|
|
173
|
+
location?: {
|
|
174
|
+
country?: string;
|
|
175
|
+
city?: string;
|
|
176
|
+
latitude?: number;
|
|
177
|
+
longitude?: number;
|
|
178
|
+
};
|
|
179
|
+
requestId?: string;
|
|
180
|
+
tenantId?: string;
|
|
181
|
+
sessionId?: string;
|
|
182
|
+
userAgent?: string;
|
|
183
|
+
metadata?: Record<string, unknown>;
|
|
184
|
+
ipAddress?: string;
|
|
185
|
+
resource?: string;
|
|
186
|
+
}, {
|
|
187
|
+
userId?: string;
|
|
188
|
+
location?: {
|
|
189
|
+
country?: string;
|
|
190
|
+
city?: string;
|
|
191
|
+
latitude?: number;
|
|
192
|
+
longitude?: number;
|
|
193
|
+
};
|
|
194
|
+
requestId?: string;
|
|
195
|
+
tenantId?: string;
|
|
196
|
+
sessionId?: string;
|
|
197
|
+
userAgent?: string;
|
|
198
|
+
metadata?: Record<string, unknown>;
|
|
199
|
+
ipAddress?: string;
|
|
200
|
+
resource?: string;
|
|
201
|
+
}>;
|
|
202
|
+
/**
|
|
203
|
+
* A security alert
|
|
204
|
+
*/
|
|
205
|
+
export interface SecurityAlert {
|
|
206
|
+
/** Unique alert ID */
|
|
207
|
+
id: string;
|
|
208
|
+
/** Alert severity */
|
|
209
|
+
severity: AlertSeverity;
|
|
210
|
+
/** Type of security event */
|
|
211
|
+
type: SecurityEventType;
|
|
212
|
+
/** Human-readable alert message */
|
|
213
|
+
message: string;
|
|
214
|
+
/** Alert title for display */
|
|
215
|
+
title: string;
|
|
216
|
+
/** Detailed context information */
|
|
217
|
+
context: AlertContext;
|
|
218
|
+
/** When the alert was created */
|
|
219
|
+
timestamp: Date;
|
|
220
|
+
/** Fingerprint for deduplication */
|
|
221
|
+
fingerprint: string;
|
|
222
|
+
/** Source system/component */
|
|
223
|
+
source: string;
|
|
224
|
+
/** Suggested remediation actions */
|
|
225
|
+
suggestedActions?: string[];
|
|
226
|
+
/** Related alert IDs */
|
|
227
|
+
relatedAlerts?: string[];
|
|
228
|
+
/** Whether alert has been acknowledged */
|
|
229
|
+
acknowledged: boolean;
|
|
230
|
+
/** Who acknowledged the alert */
|
|
231
|
+
acknowledgedBy?: string;
|
|
232
|
+
/** When the alert was acknowledged */
|
|
233
|
+
acknowledgedAt?: Date;
|
|
234
|
+
/** Whether alert has been resolved */
|
|
235
|
+
resolved: boolean;
|
|
236
|
+
/** Resolution notes */
|
|
237
|
+
resolutionNotes?: string;
|
|
238
|
+
/** Tags for categorization */
|
|
239
|
+
tags?: string[];
|
|
240
|
+
}
|
|
241
|
+
export declare const securityAlertSchema: z.ZodObject<{
|
|
242
|
+
id: z.ZodString;
|
|
243
|
+
severity: z.ZodNativeEnum<{
|
|
244
|
+
readonly CRITICAL: "critical";
|
|
245
|
+
readonly HIGH: "high";
|
|
246
|
+
readonly MEDIUM: "medium";
|
|
247
|
+
readonly LOW: "low";
|
|
248
|
+
readonly INFO: "info";
|
|
249
|
+
}>;
|
|
250
|
+
type: z.ZodNativeEnum<{
|
|
251
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
252
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
253
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
254
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
255
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
256
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
257
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
258
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
259
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
260
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
261
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
262
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
263
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
264
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
265
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
266
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
267
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
268
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
269
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
270
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
271
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
272
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
273
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
274
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
275
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
276
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
277
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
278
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
279
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
280
|
+
readonly CUSTOM: "custom";
|
|
281
|
+
}>;
|
|
282
|
+
message: z.ZodString;
|
|
283
|
+
title: z.ZodString;
|
|
284
|
+
context: z.ZodObject<{
|
|
285
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
286
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
287
|
+
ipAddress: z.ZodOptional<z.ZodString>;
|
|
288
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
289
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
country: z.ZodOptional<z.ZodString>;
|
|
291
|
+
city: z.ZodOptional<z.ZodString>;
|
|
292
|
+
latitude: z.ZodOptional<z.ZodNumber>;
|
|
293
|
+
longitude: z.ZodOptional<z.ZodNumber>;
|
|
294
|
+
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
country?: string;
|
|
296
|
+
city?: string;
|
|
297
|
+
latitude?: number;
|
|
298
|
+
longitude?: number;
|
|
299
|
+
}, {
|
|
300
|
+
country?: string;
|
|
301
|
+
city?: string;
|
|
302
|
+
latitude?: number;
|
|
303
|
+
longitude?: number;
|
|
304
|
+
}>>;
|
|
305
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
306
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
307
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
308
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
userId?: string;
|
|
311
|
+
location?: {
|
|
312
|
+
country?: string;
|
|
313
|
+
city?: string;
|
|
314
|
+
latitude?: number;
|
|
315
|
+
longitude?: number;
|
|
316
|
+
};
|
|
317
|
+
requestId?: string;
|
|
318
|
+
tenantId?: string;
|
|
319
|
+
sessionId?: string;
|
|
320
|
+
userAgent?: string;
|
|
321
|
+
metadata?: Record<string, unknown>;
|
|
322
|
+
ipAddress?: string;
|
|
323
|
+
resource?: string;
|
|
324
|
+
}, {
|
|
325
|
+
userId?: string;
|
|
326
|
+
location?: {
|
|
327
|
+
country?: string;
|
|
328
|
+
city?: string;
|
|
329
|
+
latitude?: number;
|
|
330
|
+
longitude?: number;
|
|
331
|
+
};
|
|
332
|
+
requestId?: string;
|
|
333
|
+
tenantId?: string;
|
|
334
|
+
sessionId?: string;
|
|
335
|
+
userAgent?: string;
|
|
336
|
+
metadata?: Record<string, unknown>;
|
|
337
|
+
ipAddress?: string;
|
|
338
|
+
resource?: string;
|
|
339
|
+
}>;
|
|
340
|
+
timestamp: z.ZodDate;
|
|
341
|
+
fingerprint: z.ZodString;
|
|
342
|
+
source: z.ZodString;
|
|
343
|
+
suggestedActions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
344
|
+
relatedAlerts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
345
|
+
acknowledged: z.ZodDefault<z.ZodBoolean>;
|
|
346
|
+
acknowledgedBy: z.ZodOptional<z.ZodString>;
|
|
347
|
+
acknowledgedAt: z.ZodOptional<z.ZodDate>;
|
|
348
|
+
resolved: z.ZodDefault<z.ZodBoolean>;
|
|
349
|
+
resolutionNotes: z.ZodOptional<z.ZodString>;
|
|
350
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
id?: string;
|
|
353
|
+
message?: string;
|
|
354
|
+
type?: "custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated";
|
|
355
|
+
timestamp?: Date;
|
|
356
|
+
tags?: string[];
|
|
357
|
+
title?: string;
|
|
358
|
+
source?: string;
|
|
359
|
+
context?: {
|
|
360
|
+
userId?: string;
|
|
361
|
+
location?: {
|
|
362
|
+
country?: string;
|
|
363
|
+
city?: string;
|
|
364
|
+
latitude?: number;
|
|
365
|
+
longitude?: number;
|
|
366
|
+
};
|
|
367
|
+
requestId?: string;
|
|
368
|
+
tenantId?: string;
|
|
369
|
+
sessionId?: string;
|
|
370
|
+
userAgent?: string;
|
|
371
|
+
metadata?: Record<string, unknown>;
|
|
372
|
+
ipAddress?: string;
|
|
373
|
+
resource?: string;
|
|
374
|
+
};
|
|
375
|
+
acknowledged?: boolean;
|
|
376
|
+
resolutionNotes?: string;
|
|
377
|
+
acknowledgedAt?: Date;
|
|
378
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
379
|
+
fingerprint?: string;
|
|
380
|
+
suggestedActions?: string[];
|
|
381
|
+
relatedAlerts?: string[];
|
|
382
|
+
acknowledgedBy?: string;
|
|
383
|
+
resolved?: boolean;
|
|
384
|
+
}, {
|
|
385
|
+
id?: string;
|
|
386
|
+
message?: string;
|
|
387
|
+
type?: "custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated";
|
|
388
|
+
timestamp?: Date;
|
|
389
|
+
tags?: string[];
|
|
390
|
+
title?: string;
|
|
391
|
+
source?: string;
|
|
392
|
+
context?: {
|
|
393
|
+
userId?: string;
|
|
394
|
+
location?: {
|
|
395
|
+
country?: string;
|
|
396
|
+
city?: string;
|
|
397
|
+
latitude?: number;
|
|
398
|
+
longitude?: number;
|
|
399
|
+
};
|
|
400
|
+
requestId?: string;
|
|
401
|
+
tenantId?: string;
|
|
402
|
+
sessionId?: string;
|
|
403
|
+
userAgent?: string;
|
|
404
|
+
metadata?: Record<string, unknown>;
|
|
405
|
+
ipAddress?: string;
|
|
406
|
+
resource?: string;
|
|
407
|
+
};
|
|
408
|
+
acknowledged?: boolean;
|
|
409
|
+
resolutionNotes?: string;
|
|
410
|
+
acknowledgedAt?: Date;
|
|
411
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
412
|
+
fingerprint?: string;
|
|
413
|
+
suggestedActions?: string[];
|
|
414
|
+
relatedAlerts?: string[];
|
|
415
|
+
acknowledgedBy?: string;
|
|
416
|
+
resolved?: boolean;
|
|
417
|
+
}>;
|
|
418
|
+
/**
|
|
419
|
+
* Input for creating a security alert
|
|
420
|
+
*/
|
|
421
|
+
export interface CreateAlertInput {
|
|
422
|
+
severity: AlertSeverity;
|
|
423
|
+
type: SecurityEventType;
|
|
424
|
+
message: string;
|
|
425
|
+
title: string;
|
|
426
|
+
context: AlertContext;
|
|
427
|
+
source: string;
|
|
428
|
+
suggestedActions?: string[];
|
|
429
|
+
tags?: string[];
|
|
430
|
+
}
|
|
431
|
+
export declare const createAlertInputSchema: z.ZodObject<{
|
|
432
|
+
severity: z.ZodNativeEnum<{
|
|
433
|
+
readonly CRITICAL: "critical";
|
|
434
|
+
readonly HIGH: "high";
|
|
435
|
+
readonly MEDIUM: "medium";
|
|
436
|
+
readonly LOW: "low";
|
|
437
|
+
readonly INFO: "info";
|
|
438
|
+
}>;
|
|
439
|
+
type: z.ZodNativeEnum<{
|
|
440
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
441
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
442
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
443
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
444
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
445
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
446
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
447
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
448
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
449
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
450
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
451
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
452
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
453
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
454
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
455
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
456
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
457
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
458
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
459
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
460
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
461
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
462
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
463
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
464
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
465
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
466
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
467
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
468
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
469
|
+
readonly CUSTOM: "custom";
|
|
470
|
+
}>;
|
|
471
|
+
message: z.ZodString;
|
|
472
|
+
title: z.ZodString;
|
|
473
|
+
context: z.ZodObject<{
|
|
474
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
475
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
476
|
+
ipAddress: z.ZodOptional<z.ZodString>;
|
|
477
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
478
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
479
|
+
country: z.ZodOptional<z.ZodString>;
|
|
480
|
+
city: z.ZodOptional<z.ZodString>;
|
|
481
|
+
latitude: z.ZodOptional<z.ZodNumber>;
|
|
482
|
+
longitude: z.ZodOptional<z.ZodNumber>;
|
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
|
484
|
+
country?: string;
|
|
485
|
+
city?: string;
|
|
486
|
+
latitude?: number;
|
|
487
|
+
longitude?: number;
|
|
488
|
+
}, {
|
|
489
|
+
country?: string;
|
|
490
|
+
city?: string;
|
|
491
|
+
latitude?: number;
|
|
492
|
+
longitude?: number;
|
|
493
|
+
}>>;
|
|
494
|
+
resource: z.ZodOptional<z.ZodString>;
|
|
495
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
496
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
497
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
498
|
+
}, "strip", z.ZodTypeAny, {
|
|
499
|
+
userId?: string;
|
|
500
|
+
location?: {
|
|
501
|
+
country?: string;
|
|
502
|
+
city?: string;
|
|
503
|
+
latitude?: number;
|
|
504
|
+
longitude?: number;
|
|
505
|
+
};
|
|
506
|
+
requestId?: string;
|
|
507
|
+
tenantId?: string;
|
|
508
|
+
sessionId?: string;
|
|
509
|
+
userAgent?: string;
|
|
510
|
+
metadata?: Record<string, unknown>;
|
|
511
|
+
ipAddress?: string;
|
|
512
|
+
resource?: string;
|
|
513
|
+
}, {
|
|
514
|
+
userId?: string;
|
|
515
|
+
location?: {
|
|
516
|
+
country?: string;
|
|
517
|
+
city?: string;
|
|
518
|
+
latitude?: number;
|
|
519
|
+
longitude?: number;
|
|
520
|
+
};
|
|
521
|
+
requestId?: string;
|
|
522
|
+
tenantId?: string;
|
|
523
|
+
sessionId?: string;
|
|
524
|
+
userAgent?: string;
|
|
525
|
+
metadata?: Record<string, unknown>;
|
|
526
|
+
ipAddress?: string;
|
|
527
|
+
resource?: string;
|
|
528
|
+
}>;
|
|
529
|
+
source: z.ZodString;
|
|
530
|
+
suggestedActions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
531
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
532
|
+
}, "strip", z.ZodTypeAny, {
|
|
533
|
+
message?: string;
|
|
534
|
+
type?: "custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated";
|
|
535
|
+
tags?: string[];
|
|
536
|
+
title?: string;
|
|
537
|
+
source?: string;
|
|
538
|
+
context?: {
|
|
539
|
+
userId?: string;
|
|
540
|
+
location?: {
|
|
541
|
+
country?: string;
|
|
542
|
+
city?: string;
|
|
543
|
+
latitude?: number;
|
|
544
|
+
longitude?: number;
|
|
545
|
+
};
|
|
546
|
+
requestId?: string;
|
|
547
|
+
tenantId?: string;
|
|
548
|
+
sessionId?: string;
|
|
549
|
+
userAgent?: string;
|
|
550
|
+
metadata?: Record<string, unknown>;
|
|
551
|
+
ipAddress?: string;
|
|
552
|
+
resource?: string;
|
|
553
|
+
};
|
|
554
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
555
|
+
suggestedActions?: string[];
|
|
556
|
+
}, {
|
|
557
|
+
message?: string;
|
|
558
|
+
type?: "custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated";
|
|
559
|
+
tags?: string[];
|
|
560
|
+
title?: string;
|
|
561
|
+
source?: string;
|
|
562
|
+
context?: {
|
|
563
|
+
userId?: string;
|
|
564
|
+
location?: {
|
|
565
|
+
country?: string;
|
|
566
|
+
city?: string;
|
|
567
|
+
latitude?: number;
|
|
568
|
+
longitude?: number;
|
|
569
|
+
};
|
|
570
|
+
requestId?: string;
|
|
571
|
+
tenantId?: string;
|
|
572
|
+
sessionId?: string;
|
|
573
|
+
userAgent?: string;
|
|
574
|
+
metadata?: Record<string, unknown>;
|
|
575
|
+
ipAddress?: string;
|
|
576
|
+
resource?: string;
|
|
577
|
+
};
|
|
578
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
579
|
+
suggestedActions?: string[];
|
|
580
|
+
}>;
|
|
581
|
+
/**
|
|
582
|
+
* Condition operators for alert rules
|
|
583
|
+
*/
|
|
584
|
+
export declare const ConditionOperator: {
|
|
585
|
+
readonly EQUALS: "equals";
|
|
586
|
+
readonly NOT_EQUALS: "not_equals";
|
|
587
|
+
readonly GREATER_THAN: "greater_than";
|
|
588
|
+
readonly LESS_THAN: "less_than";
|
|
589
|
+
readonly GREATER_THAN_OR_EQUALS: "greater_than_or_equals";
|
|
590
|
+
readonly LESS_THAN_OR_EQUALS: "less_than_or_equals";
|
|
591
|
+
readonly CONTAINS: "contains";
|
|
592
|
+
readonly NOT_CONTAINS: "not_contains";
|
|
593
|
+
readonly MATCHES: "matches";
|
|
594
|
+
readonly IN: "in";
|
|
595
|
+
readonly NOT_IN: "not_in";
|
|
596
|
+
};
|
|
597
|
+
export type ConditionOperator = (typeof ConditionOperator)[keyof typeof ConditionOperator];
|
|
598
|
+
export declare const conditionOperatorSchema: z.ZodNativeEnum<{
|
|
599
|
+
readonly EQUALS: "equals";
|
|
600
|
+
readonly NOT_EQUALS: "not_equals";
|
|
601
|
+
readonly GREATER_THAN: "greater_than";
|
|
602
|
+
readonly LESS_THAN: "less_than";
|
|
603
|
+
readonly GREATER_THAN_OR_EQUALS: "greater_than_or_equals";
|
|
604
|
+
readonly LESS_THAN_OR_EQUALS: "less_than_or_equals";
|
|
605
|
+
readonly CONTAINS: "contains";
|
|
606
|
+
readonly NOT_CONTAINS: "not_contains";
|
|
607
|
+
readonly MATCHES: "matches";
|
|
608
|
+
readonly IN: "in";
|
|
609
|
+
readonly NOT_IN: "not_in";
|
|
610
|
+
}>;
|
|
611
|
+
/**
|
|
612
|
+
* A single condition in an alert rule
|
|
613
|
+
*/
|
|
614
|
+
export interface AlertCondition {
|
|
615
|
+
/** Field to evaluate */
|
|
616
|
+
field: string;
|
|
617
|
+
/** Comparison operator */
|
|
618
|
+
operator: ConditionOperator;
|
|
619
|
+
/** Value to compare against */
|
|
620
|
+
value: unknown;
|
|
621
|
+
}
|
|
622
|
+
export declare const alertConditionSchema: z.ZodObject<{
|
|
623
|
+
field: z.ZodString;
|
|
624
|
+
operator: z.ZodNativeEnum<{
|
|
625
|
+
readonly EQUALS: "equals";
|
|
626
|
+
readonly NOT_EQUALS: "not_equals";
|
|
627
|
+
readonly GREATER_THAN: "greater_than";
|
|
628
|
+
readonly LESS_THAN: "less_than";
|
|
629
|
+
readonly GREATER_THAN_OR_EQUALS: "greater_than_or_equals";
|
|
630
|
+
readonly LESS_THAN_OR_EQUALS: "less_than_or_equals";
|
|
631
|
+
readonly CONTAINS: "contains";
|
|
632
|
+
readonly NOT_CONTAINS: "not_contains";
|
|
633
|
+
readonly MATCHES: "matches";
|
|
634
|
+
readonly IN: "in";
|
|
635
|
+
readonly NOT_IN: "not_in";
|
|
636
|
+
}>;
|
|
637
|
+
value: z.ZodUnknown;
|
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
|
639
|
+
value?: unknown;
|
|
640
|
+
field?: string;
|
|
641
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
642
|
+
}, {
|
|
643
|
+
value?: unknown;
|
|
644
|
+
field?: string;
|
|
645
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
646
|
+
}>;
|
|
647
|
+
/**
|
|
648
|
+
* Threshold configuration for rate-based alerts
|
|
649
|
+
*/
|
|
650
|
+
export interface AlertThreshold {
|
|
651
|
+
/** Number of events to trigger */
|
|
652
|
+
count: number;
|
|
653
|
+
/** Time window in seconds */
|
|
654
|
+
windowSeconds: number;
|
|
655
|
+
/** Field to group by (e.g., 'userId', 'ipAddress') */
|
|
656
|
+
groupBy?: string;
|
|
657
|
+
}
|
|
658
|
+
export declare const alertThresholdSchema: z.ZodObject<{
|
|
659
|
+
count: z.ZodNumber;
|
|
660
|
+
windowSeconds: z.ZodNumber;
|
|
661
|
+
groupBy: z.ZodOptional<z.ZodString>;
|
|
662
|
+
}, "strip", z.ZodTypeAny, {
|
|
663
|
+
count?: number;
|
|
664
|
+
windowSeconds?: number;
|
|
665
|
+
groupBy?: string;
|
|
666
|
+
}, {
|
|
667
|
+
count?: number;
|
|
668
|
+
windowSeconds?: number;
|
|
669
|
+
groupBy?: string;
|
|
670
|
+
}>;
|
|
671
|
+
/**
|
|
672
|
+
* Channel-specific configuration
|
|
673
|
+
*/
|
|
674
|
+
export interface ChannelConfig {
|
|
675
|
+
/** Channel type */
|
|
676
|
+
channel: AlertChannel;
|
|
677
|
+
/** Channel-specific settings */
|
|
678
|
+
config: Record<string, unknown>;
|
|
679
|
+
/** Only send alerts of these severities */
|
|
680
|
+
severityFilter?: AlertSeverity[];
|
|
681
|
+
/** Only send alerts during these hours (0-23) */
|
|
682
|
+
activeHours?: {
|
|
683
|
+
start: number;
|
|
684
|
+
end: number;
|
|
685
|
+
};
|
|
686
|
+
/** Rate limit for this channel (alerts per minute) */
|
|
687
|
+
rateLimit?: number;
|
|
688
|
+
}
|
|
689
|
+
export declare const channelConfigSchema: z.ZodObject<{
|
|
690
|
+
channel: z.ZodNativeEnum<{
|
|
691
|
+
readonly SLACK: "slack";
|
|
692
|
+
readonly PAGERDUTY: "pagerduty";
|
|
693
|
+
readonly EMAIL: "email";
|
|
694
|
+
readonly WEBHOOK: "webhook";
|
|
695
|
+
readonly SNS: "sns";
|
|
696
|
+
}>;
|
|
697
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
698
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
699
|
+
readonly CRITICAL: "critical";
|
|
700
|
+
readonly HIGH: "high";
|
|
701
|
+
readonly MEDIUM: "medium";
|
|
702
|
+
readonly LOW: "low";
|
|
703
|
+
readonly INFO: "info";
|
|
704
|
+
}>, "many">>;
|
|
705
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
706
|
+
start: z.ZodNumber;
|
|
707
|
+
end: z.ZodNumber;
|
|
708
|
+
}, "strip", z.ZodTypeAny, {
|
|
709
|
+
end?: number;
|
|
710
|
+
start?: number;
|
|
711
|
+
}, {
|
|
712
|
+
end?: number;
|
|
713
|
+
start?: number;
|
|
714
|
+
}>>;
|
|
715
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
|
717
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
718
|
+
config?: Record<string, unknown>;
|
|
719
|
+
rateLimit?: number;
|
|
720
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
721
|
+
activeHours?: {
|
|
722
|
+
end?: number;
|
|
723
|
+
start?: number;
|
|
724
|
+
};
|
|
725
|
+
}, {
|
|
726
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
727
|
+
config?: Record<string, unknown>;
|
|
728
|
+
rateLimit?: number;
|
|
729
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
730
|
+
activeHours?: {
|
|
731
|
+
end?: number;
|
|
732
|
+
start?: number;
|
|
733
|
+
};
|
|
734
|
+
}>;
|
|
735
|
+
/**
|
|
736
|
+
* An alert rule definition
|
|
737
|
+
*/
|
|
738
|
+
export interface AlertRule {
|
|
739
|
+
/** Unique rule ID */
|
|
740
|
+
id: string;
|
|
741
|
+
/** Rule name */
|
|
742
|
+
name: string;
|
|
743
|
+
/** Rule description */
|
|
744
|
+
description?: string;
|
|
745
|
+
/** Whether rule is enabled */
|
|
746
|
+
enabled: boolean;
|
|
747
|
+
/** Event types this rule applies to */
|
|
748
|
+
eventTypes: SecurityEventType[];
|
|
749
|
+
/** Conditions that must be met */
|
|
750
|
+
conditions?: AlertCondition[];
|
|
751
|
+
/** Threshold for rate-based rules */
|
|
752
|
+
threshold?: AlertThreshold;
|
|
753
|
+
/** Channels to send alerts to */
|
|
754
|
+
channels: ChannelConfig[];
|
|
755
|
+
/** Cooldown period in seconds (prevent duplicate alerts) */
|
|
756
|
+
cooldownSeconds: number;
|
|
757
|
+
/** Alert severity to assign */
|
|
758
|
+
severity: AlertSeverity;
|
|
759
|
+
/** Tags to add to alerts */
|
|
760
|
+
tags?: string[];
|
|
761
|
+
/** Priority for rule evaluation (higher = first) */
|
|
762
|
+
priority: number;
|
|
763
|
+
/** Whether to stop processing other rules on match */
|
|
764
|
+
stopOnMatch: boolean;
|
|
765
|
+
/** Custom message template */
|
|
766
|
+
messageTemplate?: string;
|
|
767
|
+
/** Custom title template */
|
|
768
|
+
titleTemplate?: string;
|
|
769
|
+
}
|
|
770
|
+
export declare const alertRuleSchema: z.ZodObject<{
|
|
771
|
+
id: z.ZodString;
|
|
772
|
+
name: z.ZodString;
|
|
773
|
+
description: z.ZodOptional<z.ZodString>;
|
|
774
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
775
|
+
eventTypes: z.ZodArray<z.ZodNativeEnum<{
|
|
776
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
777
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
778
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
779
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
780
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
781
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
782
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
783
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
784
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
785
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
786
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
787
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
788
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
789
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
790
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
791
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
792
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
793
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
794
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
795
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
796
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
797
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
798
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
799
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
800
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
801
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
802
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
803
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
804
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
805
|
+
readonly CUSTOM: "custom";
|
|
806
|
+
}>, "many">;
|
|
807
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
808
|
+
field: z.ZodString;
|
|
809
|
+
operator: z.ZodNativeEnum<{
|
|
810
|
+
readonly EQUALS: "equals";
|
|
811
|
+
readonly NOT_EQUALS: "not_equals";
|
|
812
|
+
readonly GREATER_THAN: "greater_than";
|
|
813
|
+
readonly LESS_THAN: "less_than";
|
|
814
|
+
readonly GREATER_THAN_OR_EQUALS: "greater_than_or_equals";
|
|
815
|
+
readonly LESS_THAN_OR_EQUALS: "less_than_or_equals";
|
|
816
|
+
readonly CONTAINS: "contains";
|
|
817
|
+
readonly NOT_CONTAINS: "not_contains";
|
|
818
|
+
readonly MATCHES: "matches";
|
|
819
|
+
readonly IN: "in";
|
|
820
|
+
readonly NOT_IN: "not_in";
|
|
821
|
+
}>;
|
|
822
|
+
value: z.ZodUnknown;
|
|
823
|
+
}, "strip", z.ZodTypeAny, {
|
|
824
|
+
value?: unknown;
|
|
825
|
+
field?: string;
|
|
826
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
827
|
+
}, {
|
|
828
|
+
value?: unknown;
|
|
829
|
+
field?: string;
|
|
830
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
831
|
+
}>, "many">>;
|
|
832
|
+
threshold: z.ZodOptional<z.ZodObject<{
|
|
833
|
+
count: z.ZodNumber;
|
|
834
|
+
windowSeconds: z.ZodNumber;
|
|
835
|
+
groupBy: z.ZodOptional<z.ZodString>;
|
|
836
|
+
}, "strip", z.ZodTypeAny, {
|
|
837
|
+
count?: number;
|
|
838
|
+
windowSeconds?: number;
|
|
839
|
+
groupBy?: string;
|
|
840
|
+
}, {
|
|
841
|
+
count?: number;
|
|
842
|
+
windowSeconds?: number;
|
|
843
|
+
groupBy?: string;
|
|
844
|
+
}>>;
|
|
845
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
846
|
+
channel: z.ZodNativeEnum<{
|
|
847
|
+
readonly SLACK: "slack";
|
|
848
|
+
readonly PAGERDUTY: "pagerduty";
|
|
849
|
+
readonly EMAIL: "email";
|
|
850
|
+
readonly WEBHOOK: "webhook";
|
|
851
|
+
readonly SNS: "sns";
|
|
852
|
+
}>;
|
|
853
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
854
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
855
|
+
readonly CRITICAL: "critical";
|
|
856
|
+
readonly HIGH: "high";
|
|
857
|
+
readonly MEDIUM: "medium";
|
|
858
|
+
readonly LOW: "low";
|
|
859
|
+
readonly INFO: "info";
|
|
860
|
+
}>, "many">>;
|
|
861
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
862
|
+
start: z.ZodNumber;
|
|
863
|
+
end: z.ZodNumber;
|
|
864
|
+
}, "strip", z.ZodTypeAny, {
|
|
865
|
+
end?: number;
|
|
866
|
+
start?: number;
|
|
867
|
+
}, {
|
|
868
|
+
end?: number;
|
|
869
|
+
start?: number;
|
|
870
|
+
}>>;
|
|
871
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
874
|
+
config?: Record<string, unknown>;
|
|
875
|
+
rateLimit?: number;
|
|
876
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
877
|
+
activeHours?: {
|
|
878
|
+
end?: number;
|
|
879
|
+
start?: number;
|
|
880
|
+
};
|
|
881
|
+
}, {
|
|
882
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
883
|
+
config?: Record<string, unknown>;
|
|
884
|
+
rateLimit?: number;
|
|
885
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
886
|
+
activeHours?: {
|
|
887
|
+
end?: number;
|
|
888
|
+
start?: number;
|
|
889
|
+
};
|
|
890
|
+
}>, "many">;
|
|
891
|
+
cooldownSeconds: z.ZodDefault<z.ZodNumber>;
|
|
892
|
+
severity: z.ZodNativeEnum<{
|
|
893
|
+
readonly CRITICAL: "critical";
|
|
894
|
+
readonly HIGH: "high";
|
|
895
|
+
readonly MEDIUM: "medium";
|
|
896
|
+
readonly LOW: "low";
|
|
897
|
+
readonly INFO: "info";
|
|
898
|
+
}>;
|
|
899
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
900
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
901
|
+
stopOnMatch: z.ZodDefault<z.ZodBoolean>;
|
|
902
|
+
messageTemplate: z.ZodOptional<z.ZodString>;
|
|
903
|
+
titleTemplate: z.ZodOptional<z.ZodString>;
|
|
904
|
+
}, "strip", z.ZodTypeAny, {
|
|
905
|
+
id?: string;
|
|
906
|
+
name?: string;
|
|
907
|
+
tags?: string[];
|
|
908
|
+
description?: string;
|
|
909
|
+
enabled?: boolean;
|
|
910
|
+
priority?: number;
|
|
911
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
912
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
913
|
+
conditions?: {
|
|
914
|
+
value?: unknown;
|
|
915
|
+
field?: string;
|
|
916
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
917
|
+
}[];
|
|
918
|
+
threshold?: {
|
|
919
|
+
count?: number;
|
|
920
|
+
windowSeconds?: number;
|
|
921
|
+
groupBy?: string;
|
|
922
|
+
};
|
|
923
|
+
channels?: {
|
|
924
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
925
|
+
config?: Record<string, unknown>;
|
|
926
|
+
rateLimit?: number;
|
|
927
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
928
|
+
activeHours?: {
|
|
929
|
+
end?: number;
|
|
930
|
+
start?: number;
|
|
931
|
+
};
|
|
932
|
+
}[];
|
|
933
|
+
cooldownSeconds?: number;
|
|
934
|
+
stopOnMatch?: boolean;
|
|
935
|
+
messageTemplate?: string;
|
|
936
|
+
titleTemplate?: string;
|
|
937
|
+
}, {
|
|
938
|
+
id?: string;
|
|
939
|
+
name?: string;
|
|
940
|
+
tags?: string[];
|
|
941
|
+
description?: string;
|
|
942
|
+
enabled?: boolean;
|
|
943
|
+
priority?: number;
|
|
944
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
945
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
946
|
+
conditions?: {
|
|
947
|
+
value?: unknown;
|
|
948
|
+
field?: string;
|
|
949
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
950
|
+
}[];
|
|
951
|
+
threshold?: {
|
|
952
|
+
count?: number;
|
|
953
|
+
windowSeconds?: number;
|
|
954
|
+
groupBy?: string;
|
|
955
|
+
};
|
|
956
|
+
channels?: {
|
|
957
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
958
|
+
config?: Record<string, unknown>;
|
|
959
|
+
rateLimit?: number;
|
|
960
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
961
|
+
activeHours?: {
|
|
962
|
+
end?: number;
|
|
963
|
+
start?: number;
|
|
964
|
+
};
|
|
965
|
+
}[];
|
|
966
|
+
cooldownSeconds?: number;
|
|
967
|
+
stopOnMatch?: boolean;
|
|
968
|
+
messageTemplate?: string;
|
|
969
|
+
titleTemplate?: string;
|
|
970
|
+
}>;
|
|
971
|
+
/**
|
|
972
|
+
* Maintenance window configuration
|
|
973
|
+
*/
|
|
974
|
+
export interface MaintenanceWindow {
|
|
975
|
+
/** Unique window ID */
|
|
976
|
+
id: string;
|
|
977
|
+
/** Window name */
|
|
978
|
+
name: string;
|
|
979
|
+
/** Start time (ISO 8601) */
|
|
980
|
+
startTime: Date;
|
|
981
|
+
/** End time (ISO 8601) */
|
|
982
|
+
endTime: Date;
|
|
983
|
+
/** Event types to suppress */
|
|
984
|
+
suppressedEventTypes?: SecurityEventType[];
|
|
985
|
+
/** Severities to suppress */
|
|
986
|
+
suppressedSeverities?: AlertSeverity[];
|
|
987
|
+
/** Whether to suppress all alerts */
|
|
988
|
+
suppressAll: boolean;
|
|
989
|
+
/** Reason for maintenance */
|
|
990
|
+
reason?: string;
|
|
991
|
+
/** Who created the window */
|
|
992
|
+
createdBy: string;
|
|
993
|
+
}
|
|
994
|
+
export declare const maintenanceWindowSchema: z.ZodObject<{
|
|
995
|
+
id: z.ZodString;
|
|
996
|
+
name: z.ZodString;
|
|
997
|
+
startTime: z.ZodDate;
|
|
998
|
+
endTime: z.ZodDate;
|
|
999
|
+
suppressedEventTypes: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1000
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
1001
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
1002
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
1003
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
1004
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
1005
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
1006
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
1007
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
1008
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
1009
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
1010
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
1011
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
1012
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
1013
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
1014
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
1015
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
1016
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
1017
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
1018
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
1019
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
1020
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
1021
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
1022
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
1023
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
1024
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
1025
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
1026
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
1027
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
1028
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
1029
|
+
readonly CUSTOM: "custom";
|
|
1030
|
+
}>, "many">>;
|
|
1031
|
+
suppressedSeverities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1032
|
+
readonly CRITICAL: "critical";
|
|
1033
|
+
readonly HIGH: "high";
|
|
1034
|
+
readonly MEDIUM: "medium";
|
|
1035
|
+
readonly LOW: "low";
|
|
1036
|
+
readonly INFO: "info";
|
|
1037
|
+
}>, "many">>;
|
|
1038
|
+
suppressAll: z.ZodDefault<z.ZodBoolean>;
|
|
1039
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1040
|
+
createdBy: z.ZodString;
|
|
1041
|
+
}, "strip", z.ZodTypeAny, {
|
|
1042
|
+
id?: string;
|
|
1043
|
+
name?: string;
|
|
1044
|
+
reason?: string;
|
|
1045
|
+
createdBy?: string;
|
|
1046
|
+
startTime?: Date;
|
|
1047
|
+
endTime?: Date;
|
|
1048
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1049
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1050
|
+
suppressAll?: boolean;
|
|
1051
|
+
}, {
|
|
1052
|
+
id?: string;
|
|
1053
|
+
name?: string;
|
|
1054
|
+
reason?: string;
|
|
1055
|
+
createdBy?: string;
|
|
1056
|
+
startTime?: Date;
|
|
1057
|
+
endTime?: Date;
|
|
1058
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1059
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1060
|
+
suppressAll?: boolean;
|
|
1061
|
+
}>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Escalation policy configuration
|
|
1064
|
+
*/
|
|
1065
|
+
export interface EscalationPolicy {
|
|
1066
|
+
/** Policy ID */
|
|
1067
|
+
id: string;
|
|
1068
|
+
/** Policy name */
|
|
1069
|
+
name: string;
|
|
1070
|
+
/** Severities this policy applies to */
|
|
1071
|
+
severities: AlertSeverity[];
|
|
1072
|
+
/** Escalation levels */
|
|
1073
|
+
levels: Array<{
|
|
1074
|
+
/** Minutes after alert to escalate */
|
|
1075
|
+
afterMinutes: number;
|
|
1076
|
+
/** Channels to notify at this level */
|
|
1077
|
+
channels: ChannelConfig[];
|
|
1078
|
+
/** Message to include */
|
|
1079
|
+
message?: string;
|
|
1080
|
+
}>;
|
|
1081
|
+
/** Whether to escalate if not acknowledged */
|
|
1082
|
+
escalateOnNoAcknowledge: boolean;
|
|
1083
|
+
/** Whether to escalate if not resolved */
|
|
1084
|
+
escalateOnNoResolve: boolean;
|
|
1085
|
+
}
|
|
1086
|
+
export declare const escalationPolicySchema: z.ZodObject<{
|
|
1087
|
+
id: z.ZodString;
|
|
1088
|
+
name: z.ZodString;
|
|
1089
|
+
severities: z.ZodArray<z.ZodNativeEnum<{
|
|
1090
|
+
readonly CRITICAL: "critical";
|
|
1091
|
+
readonly HIGH: "high";
|
|
1092
|
+
readonly MEDIUM: "medium";
|
|
1093
|
+
readonly LOW: "low";
|
|
1094
|
+
readonly INFO: "info";
|
|
1095
|
+
}>, "many">;
|
|
1096
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
1097
|
+
afterMinutes: z.ZodNumber;
|
|
1098
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1099
|
+
channel: z.ZodNativeEnum<{
|
|
1100
|
+
readonly SLACK: "slack";
|
|
1101
|
+
readonly PAGERDUTY: "pagerduty";
|
|
1102
|
+
readonly EMAIL: "email";
|
|
1103
|
+
readonly WEBHOOK: "webhook";
|
|
1104
|
+
readonly SNS: "sns";
|
|
1105
|
+
}>;
|
|
1106
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1107
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1108
|
+
readonly CRITICAL: "critical";
|
|
1109
|
+
readonly HIGH: "high";
|
|
1110
|
+
readonly MEDIUM: "medium";
|
|
1111
|
+
readonly LOW: "low";
|
|
1112
|
+
readonly INFO: "info";
|
|
1113
|
+
}>, "many">>;
|
|
1114
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
1115
|
+
start: z.ZodNumber;
|
|
1116
|
+
end: z.ZodNumber;
|
|
1117
|
+
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
end?: number;
|
|
1119
|
+
start?: number;
|
|
1120
|
+
}, {
|
|
1121
|
+
end?: number;
|
|
1122
|
+
start?: number;
|
|
1123
|
+
}>>;
|
|
1124
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
1125
|
+
}, "strip", z.ZodTypeAny, {
|
|
1126
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1127
|
+
config?: Record<string, unknown>;
|
|
1128
|
+
rateLimit?: number;
|
|
1129
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1130
|
+
activeHours?: {
|
|
1131
|
+
end?: number;
|
|
1132
|
+
start?: number;
|
|
1133
|
+
};
|
|
1134
|
+
}, {
|
|
1135
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1136
|
+
config?: Record<string, unknown>;
|
|
1137
|
+
rateLimit?: number;
|
|
1138
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1139
|
+
activeHours?: {
|
|
1140
|
+
end?: number;
|
|
1141
|
+
start?: number;
|
|
1142
|
+
};
|
|
1143
|
+
}>, "many">;
|
|
1144
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
message?: string;
|
|
1147
|
+
channels?: {
|
|
1148
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1149
|
+
config?: Record<string, unknown>;
|
|
1150
|
+
rateLimit?: number;
|
|
1151
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1152
|
+
activeHours?: {
|
|
1153
|
+
end?: number;
|
|
1154
|
+
start?: number;
|
|
1155
|
+
};
|
|
1156
|
+
}[];
|
|
1157
|
+
afterMinutes?: number;
|
|
1158
|
+
}, {
|
|
1159
|
+
message?: string;
|
|
1160
|
+
channels?: {
|
|
1161
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1162
|
+
config?: Record<string, unknown>;
|
|
1163
|
+
rateLimit?: number;
|
|
1164
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1165
|
+
activeHours?: {
|
|
1166
|
+
end?: number;
|
|
1167
|
+
start?: number;
|
|
1168
|
+
};
|
|
1169
|
+
}[];
|
|
1170
|
+
afterMinutes?: number;
|
|
1171
|
+
}>, "many">;
|
|
1172
|
+
escalateOnNoAcknowledge: z.ZodDefault<z.ZodBoolean>;
|
|
1173
|
+
escalateOnNoResolve: z.ZodDefault<z.ZodBoolean>;
|
|
1174
|
+
}, "strip", z.ZodTypeAny, {
|
|
1175
|
+
id?: string;
|
|
1176
|
+
name?: string;
|
|
1177
|
+
levels?: {
|
|
1178
|
+
message?: string;
|
|
1179
|
+
channels?: {
|
|
1180
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1181
|
+
config?: Record<string, unknown>;
|
|
1182
|
+
rateLimit?: number;
|
|
1183
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1184
|
+
activeHours?: {
|
|
1185
|
+
end?: number;
|
|
1186
|
+
start?: number;
|
|
1187
|
+
};
|
|
1188
|
+
}[];
|
|
1189
|
+
afterMinutes?: number;
|
|
1190
|
+
}[];
|
|
1191
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1192
|
+
escalateOnNoAcknowledge?: boolean;
|
|
1193
|
+
escalateOnNoResolve?: boolean;
|
|
1194
|
+
}, {
|
|
1195
|
+
id?: string;
|
|
1196
|
+
name?: string;
|
|
1197
|
+
levels?: {
|
|
1198
|
+
message?: string;
|
|
1199
|
+
channels?: {
|
|
1200
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1201
|
+
config?: Record<string, unknown>;
|
|
1202
|
+
rateLimit?: number;
|
|
1203
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1204
|
+
activeHours?: {
|
|
1205
|
+
end?: number;
|
|
1206
|
+
start?: number;
|
|
1207
|
+
};
|
|
1208
|
+
}[];
|
|
1209
|
+
afterMinutes?: number;
|
|
1210
|
+
}[];
|
|
1211
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1212
|
+
escalateOnNoAcknowledge?: boolean;
|
|
1213
|
+
escalateOnNoResolve?: boolean;
|
|
1214
|
+
}>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Complete alerting system configuration
|
|
1217
|
+
*/
|
|
1218
|
+
export interface AlertConfig {
|
|
1219
|
+
/** Whether alerting is enabled */
|
|
1220
|
+
enabled: boolean;
|
|
1221
|
+
/** Alert rules */
|
|
1222
|
+
rules: AlertRule[];
|
|
1223
|
+
/** Default channels for alerts without specific rules */
|
|
1224
|
+
defaultChannels: ChannelConfig[];
|
|
1225
|
+
/** Escalation policies */
|
|
1226
|
+
escalationPolicies: EscalationPolicy[];
|
|
1227
|
+
/** Active maintenance windows */
|
|
1228
|
+
maintenanceWindows: MaintenanceWindow[];
|
|
1229
|
+
/** Deduplication window in seconds */
|
|
1230
|
+
deduplicationWindowSeconds: number;
|
|
1231
|
+
/** Redis key prefix for state storage */
|
|
1232
|
+
redisKeyPrefix: string;
|
|
1233
|
+
/** Default cooldown for rules without explicit cooldown */
|
|
1234
|
+
defaultCooldownSeconds: number;
|
|
1235
|
+
/** Channel-specific configurations */
|
|
1236
|
+
channelSettings: {
|
|
1237
|
+
slack?: {
|
|
1238
|
+
webhookUrl: string;
|
|
1239
|
+
defaultChannel?: string;
|
|
1240
|
+
username?: string;
|
|
1241
|
+
iconEmoji?: string;
|
|
1242
|
+
};
|
|
1243
|
+
pagerduty?: {
|
|
1244
|
+
routingKey: string;
|
|
1245
|
+
apiUrl?: string;
|
|
1246
|
+
};
|
|
1247
|
+
email?: {
|
|
1248
|
+
from: string;
|
|
1249
|
+
host: string;
|
|
1250
|
+
port: number;
|
|
1251
|
+
secure: boolean;
|
|
1252
|
+
auth?: {
|
|
1253
|
+
user: string;
|
|
1254
|
+
pass: string;
|
|
1255
|
+
};
|
|
1256
|
+
defaultRecipients?: string[];
|
|
1257
|
+
};
|
|
1258
|
+
webhook?: {
|
|
1259
|
+
defaultUrl?: string;
|
|
1260
|
+
headers?: Record<string, string>;
|
|
1261
|
+
timeout?: number;
|
|
1262
|
+
};
|
|
1263
|
+
sns?: {
|
|
1264
|
+
region: string;
|
|
1265
|
+
topicArn?: string;
|
|
1266
|
+
accessKeyId?: string;
|
|
1267
|
+
secretAccessKey?: string;
|
|
1268
|
+
};
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
export declare const alertConfigSchema: z.ZodObject<{
|
|
1272
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1273
|
+
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1274
|
+
id: z.ZodString;
|
|
1275
|
+
name: z.ZodString;
|
|
1276
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1277
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1278
|
+
eventTypes: z.ZodArray<z.ZodNativeEnum<{
|
|
1279
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
1280
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
1281
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
1282
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
1283
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
1284
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
1285
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
1286
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
1287
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
1288
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
1289
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
1290
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
1291
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
1292
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
1293
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
1294
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
1295
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
1296
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
1297
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
1298
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
1299
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
1300
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
1301
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
1302
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
1303
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
1304
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
1305
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
1306
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
1307
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
1308
|
+
readonly CUSTOM: "custom";
|
|
1309
|
+
}>, "many">;
|
|
1310
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1311
|
+
field: z.ZodString;
|
|
1312
|
+
operator: z.ZodNativeEnum<{
|
|
1313
|
+
readonly EQUALS: "equals";
|
|
1314
|
+
readonly NOT_EQUALS: "not_equals";
|
|
1315
|
+
readonly GREATER_THAN: "greater_than";
|
|
1316
|
+
readonly LESS_THAN: "less_than";
|
|
1317
|
+
readonly GREATER_THAN_OR_EQUALS: "greater_than_or_equals";
|
|
1318
|
+
readonly LESS_THAN_OR_EQUALS: "less_than_or_equals";
|
|
1319
|
+
readonly CONTAINS: "contains";
|
|
1320
|
+
readonly NOT_CONTAINS: "not_contains";
|
|
1321
|
+
readonly MATCHES: "matches";
|
|
1322
|
+
readonly IN: "in";
|
|
1323
|
+
readonly NOT_IN: "not_in";
|
|
1324
|
+
}>;
|
|
1325
|
+
value: z.ZodUnknown;
|
|
1326
|
+
}, "strip", z.ZodTypeAny, {
|
|
1327
|
+
value?: unknown;
|
|
1328
|
+
field?: string;
|
|
1329
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
1330
|
+
}, {
|
|
1331
|
+
value?: unknown;
|
|
1332
|
+
field?: string;
|
|
1333
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
1334
|
+
}>, "many">>;
|
|
1335
|
+
threshold: z.ZodOptional<z.ZodObject<{
|
|
1336
|
+
count: z.ZodNumber;
|
|
1337
|
+
windowSeconds: z.ZodNumber;
|
|
1338
|
+
groupBy: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
}, "strip", z.ZodTypeAny, {
|
|
1340
|
+
count?: number;
|
|
1341
|
+
windowSeconds?: number;
|
|
1342
|
+
groupBy?: string;
|
|
1343
|
+
}, {
|
|
1344
|
+
count?: number;
|
|
1345
|
+
windowSeconds?: number;
|
|
1346
|
+
groupBy?: string;
|
|
1347
|
+
}>>;
|
|
1348
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1349
|
+
channel: z.ZodNativeEnum<{
|
|
1350
|
+
readonly SLACK: "slack";
|
|
1351
|
+
readonly PAGERDUTY: "pagerduty";
|
|
1352
|
+
readonly EMAIL: "email";
|
|
1353
|
+
readonly WEBHOOK: "webhook";
|
|
1354
|
+
readonly SNS: "sns";
|
|
1355
|
+
}>;
|
|
1356
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1357
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1358
|
+
readonly CRITICAL: "critical";
|
|
1359
|
+
readonly HIGH: "high";
|
|
1360
|
+
readonly MEDIUM: "medium";
|
|
1361
|
+
readonly LOW: "low";
|
|
1362
|
+
readonly INFO: "info";
|
|
1363
|
+
}>, "many">>;
|
|
1364
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
1365
|
+
start: z.ZodNumber;
|
|
1366
|
+
end: z.ZodNumber;
|
|
1367
|
+
}, "strip", z.ZodTypeAny, {
|
|
1368
|
+
end?: number;
|
|
1369
|
+
start?: number;
|
|
1370
|
+
}, {
|
|
1371
|
+
end?: number;
|
|
1372
|
+
start?: number;
|
|
1373
|
+
}>>;
|
|
1374
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
1375
|
+
}, "strip", z.ZodTypeAny, {
|
|
1376
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1377
|
+
config?: Record<string, unknown>;
|
|
1378
|
+
rateLimit?: number;
|
|
1379
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1380
|
+
activeHours?: {
|
|
1381
|
+
end?: number;
|
|
1382
|
+
start?: number;
|
|
1383
|
+
};
|
|
1384
|
+
}, {
|
|
1385
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1386
|
+
config?: Record<string, unknown>;
|
|
1387
|
+
rateLimit?: number;
|
|
1388
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1389
|
+
activeHours?: {
|
|
1390
|
+
end?: number;
|
|
1391
|
+
start?: number;
|
|
1392
|
+
};
|
|
1393
|
+
}>, "many">;
|
|
1394
|
+
cooldownSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1395
|
+
severity: z.ZodNativeEnum<{
|
|
1396
|
+
readonly CRITICAL: "critical";
|
|
1397
|
+
readonly HIGH: "high";
|
|
1398
|
+
readonly MEDIUM: "medium";
|
|
1399
|
+
readonly LOW: "low";
|
|
1400
|
+
readonly INFO: "info";
|
|
1401
|
+
}>;
|
|
1402
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1403
|
+
priority: z.ZodDefault<z.ZodNumber>;
|
|
1404
|
+
stopOnMatch: z.ZodDefault<z.ZodBoolean>;
|
|
1405
|
+
messageTemplate: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
titleTemplate: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
}, "strip", z.ZodTypeAny, {
|
|
1408
|
+
id?: string;
|
|
1409
|
+
name?: string;
|
|
1410
|
+
tags?: string[];
|
|
1411
|
+
description?: string;
|
|
1412
|
+
enabled?: boolean;
|
|
1413
|
+
priority?: number;
|
|
1414
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
1415
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1416
|
+
conditions?: {
|
|
1417
|
+
value?: unknown;
|
|
1418
|
+
field?: string;
|
|
1419
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
1420
|
+
}[];
|
|
1421
|
+
threshold?: {
|
|
1422
|
+
count?: number;
|
|
1423
|
+
windowSeconds?: number;
|
|
1424
|
+
groupBy?: string;
|
|
1425
|
+
};
|
|
1426
|
+
channels?: {
|
|
1427
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1428
|
+
config?: Record<string, unknown>;
|
|
1429
|
+
rateLimit?: number;
|
|
1430
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1431
|
+
activeHours?: {
|
|
1432
|
+
end?: number;
|
|
1433
|
+
start?: number;
|
|
1434
|
+
};
|
|
1435
|
+
}[];
|
|
1436
|
+
cooldownSeconds?: number;
|
|
1437
|
+
stopOnMatch?: boolean;
|
|
1438
|
+
messageTemplate?: string;
|
|
1439
|
+
titleTemplate?: string;
|
|
1440
|
+
}, {
|
|
1441
|
+
id?: string;
|
|
1442
|
+
name?: string;
|
|
1443
|
+
tags?: string[];
|
|
1444
|
+
description?: string;
|
|
1445
|
+
enabled?: boolean;
|
|
1446
|
+
priority?: number;
|
|
1447
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
1448
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1449
|
+
conditions?: {
|
|
1450
|
+
value?: unknown;
|
|
1451
|
+
field?: string;
|
|
1452
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
1453
|
+
}[];
|
|
1454
|
+
threshold?: {
|
|
1455
|
+
count?: number;
|
|
1456
|
+
windowSeconds?: number;
|
|
1457
|
+
groupBy?: string;
|
|
1458
|
+
};
|
|
1459
|
+
channels?: {
|
|
1460
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1461
|
+
config?: Record<string, unknown>;
|
|
1462
|
+
rateLimit?: number;
|
|
1463
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1464
|
+
activeHours?: {
|
|
1465
|
+
end?: number;
|
|
1466
|
+
start?: number;
|
|
1467
|
+
};
|
|
1468
|
+
}[];
|
|
1469
|
+
cooldownSeconds?: number;
|
|
1470
|
+
stopOnMatch?: boolean;
|
|
1471
|
+
messageTemplate?: string;
|
|
1472
|
+
titleTemplate?: string;
|
|
1473
|
+
}>, "many">>;
|
|
1474
|
+
defaultChannels: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1475
|
+
channel: z.ZodNativeEnum<{
|
|
1476
|
+
readonly SLACK: "slack";
|
|
1477
|
+
readonly PAGERDUTY: "pagerduty";
|
|
1478
|
+
readonly EMAIL: "email";
|
|
1479
|
+
readonly WEBHOOK: "webhook";
|
|
1480
|
+
readonly SNS: "sns";
|
|
1481
|
+
}>;
|
|
1482
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1483
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1484
|
+
readonly CRITICAL: "critical";
|
|
1485
|
+
readonly HIGH: "high";
|
|
1486
|
+
readonly MEDIUM: "medium";
|
|
1487
|
+
readonly LOW: "low";
|
|
1488
|
+
readonly INFO: "info";
|
|
1489
|
+
}>, "many">>;
|
|
1490
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
1491
|
+
start: z.ZodNumber;
|
|
1492
|
+
end: z.ZodNumber;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
end?: number;
|
|
1495
|
+
start?: number;
|
|
1496
|
+
}, {
|
|
1497
|
+
end?: number;
|
|
1498
|
+
start?: number;
|
|
1499
|
+
}>>;
|
|
1500
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
1501
|
+
}, "strip", z.ZodTypeAny, {
|
|
1502
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1503
|
+
config?: Record<string, unknown>;
|
|
1504
|
+
rateLimit?: number;
|
|
1505
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1506
|
+
activeHours?: {
|
|
1507
|
+
end?: number;
|
|
1508
|
+
start?: number;
|
|
1509
|
+
};
|
|
1510
|
+
}, {
|
|
1511
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1512
|
+
config?: Record<string, unknown>;
|
|
1513
|
+
rateLimit?: number;
|
|
1514
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1515
|
+
activeHours?: {
|
|
1516
|
+
end?: number;
|
|
1517
|
+
start?: number;
|
|
1518
|
+
};
|
|
1519
|
+
}>, "many">>;
|
|
1520
|
+
escalationPolicies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1521
|
+
id: z.ZodString;
|
|
1522
|
+
name: z.ZodString;
|
|
1523
|
+
severities: z.ZodArray<z.ZodNativeEnum<{
|
|
1524
|
+
readonly CRITICAL: "critical";
|
|
1525
|
+
readonly HIGH: "high";
|
|
1526
|
+
readonly MEDIUM: "medium";
|
|
1527
|
+
readonly LOW: "low";
|
|
1528
|
+
readonly INFO: "info";
|
|
1529
|
+
}>, "many">;
|
|
1530
|
+
levels: z.ZodArray<z.ZodObject<{
|
|
1531
|
+
afterMinutes: z.ZodNumber;
|
|
1532
|
+
channels: z.ZodArray<z.ZodObject<{
|
|
1533
|
+
channel: z.ZodNativeEnum<{
|
|
1534
|
+
readonly SLACK: "slack";
|
|
1535
|
+
readonly PAGERDUTY: "pagerduty";
|
|
1536
|
+
readonly EMAIL: "email";
|
|
1537
|
+
readonly WEBHOOK: "webhook";
|
|
1538
|
+
readonly SNS: "sns";
|
|
1539
|
+
}>;
|
|
1540
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1541
|
+
severityFilter: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1542
|
+
readonly CRITICAL: "critical";
|
|
1543
|
+
readonly HIGH: "high";
|
|
1544
|
+
readonly MEDIUM: "medium";
|
|
1545
|
+
readonly LOW: "low";
|
|
1546
|
+
readonly INFO: "info";
|
|
1547
|
+
}>, "many">>;
|
|
1548
|
+
activeHours: z.ZodOptional<z.ZodObject<{
|
|
1549
|
+
start: z.ZodNumber;
|
|
1550
|
+
end: z.ZodNumber;
|
|
1551
|
+
}, "strip", z.ZodTypeAny, {
|
|
1552
|
+
end?: number;
|
|
1553
|
+
start?: number;
|
|
1554
|
+
}, {
|
|
1555
|
+
end?: number;
|
|
1556
|
+
start?: number;
|
|
1557
|
+
}>>;
|
|
1558
|
+
rateLimit: z.ZodOptional<z.ZodNumber>;
|
|
1559
|
+
}, "strip", z.ZodTypeAny, {
|
|
1560
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1561
|
+
config?: Record<string, unknown>;
|
|
1562
|
+
rateLimit?: number;
|
|
1563
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1564
|
+
activeHours?: {
|
|
1565
|
+
end?: number;
|
|
1566
|
+
start?: number;
|
|
1567
|
+
};
|
|
1568
|
+
}, {
|
|
1569
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1570
|
+
config?: Record<string, unknown>;
|
|
1571
|
+
rateLimit?: number;
|
|
1572
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1573
|
+
activeHours?: {
|
|
1574
|
+
end?: number;
|
|
1575
|
+
start?: number;
|
|
1576
|
+
};
|
|
1577
|
+
}>, "many">;
|
|
1578
|
+
message: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
}, "strip", z.ZodTypeAny, {
|
|
1580
|
+
message?: string;
|
|
1581
|
+
channels?: {
|
|
1582
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1583
|
+
config?: Record<string, unknown>;
|
|
1584
|
+
rateLimit?: number;
|
|
1585
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1586
|
+
activeHours?: {
|
|
1587
|
+
end?: number;
|
|
1588
|
+
start?: number;
|
|
1589
|
+
};
|
|
1590
|
+
}[];
|
|
1591
|
+
afterMinutes?: number;
|
|
1592
|
+
}, {
|
|
1593
|
+
message?: string;
|
|
1594
|
+
channels?: {
|
|
1595
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1596
|
+
config?: Record<string, unknown>;
|
|
1597
|
+
rateLimit?: number;
|
|
1598
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1599
|
+
activeHours?: {
|
|
1600
|
+
end?: number;
|
|
1601
|
+
start?: number;
|
|
1602
|
+
};
|
|
1603
|
+
}[];
|
|
1604
|
+
afterMinutes?: number;
|
|
1605
|
+
}>, "many">;
|
|
1606
|
+
escalateOnNoAcknowledge: z.ZodDefault<z.ZodBoolean>;
|
|
1607
|
+
escalateOnNoResolve: z.ZodDefault<z.ZodBoolean>;
|
|
1608
|
+
}, "strip", z.ZodTypeAny, {
|
|
1609
|
+
id?: string;
|
|
1610
|
+
name?: string;
|
|
1611
|
+
levels?: {
|
|
1612
|
+
message?: string;
|
|
1613
|
+
channels?: {
|
|
1614
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1615
|
+
config?: Record<string, unknown>;
|
|
1616
|
+
rateLimit?: number;
|
|
1617
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1618
|
+
activeHours?: {
|
|
1619
|
+
end?: number;
|
|
1620
|
+
start?: number;
|
|
1621
|
+
};
|
|
1622
|
+
}[];
|
|
1623
|
+
afterMinutes?: number;
|
|
1624
|
+
}[];
|
|
1625
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1626
|
+
escalateOnNoAcknowledge?: boolean;
|
|
1627
|
+
escalateOnNoResolve?: boolean;
|
|
1628
|
+
}, {
|
|
1629
|
+
id?: string;
|
|
1630
|
+
name?: string;
|
|
1631
|
+
levels?: {
|
|
1632
|
+
message?: string;
|
|
1633
|
+
channels?: {
|
|
1634
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1635
|
+
config?: Record<string, unknown>;
|
|
1636
|
+
rateLimit?: number;
|
|
1637
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1638
|
+
activeHours?: {
|
|
1639
|
+
end?: number;
|
|
1640
|
+
start?: number;
|
|
1641
|
+
};
|
|
1642
|
+
}[];
|
|
1643
|
+
afterMinutes?: number;
|
|
1644
|
+
}[];
|
|
1645
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1646
|
+
escalateOnNoAcknowledge?: boolean;
|
|
1647
|
+
escalateOnNoResolve?: boolean;
|
|
1648
|
+
}>, "many">>;
|
|
1649
|
+
maintenanceWindows: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1650
|
+
id: z.ZodString;
|
|
1651
|
+
name: z.ZodString;
|
|
1652
|
+
startTime: z.ZodDate;
|
|
1653
|
+
endTime: z.ZodDate;
|
|
1654
|
+
suppressedEventTypes: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1655
|
+
readonly BRUTE_FORCE: "brute_force";
|
|
1656
|
+
readonly CREDENTIAL_STUFFING: "credential_stuffing";
|
|
1657
|
+
readonly ACCOUNT_LOCKOUT: "account_lockout";
|
|
1658
|
+
readonly SUSPICIOUS_LOGIN: "suspicious_login";
|
|
1659
|
+
readonly SESSION_HIJACK: "session_hijack";
|
|
1660
|
+
readonly MFA_BYPASS_ATTEMPT: "mfa_bypass_attempt";
|
|
1661
|
+
readonly PRIVILEGE_ESCALATION: "privilege_escalation";
|
|
1662
|
+
readonly UNAUTHORIZED_ACCESS: "unauthorized_access";
|
|
1663
|
+
readonly PERMISSION_DENIED_SPIKE: "permission_denied_spike";
|
|
1664
|
+
readonly API_KEY_ABUSE: "api_key_abuse";
|
|
1665
|
+
readonly RATE_LIMIT_EXCEEDED: "rate_limit_exceeded";
|
|
1666
|
+
readonly INVALID_TOKEN: "invalid_token";
|
|
1667
|
+
readonly TOKEN_REVOKED: "token_revoked";
|
|
1668
|
+
readonly UNUSUAL_ACCESS_PATTERN: "unusual_access_pattern";
|
|
1669
|
+
readonly IMPOSSIBLE_TRAVEL: "impossible_travel";
|
|
1670
|
+
readonly NEW_DEVICE_LOGIN: "new_device_login";
|
|
1671
|
+
readonly UNUSUAL_TIME_ACCESS: "unusual_time_access";
|
|
1672
|
+
readonly SECURITY_CONFIG_CHANGE: "security_config_change";
|
|
1673
|
+
readonly ADMIN_ACTION: "admin_action";
|
|
1674
|
+
readonly KEY_ROTATION: "key_rotation";
|
|
1675
|
+
readonly POLICY_VIOLATION: "policy_violation";
|
|
1676
|
+
readonly DATA_EXFILTRATION: "data_exfiltration";
|
|
1677
|
+
readonly INJECTION_ATTEMPT: "injection_attempt";
|
|
1678
|
+
readonly XSS_ATTEMPT: "xss_attempt";
|
|
1679
|
+
readonly CERTIFICATE_EXPIRY: "certificate_expiry";
|
|
1680
|
+
readonly SECRET_EXPOSED: "secret_exposed";
|
|
1681
|
+
readonly VULNERABILITY_DETECTED: "vulnerability_detected";
|
|
1682
|
+
readonly INCIDENT_CREATED: "incident_created";
|
|
1683
|
+
readonly INCIDENT_ESCALATED: "incident_escalated";
|
|
1684
|
+
readonly CUSTOM: "custom";
|
|
1685
|
+
}>, "many">>;
|
|
1686
|
+
suppressedSeverities: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1687
|
+
readonly CRITICAL: "critical";
|
|
1688
|
+
readonly HIGH: "high";
|
|
1689
|
+
readonly MEDIUM: "medium";
|
|
1690
|
+
readonly LOW: "low";
|
|
1691
|
+
readonly INFO: "info";
|
|
1692
|
+
}>, "many">>;
|
|
1693
|
+
suppressAll: z.ZodDefault<z.ZodBoolean>;
|
|
1694
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1695
|
+
createdBy: z.ZodString;
|
|
1696
|
+
}, "strip", z.ZodTypeAny, {
|
|
1697
|
+
id?: string;
|
|
1698
|
+
name?: string;
|
|
1699
|
+
reason?: string;
|
|
1700
|
+
createdBy?: string;
|
|
1701
|
+
startTime?: Date;
|
|
1702
|
+
endTime?: Date;
|
|
1703
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1704
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1705
|
+
suppressAll?: boolean;
|
|
1706
|
+
}, {
|
|
1707
|
+
id?: string;
|
|
1708
|
+
name?: string;
|
|
1709
|
+
reason?: string;
|
|
1710
|
+
createdBy?: string;
|
|
1711
|
+
startTime?: Date;
|
|
1712
|
+
endTime?: Date;
|
|
1713
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1714
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1715
|
+
suppressAll?: boolean;
|
|
1716
|
+
}>, "many">>;
|
|
1717
|
+
deduplicationWindowSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1718
|
+
redisKeyPrefix: z.ZodDefault<z.ZodString>;
|
|
1719
|
+
defaultCooldownSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1720
|
+
channelSettings: z.ZodDefault<z.ZodObject<{
|
|
1721
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
1722
|
+
webhookUrl: z.ZodString;
|
|
1723
|
+
defaultChannel: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
username: z.ZodOptional<z.ZodString>;
|
|
1725
|
+
iconEmoji: z.ZodOptional<z.ZodString>;
|
|
1726
|
+
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
webhookUrl?: string;
|
|
1728
|
+
defaultChannel?: string;
|
|
1729
|
+
username?: string;
|
|
1730
|
+
iconEmoji?: string;
|
|
1731
|
+
}, {
|
|
1732
|
+
webhookUrl?: string;
|
|
1733
|
+
defaultChannel?: string;
|
|
1734
|
+
username?: string;
|
|
1735
|
+
iconEmoji?: string;
|
|
1736
|
+
}>>;
|
|
1737
|
+
pagerduty: z.ZodOptional<z.ZodObject<{
|
|
1738
|
+
routingKey: z.ZodString;
|
|
1739
|
+
apiUrl: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
routingKey?: string;
|
|
1742
|
+
apiUrl?: string;
|
|
1743
|
+
}, {
|
|
1744
|
+
routingKey?: string;
|
|
1745
|
+
apiUrl?: string;
|
|
1746
|
+
}>>;
|
|
1747
|
+
email: z.ZodOptional<z.ZodObject<{
|
|
1748
|
+
from: z.ZodString;
|
|
1749
|
+
host: z.ZodString;
|
|
1750
|
+
port: z.ZodNumber;
|
|
1751
|
+
secure: z.ZodBoolean;
|
|
1752
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
1753
|
+
user: z.ZodString;
|
|
1754
|
+
pass: z.ZodString;
|
|
1755
|
+
}, "strip", z.ZodTypeAny, {
|
|
1756
|
+
user?: string;
|
|
1757
|
+
pass?: string;
|
|
1758
|
+
}, {
|
|
1759
|
+
user?: string;
|
|
1760
|
+
pass?: string;
|
|
1761
|
+
}>>;
|
|
1762
|
+
defaultRecipients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1763
|
+
}, "strip", z.ZodTypeAny, {
|
|
1764
|
+
host?: string;
|
|
1765
|
+
port?: number;
|
|
1766
|
+
from?: string;
|
|
1767
|
+
secure?: boolean;
|
|
1768
|
+
auth?: {
|
|
1769
|
+
user?: string;
|
|
1770
|
+
pass?: string;
|
|
1771
|
+
};
|
|
1772
|
+
defaultRecipients?: string[];
|
|
1773
|
+
}, {
|
|
1774
|
+
host?: string;
|
|
1775
|
+
port?: number;
|
|
1776
|
+
from?: string;
|
|
1777
|
+
secure?: boolean;
|
|
1778
|
+
auth?: {
|
|
1779
|
+
user?: string;
|
|
1780
|
+
pass?: string;
|
|
1781
|
+
};
|
|
1782
|
+
defaultRecipients?: string[];
|
|
1783
|
+
}>>;
|
|
1784
|
+
webhook: z.ZodOptional<z.ZodObject<{
|
|
1785
|
+
defaultUrl: z.ZodOptional<z.ZodString>;
|
|
1786
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1787
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1788
|
+
}, "strip", z.ZodTypeAny, {
|
|
1789
|
+
timeout?: number;
|
|
1790
|
+
headers?: Record<string, string>;
|
|
1791
|
+
defaultUrl?: string;
|
|
1792
|
+
}, {
|
|
1793
|
+
timeout?: number;
|
|
1794
|
+
headers?: Record<string, string>;
|
|
1795
|
+
defaultUrl?: string;
|
|
1796
|
+
}>>;
|
|
1797
|
+
sns: z.ZodOptional<z.ZodObject<{
|
|
1798
|
+
region: z.ZodString;
|
|
1799
|
+
topicArn: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
accessKeyId: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
secretAccessKey: z.ZodOptional<z.ZodString>;
|
|
1802
|
+
}, "strip", z.ZodTypeAny, {
|
|
1803
|
+
region?: string;
|
|
1804
|
+
topicArn?: string;
|
|
1805
|
+
accessKeyId?: string;
|
|
1806
|
+
secretAccessKey?: string;
|
|
1807
|
+
}, {
|
|
1808
|
+
region?: string;
|
|
1809
|
+
topicArn?: string;
|
|
1810
|
+
accessKeyId?: string;
|
|
1811
|
+
secretAccessKey?: string;
|
|
1812
|
+
}>>;
|
|
1813
|
+
}, "strip", z.ZodTypeAny, {
|
|
1814
|
+
email?: {
|
|
1815
|
+
host?: string;
|
|
1816
|
+
port?: number;
|
|
1817
|
+
from?: string;
|
|
1818
|
+
secure?: boolean;
|
|
1819
|
+
auth?: {
|
|
1820
|
+
user?: string;
|
|
1821
|
+
pass?: string;
|
|
1822
|
+
};
|
|
1823
|
+
defaultRecipients?: string[];
|
|
1824
|
+
};
|
|
1825
|
+
webhook?: {
|
|
1826
|
+
timeout?: number;
|
|
1827
|
+
headers?: Record<string, string>;
|
|
1828
|
+
defaultUrl?: string;
|
|
1829
|
+
};
|
|
1830
|
+
slack?: {
|
|
1831
|
+
webhookUrl?: string;
|
|
1832
|
+
defaultChannel?: string;
|
|
1833
|
+
username?: string;
|
|
1834
|
+
iconEmoji?: string;
|
|
1835
|
+
};
|
|
1836
|
+
pagerduty?: {
|
|
1837
|
+
routingKey?: string;
|
|
1838
|
+
apiUrl?: string;
|
|
1839
|
+
};
|
|
1840
|
+
sns?: {
|
|
1841
|
+
region?: string;
|
|
1842
|
+
topicArn?: string;
|
|
1843
|
+
accessKeyId?: string;
|
|
1844
|
+
secretAccessKey?: string;
|
|
1845
|
+
};
|
|
1846
|
+
}, {
|
|
1847
|
+
email?: {
|
|
1848
|
+
host?: string;
|
|
1849
|
+
port?: number;
|
|
1850
|
+
from?: string;
|
|
1851
|
+
secure?: boolean;
|
|
1852
|
+
auth?: {
|
|
1853
|
+
user?: string;
|
|
1854
|
+
pass?: string;
|
|
1855
|
+
};
|
|
1856
|
+
defaultRecipients?: string[];
|
|
1857
|
+
};
|
|
1858
|
+
webhook?: {
|
|
1859
|
+
timeout?: number;
|
|
1860
|
+
headers?: Record<string, string>;
|
|
1861
|
+
defaultUrl?: string;
|
|
1862
|
+
};
|
|
1863
|
+
slack?: {
|
|
1864
|
+
webhookUrl?: string;
|
|
1865
|
+
defaultChannel?: string;
|
|
1866
|
+
username?: string;
|
|
1867
|
+
iconEmoji?: string;
|
|
1868
|
+
};
|
|
1869
|
+
pagerduty?: {
|
|
1870
|
+
routingKey?: string;
|
|
1871
|
+
apiUrl?: string;
|
|
1872
|
+
};
|
|
1873
|
+
sns?: {
|
|
1874
|
+
region?: string;
|
|
1875
|
+
topicArn?: string;
|
|
1876
|
+
accessKeyId?: string;
|
|
1877
|
+
secretAccessKey?: string;
|
|
1878
|
+
};
|
|
1879
|
+
}>>;
|
|
1880
|
+
}, "strip", z.ZodTypeAny, {
|
|
1881
|
+
enabled?: boolean;
|
|
1882
|
+
rules?: {
|
|
1883
|
+
id?: string;
|
|
1884
|
+
name?: string;
|
|
1885
|
+
tags?: string[];
|
|
1886
|
+
description?: string;
|
|
1887
|
+
enabled?: boolean;
|
|
1888
|
+
priority?: number;
|
|
1889
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
1890
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1891
|
+
conditions?: {
|
|
1892
|
+
value?: unknown;
|
|
1893
|
+
field?: string;
|
|
1894
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
1895
|
+
}[];
|
|
1896
|
+
threshold?: {
|
|
1897
|
+
count?: number;
|
|
1898
|
+
windowSeconds?: number;
|
|
1899
|
+
groupBy?: string;
|
|
1900
|
+
};
|
|
1901
|
+
channels?: {
|
|
1902
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1903
|
+
config?: Record<string, unknown>;
|
|
1904
|
+
rateLimit?: number;
|
|
1905
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1906
|
+
activeHours?: {
|
|
1907
|
+
end?: number;
|
|
1908
|
+
start?: number;
|
|
1909
|
+
};
|
|
1910
|
+
}[];
|
|
1911
|
+
cooldownSeconds?: number;
|
|
1912
|
+
stopOnMatch?: boolean;
|
|
1913
|
+
messageTemplate?: string;
|
|
1914
|
+
titleTemplate?: string;
|
|
1915
|
+
}[];
|
|
1916
|
+
defaultChannels?: {
|
|
1917
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1918
|
+
config?: Record<string, unknown>;
|
|
1919
|
+
rateLimit?: number;
|
|
1920
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1921
|
+
activeHours?: {
|
|
1922
|
+
end?: number;
|
|
1923
|
+
start?: number;
|
|
1924
|
+
};
|
|
1925
|
+
}[];
|
|
1926
|
+
escalationPolicies?: {
|
|
1927
|
+
id?: string;
|
|
1928
|
+
name?: string;
|
|
1929
|
+
levels?: {
|
|
1930
|
+
message?: string;
|
|
1931
|
+
channels?: {
|
|
1932
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
1933
|
+
config?: Record<string, unknown>;
|
|
1934
|
+
rateLimit?: number;
|
|
1935
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1936
|
+
activeHours?: {
|
|
1937
|
+
end?: number;
|
|
1938
|
+
start?: number;
|
|
1939
|
+
};
|
|
1940
|
+
}[];
|
|
1941
|
+
afterMinutes?: number;
|
|
1942
|
+
}[];
|
|
1943
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1944
|
+
escalateOnNoAcknowledge?: boolean;
|
|
1945
|
+
escalateOnNoResolve?: boolean;
|
|
1946
|
+
}[];
|
|
1947
|
+
maintenanceWindows?: {
|
|
1948
|
+
id?: string;
|
|
1949
|
+
name?: string;
|
|
1950
|
+
reason?: string;
|
|
1951
|
+
createdBy?: string;
|
|
1952
|
+
startTime?: Date;
|
|
1953
|
+
endTime?: Date;
|
|
1954
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
1955
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
1956
|
+
suppressAll?: boolean;
|
|
1957
|
+
}[];
|
|
1958
|
+
deduplicationWindowSeconds?: number;
|
|
1959
|
+
redisKeyPrefix?: string;
|
|
1960
|
+
defaultCooldownSeconds?: number;
|
|
1961
|
+
channelSettings?: {
|
|
1962
|
+
email?: {
|
|
1963
|
+
host?: string;
|
|
1964
|
+
port?: number;
|
|
1965
|
+
from?: string;
|
|
1966
|
+
secure?: boolean;
|
|
1967
|
+
auth?: {
|
|
1968
|
+
user?: string;
|
|
1969
|
+
pass?: string;
|
|
1970
|
+
};
|
|
1971
|
+
defaultRecipients?: string[];
|
|
1972
|
+
};
|
|
1973
|
+
webhook?: {
|
|
1974
|
+
timeout?: number;
|
|
1975
|
+
headers?: Record<string, string>;
|
|
1976
|
+
defaultUrl?: string;
|
|
1977
|
+
};
|
|
1978
|
+
slack?: {
|
|
1979
|
+
webhookUrl?: string;
|
|
1980
|
+
defaultChannel?: string;
|
|
1981
|
+
username?: string;
|
|
1982
|
+
iconEmoji?: string;
|
|
1983
|
+
};
|
|
1984
|
+
pagerduty?: {
|
|
1985
|
+
routingKey?: string;
|
|
1986
|
+
apiUrl?: string;
|
|
1987
|
+
};
|
|
1988
|
+
sns?: {
|
|
1989
|
+
region?: string;
|
|
1990
|
+
topicArn?: string;
|
|
1991
|
+
accessKeyId?: string;
|
|
1992
|
+
secretAccessKey?: string;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
}, {
|
|
1996
|
+
enabled?: boolean;
|
|
1997
|
+
rules?: {
|
|
1998
|
+
id?: string;
|
|
1999
|
+
name?: string;
|
|
2000
|
+
tags?: string[];
|
|
2001
|
+
description?: string;
|
|
2002
|
+
enabled?: boolean;
|
|
2003
|
+
priority?: number;
|
|
2004
|
+
severity?: "info" | "low" | "medium" | "high" | "critical";
|
|
2005
|
+
eventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
2006
|
+
conditions?: {
|
|
2007
|
+
value?: unknown;
|
|
2008
|
+
field?: string;
|
|
2009
|
+
operator?: "equals" | "not_equals" | "greater_than" | "less_than" | "greater_than_or_equals" | "less_than_or_equals" | "contains" | "not_contains" | "matches" | "in" | "not_in";
|
|
2010
|
+
}[];
|
|
2011
|
+
threshold?: {
|
|
2012
|
+
count?: number;
|
|
2013
|
+
windowSeconds?: number;
|
|
2014
|
+
groupBy?: string;
|
|
2015
|
+
};
|
|
2016
|
+
channels?: {
|
|
2017
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
2018
|
+
config?: Record<string, unknown>;
|
|
2019
|
+
rateLimit?: number;
|
|
2020
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
2021
|
+
activeHours?: {
|
|
2022
|
+
end?: number;
|
|
2023
|
+
start?: number;
|
|
2024
|
+
};
|
|
2025
|
+
}[];
|
|
2026
|
+
cooldownSeconds?: number;
|
|
2027
|
+
stopOnMatch?: boolean;
|
|
2028
|
+
messageTemplate?: string;
|
|
2029
|
+
titleTemplate?: string;
|
|
2030
|
+
}[];
|
|
2031
|
+
defaultChannels?: {
|
|
2032
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
2033
|
+
config?: Record<string, unknown>;
|
|
2034
|
+
rateLimit?: number;
|
|
2035
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
2036
|
+
activeHours?: {
|
|
2037
|
+
end?: number;
|
|
2038
|
+
start?: number;
|
|
2039
|
+
};
|
|
2040
|
+
}[];
|
|
2041
|
+
escalationPolicies?: {
|
|
2042
|
+
id?: string;
|
|
2043
|
+
name?: string;
|
|
2044
|
+
levels?: {
|
|
2045
|
+
message?: string;
|
|
2046
|
+
channels?: {
|
|
2047
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
2048
|
+
config?: Record<string, unknown>;
|
|
2049
|
+
rateLimit?: number;
|
|
2050
|
+
severityFilter?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
2051
|
+
activeHours?: {
|
|
2052
|
+
end?: number;
|
|
2053
|
+
start?: number;
|
|
2054
|
+
};
|
|
2055
|
+
}[];
|
|
2056
|
+
afterMinutes?: number;
|
|
2057
|
+
}[];
|
|
2058
|
+
severities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
2059
|
+
escalateOnNoAcknowledge?: boolean;
|
|
2060
|
+
escalateOnNoResolve?: boolean;
|
|
2061
|
+
}[];
|
|
2062
|
+
maintenanceWindows?: {
|
|
2063
|
+
id?: string;
|
|
2064
|
+
name?: string;
|
|
2065
|
+
reason?: string;
|
|
2066
|
+
createdBy?: string;
|
|
2067
|
+
startTime?: Date;
|
|
2068
|
+
endTime?: Date;
|
|
2069
|
+
suppressedEventTypes?: ("custom" | "policy_violation" | "rate_limit_exceeded" | "brute_force" | "credential_stuffing" | "account_lockout" | "suspicious_login" | "session_hijack" | "mfa_bypass_attempt" | "privilege_escalation" | "unauthorized_access" | "permission_denied_spike" | "api_key_abuse" | "invalid_token" | "token_revoked" | "unusual_access_pattern" | "impossible_travel" | "new_device_login" | "unusual_time_access" | "security_config_change" | "admin_action" | "key_rotation" | "data_exfiltration" | "injection_attempt" | "xss_attempt" | "certificate_expiry" | "secret_exposed" | "vulnerability_detected" | "incident_created" | "incident_escalated")[];
|
|
2070
|
+
suppressedSeverities?: ("info" | "low" | "medium" | "high" | "critical")[];
|
|
2071
|
+
suppressAll?: boolean;
|
|
2072
|
+
}[];
|
|
2073
|
+
deduplicationWindowSeconds?: number;
|
|
2074
|
+
redisKeyPrefix?: string;
|
|
2075
|
+
defaultCooldownSeconds?: number;
|
|
2076
|
+
channelSettings?: {
|
|
2077
|
+
email?: {
|
|
2078
|
+
host?: string;
|
|
2079
|
+
port?: number;
|
|
2080
|
+
from?: string;
|
|
2081
|
+
secure?: boolean;
|
|
2082
|
+
auth?: {
|
|
2083
|
+
user?: string;
|
|
2084
|
+
pass?: string;
|
|
2085
|
+
};
|
|
2086
|
+
defaultRecipients?: string[];
|
|
2087
|
+
};
|
|
2088
|
+
webhook?: {
|
|
2089
|
+
timeout?: number;
|
|
2090
|
+
headers?: Record<string, string>;
|
|
2091
|
+
defaultUrl?: string;
|
|
2092
|
+
};
|
|
2093
|
+
slack?: {
|
|
2094
|
+
webhookUrl?: string;
|
|
2095
|
+
defaultChannel?: string;
|
|
2096
|
+
username?: string;
|
|
2097
|
+
iconEmoji?: string;
|
|
2098
|
+
};
|
|
2099
|
+
pagerduty?: {
|
|
2100
|
+
routingKey?: string;
|
|
2101
|
+
apiUrl?: string;
|
|
2102
|
+
};
|
|
2103
|
+
sns?: {
|
|
2104
|
+
region?: string;
|
|
2105
|
+
topicArn?: string;
|
|
2106
|
+
accessKeyId?: string;
|
|
2107
|
+
secretAccessKey?: string;
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
}>;
|
|
2111
|
+
/**
|
|
2112
|
+
* Default alerting configuration
|
|
2113
|
+
*/
|
|
2114
|
+
export declare const DEFAULT_ALERT_CONFIG: Partial<AlertConfig>;
|
|
2115
|
+
/**
|
|
2116
|
+
* Alert lifecycle events
|
|
2117
|
+
*/
|
|
2118
|
+
export interface AlertEvent {
|
|
2119
|
+
type: 'created' | 'sent' | 'acknowledged' | 'resolved' | 'escalated' | 'suppressed' | 'deduplicated';
|
|
2120
|
+
alert: SecurityAlert;
|
|
2121
|
+
timestamp: Date;
|
|
2122
|
+
channel?: AlertChannel;
|
|
2123
|
+
metadata?: Record<string, unknown>;
|
|
2124
|
+
}
|
|
2125
|
+
export type AlertEventCallback = (event: AlertEvent) => void | Promise<void>;
|
|
2126
|
+
/**
|
|
2127
|
+
* Alert delivery result
|
|
2128
|
+
*/
|
|
2129
|
+
export interface AlertDeliveryResult {
|
|
2130
|
+
channel: AlertChannel;
|
|
2131
|
+
success: boolean;
|
|
2132
|
+
messageId?: string;
|
|
2133
|
+
error?: string;
|
|
2134
|
+
timestamp: Date;
|
|
2135
|
+
retryCount: number;
|
|
2136
|
+
}
|
|
2137
|
+
export declare const alertDeliveryResultSchema: z.ZodObject<{
|
|
2138
|
+
channel: z.ZodNativeEnum<{
|
|
2139
|
+
readonly SLACK: "slack";
|
|
2140
|
+
readonly PAGERDUTY: "pagerduty";
|
|
2141
|
+
readonly EMAIL: "email";
|
|
2142
|
+
readonly WEBHOOK: "webhook";
|
|
2143
|
+
readonly SNS: "sns";
|
|
2144
|
+
}>;
|
|
2145
|
+
success: z.ZodBoolean;
|
|
2146
|
+
messageId: z.ZodOptional<z.ZodString>;
|
|
2147
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2148
|
+
timestamp: z.ZodDate;
|
|
2149
|
+
retryCount: z.ZodNumber;
|
|
2150
|
+
}, "strip", z.ZodTypeAny, {
|
|
2151
|
+
error?: string;
|
|
2152
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
2153
|
+
timestamp?: Date;
|
|
2154
|
+
retryCount?: number;
|
|
2155
|
+
success?: boolean;
|
|
2156
|
+
messageId?: string;
|
|
2157
|
+
}, {
|
|
2158
|
+
error?: string;
|
|
2159
|
+
channel?: "email" | "webhook" | "slack" | "pagerduty" | "sns";
|
|
2160
|
+
timestamp?: Date;
|
|
2161
|
+
retryCount?: number;
|
|
2162
|
+
success?: boolean;
|
|
2163
|
+
messageId?: string;
|
|
2164
|
+
}>;
|
|
2165
|
+
//# sourceMappingURL=types.d.ts.map
|