infracensus-collector 1.6.52 → 1.6.53
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/a10-index.js +3 -3
- package/dist/{archive-KFP3EQNH.js → archive-PWPH2EFD.js} +3 -3
- package/dist/azure-index.js +6 -6
- package/dist/{chunk-X6ISEGRM.js → chunk-42VTQAVD.js} +2 -2
- package/dist/{chunk-CMMWMSC7.js → chunk-4E2QDWOK.js} +4 -4
- package/dist/{chunk-ORLF5LAG.js → chunk-5SCOABJV.js} +2 -2
- package/dist/{chunk-MLGJ5PUY.js → chunk-A75XMEHJ.js} +2 -2
- package/dist/{chunk-HM5X65L5.js → chunk-D4UCRODB.js} +5 -5
- package/dist/{chunk-EX24AYLW.js → chunk-E5PHTDDS.js} +2 -2
- package/dist/{chunk-VUB7GYI3.js → chunk-FBAJPKDO.js} +2 -2
- package/dist/{chunk-4E6PPRYT.js → chunk-HBDBES5R.js} +2 -2
- package/dist/{chunk-BDCJY7R2.js → chunk-IAY3NOII.js} +4 -4
- package/dist/{chunk-6X26D3GI.js → chunk-ILI5OJOU.js} +2 -2
- package/dist/{chunk-UWPPLXLP.js → chunk-KPEGLO3L.js} +8 -8
- package/dist/{chunk-E5JQ2SBE.js → chunk-LVHBF6SE.js} +124 -6
- package/dist/chunk-LVHBF6SE.js.map +7 -0
- package/dist/{chunk-XWX7JXU6.js → chunk-NZMGN5QR.js} +2 -2
- package/dist/{chunk-MAE6S6JQ.js → chunk-OC7BAC72.js} +3 -3
- package/dist/{chunk-RJLQQBNU.js → chunk-OLU4NX5K.js} +3 -3
- package/dist/{chunk-CS4XEOBC.js → chunk-TQSCGJP4.js} +4 -4
- package/dist/{chunk-VFHRFB35.js → chunk-TWJKPELQ.js} +6 -6
- package/dist/{chunk-FILPLJHR.js → chunk-VDLWKJUN.js} +2 -2
- package/dist/{chunk-DDQBCX3O.js → chunk-VHGNL7JG.js} +3 -3
- package/dist/{chunk-LDAKZ7YD.js → chunk-WRCNNVLK.js} +2 -2
- package/dist/cli.js +8 -8
- package/dist/{config-FLLGIOAA.js → config-YYN5CRTD.js} +3 -3
- package/dist/configimport-index.js +4 -4
- package/dist/hyperv-index.js +6 -6
- package/dist/identity-index.js +6 -6
- package/dist/index.js +1216 -171
- package/dist/index.js.map +4 -4
- package/dist/{ocr-R2HD7NEK.js → ocr-QR4N3B64.js} +4 -4
- package/dist/sdd-classify-worker-index.js +3 -3
- package/dist/sensitive-data-index.js +12 -12
- package/dist/smb-shares-index.js +12 -12
- package/dist/sql-index.js +6 -6
- package/dist/{status-UV54BZPT.js → status-BYANM64O.js} +7 -7
- package/dist/vmware-index.js +6 -6
- package/dist/voice-index.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-E5JQ2SBE.js.map +0 -7
- /package/dist/{archive-KFP3EQNH.js.map → archive-PWPH2EFD.js.map} +0 -0
- /package/dist/{chunk-X6ISEGRM.js.map → chunk-42VTQAVD.js.map} +0 -0
- /package/dist/{chunk-CMMWMSC7.js.map → chunk-4E2QDWOK.js.map} +0 -0
- /package/dist/{chunk-ORLF5LAG.js.map → chunk-5SCOABJV.js.map} +0 -0
- /package/dist/{chunk-MLGJ5PUY.js.map → chunk-A75XMEHJ.js.map} +0 -0
- /package/dist/{chunk-HM5X65L5.js.map → chunk-D4UCRODB.js.map} +0 -0
- /package/dist/{chunk-EX24AYLW.js.map → chunk-E5PHTDDS.js.map} +0 -0
- /package/dist/{chunk-VUB7GYI3.js.map → chunk-FBAJPKDO.js.map} +0 -0
- /package/dist/{chunk-4E6PPRYT.js.map → chunk-HBDBES5R.js.map} +0 -0
- /package/dist/{chunk-BDCJY7R2.js.map → chunk-IAY3NOII.js.map} +0 -0
- /package/dist/{chunk-6X26D3GI.js.map → chunk-ILI5OJOU.js.map} +0 -0
- /package/dist/{chunk-UWPPLXLP.js.map → chunk-KPEGLO3L.js.map} +0 -0
- /package/dist/{chunk-XWX7JXU6.js.map → chunk-NZMGN5QR.js.map} +0 -0
- /package/dist/{chunk-MAE6S6JQ.js.map → chunk-OC7BAC72.js.map} +0 -0
- /package/dist/{chunk-RJLQQBNU.js.map → chunk-OLU4NX5K.js.map} +0 -0
- /package/dist/{chunk-CS4XEOBC.js.map → chunk-TQSCGJP4.js.map} +0 -0
- /package/dist/{chunk-VFHRFB35.js.map → chunk-TWJKPELQ.js.map} +0 -0
- /package/dist/{chunk-FILPLJHR.js.map → chunk-VDLWKJUN.js.map} +0 -0
- /package/dist/{chunk-DDQBCX3O.js.map → chunk-VHGNL7JG.js.map} +0 -0
- /package/dist/{chunk-LDAKZ7YD.js.map → chunk-WRCNNVLK.js.map} +0 -0
- /package/dist/{config-FLLGIOAA.js.map → config-YYN5CRTD.js.map} +0 -0
- /package/dist/{ocr-R2HD7NEK.js.map → ocr-QR4N3B64.js.map} +0 -0
- /package/dist/{status-UV54BZPT.js.map → status-BYANM64O.js.map} +0 -0
package/dist/a10-index.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-EFV5GUNE.js";
|
|
5
5
|
import {
|
|
6
6
|
requireEntitlementToScan
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-OC7BAC72.js";
|
|
8
|
+
import "./chunk-A75XMEHJ.js";
|
|
9
9
|
import {
|
|
10
10
|
ROUTES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LVHBF6SE.js";
|
|
12
12
|
|
|
13
13
|
// src/a10-index.ts
|
|
14
14
|
var LEVEL_RANK = { debug: 10, info: 20, warn: 30, error: 40 };
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
extensionKind,
|
|
3
3
|
extractOpenXml,
|
|
4
4
|
extractPlainText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TQSCGJP4.js";
|
|
6
6
|
import {
|
|
7
7
|
checkEntryPath,
|
|
8
8
|
checkEntrySize
|
|
9
9
|
} from "./chunk-ZA22LKTY.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LVHBF6SE.js";
|
|
11
11
|
|
|
12
12
|
// src/sensitiveData/archive.ts
|
|
13
13
|
import { unzipSync } from "fflate";
|
|
@@ -68,4 +68,4 @@ function extractArchive(bytes) {
|
|
|
68
68
|
export {
|
|
69
69
|
extractArchive
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=archive-
|
|
71
|
+
//# sourceMappingURL=archive-PWPH2EFD.js.map
|
package/dist/azure-index.js
CHANGED
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
ArmClient,
|
|
3
3
|
buildAzureInventory,
|
|
4
4
|
listAccessibleSubscriptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HBDBES5R.js";
|
|
6
6
|
import "./chunk-2CHVU6ZE.js";
|
|
7
7
|
import {
|
|
8
8
|
pushAzureInventory
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-IAY3NOII.js";
|
|
10
|
+
import "./chunk-VDLWKJUN.js";
|
|
11
11
|
import {
|
|
12
12
|
requireEntitlementToScan
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OC7BAC72.js";
|
|
14
14
|
import {
|
|
15
15
|
loadAzureConfig
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-A75XMEHJ.js";
|
|
17
|
+
import "./chunk-LVHBF6SE.js";
|
|
18
18
|
|
|
19
19
|
// src/azure-index.ts
|
|
20
20
|
var LEVEL_RANK = { debug: 10, info: 20, warn: 30, error: 40 };
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
IdentityIngestBody,
|
|
17
17
|
M365Licensing,
|
|
18
18
|
M365Workload
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LVHBF6SE.js";
|
|
20
20
|
|
|
21
21
|
// src/identity/plugin.ts
|
|
22
22
|
import { createHash } from "node:crypto";
|
|
@@ -527,4 +527,4 @@ async function buildIdentityInventory(client, stamp, log = noopLog, ledger) {
|
|
|
527
527
|
export {
|
|
528
528
|
buildIdentityInventory
|
|
529
529
|
};
|
|
530
|
-
//# sourceMappingURL=chunk-
|
|
530
|
+
//# sourceMappingURL=chunk-42VTQAVD.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VaultError,
|
|
3
3
|
openVault
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FBAJPKDO.js";
|
|
5
5
|
import {
|
|
6
6
|
configFilePath,
|
|
7
7
|
vaultSettings
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A75XMEHJ.js";
|
|
9
9
|
import {
|
|
10
10
|
VaultProtection
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LVHBF6SE.js";
|
|
12
12
|
|
|
13
13
|
// src/vault/collectorKey.ts
|
|
14
14
|
import { readFileSync, writeFileSync, renameSync, existsSync, statSync, chownSync, unlinkSync } from "node:fs";
|
|
@@ -147,4 +147,4 @@ export {
|
|
|
147
147
|
migrateCollectorApiKey,
|
|
148
148
|
plaintextKeyWarning
|
|
149
149
|
};
|
|
150
|
-
//# sourceMappingURL=chunk-
|
|
150
|
+
//# sourceMappingURL=chunk-4E2QDWOK.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4RUBV5WB.js";
|
|
4
4
|
import {
|
|
5
5
|
VmwareIngestBody
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LVHBF6SE.js";
|
|
7
7
|
|
|
8
8
|
// src/vmware/soap.ts
|
|
9
9
|
import { XMLParser } from "fast-xml-parser";
|
|
@@ -1376,4 +1376,4 @@ export {
|
|
|
1376
1376
|
VsphereClient,
|
|
1377
1377
|
buildVmwareInventory
|
|
1378
1378
|
};
|
|
1379
|
-
//# sourceMappingURL=chunk-
|
|
1379
|
+
//# sourceMappingURL=chunk-5SCOABJV.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
PlaneEnvironment,
|
|
7
7
|
SddScanSettings,
|
|
8
8
|
VaultProtection
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LVHBF6SE.js";
|
|
10
10
|
|
|
11
11
|
// src/config.ts
|
|
12
12
|
import { readFileSync, existsSync, mkdirSync, renameSync, writeFileSync } from "node:fs";
|
|
@@ -910,4 +910,4 @@ export {
|
|
|
910
910
|
loadSensitiveDataConfig,
|
|
911
911
|
loadAzureConfig
|
|
912
912
|
};
|
|
913
|
-
//# sourceMappingURL=chunk-
|
|
913
|
+
//# sourceMappingURL=chunk-A75XMEHJ.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectorVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VHGNL7JG.js";
|
|
4
4
|
import {
|
|
5
5
|
PKG_ROOT
|
|
6
6
|
} from "./chunk-URNQQQIZ.js";
|
|
7
7
|
import {
|
|
8
8
|
planRefusalFrom
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VDLWKJUN.js";
|
|
10
10
|
import {
|
|
11
11
|
COLLECTOR_AUTH_HEADER,
|
|
12
12
|
collectorBearer,
|
|
13
13
|
noteEntitlementRefusalFromPlane
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OC7BAC72.js";
|
|
15
15
|
import {
|
|
16
16
|
ApiError,
|
|
17
17
|
ClaimedJobResponse,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
PlaneEnvironment,
|
|
21
21
|
ROUTES,
|
|
22
22
|
ScanJobStatusResult
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LVHBF6SE.js";
|
|
24
24
|
|
|
25
25
|
// src/core/sddJob.ts
|
|
26
26
|
import { spawn } from "node:child_process";
|
|
@@ -562,4 +562,4 @@ export {
|
|
|
562
562
|
claimNextJob,
|
|
563
563
|
reportStatus
|
|
564
564
|
};
|
|
565
|
-
//# sourceMappingURL=chunk-
|
|
565
|
+
//# sourceMappingURL=chunk-D4UCRODB.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
VoiceRegion,
|
|
14
14
|
VoiceSystem,
|
|
15
15
|
WebexCalling
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LVHBF6SE.js";
|
|
17
17
|
|
|
18
18
|
// src/voice/axl.ts
|
|
19
19
|
import { XMLParser } from "fast-xml-parser";
|
|
@@ -2044,4 +2044,4 @@ export {
|
|
|
2044
2044
|
buildUnityInventory,
|
|
2045
2045
|
buildWebexInventory
|
|
2046
2046
|
};
|
|
2047
|
-
//# sourceMappingURL=chunk-
|
|
2047
|
+
//# sourceMappingURL=chunk-E5PHTDDS.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
VaultProtection,
|
|
9
9
|
WindowsCredential,
|
|
10
10
|
domainSecretSatisfiesKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LVHBF6SE.js";
|
|
12
12
|
|
|
13
13
|
// ../../packages/collector-contract/src/localVault.ts
|
|
14
14
|
import { z } from "zod";
|
|
@@ -1425,4 +1425,4 @@ export {
|
|
|
1425
1425
|
processRunner,
|
|
1426
1426
|
openVault
|
|
1427
1427
|
};
|
|
1428
|
-
//# sourceMappingURL=chunk-
|
|
1428
|
+
//# sourceMappingURL=chunk-FBAJPKDO.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
AzureRbacAssignment,
|
|
12
12
|
AzureResource,
|
|
13
13
|
AzureSubscription
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LVHBF6SE.js";
|
|
15
15
|
|
|
16
16
|
// src/azure/arm.ts
|
|
17
17
|
var noopLog = () => {
|
|
@@ -869,4 +869,4 @@ export {
|
|
|
869
869
|
listAccessibleSubscriptions,
|
|
870
870
|
buildAzureInventory
|
|
871
871
|
};
|
|
872
|
-
//# sourceMappingURL=chunk-
|
|
872
|
+
//# sourceMappingURL=chunk-HBDBES5R.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPlanRefusal,
|
|
3
3
|
planRefusalFrom
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VDLWKJUN.js";
|
|
5
5
|
import {
|
|
6
6
|
COLLECTOR_AUTH_HEADER,
|
|
7
7
|
IngestResult,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
SnapshotUploadCloseResult,
|
|
11
11
|
SnapshotUploadOpenResult,
|
|
12
12
|
collectorBearer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OC7BAC72.js";
|
|
14
14
|
import {
|
|
15
15
|
ApiError,
|
|
16
16
|
CertReportResult,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
SddRunBatchResult,
|
|
20
20
|
SddRunCloseResult,
|
|
21
21
|
SddRunOpenResult
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LVHBF6SE.js";
|
|
23
23
|
|
|
24
24
|
// src/core/snapshotChunks.ts
|
|
25
25
|
var CHUNK_THRESHOLD_BYTES = 1048576;
|
|
@@ -552,4 +552,4 @@ export {
|
|
|
552
552
|
pushSddBatch,
|
|
553
553
|
pushSddRunClose
|
|
554
554
|
};
|
|
555
|
-
//# sourceMappingURL=chunk-
|
|
555
|
+
//# sourceMappingURL=chunk-IAY3NOII.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-URNQQQIZ.js";
|
|
7
7
|
import {
|
|
8
8
|
configFilePath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-A75XMEHJ.js";
|
|
10
10
|
|
|
11
11
|
// src/core/useLog.ts
|
|
12
12
|
import { appendFileSync, existsSync, mkdirSync, renameSync, rmSync, statSync } from "node:fs";
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
adoptLegacyUseLog,
|
|
93
93
|
openUseLog
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=chunk-
|
|
95
|
+
//# sourceMappingURL=chunk-ILI5OJOU.js.map
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
createThrottle,
|
|
4
4
|
runClassification,
|
|
5
5
|
walkShare
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OLU4NX5K.js";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_EXTRACTION_POLICY,
|
|
9
9
|
extensionKind,
|
|
10
10
|
extractFile,
|
|
11
11
|
stallReason
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TQSCGJP4.js";
|
|
13
13
|
import {
|
|
14
14
|
mapWithConcurrency
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-D4UCRODB.js";
|
|
16
16
|
import {
|
|
17
17
|
VaultError,
|
|
18
18
|
openVault
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FBAJPKDO.js";
|
|
20
20
|
import {
|
|
21
21
|
PS_UTF8_STDOUT,
|
|
22
22
|
loginName
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
pushSddBatch,
|
|
26
26
|
pushSddRunClose,
|
|
27
27
|
pushSddRunOpen
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IAY3NOII.js";
|
|
29
29
|
import {
|
|
30
30
|
vaultSettings
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-A75XMEHJ.js";
|
|
32
32
|
import {
|
|
33
33
|
VaultProtection
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-LVHBF6SE.js";
|
|
35
35
|
|
|
36
36
|
// src/sensitiveData/hostPool.ts
|
|
37
37
|
var DEFAULT_ENUM_CONCURRENCY = 8;
|
|
@@ -867,4 +867,4 @@ export {
|
|
|
867
867
|
machineVerdict,
|
|
868
868
|
deliveryVerdict
|
|
869
869
|
};
|
|
870
|
-
//# sourceMappingURL=chunk-
|
|
870
|
+
//# sourceMappingURL=chunk-KPEGLO3L.js.map
|
|
@@ -2957,6 +2957,15 @@ var ROUTES = {
|
|
|
2957
2957
|
// POST (collector) — devices to probe
|
|
2958
2958
|
collectorMonitorReport: `${API_BASE}/collector/monitor/report`,
|
|
2959
2959
|
// POST MonitorReportBody (collector)
|
|
2960
|
+
// Device CPU and memory (docs/design/device-resources.md; schemas in deviceResources.ts, off first paint).
|
|
2961
|
+
collectorResourceTargets: `${API_BASE}/collector/resources/targets`,
|
|
2962
|
+
// POST {} (collector) -> DeviceResourceTargetsResponse; empty list at live-monitoring none
|
|
2963
|
+
collectorResourceReport: `${API_BASE}/collector/resources/report`,
|
|
2964
|
+
// POST DeviceResourcesReportBody (collector-winddown) -> DeviceResourcesReportResult; 403 at none
|
|
2965
|
+
monitoringResources: `${API_BASE}/monitoring/resources`,
|
|
2966
|
+
// GET ?siteId= (session, KIOSK, live-monitoring) -> DeviceResourcesResponse
|
|
2967
|
+
monitoringResourceDevice: `${API_BASE}/monitoring/resources/device`,
|
|
2968
|
+
// GET ?siteId=&deviceId= (session, KIOSK, live-monitoring) -> DeviceResourceDetailResponse
|
|
2960
2969
|
alertChannels: `${API_BASE}/alerts/channels`,
|
|
2961
2970
|
// GET list | POST create | DELETE ?id= (ADMIN) — notification webhooks
|
|
2962
2971
|
alertChannelTest: `${API_BASE}/alerts/channels/test`,
|
|
@@ -3388,9 +3397,38 @@ var TopologyNode = z18.object({
|
|
|
3388
3397
|
*/
|
|
3389
3398
|
changeStatus: z18.enum(["added", "removed", "changed", "unchanged"]).optional(),
|
|
3390
3399
|
/** Field-level detail behind a `changed` node — "model: X → Y". */
|
|
3391
|
-
changedFields: z18.array(z18.string()).optional()
|
|
3400
|
+
changedFields: z18.array(z18.string()).optional(),
|
|
3401
|
+
/**
|
|
3402
|
+
* Coarse role from the device's parsed configuration (config IR
|
|
3403
|
+
* `device.role`: core, distribution, access, wan-edge, …), when one was
|
|
3404
|
+
* read. A layout TIEBREAK for the Overview's tiers, never an override —
|
|
3405
|
+
* graph adjacency decides (docs/design/diagrams-overview.md §1.2).
|
|
3406
|
+
*/
|
|
3407
|
+
role: z18.string().optional(),
|
|
3408
|
+
/**
|
|
3409
|
+
* Capture time of the newest scan that observed this device, set when that
|
|
3410
|
+
* scan is OLDER than the site's latest — the "last seen" badge on
|
|
3411
|
+
* infrastructure the latest scan did not reach. Absent when current.
|
|
3412
|
+
*/
|
|
3413
|
+
lastSeenAt: z18.string().optional(),
|
|
3414
|
+
/**
|
|
3415
|
+
* The device's only MAC has the locally-administered bit set — the
|
|
3416
|
+
* signature of a randomized (privacy) address. A fact about the MAC, not a
|
|
3417
|
+
* claim about how the host connects.
|
|
3418
|
+
*/
|
|
3419
|
+
macRandomized: z18.boolean().optional()
|
|
3392
3420
|
})
|
|
3393
3421
|
});
|
|
3422
|
+
var TopologyLinkClass = z18.enum([
|
|
3423
|
+
"cable",
|
|
3424
|
+
"attachment",
|
|
3425
|
+
"virtual",
|
|
3426
|
+
"wireless",
|
|
3427
|
+
"segment",
|
|
3428
|
+
"adjacency",
|
|
3429
|
+
"tunnel",
|
|
3430
|
+
"manual"
|
|
3431
|
+
]);
|
|
3394
3432
|
var TopologyEdge = z18.object({
|
|
3395
3433
|
data: z18.object({
|
|
3396
3434
|
id: z18.string(),
|
|
@@ -3426,13 +3464,66 @@ var TopologyEdge = z18.object({
|
|
|
3426
3464
|
/** pending | verified | rejected — a reviewer's judgement on a low-confidence link. */
|
|
3427
3465
|
reviewState: z18.string().optional(),
|
|
3428
3466
|
/** Version-diff status (spec §4.9). Absent outside the diff view. */
|
|
3429
|
-
changeStatus: z18.enum(["added", "removed", "changed", "unchanged"]).optional()
|
|
3467
|
+
changeStatus: z18.enum(["added", "removed", "changed", "unchanged"]).optional(),
|
|
3468
|
+
/** What the edge is (TopologyLinkClass). Set by the link-validity pass; absent from an older plane. */
|
|
3469
|
+
linkClass: z18.string().optional(),
|
|
3470
|
+
/** Capture time of the newest scan that observed this link (discovered edges only). */
|
|
3471
|
+
lastSeenAt: z18.string().optional(),
|
|
3472
|
+
/**
|
|
3473
|
+
* Parallel links of the same class between this pair merged into this one
|
|
3474
|
+
* stroke (port-channel members, cdp+lldp reports of one cable) — rule L5.
|
|
3475
|
+
* Present only when more than one.
|
|
3476
|
+
*/
|
|
3477
|
+
memberCount: z18.number().int().positive().optional(),
|
|
3478
|
+
/** The merged members' port pairs, oriented as `source`/`target`. */
|
|
3479
|
+
members: z18.array(z18.object({ sourceInterface: z18.string().optional(), targetInterface: z18.string().optional() })).optional(),
|
|
3480
|
+
/** The host is attached to both switches of a vPC / port-channel peer pair (rule L4). */
|
|
3481
|
+
dualHomed: z18.boolean().optional(),
|
|
3482
|
+
/** The switch the MAC was actually learned on, when the edge was re-homed onto a hypervisor or AP (rule L3). */
|
|
3483
|
+
rehomedFrom: z18.string().optional()
|
|
3430
3484
|
})
|
|
3431
3485
|
});
|
|
3486
|
+
var TopologyOmitted = z18.object({
|
|
3487
|
+
/** L2: links whose observer looked again and did not see them, and the hosts left with none. */
|
|
3488
|
+
superseded: z18.object({
|
|
3489
|
+
nodes: z18.number().int().nonnegative(),
|
|
3490
|
+
edges: z18.number().int().nonnegative(),
|
|
3491
|
+
/** Capture time of the newest scan any omitted link was last seen in. */
|
|
3492
|
+
lastSeenAt: z18.string().optional()
|
|
3493
|
+
}),
|
|
3494
|
+
/** L6: edges whose two ends are one device. */
|
|
3495
|
+
selfLoops: z18.number().int().nonnegative(),
|
|
3496
|
+
/** L5: parallel edges folded into another edge of the same pair and class. */
|
|
3497
|
+
merged: z18.number().int().nonnegative(),
|
|
3498
|
+
/** L7: host edges (and the hosts they would pull in) that belong to another site. */
|
|
3499
|
+
outOfScope: z18.number().int().nonnegative(),
|
|
3500
|
+
/** L1: links recorded against a merged-away duplicate, moved onto its survivor (kept, counted). */
|
|
3501
|
+
remapped: z18.number().int().nonnegative().optional(),
|
|
3502
|
+
/** L3/L4: attachments re-homed, demoted or dropped as redundant. */
|
|
3503
|
+
rehomed: z18.number().int().nonnegative().optional(),
|
|
3504
|
+
redundant: z18.number().int().nonnegative().optional()
|
|
3505
|
+
});
|
|
3432
3506
|
var TopologyResponse = z18.object({
|
|
3433
3507
|
siteId: z18.string(),
|
|
3434
3508
|
nodes: z18.array(TopologyNode),
|
|
3435
|
-
edges: z18.array(TopologyEdge)
|
|
3509
|
+
edges: z18.array(TopologyEdge),
|
|
3510
|
+
/**
|
|
3511
|
+
* The VLAN and subnet facts this graph's link ends can be labelled from —
|
|
3512
|
+
* exactly what `GET /logical/overlay` answers for the keys of these nodes
|
|
3513
|
+
* and edges (logicalOverlay.ts `overlayEndpointKeys`), computed by the same
|
|
3514
|
+
* `overlayFacts` against the exact key set rather than a Bloom filter of it.
|
|
3515
|
+
* Present only when asked for (`?overlay=1`, TOPOLOGY_OVERLAY_PARAM) and the
|
|
3516
|
+
* model could be read; absent from an older plane, and then the diagram asks
|
|
3517
|
+
* `/logical/overlay` as before. Lazy: the row schemas are declared further down.
|
|
3518
|
+
*/
|
|
3519
|
+
logicalOverlay: z18.lazy(() => TopologyLogicalOverlay).optional(),
|
|
3520
|
+
/**
|
|
3521
|
+
* What the link-validity pass left off (TopologyOmitted). Absent from an
|
|
3522
|
+
* older plane and on `?history=all` bodies that omitted nothing.
|
|
3523
|
+
*/
|
|
3524
|
+
omitted: TopologyOmitted.optional(),
|
|
3525
|
+
/** True when the body was built with `?history=all` (freshness rule skipped). */
|
|
3526
|
+
history: z18.boolean().optional()
|
|
3436
3527
|
});
|
|
3437
3528
|
var ManualLink = z18.object({
|
|
3438
3529
|
id: z18.string(),
|
|
@@ -5243,7 +5334,25 @@ var MeResponse = z18.object({
|
|
|
5243
5334
|
* file", which lands on the product default rather than blanking the whole
|
|
5244
5335
|
* session over a colour.
|
|
5245
5336
|
*/
|
|
5246
|
-
preferences: UserUiPreferences.default({ accent: null, colorScheme: null })
|
|
5337
|
+
preferences: UserUiPreferences.default({ accent: null, colorScheme: null }),
|
|
5338
|
+
/**
|
|
5339
|
+
* The sites this session may open: exactly what GET /sites would answer for
|
|
5340
|
+
* the same session (tenant-scoped, narrowed to the user's assigned sites,
|
|
5341
|
+
* gated on the `sites` module and the same roles), so the shell can mount
|
|
5342
|
+
* per-site pages without a second request. docs/design/instant-pages.md.
|
|
5343
|
+
*
|
|
5344
|
+
* OPTIONAL, not defaulted, and the distinction is the contract: ABSENT means
|
|
5345
|
+
* "this plane did not answer it" (an older plane, a session the /sites gate
|
|
5346
|
+
* would refuse, or a read that failed), and the portal falls back to GET
|
|
5347
|
+
* /sites exactly as before. An EMPTY array is an answer: the session may
|
|
5348
|
+
* open no site. A `.default([])` would turn every older plane into "no
|
|
5349
|
+
* sites" and lock the reader out of the site picker.
|
|
5350
|
+
*
|
|
5351
|
+
* PRESENTATION and routing, never authorization: every per-site route still
|
|
5352
|
+
* checks the site against the session itself. GET /sites stays, and it is
|
|
5353
|
+
* still the source after a site write (create, rename, delete, share).
|
|
5354
|
+
*/
|
|
5355
|
+
sites: z18.array(Site).optional()
|
|
5247
5356
|
});
|
|
5248
5357
|
var RegisterBody = z18.object({
|
|
5249
5358
|
/** The tenant's display name — the company signing up. */
|
|
@@ -7591,7 +7700,11 @@ var AlertKind = z18.enum([
|
|
|
7591
7700
|
"metric_threshold",
|
|
7592
7701
|
"metric_anomaly",
|
|
7593
7702
|
/** Config Backup and Change (0232): a compliance rule newly failing on a device. */
|
|
7594
|
-
"compliance"
|
|
7703
|
+
"compliance",
|
|
7704
|
+
/** Device CPU or memory at or above 90% for 5 minutes (docs/design/device-resources.md §9). */
|
|
7705
|
+
"resource_high",
|
|
7706
|
+
/** The resource_high episode closed below 85% (recovery; honors notifyRecovery). */
|
|
7707
|
+
"resource_normal"
|
|
7595
7708
|
]);
|
|
7596
7709
|
var Alert = z18.object({
|
|
7597
7710
|
id: z18.string(),
|
|
@@ -10521,6 +10634,11 @@ var LogicalSubnetRow = z18.object({
|
|
|
10521
10634
|
})
|
|
10522
10635
|
).default([])
|
|
10523
10636
|
});
|
|
10637
|
+
var TopologyLogicalOverlay = z18.object({
|
|
10638
|
+
siteId: z18.string(),
|
|
10639
|
+
vlans: z18.array(LogicalVlanRow).default([]),
|
|
10640
|
+
subnets: z18.array(LogicalSubnetRow).default([])
|
|
10641
|
+
});
|
|
10524
10642
|
var LogicalModelResponse = z18.object({
|
|
10525
10643
|
vlans: z18.array(LogicalVlanRow).default([]),
|
|
10526
10644
|
subnets: z18.array(LogicalSubnetRow).default([]),
|
|
@@ -13318,4 +13436,4 @@ export {
|
|
|
13318
13436
|
SddRunCloseResult,
|
|
13319
13437
|
ApiError
|
|
13320
13438
|
};
|
|
13321
|
-
//# sourceMappingURL=chunk-
|
|
13439
|
+
//# sourceMappingURL=chunk-LVHBF6SE.js.map
|