@datasynx/agentic-ai-cartography 2.8.0 → 2.10.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/dist/api-bin.js +1 -1
- package/dist/{chunk-5D5ZZEZM.js → chunk-ASCA3UFM.js} +148 -2
- package/dist/chunk-ASCA3UFM.js.map +1 -0
- package/dist/{chunk-TBPGFEMQ.js → chunk-W4Q3TXHR.js} +162 -2
- package/dist/chunk-W4Q3TXHR.js.map +1 -0
- package/dist/cli.js +4 -3
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +316 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +105 -1
- package/dist/index.d.ts +105 -1
- package/dist/index.js +312 -2
- package/dist/index.js.map +1 -1
- package/dist/mcp-bin.js +1 -1
- package/llms-full.txt +1 -0
- package/package.json +1 -1
- package/server.json +2 -2
- package/dist/chunk-5D5ZZEZM.js.map +0 -1
- package/dist/chunk-TBPGFEMQ.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -2450,6 +2450,8 @@ interface ApiServerOptions extends BindGuardOptions {
|
|
|
2450
2450
|
tenant?: TenantOptions;
|
|
2451
2451
|
/** Expose `/graphql` (default true). */
|
|
2452
2452
|
graphql?: boolean;
|
|
2453
|
+
/** Serve the web dashboard at `/` and `/app` (default true; 4.1). */
|
|
2454
|
+
dashboard?: boolean;
|
|
2453
2455
|
/**
|
|
2454
2456
|
* RBAC (4.5). When `store` holds credentials, the API runs in RBAC mode: a request's
|
|
2455
2457
|
* bearer token must resolve to a {@link Principal} (else 401), the principal's role must
|
|
@@ -2613,6 +2615,8 @@ interface StartApiOptions {
|
|
|
2613
2615
|
token?: string;
|
|
2614
2616
|
/** Expose `/graphql` (default true). */
|
|
2615
2617
|
graphql?: boolean;
|
|
2618
|
+
/** Serve the web dashboard at `/` and `/app` (default true; 4.1). */
|
|
2619
|
+
dashboard?: boolean;
|
|
2616
2620
|
/** Default tenant served when a request names none. */
|
|
2617
2621
|
tenant?: string;
|
|
2618
2622
|
/** Reject unauthenticated requests even on loopback (RBAC `required` mode). */
|
|
@@ -2628,6 +2632,27 @@ declare function parseApiArgs(argv: string[]): ParsedApiArgs;
|
|
|
2628
2632
|
/** Open the catalog, build the read backend, and start the API server. Returns the server. */
|
|
2629
2633
|
declare function startApi(opts?: StartApiOptions): Promise<Server>;
|
|
2630
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* The self-hostable web dashboard (4.1).
|
|
2637
|
+
*
|
|
2638
|
+
* `dashboardHtml()` returns a SINGLE self-contained HTML document — inlined CSS +
|
|
2639
|
+
* vanilla JS, **no CDN, no React/Vite/D3, zero new dependency** — that fetches the
|
|
2640
|
+
* live `/v1/*` API of the same server (WS 4.2) and renders a searchable node list, an
|
|
2641
|
+
* interactive Canvas topology with drill-down, and a detail panel. It is served by the
|
|
2642
|
+
* API server at `GET /` and `GET /app`; the page shell is public, but the DATA it
|
|
2643
|
+
* fetches is gated by the existing `/v1` bearer/RBAC (WS 4.2/4.5) — the page carries a
|
|
2644
|
+
* bearer token (entered once, kept in sessionStorage) and an optional tenant header.
|
|
2645
|
+
*
|
|
2646
|
+
* Because the dashboard renders from the API response shapes (the `schemas.ts`
|
|
2647
|
+
* projections), it inherits the consent-safe projection (no raw node metadata) for free.
|
|
2648
|
+
*/
|
|
2649
|
+
interface DashboardOptions {
|
|
2650
|
+
/** Server version, shown in the header. */
|
|
2651
|
+
version?: string;
|
|
2652
|
+
}
|
|
2653
|
+
/** Build the complete dashboard HTML document. */
|
|
2654
|
+
declare function dashboardHtml(opts?: DashboardOptions): string;
|
|
2655
|
+
|
|
2631
2656
|
declare const installedAppsScanner: Scanner;
|
|
2632
2657
|
|
|
2633
2658
|
/** Well-known listening ports → node type + service name. */
|
|
@@ -3493,6 +3518,85 @@ declare function executeNlQuery(db: CartographyDB, sessionId: string, search: Se
|
|
|
3493
3518
|
/** Convenience: parse + execute in one call. */
|
|
3494
3519
|
declare function resolveNlQuery(db: CartographyDB, sessionId: string, search: SearchFn, raw: string, opts?: NlQueryOptions): Promise<NlQueryResult>;
|
|
3495
3520
|
|
|
3521
|
+
/**
|
|
3522
|
+
* Multi-cloud correlation engine (5.1).
|
|
3523
|
+
*
|
|
3524
|
+
* A pure, deterministic, **non-destructive** layer that takes the nodes/edges of one or
|
|
3525
|
+
* more discovery sessions and produces a correlated overlay: nodes that are the same
|
|
3526
|
+
* logical resource — by exact global identity (`globalId`, 2.9) OR a shared strong
|
|
3527
|
+
* cross-cloud signal (DNS name / public IP / endpoint) — are collapsed into one
|
|
3528
|
+
* **canonical** node carrying its `members` + observed `providers`, and a confidence-
|
|
3529
|
+
* scored `same_as` correlation edge is emitted per merge. The raw `(id, session_id)`
|
|
3530
|
+
* rows are never mutated; this is an additive view (`correlate_topology` MCP tool / export).
|
|
3531
|
+
*/
|
|
3532
|
+
|
|
3533
|
+
/** Correlation evidence tiers, strongest first — the single confidence rubric for 5.1. */
|
|
3534
|
+
type CorrelationSignal = 'global-identity' | 'dns-name' | 'public-ip' | 'endpoint' | 'private-ip';
|
|
3535
|
+
/** Strictly ordered, all in (0,1]. A private IP is weak (NAT reuse), so it never alone merges. */
|
|
3536
|
+
declare const CORRELATION_CONFIDENCE: Record<CorrelationSignal, number>;
|
|
3537
|
+
interface CanonicalNode {
|
|
3538
|
+
/** Stable canonical id — the lexicographically-smallest member id (deterministic). */
|
|
3539
|
+
id: string;
|
|
3540
|
+
type: string;
|
|
3541
|
+
name: string;
|
|
3542
|
+
/** All raw node ids that collapsed into this canonical entity. */
|
|
3543
|
+
members: string[];
|
|
3544
|
+
/** Distinct providers that observed this entity (e.g. ['aws','k8s']) — the cross-cloud span. */
|
|
3545
|
+
providers: string[];
|
|
3546
|
+
/** Cluster confidence = the weakest merge signal that holds the cluster together. */
|
|
3547
|
+
confidence: number;
|
|
3548
|
+
}
|
|
3549
|
+
interface CorrelationEdge {
|
|
3550
|
+
sourceId: string;
|
|
3551
|
+
targetId: string;
|
|
3552
|
+
relationship: 'same_as';
|
|
3553
|
+
signal: CorrelationSignal;
|
|
3554
|
+
confidence: number;
|
|
3555
|
+
evidence: string;
|
|
3556
|
+
}
|
|
3557
|
+
interface CorrelatedTopology {
|
|
3558
|
+
canonical: CanonicalNode[];
|
|
3559
|
+
correlations: CorrelationEdge[];
|
|
3560
|
+
/** Summary: distinct logical entities after correlation, and how many raw nodes collapsed. */
|
|
3561
|
+
summary: {
|
|
3562
|
+
rawNodes: number;
|
|
3563
|
+
canonicalNodes: number;
|
|
3564
|
+
collapsed: number;
|
|
3565
|
+
crossCloud: number;
|
|
3566
|
+
};
|
|
3567
|
+
}
|
|
3568
|
+
/**
|
|
3569
|
+
* Correlate a topology. Deterministic: same input → same output (stable ordering, no clock).
|
|
3570
|
+
* Pairs nodes that share a strong signal, unions them above {@link MERGE_THRESHOLD}, and emits
|
|
3571
|
+
* one canonical node per cluster plus the `same_as` edges that justified each merge.
|
|
3572
|
+
*/
|
|
3573
|
+
declare function correlateTopology(nodes: NodeRow[], _edges?: EdgeRow[]): CorrelatedTopology;
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Correlation signal extraction (5.1).
|
|
3577
|
+
*
|
|
3578
|
+
* Pull the identity signals a node carries — host/endpoint, IPv4 addresses, DNS
|
|
3579
|
+
* names, and the discovering provider — from its structured `id`/`name`/`metadata`.
|
|
3580
|
+
* Pure and deterministic; the regexes are anchored/bounded (ReDoS-safe). These signals
|
|
3581
|
+
* feed the cross-cloud correlation engine, which collapses the same logical resource
|
|
3582
|
+
* discovered via different providers (an AWS EC2 host + an on-prem `host:` node sharing
|
|
3583
|
+
* a DNS name) that `globalId` alone never merges.
|
|
3584
|
+
*/
|
|
3585
|
+
|
|
3586
|
+
interface NodeSignals {
|
|
3587
|
+
/** The discovering provider, parsed from a `{type}:{provider}:{id}` id (e.g. `aws`, `gcp`, `k8s`), if any. */
|
|
3588
|
+
provider?: string;
|
|
3589
|
+
/** Endpoint `host:port` tokens (strong same-service signal). */
|
|
3590
|
+
endpoints: string[];
|
|
3591
|
+
/** IPv4 addresses, partitioned into public vs private (RFC-1918). */
|
|
3592
|
+
publicIps: string[];
|
|
3593
|
+
privateIps: string[];
|
|
3594
|
+
/** Multi-label DNS / FQDN names. */
|
|
3595
|
+
dnsNames: string[];
|
|
3596
|
+
}
|
|
3597
|
+
/** Extract the correlation signals from a node. Pure + deterministic; values de-duplicated + sorted. */
|
|
3598
|
+
declare function extractSignals(node: NodeRow): NodeSignals;
|
|
3599
|
+
|
|
3496
3600
|
/**
|
|
3497
3601
|
* Cost attribution (3.3) — turn the topology into a FinOps lens.
|
|
3498
3602
|
*
|
|
@@ -4275,4 +4379,4 @@ declare function logInfo(message: string, context?: Record<string, unknown>): vo
|
|
|
4275
4379
|
declare function logWarn(message: string, context?: Record<string, unknown>): void;
|
|
4276
4380
|
declare function logError(message: string, context?: Record<string, unknown>): void;
|
|
4277
4381
|
|
|
4278
|
-
export { ACTIONS, ANOMALY_KINDS, ANOMALY_SEVERITIES, type Action, ActionSchema, type AgentProvider, type AgentRunContext, type AgentTool, type Anomaly, type AnomalyConfig, type AnomalyKind, type AnomalySeverity, type AnomalyThresholds, type AnonViolation, type AnonymizationLevel, type ApiServerOptions, type AskUserFn, type AuthConfig, AuthConfigSchema, AuthorizationError, type Awaitable, type BackstageEntity, type BackstageMapOptions, type BindGuardOptions, type BoltDriver, type BoltRecord, type BoltResult, type BoltSession, CLIENTS, CONFIDENCE, COST_PERIODS, type CartographyConfig, CartographyDB, type CartographyMapData, type CentralDbConfig, CentralDbConfigSchema, type ClassifiedItem, type ClassifyInput, type ClassifyResult, type ClientSpec, type Cluster, ClusterSchema, type ComplianceInput, type ComplianceReport, ComplianceReportSchema, type ComplianceRule, ComplianceRuleSchema, type Condition, ConditionSchema, ConfigError, type ConfigFile, ConfigFileSchema, type ConfigFormat, type Connection, ConnectionSchema, type Contributor, type ControlResult, ControlResultSchema, type CostEntry, CostEntrySchema, type CostPeriod, type CostRecord, type CostSource, type CreateMcpServerOptions, type CredentialConfig, CredentialConfigSchema, type CredentialDb, type CredentialRecord, type CredentialStore, type CronFields, CsvCostSource, type CsvCostSourceOptions, DEFAULT_ANOMALY_THRESHOLDS, DEFAULT_FAST_MODEL, DEFAULT_INGEST_QUOTA, DEFAULT_LEAD_MODEL, DEFAULT_SERVER_NAME, DEFAULT_TENANT, DOMAIN_COLORS, DOMAIN_PALETTE, DRIFT_FIELDS, type DataAsset, DataAssetSchema, type DependencyQuery, type DiscoveryEdge, type DiscoveryEvent, type DiscoveryFn, type DiscoveryNode, type DriftAlert, type DriftAlertItem, type DriftConfig, DriftConfigSchema, type DriftField, type DriftItemKind, type DriftRunRow, type DriftSink, type DriftSinkConfig, EDGE_RELATIONSHIPS, type EdgeRelationship, type EdgeRow, EdgeSchema, type EmbeddingProvider, type EnrichResult, type EntryOptions, type EstablishedConn, type EvidenceKind, type FetchLike, type FragmentKind, GraphStoreBackend, type GraphSummary, type HealthResult, type HttpOptions, INGEST_SCHEMA_VERSION, type IngestEnvelope, IngestEnvelopeSchema, type IngestHandler, type IngestHandlerOptions, type IngestOptions, type IngestResponse, type IngestResult, type InstallPlan, InvalidTenantError, type JiraIssue, type JiraOptions, JiraSink, type JiraSinkOptions, LOOPBACK_HOSTS, type LocalDiscoveryOptions, type LocalDiscoveryResult, type LogEntry, type LogLevel, MCP_BIN, type MatchStrategy, NODE_TYPES, NODE_TYPE_GROUPS, type NlIntent, type NlQueryOptions, type NlQueryResult, type NlRelation, type NodeAttribution, type NodeChange, type NodeIdentity, type NodeQuery, type NodeRow, NodeSchema, type NodeType, type NodesResult, NotFoundError, OUTPUT_FORMATS, type OrgKeyOptions, type OrgSummary, type OsKind, type OutputFormat, PACKAGE_NAME, PAGERDUTY_ENQUEUE_URL, PENDING_STATUSES, PERSONAL, PORT_MAP, PRIVATE_IP, PUSH_SCHEMA_VERSION, type PagerDutyEvent, PagerDutySink, type PagerDutySinkOptions, type ParsedApiArgs, type PendingShareRow, type PendingStatus, type PlanOptions, type PolicyResult, type PostJsonOptions, type Principal, PrincipalSchema, type ProviderFactory, type ProviderName, ProviderRegistry, type PushItem, type PushOptions, type PushResult, type QueryBackend, type QuotaConfig, type QuotaDecision, RELATION_TO_DIRECTION, ROLES, RateLimiter, type ResolveContext, type ResolveOptions, type Role, RoleSchema, type RuleCheck, RuleCheckSchema, type RuleScope, type Ruleset, RulesetSchema, type RunDriftOptions, SCAN_ARG_PATTERNS, SCHEMA_VERSION, SDL, SECURITY_METADATA_KEYS, SEVERITIES, SEVERITY_WEIGHT, SHARING_LEVELS, type ScanArgKind, type ScanContext, type ScanHintParams, type ScanResult, type Scanner, type ScannerPlugin, type ScannerPluginApi, ScannerRegistry, ScannerShape, type ScheduleConfig, ScheduleConfigSchema, type ScheduledRunResult, type Scope, type SearchFn, type SemanticSearchOptions, type ServerEntry, type SessionRow, type Severity, type SharePreview, type SharePreviewEntry, type SharingLevel, SharingLevelSchema, type SharingPolicy, type ShellKind, type SlackMessage, SlackSink, SqliteCredentialStore, SqliteQueryBackend, SqliteStoreBackend, type StartApiOptions, StdoutSink, type StoreBackend, type StoreBackendOptions, type SyncClassifyOptions, type SyncClassifyResult, TENANT_HEADER, type TenantContext, TenantMismatchError, type TenantOptions, type ToolResult, type TopologyDelta, type TopologyDiff, type TopologyInput, type TraversalResult, VectorStore, WebhookSink, type WebhookSinkOptions, applyInstall, applySharingLevel, assertReadOnly, assertSafeBind, assertSafeScanArg, assertSameTenant, assignColors, authorize, bearerToken, bookmarksScanner, buildCartographyToolHandlers, buildMapData, buildOpenApiDocument, buildReport, buildSinks, can, centralDbFromEnv, checkBearer, checkPrerequisites, checkReadOnly, clampText, classify, classifyDrift, cleanupTempFiles, cloudAwsScanner, cloudAzureScanner, cloudGcpScanner, codeAddMcpCommand, computeCentroid, computeClusterBounds, computeIdentity, connectionsScanner, contentHash, createBashTool, createCartographyTools, createClaudeProvider, createDefaultRegistry, createHashEmbedder, createIngestHandler, createLocalEmbedder, createMcpServer, createOllamaProvider, createOpenAIProvider, createScanRunner, createSemanticSearch, createSqliteQueryBackend, currentOs, cursorDeeplink, databasesScanner, deepMerge, defaultAllowedHosts, defaultConfig, defaultContext, defaultProviderRegistry, defaultRegistry, defaultServerEntry, definePlugin, deriveSessionName, detectAnomalies, detectOrphans, detectShadowIt, diffTopology, edgesToConnections, enrichCosts, entitiesToYaml, evaluateCheck, evaluateRule, evidenceLine, executeGraphql, executeNlQuery, exportAll, exportBackstageYAML, exportComplianceReport, exportCostCSV, exportCostSummary, exportDiscoveryApp, exportJGF, exportJSON, extractListeningPorts, filterBySeverity, findAnonViolations, formatComplianceText, formatJira, formatPagerDuty, formatSlack, generateDependencyMermaid, generateDiffMermaid, generateTopologyMermaid, getClient, getRuleset, globalId, groupByDomain, handleGraphqlGet, hashToken, hexCorners, hexDistance, hexNeighbors, hexRing, hexSpiral, hexToPixel, hmacKey, hostname, ingestEnvelope, installedAppsScanner, isLoopbackHost, isPersonalHost, isReadOnlyCommand, isRemembered, isSecureWebhookUrl, k8sScanner, keyMetaOf, layoutClusters, listClients, listRulesets, loadConfig, loadOrgKey, loadPlugins, loadRuleset, localDiscoveryFn, log, logDebug, logError, logInfo, logWarn, machineId, maxSeverity, mcpServerObject, newAnomalies, nextRun, nodesToAssets, normalizeId, normalizeTenant, openStoreBackend, orgKeyPath, osUser, parseApiArgs, parseComposeDeps, parseConfig, parseConnectionString, parseCostCsv, parseCron, parseEstablished, parseNginxUpstreams, parseNlQuery, parseScanHint, pixelToHex, planInstall, portsScanner, postJson, previewShare, pseudonymize, pseudonymizeFragment, pseudonymizeString, pushDeltas, readConfigFile, redactConnectionString, redactSecrets, redactValue, renderDiff, resolveEffectiveLevel, resolveNlQuery, resolvePrincipal, resolveSharingLevel, resolveTenant, revalidateAnonymized, reversalKey, reversePseudonym, rotateOrgKey, runApi, runDiscovery, runDrift, runHttp, runLocalDiscovery, runOnce, runStdio, runSyncClassify, safeEnv, safeJson, safetyHook, sanitizeUntrusted, sanitizeValue, scopeReads, scoreTopology, securityRelevantChange, serializeConfig, serviceConfigScanner, setVerbose, shadeVariant, shapeToJsonSchema, shareHash, splitSegments, stableStringify, startApi, stripSensitive, timingSafeEqual, toBackstageEntities, validateScanner, vscodeDeeplink, zodToJsonSchema };
|
|
4382
|
+
export { ACTIONS, ANOMALY_KINDS, ANOMALY_SEVERITIES, type Action, ActionSchema, type AgentProvider, type AgentRunContext, type AgentTool, type Anomaly, type AnomalyConfig, type AnomalyKind, type AnomalySeverity, type AnomalyThresholds, type AnonViolation, type AnonymizationLevel, type ApiServerOptions, type AskUserFn, type AuthConfig, AuthConfigSchema, AuthorizationError, type Awaitable, type BackstageEntity, type BackstageMapOptions, type BindGuardOptions, type BoltDriver, type BoltRecord, type BoltResult, type BoltSession, CLIENTS, CONFIDENCE, CORRELATION_CONFIDENCE, COST_PERIODS, type CanonicalNode, type CartographyConfig, CartographyDB, type CartographyMapData, type CentralDbConfig, CentralDbConfigSchema, type ClassifiedItem, type ClassifyInput, type ClassifyResult, type ClientSpec, type Cluster, ClusterSchema, type ComplianceInput, type ComplianceReport, ComplianceReportSchema, type ComplianceRule, ComplianceRuleSchema, type Condition, ConditionSchema, ConfigError, type ConfigFile, ConfigFileSchema, type ConfigFormat, type Connection, ConnectionSchema, type Contributor, type ControlResult, ControlResultSchema, type CorrelatedTopology, type CorrelationEdge, type CorrelationSignal, type CostEntry, CostEntrySchema, type CostPeriod, type CostRecord, type CostSource, type CreateMcpServerOptions, type CredentialConfig, CredentialConfigSchema, type CredentialDb, type CredentialRecord, type CredentialStore, type CronFields, CsvCostSource, type CsvCostSourceOptions, DEFAULT_ANOMALY_THRESHOLDS, DEFAULT_FAST_MODEL, DEFAULT_INGEST_QUOTA, DEFAULT_LEAD_MODEL, DEFAULT_SERVER_NAME, DEFAULT_TENANT, DOMAIN_COLORS, DOMAIN_PALETTE, DRIFT_FIELDS, type DashboardOptions, type DataAsset, DataAssetSchema, type DependencyQuery, type DiscoveryEdge, type DiscoveryEvent, type DiscoveryFn, type DiscoveryNode, type DriftAlert, type DriftAlertItem, type DriftConfig, DriftConfigSchema, type DriftField, type DriftItemKind, type DriftRunRow, type DriftSink, type DriftSinkConfig, EDGE_RELATIONSHIPS, type EdgeRelationship, type EdgeRow, EdgeSchema, type EmbeddingProvider, type EnrichResult, type EntryOptions, type EstablishedConn, type EvidenceKind, type FetchLike, type FragmentKind, GraphStoreBackend, type GraphSummary, type HealthResult, type HttpOptions, INGEST_SCHEMA_VERSION, type IngestEnvelope, IngestEnvelopeSchema, type IngestHandler, type IngestHandlerOptions, type IngestOptions, type IngestResponse, type IngestResult, type InstallPlan, InvalidTenantError, type JiraIssue, type JiraOptions, JiraSink, type JiraSinkOptions, LOOPBACK_HOSTS, type LocalDiscoveryOptions, type LocalDiscoveryResult, type LogEntry, type LogLevel, MCP_BIN, type MatchStrategy, NODE_TYPES, NODE_TYPE_GROUPS, type NlIntent, type NlQueryOptions, type NlQueryResult, type NlRelation, type NodeAttribution, type NodeChange, type NodeIdentity, type NodeQuery, type NodeRow, NodeSchema, type NodeSignals, type NodeType, type NodesResult, NotFoundError, OUTPUT_FORMATS, type OrgKeyOptions, type OrgSummary, type OsKind, type OutputFormat, PACKAGE_NAME, PAGERDUTY_ENQUEUE_URL, PENDING_STATUSES, PERSONAL, PORT_MAP, PRIVATE_IP, PUSH_SCHEMA_VERSION, type PagerDutyEvent, PagerDutySink, type PagerDutySinkOptions, type ParsedApiArgs, type PendingShareRow, type PendingStatus, type PlanOptions, type PolicyResult, type PostJsonOptions, type Principal, PrincipalSchema, type ProviderFactory, type ProviderName, ProviderRegistry, type PushItem, type PushOptions, type PushResult, type QueryBackend, type QuotaConfig, type QuotaDecision, RELATION_TO_DIRECTION, ROLES, RateLimiter, type ResolveContext, type ResolveOptions, type Role, RoleSchema, type RuleCheck, RuleCheckSchema, type RuleScope, type Ruleset, RulesetSchema, type RunDriftOptions, SCAN_ARG_PATTERNS, SCHEMA_VERSION, SDL, SECURITY_METADATA_KEYS, SEVERITIES, SEVERITY_WEIGHT, SHARING_LEVELS, type ScanArgKind, type ScanContext, type ScanHintParams, type ScanResult, type Scanner, type ScannerPlugin, type ScannerPluginApi, ScannerRegistry, ScannerShape, type ScheduleConfig, ScheduleConfigSchema, type ScheduledRunResult, type Scope, type SearchFn, type SemanticSearchOptions, type ServerEntry, type SessionRow, type Severity, type SharePreview, type SharePreviewEntry, type SharingLevel, SharingLevelSchema, type SharingPolicy, type ShellKind, type SlackMessage, SlackSink, SqliteCredentialStore, SqliteQueryBackend, SqliteStoreBackend, type StartApiOptions, StdoutSink, type StoreBackend, type StoreBackendOptions, type SyncClassifyOptions, type SyncClassifyResult, TENANT_HEADER, type TenantContext, TenantMismatchError, type TenantOptions, type ToolResult, type TopologyDelta, type TopologyDiff, type TopologyInput, type TraversalResult, VectorStore, WebhookSink, type WebhookSinkOptions, applyInstall, applySharingLevel, assertReadOnly, assertSafeBind, assertSafeScanArg, assertSameTenant, assignColors, authorize, bearerToken, bookmarksScanner, buildCartographyToolHandlers, buildMapData, buildOpenApiDocument, buildReport, buildSinks, can, centralDbFromEnv, checkBearer, checkPrerequisites, checkReadOnly, clampText, classify, classifyDrift, cleanupTempFiles, cloudAwsScanner, cloudAzureScanner, cloudGcpScanner, codeAddMcpCommand, computeCentroid, computeClusterBounds, computeIdentity, connectionsScanner, contentHash, correlateTopology, createBashTool, createCartographyTools, createClaudeProvider, createDefaultRegistry, createHashEmbedder, createIngestHandler, createLocalEmbedder, createMcpServer, createOllamaProvider, createOpenAIProvider, createScanRunner, createSemanticSearch, createSqliteQueryBackend, currentOs, cursorDeeplink, dashboardHtml, databasesScanner, deepMerge, defaultAllowedHosts, defaultConfig, defaultContext, defaultProviderRegistry, defaultRegistry, defaultServerEntry, definePlugin, deriveSessionName, detectAnomalies, detectOrphans, detectShadowIt, diffTopology, edgesToConnections, enrichCosts, entitiesToYaml, evaluateCheck, evaluateRule, evidenceLine, executeGraphql, executeNlQuery, exportAll, exportBackstageYAML, exportComplianceReport, exportCostCSV, exportCostSummary, exportDiscoveryApp, exportJGF, exportJSON, extractListeningPorts, extractSignals, filterBySeverity, findAnonViolations, formatComplianceText, formatJira, formatPagerDuty, formatSlack, generateDependencyMermaid, generateDiffMermaid, generateTopologyMermaid, getClient, getRuleset, globalId, groupByDomain, handleGraphqlGet, hashToken, hexCorners, hexDistance, hexNeighbors, hexRing, hexSpiral, hexToPixel, hmacKey, hostname, ingestEnvelope, installedAppsScanner, isLoopbackHost, isPersonalHost, isReadOnlyCommand, isRemembered, isSecureWebhookUrl, k8sScanner, keyMetaOf, layoutClusters, listClients, listRulesets, loadConfig, loadOrgKey, loadPlugins, loadRuleset, localDiscoveryFn, log, logDebug, logError, logInfo, logWarn, machineId, maxSeverity, mcpServerObject, newAnomalies, nextRun, nodesToAssets, normalizeId, normalizeTenant, openStoreBackend, orgKeyPath, osUser, parseApiArgs, parseComposeDeps, parseConfig, parseConnectionString, parseCostCsv, parseCron, parseEstablished, parseNginxUpstreams, parseNlQuery, parseScanHint, pixelToHex, planInstall, portsScanner, postJson, previewShare, pseudonymize, pseudonymizeFragment, pseudonymizeString, pushDeltas, readConfigFile, redactConnectionString, redactSecrets, redactValue, renderDiff, resolveEffectiveLevel, resolveNlQuery, resolvePrincipal, resolveSharingLevel, resolveTenant, revalidateAnonymized, reversalKey, reversePseudonym, rotateOrgKey, runApi, runDiscovery, runDrift, runHttp, runLocalDiscovery, runOnce, runStdio, runSyncClassify, safeEnv, safeJson, safetyHook, sanitizeUntrusted, sanitizeValue, scopeReads, scoreTopology, securityRelevantChange, serializeConfig, serviceConfigScanner, setVerbose, shadeVariant, shapeToJsonSchema, shareHash, splitSegments, stableStringify, startApi, stripSensitive, timingSafeEqual, toBackstageEntities, validateScanner, vscodeDeeplink, zodToJsonSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -2450,6 +2450,8 @@ interface ApiServerOptions extends BindGuardOptions {
|
|
|
2450
2450
|
tenant?: TenantOptions;
|
|
2451
2451
|
/** Expose `/graphql` (default true). */
|
|
2452
2452
|
graphql?: boolean;
|
|
2453
|
+
/** Serve the web dashboard at `/` and `/app` (default true; 4.1). */
|
|
2454
|
+
dashboard?: boolean;
|
|
2453
2455
|
/**
|
|
2454
2456
|
* RBAC (4.5). When `store` holds credentials, the API runs in RBAC mode: a request's
|
|
2455
2457
|
* bearer token must resolve to a {@link Principal} (else 401), the principal's role must
|
|
@@ -2613,6 +2615,8 @@ interface StartApiOptions {
|
|
|
2613
2615
|
token?: string;
|
|
2614
2616
|
/** Expose `/graphql` (default true). */
|
|
2615
2617
|
graphql?: boolean;
|
|
2618
|
+
/** Serve the web dashboard at `/` and `/app` (default true; 4.1). */
|
|
2619
|
+
dashboard?: boolean;
|
|
2616
2620
|
/** Default tenant served when a request names none. */
|
|
2617
2621
|
tenant?: string;
|
|
2618
2622
|
/** Reject unauthenticated requests even on loopback (RBAC `required` mode). */
|
|
@@ -2628,6 +2632,27 @@ declare function parseApiArgs(argv: string[]): ParsedApiArgs;
|
|
|
2628
2632
|
/** Open the catalog, build the read backend, and start the API server. Returns the server. */
|
|
2629
2633
|
declare function startApi(opts?: StartApiOptions): Promise<Server>;
|
|
2630
2634
|
|
|
2635
|
+
/**
|
|
2636
|
+
* The self-hostable web dashboard (4.1).
|
|
2637
|
+
*
|
|
2638
|
+
* `dashboardHtml()` returns a SINGLE self-contained HTML document — inlined CSS +
|
|
2639
|
+
* vanilla JS, **no CDN, no React/Vite/D3, zero new dependency** — that fetches the
|
|
2640
|
+
* live `/v1/*` API of the same server (WS 4.2) and renders a searchable node list, an
|
|
2641
|
+
* interactive Canvas topology with drill-down, and a detail panel. It is served by the
|
|
2642
|
+
* API server at `GET /` and `GET /app`; the page shell is public, but the DATA it
|
|
2643
|
+
* fetches is gated by the existing `/v1` bearer/RBAC (WS 4.2/4.5) — the page carries a
|
|
2644
|
+
* bearer token (entered once, kept in sessionStorage) and an optional tenant header.
|
|
2645
|
+
*
|
|
2646
|
+
* Because the dashboard renders from the API response shapes (the `schemas.ts`
|
|
2647
|
+
* projections), it inherits the consent-safe projection (no raw node metadata) for free.
|
|
2648
|
+
*/
|
|
2649
|
+
interface DashboardOptions {
|
|
2650
|
+
/** Server version, shown in the header. */
|
|
2651
|
+
version?: string;
|
|
2652
|
+
}
|
|
2653
|
+
/** Build the complete dashboard HTML document. */
|
|
2654
|
+
declare function dashboardHtml(opts?: DashboardOptions): string;
|
|
2655
|
+
|
|
2631
2656
|
declare const installedAppsScanner: Scanner;
|
|
2632
2657
|
|
|
2633
2658
|
/** Well-known listening ports → node type + service name. */
|
|
@@ -3493,6 +3518,85 @@ declare function executeNlQuery(db: CartographyDB, sessionId: string, search: Se
|
|
|
3493
3518
|
/** Convenience: parse + execute in one call. */
|
|
3494
3519
|
declare function resolveNlQuery(db: CartographyDB, sessionId: string, search: SearchFn, raw: string, opts?: NlQueryOptions): Promise<NlQueryResult>;
|
|
3495
3520
|
|
|
3521
|
+
/**
|
|
3522
|
+
* Multi-cloud correlation engine (5.1).
|
|
3523
|
+
*
|
|
3524
|
+
* A pure, deterministic, **non-destructive** layer that takes the nodes/edges of one or
|
|
3525
|
+
* more discovery sessions and produces a correlated overlay: nodes that are the same
|
|
3526
|
+
* logical resource — by exact global identity (`globalId`, 2.9) OR a shared strong
|
|
3527
|
+
* cross-cloud signal (DNS name / public IP / endpoint) — are collapsed into one
|
|
3528
|
+
* **canonical** node carrying its `members` + observed `providers`, and a confidence-
|
|
3529
|
+
* scored `same_as` correlation edge is emitted per merge. The raw `(id, session_id)`
|
|
3530
|
+
* rows are never mutated; this is an additive view (`correlate_topology` MCP tool / export).
|
|
3531
|
+
*/
|
|
3532
|
+
|
|
3533
|
+
/** Correlation evidence tiers, strongest first — the single confidence rubric for 5.1. */
|
|
3534
|
+
type CorrelationSignal = 'global-identity' | 'dns-name' | 'public-ip' | 'endpoint' | 'private-ip';
|
|
3535
|
+
/** Strictly ordered, all in (0,1]. A private IP is weak (NAT reuse), so it never alone merges. */
|
|
3536
|
+
declare const CORRELATION_CONFIDENCE: Record<CorrelationSignal, number>;
|
|
3537
|
+
interface CanonicalNode {
|
|
3538
|
+
/** Stable canonical id — the lexicographically-smallest member id (deterministic). */
|
|
3539
|
+
id: string;
|
|
3540
|
+
type: string;
|
|
3541
|
+
name: string;
|
|
3542
|
+
/** All raw node ids that collapsed into this canonical entity. */
|
|
3543
|
+
members: string[];
|
|
3544
|
+
/** Distinct providers that observed this entity (e.g. ['aws','k8s']) — the cross-cloud span. */
|
|
3545
|
+
providers: string[];
|
|
3546
|
+
/** Cluster confidence = the weakest merge signal that holds the cluster together. */
|
|
3547
|
+
confidence: number;
|
|
3548
|
+
}
|
|
3549
|
+
interface CorrelationEdge {
|
|
3550
|
+
sourceId: string;
|
|
3551
|
+
targetId: string;
|
|
3552
|
+
relationship: 'same_as';
|
|
3553
|
+
signal: CorrelationSignal;
|
|
3554
|
+
confidence: number;
|
|
3555
|
+
evidence: string;
|
|
3556
|
+
}
|
|
3557
|
+
interface CorrelatedTopology {
|
|
3558
|
+
canonical: CanonicalNode[];
|
|
3559
|
+
correlations: CorrelationEdge[];
|
|
3560
|
+
/** Summary: distinct logical entities after correlation, and how many raw nodes collapsed. */
|
|
3561
|
+
summary: {
|
|
3562
|
+
rawNodes: number;
|
|
3563
|
+
canonicalNodes: number;
|
|
3564
|
+
collapsed: number;
|
|
3565
|
+
crossCloud: number;
|
|
3566
|
+
};
|
|
3567
|
+
}
|
|
3568
|
+
/**
|
|
3569
|
+
* Correlate a topology. Deterministic: same input → same output (stable ordering, no clock).
|
|
3570
|
+
* Pairs nodes that share a strong signal, unions them above {@link MERGE_THRESHOLD}, and emits
|
|
3571
|
+
* one canonical node per cluster plus the `same_as` edges that justified each merge.
|
|
3572
|
+
*/
|
|
3573
|
+
declare function correlateTopology(nodes: NodeRow[], _edges?: EdgeRow[]): CorrelatedTopology;
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Correlation signal extraction (5.1).
|
|
3577
|
+
*
|
|
3578
|
+
* Pull the identity signals a node carries — host/endpoint, IPv4 addresses, DNS
|
|
3579
|
+
* names, and the discovering provider — from its structured `id`/`name`/`metadata`.
|
|
3580
|
+
* Pure and deterministic; the regexes are anchored/bounded (ReDoS-safe). These signals
|
|
3581
|
+
* feed the cross-cloud correlation engine, which collapses the same logical resource
|
|
3582
|
+
* discovered via different providers (an AWS EC2 host + an on-prem `host:` node sharing
|
|
3583
|
+
* a DNS name) that `globalId` alone never merges.
|
|
3584
|
+
*/
|
|
3585
|
+
|
|
3586
|
+
interface NodeSignals {
|
|
3587
|
+
/** The discovering provider, parsed from a `{type}:{provider}:{id}` id (e.g. `aws`, `gcp`, `k8s`), if any. */
|
|
3588
|
+
provider?: string;
|
|
3589
|
+
/** Endpoint `host:port` tokens (strong same-service signal). */
|
|
3590
|
+
endpoints: string[];
|
|
3591
|
+
/** IPv4 addresses, partitioned into public vs private (RFC-1918). */
|
|
3592
|
+
publicIps: string[];
|
|
3593
|
+
privateIps: string[];
|
|
3594
|
+
/** Multi-label DNS / FQDN names. */
|
|
3595
|
+
dnsNames: string[];
|
|
3596
|
+
}
|
|
3597
|
+
/** Extract the correlation signals from a node. Pure + deterministic; values de-duplicated + sorted. */
|
|
3598
|
+
declare function extractSignals(node: NodeRow): NodeSignals;
|
|
3599
|
+
|
|
3496
3600
|
/**
|
|
3497
3601
|
* Cost attribution (3.3) — turn the topology into a FinOps lens.
|
|
3498
3602
|
*
|
|
@@ -4275,4 +4379,4 @@ declare function logInfo(message: string, context?: Record<string, unknown>): vo
|
|
|
4275
4379
|
declare function logWarn(message: string, context?: Record<string, unknown>): void;
|
|
4276
4380
|
declare function logError(message: string, context?: Record<string, unknown>): void;
|
|
4277
4381
|
|
|
4278
|
-
export { ACTIONS, ANOMALY_KINDS, ANOMALY_SEVERITIES, type Action, ActionSchema, type AgentProvider, type AgentRunContext, type AgentTool, type Anomaly, type AnomalyConfig, type AnomalyKind, type AnomalySeverity, type AnomalyThresholds, type AnonViolation, type AnonymizationLevel, type ApiServerOptions, type AskUserFn, type AuthConfig, AuthConfigSchema, AuthorizationError, type Awaitable, type BackstageEntity, type BackstageMapOptions, type BindGuardOptions, type BoltDriver, type BoltRecord, type BoltResult, type BoltSession, CLIENTS, CONFIDENCE, COST_PERIODS, type CartographyConfig, CartographyDB, type CartographyMapData, type CentralDbConfig, CentralDbConfigSchema, type ClassifiedItem, type ClassifyInput, type ClassifyResult, type ClientSpec, type Cluster, ClusterSchema, type ComplianceInput, type ComplianceReport, ComplianceReportSchema, type ComplianceRule, ComplianceRuleSchema, type Condition, ConditionSchema, ConfigError, type ConfigFile, ConfigFileSchema, type ConfigFormat, type Connection, ConnectionSchema, type Contributor, type ControlResult, ControlResultSchema, type CostEntry, CostEntrySchema, type CostPeriod, type CostRecord, type CostSource, type CreateMcpServerOptions, type CredentialConfig, CredentialConfigSchema, type CredentialDb, type CredentialRecord, type CredentialStore, type CronFields, CsvCostSource, type CsvCostSourceOptions, DEFAULT_ANOMALY_THRESHOLDS, DEFAULT_FAST_MODEL, DEFAULT_INGEST_QUOTA, DEFAULT_LEAD_MODEL, DEFAULT_SERVER_NAME, DEFAULT_TENANT, DOMAIN_COLORS, DOMAIN_PALETTE, DRIFT_FIELDS, type DataAsset, DataAssetSchema, type DependencyQuery, type DiscoveryEdge, type DiscoveryEvent, type DiscoveryFn, type DiscoveryNode, type DriftAlert, type DriftAlertItem, type DriftConfig, DriftConfigSchema, type DriftField, type DriftItemKind, type DriftRunRow, type DriftSink, type DriftSinkConfig, EDGE_RELATIONSHIPS, type EdgeRelationship, type EdgeRow, EdgeSchema, type EmbeddingProvider, type EnrichResult, type EntryOptions, type EstablishedConn, type EvidenceKind, type FetchLike, type FragmentKind, GraphStoreBackend, type GraphSummary, type HealthResult, type HttpOptions, INGEST_SCHEMA_VERSION, type IngestEnvelope, IngestEnvelopeSchema, type IngestHandler, type IngestHandlerOptions, type IngestOptions, type IngestResponse, type IngestResult, type InstallPlan, InvalidTenantError, type JiraIssue, type JiraOptions, JiraSink, type JiraSinkOptions, LOOPBACK_HOSTS, type LocalDiscoveryOptions, type LocalDiscoveryResult, type LogEntry, type LogLevel, MCP_BIN, type MatchStrategy, NODE_TYPES, NODE_TYPE_GROUPS, type NlIntent, type NlQueryOptions, type NlQueryResult, type NlRelation, type NodeAttribution, type NodeChange, type NodeIdentity, type NodeQuery, type NodeRow, NodeSchema, type NodeType, type NodesResult, NotFoundError, OUTPUT_FORMATS, type OrgKeyOptions, type OrgSummary, type OsKind, type OutputFormat, PACKAGE_NAME, PAGERDUTY_ENQUEUE_URL, PENDING_STATUSES, PERSONAL, PORT_MAP, PRIVATE_IP, PUSH_SCHEMA_VERSION, type PagerDutyEvent, PagerDutySink, type PagerDutySinkOptions, type ParsedApiArgs, type PendingShareRow, type PendingStatus, type PlanOptions, type PolicyResult, type PostJsonOptions, type Principal, PrincipalSchema, type ProviderFactory, type ProviderName, ProviderRegistry, type PushItem, type PushOptions, type PushResult, type QueryBackend, type QuotaConfig, type QuotaDecision, RELATION_TO_DIRECTION, ROLES, RateLimiter, type ResolveContext, type ResolveOptions, type Role, RoleSchema, type RuleCheck, RuleCheckSchema, type RuleScope, type Ruleset, RulesetSchema, type RunDriftOptions, SCAN_ARG_PATTERNS, SCHEMA_VERSION, SDL, SECURITY_METADATA_KEYS, SEVERITIES, SEVERITY_WEIGHT, SHARING_LEVELS, type ScanArgKind, type ScanContext, type ScanHintParams, type ScanResult, type Scanner, type ScannerPlugin, type ScannerPluginApi, ScannerRegistry, ScannerShape, type ScheduleConfig, ScheduleConfigSchema, type ScheduledRunResult, type Scope, type SearchFn, type SemanticSearchOptions, type ServerEntry, type SessionRow, type Severity, type SharePreview, type SharePreviewEntry, type SharingLevel, SharingLevelSchema, type SharingPolicy, type ShellKind, type SlackMessage, SlackSink, SqliteCredentialStore, SqliteQueryBackend, SqliteStoreBackend, type StartApiOptions, StdoutSink, type StoreBackend, type StoreBackendOptions, type SyncClassifyOptions, type SyncClassifyResult, TENANT_HEADER, type TenantContext, TenantMismatchError, type TenantOptions, type ToolResult, type TopologyDelta, type TopologyDiff, type TopologyInput, type TraversalResult, VectorStore, WebhookSink, type WebhookSinkOptions, applyInstall, applySharingLevel, assertReadOnly, assertSafeBind, assertSafeScanArg, assertSameTenant, assignColors, authorize, bearerToken, bookmarksScanner, buildCartographyToolHandlers, buildMapData, buildOpenApiDocument, buildReport, buildSinks, can, centralDbFromEnv, checkBearer, checkPrerequisites, checkReadOnly, clampText, classify, classifyDrift, cleanupTempFiles, cloudAwsScanner, cloudAzureScanner, cloudGcpScanner, codeAddMcpCommand, computeCentroid, computeClusterBounds, computeIdentity, connectionsScanner, contentHash, createBashTool, createCartographyTools, createClaudeProvider, createDefaultRegistry, createHashEmbedder, createIngestHandler, createLocalEmbedder, createMcpServer, createOllamaProvider, createOpenAIProvider, createScanRunner, createSemanticSearch, createSqliteQueryBackend, currentOs, cursorDeeplink, databasesScanner, deepMerge, defaultAllowedHosts, defaultConfig, defaultContext, defaultProviderRegistry, defaultRegistry, defaultServerEntry, definePlugin, deriveSessionName, detectAnomalies, detectOrphans, detectShadowIt, diffTopology, edgesToConnections, enrichCosts, entitiesToYaml, evaluateCheck, evaluateRule, evidenceLine, executeGraphql, executeNlQuery, exportAll, exportBackstageYAML, exportComplianceReport, exportCostCSV, exportCostSummary, exportDiscoveryApp, exportJGF, exportJSON, extractListeningPorts, filterBySeverity, findAnonViolations, formatComplianceText, formatJira, formatPagerDuty, formatSlack, generateDependencyMermaid, generateDiffMermaid, generateTopologyMermaid, getClient, getRuleset, globalId, groupByDomain, handleGraphqlGet, hashToken, hexCorners, hexDistance, hexNeighbors, hexRing, hexSpiral, hexToPixel, hmacKey, hostname, ingestEnvelope, installedAppsScanner, isLoopbackHost, isPersonalHost, isReadOnlyCommand, isRemembered, isSecureWebhookUrl, k8sScanner, keyMetaOf, layoutClusters, listClients, listRulesets, loadConfig, loadOrgKey, loadPlugins, loadRuleset, localDiscoveryFn, log, logDebug, logError, logInfo, logWarn, machineId, maxSeverity, mcpServerObject, newAnomalies, nextRun, nodesToAssets, normalizeId, normalizeTenant, openStoreBackend, orgKeyPath, osUser, parseApiArgs, parseComposeDeps, parseConfig, parseConnectionString, parseCostCsv, parseCron, parseEstablished, parseNginxUpstreams, parseNlQuery, parseScanHint, pixelToHex, planInstall, portsScanner, postJson, previewShare, pseudonymize, pseudonymizeFragment, pseudonymizeString, pushDeltas, readConfigFile, redactConnectionString, redactSecrets, redactValue, renderDiff, resolveEffectiveLevel, resolveNlQuery, resolvePrincipal, resolveSharingLevel, resolveTenant, revalidateAnonymized, reversalKey, reversePseudonym, rotateOrgKey, runApi, runDiscovery, runDrift, runHttp, runLocalDiscovery, runOnce, runStdio, runSyncClassify, safeEnv, safeJson, safetyHook, sanitizeUntrusted, sanitizeValue, scopeReads, scoreTopology, securityRelevantChange, serializeConfig, serviceConfigScanner, setVerbose, shadeVariant, shapeToJsonSchema, shareHash, splitSegments, stableStringify, startApi, stripSensitive, timingSafeEqual, toBackstageEntities, validateScanner, vscodeDeeplink, zodToJsonSchema };
|
|
4382
|
+
export { ACTIONS, ANOMALY_KINDS, ANOMALY_SEVERITIES, type Action, ActionSchema, type AgentProvider, type AgentRunContext, type AgentTool, type Anomaly, type AnomalyConfig, type AnomalyKind, type AnomalySeverity, type AnomalyThresholds, type AnonViolation, type AnonymizationLevel, type ApiServerOptions, type AskUserFn, type AuthConfig, AuthConfigSchema, AuthorizationError, type Awaitable, type BackstageEntity, type BackstageMapOptions, type BindGuardOptions, type BoltDriver, type BoltRecord, type BoltResult, type BoltSession, CLIENTS, CONFIDENCE, CORRELATION_CONFIDENCE, COST_PERIODS, type CanonicalNode, type CartographyConfig, CartographyDB, type CartographyMapData, type CentralDbConfig, CentralDbConfigSchema, type ClassifiedItem, type ClassifyInput, type ClassifyResult, type ClientSpec, type Cluster, ClusterSchema, type ComplianceInput, type ComplianceReport, ComplianceReportSchema, type ComplianceRule, ComplianceRuleSchema, type Condition, ConditionSchema, ConfigError, type ConfigFile, ConfigFileSchema, type ConfigFormat, type Connection, ConnectionSchema, type Contributor, type ControlResult, ControlResultSchema, type CorrelatedTopology, type CorrelationEdge, type CorrelationSignal, type CostEntry, CostEntrySchema, type CostPeriod, type CostRecord, type CostSource, type CreateMcpServerOptions, type CredentialConfig, CredentialConfigSchema, type CredentialDb, type CredentialRecord, type CredentialStore, type CronFields, CsvCostSource, type CsvCostSourceOptions, DEFAULT_ANOMALY_THRESHOLDS, DEFAULT_FAST_MODEL, DEFAULT_INGEST_QUOTA, DEFAULT_LEAD_MODEL, DEFAULT_SERVER_NAME, DEFAULT_TENANT, DOMAIN_COLORS, DOMAIN_PALETTE, DRIFT_FIELDS, type DashboardOptions, type DataAsset, DataAssetSchema, type DependencyQuery, type DiscoveryEdge, type DiscoveryEvent, type DiscoveryFn, type DiscoveryNode, type DriftAlert, type DriftAlertItem, type DriftConfig, DriftConfigSchema, type DriftField, type DriftItemKind, type DriftRunRow, type DriftSink, type DriftSinkConfig, EDGE_RELATIONSHIPS, type EdgeRelationship, type EdgeRow, EdgeSchema, type EmbeddingProvider, type EnrichResult, type EntryOptions, type EstablishedConn, type EvidenceKind, type FetchLike, type FragmentKind, GraphStoreBackend, type GraphSummary, type HealthResult, type HttpOptions, INGEST_SCHEMA_VERSION, type IngestEnvelope, IngestEnvelopeSchema, type IngestHandler, type IngestHandlerOptions, type IngestOptions, type IngestResponse, type IngestResult, type InstallPlan, InvalidTenantError, type JiraIssue, type JiraOptions, JiraSink, type JiraSinkOptions, LOOPBACK_HOSTS, type LocalDiscoveryOptions, type LocalDiscoveryResult, type LogEntry, type LogLevel, MCP_BIN, type MatchStrategy, NODE_TYPES, NODE_TYPE_GROUPS, type NlIntent, type NlQueryOptions, type NlQueryResult, type NlRelation, type NodeAttribution, type NodeChange, type NodeIdentity, type NodeQuery, type NodeRow, NodeSchema, type NodeSignals, type NodeType, type NodesResult, NotFoundError, OUTPUT_FORMATS, type OrgKeyOptions, type OrgSummary, type OsKind, type OutputFormat, PACKAGE_NAME, PAGERDUTY_ENQUEUE_URL, PENDING_STATUSES, PERSONAL, PORT_MAP, PRIVATE_IP, PUSH_SCHEMA_VERSION, type PagerDutyEvent, PagerDutySink, type PagerDutySinkOptions, type ParsedApiArgs, type PendingShareRow, type PendingStatus, type PlanOptions, type PolicyResult, type PostJsonOptions, type Principal, PrincipalSchema, type ProviderFactory, type ProviderName, ProviderRegistry, type PushItem, type PushOptions, type PushResult, type QueryBackend, type QuotaConfig, type QuotaDecision, RELATION_TO_DIRECTION, ROLES, RateLimiter, type ResolveContext, type ResolveOptions, type Role, RoleSchema, type RuleCheck, RuleCheckSchema, type RuleScope, type Ruleset, RulesetSchema, type RunDriftOptions, SCAN_ARG_PATTERNS, SCHEMA_VERSION, SDL, SECURITY_METADATA_KEYS, SEVERITIES, SEVERITY_WEIGHT, SHARING_LEVELS, type ScanArgKind, type ScanContext, type ScanHintParams, type ScanResult, type Scanner, type ScannerPlugin, type ScannerPluginApi, ScannerRegistry, ScannerShape, type ScheduleConfig, ScheduleConfigSchema, type ScheduledRunResult, type Scope, type SearchFn, type SemanticSearchOptions, type ServerEntry, type SessionRow, type Severity, type SharePreview, type SharePreviewEntry, type SharingLevel, SharingLevelSchema, type SharingPolicy, type ShellKind, type SlackMessage, SlackSink, SqliteCredentialStore, SqliteQueryBackend, SqliteStoreBackend, type StartApiOptions, StdoutSink, type StoreBackend, type StoreBackendOptions, type SyncClassifyOptions, type SyncClassifyResult, TENANT_HEADER, type TenantContext, TenantMismatchError, type TenantOptions, type ToolResult, type TopologyDelta, type TopologyDiff, type TopologyInput, type TraversalResult, VectorStore, WebhookSink, type WebhookSinkOptions, applyInstall, applySharingLevel, assertReadOnly, assertSafeBind, assertSafeScanArg, assertSameTenant, assignColors, authorize, bearerToken, bookmarksScanner, buildCartographyToolHandlers, buildMapData, buildOpenApiDocument, buildReport, buildSinks, can, centralDbFromEnv, checkBearer, checkPrerequisites, checkReadOnly, clampText, classify, classifyDrift, cleanupTempFiles, cloudAwsScanner, cloudAzureScanner, cloudGcpScanner, codeAddMcpCommand, computeCentroid, computeClusterBounds, computeIdentity, connectionsScanner, contentHash, correlateTopology, createBashTool, createCartographyTools, createClaudeProvider, createDefaultRegistry, createHashEmbedder, createIngestHandler, createLocalEmbedder, createMcpServer, createOllamaProvider, createOpenAIProvider, createScanRunner, createSemanticSearch, createSqliteQueryBackend, currentOs, cursorDeeplink, dashboardHtml, databasesScanner, deepMerge, defaultAllowedHosts, defaultConfig, defaultContext, defaultProviderRegistry, defaultRegistry, defaultServerEntry, definePlugin, deriveSessionName, detectAnomalies, detectOrphans, detectShadowIt, diffTopology, edgesToConnections, enrichCosts, entitiesToYaml, evaluateCheck, evaluateRule, evidenceLine, executeGraphql, executeNlQuery, exportAll, exportBackstageYAML, exportComplianceReport, exportCostCSV, exportCostSummary, exportDiscoveryApp, exportJGF, exportJSON, extractListeningPorts, extractSignals, filterBySeverity, findAnonViolations, formatComplianceText, formatJira, formatPagerDuty, formatSlack, generateDependencyMermaid, generateDiffMermaid, generateTopologyMermaid, getClient, getRuleset, globalId, groupByDomain, handleGraphqlGet, hashToken, hexCorners, hexDistance, hexNeighbors, hexRing, hexSpiral, hexToPixel, hmacKey, hostname, ingestEnvelope, installedAppsScanner, isLoopbackHost, isPersonalHost, isReadOnlyCommand, isRemembered, isSecureWebhookUrl, k8sScanner, keyMetaOf, layoutClusters, listClients, listRulesets, loadConfig, loadOrgKey, loadPlugins, loadRuleset, localDiscoveryFn, log, logDebug, logError, logInfo, logWarn, machineId, maxSeverity, mcpServerObject, newAnomalies, nextRun, nodesToAssets, normalizeId, normalizeTenant, openStoreBackend, orgKeyPath, osUser, parseApiArgs, parseComposeDeps, parseConfig, parseConnectionString, parseCostCsv, parseCron, parseEstablished, parseNginxUpstreams, parseNlQuery, parseScanHint, pixelToHex, planInstall, portsScanner, postJson, previewShare, pseudonymize, pseudonymizeFragment, pseudonymizeString, pushDeltas, readConfigFile, redactConnectionString, redactSecrets, redactValue, renderDiff, resolveEffectiveLevel, resolveNlQuery, resolvePrincipal, resolveSharingLevel, resolveTenant, revalidateAnonymized, reversalKey, reversePseudonym, rotateOrgKey, runApi, runDiscovery, runDrift, runHttp, runLocalDiscovery, runOnce, runStdio, runSyncClassify, safeEnv, safeJson, safetyHook, sanitizeUntrusted, sanitizeValue, scopeReads, scoreTopology, securityRelevantChange, serializeConfig, serviceConfigScanner, setVerbose, shadeVariant, shapeToJsonSchema, shareHash, splitSegments, stableStringify, startApi, stripSensitive, timingSafeEqual, toBackstageEntities, validateScanner, vscodeDeeplink, zodToJsonSchema };
|