infracensus-collector 1.6.70 → 1.6.73
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-4SGGIW5C.js → archive-G3QMBRFT.js} +3 -3
- package/dist/aws-index.js +16 -16
- package/dist/azure-index.js +14 -14
- package/dist/{chunk-6756KSBB.js → chunk-2GFAM47G.js} +5 -5
- package/dist/{chunk-6D4KWUKJ.js → chunk-3YASF24M.js} +3 -3
- package/dist/{chunk-VILM5VKX.js → chunk-63B6ITQK.js} +2 -2
- package/dist/{chunk-4VTTT4EY.js → chunk-6VIOC6XK.js} +5 -5
- package/dist/{chunk-JKLWKARZ.js → chunk-75OKUYOM.js} +4 -4
- package/dist/{chunk-PCPJUPKF.js → chunk-7BXYGQAN.js} +9 -9
- package/dist/{chunk-PYKACAVZ.js → chunk-CRR7IFRC.js} +2 -2
- package/dist/{chunk-GBOJ7UOJ.js → chunk-D56X6TIA.js} +7 -7
- package/dist/{chunk-OAIWMMDH.js → chunk-DCOWBZ4D.js} +3 -3
- package/dist/{chunk-OOQVEI22.js → chunk-E4VUJTK7.js} +7 -7
- package/dist/{chunk-DBRQMW4F.js → chunk-FXNMKJUE.js} +3 -3
- package/dist/{chunk-QOW645TT.js → chunk-G5OTRYQJ.js} +2 -2
- package/dist/{chunk-2AKCDNDQ.js → chunk-GBJMLQMR.js} +5 -3
- package/dist/{chunk-2AKCDNDQ.js.map → chunk-GBJMLQMR.js.map} +2 -2
- package/dist/{chunk-ZWBSBRJN.js → chunk-GUQUJHSB.js} +2 -2
- package/dist/{chunk-KZXHHJGC.js → chunk-HMSAC6CL.js} +4 -4
- package/dist/{chunk-ESNONUG5.js → chunk-JAPEZSIO.js} +2 -2
- package/dist/{chunk-Z55B352Z.js → chunk-K64NJ3DS.js} +4 -4
- package/dist/{chunk-VMXJXME3.js → chunk-KHP2X524.js} +2 -2
- package/dist/{chunk-RXQXFZ5R.js → chunk-L7XVOR4O.js} +8 -8
- package/dist/{chunk-DGO334CT.js → chunk-LKDNOOE3.js} +4 -4
- package/dist/{chunk-SG52R7ET.js → chunk-NCNJ24MW.js} +15 -3
- package/dist/{chunk-SG52R7ET.js.map → chunk-NCNJ24MW.js.map} +2 -2
- package/dist/{chunk-JHEAVIL7.js → chunk-O6CEKOYB.js} +3 -3
- package/dist/{chunk-ND7YJJNV.js → chunk-QI7UQUH7.js} +2 -2
- package/dist/{chunk-FFJGJCV7.js → chunk-S3W6E2VU.js} +2 -2
- package/dist/{chunk-MQTHNPYA.js → chunk-SYCGCIMG.js} +14 -14
- package/dist/{chunk-QANDVYFT.js → chunk-UHYMHWAU.js} +3 -3
- package/dist/{chunk-NL6WRZYM.js → chunk-UIOGII6N.js} +76 -27
- package/dist/chunk-UIOGII6N.js.map +7 -0
- package/dist/{chunk-7ZVAQXEP.js → chunk-WGGBQ45G.js} +6 -6
- package/dist/{chunk-SVYSZ65Q.js → chunk-WWZRI7BG.js} +13 -13
- package/dist/{chunk-L4VTE2LC.js → chunk-WZENBTM2.js} +59 -4
- package/dist/{chunk-L4VTE2LC.js.map → chunk-WZENBTM2.js.map} +2 -2
- package/dist/{chunk-D7VTJN62.js → chunk-XE5QK46I.js} +2 -2
- package/dist/{chunk-7WB5TMBU.js → chunk-XEGAUVA2.js} +3 -3
- package/dist/{chunk-AA62AEBX.js → chunk-XGRHZ5YF.js} +25 -5
- package/dist/chunk-XGRHZ5YF.js.map +7 -0
- package/dist/{chunk-5EBC23LM.js → chunk-ZC47NRTS.js} +2 -2
- package/dist/cli.js +9 -9
- package/dist/{config-YWYYE6BO.js → config-TAYSSDJX.js} +5 -3
- package/dist/configimport-index.js +4 -4
- package/dist/gcp-index.js +17 -17
- package/dist/hyperv-index.js +6 -6
- package/dist/identity-index.js +10 -10
- package/dist/index.js +1040 -464
- package/dist/index.js.map +4 -4
- package/dist/kubernetes-index.js +9 -9
- package/dist/{ocr-AANQ5UEV.js → ocr-ITQBA44X.js} +4 -4
- package/dist/sdd-classify-worker-index.js +3 -3
- package/dist/sensitive-data-index.js +21 -20
- package/dist/sensitive-data-index.js.map +2 -2
- package/dist/smb-shares-index.js +18 -18
- package/dist/sql-index.js +6 -6
- package/dist/{status-USY4PLPC.js → status-LWAIS2GB.js} +8 -8
- package/dist/vmware-index.js +6 -6
- package/dist/voice-index.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-AA62AEBX.js.map +0 -7
- package/dist/chunk-NL6WRZYM.js.map +0 -7
- /package/dist/{archive-4SGGIW5C.js.map → archive-G3QMBRFT.js.map} +0 -0
- /package/dist/{chunk-6756KSBB.js.map → chunk-2GFAM47G.js.map} +0 -0
- /package/dist/{chunk-6D4KWUKJ.js.map → chunk-3YASF24M.js.map} +0 -0
- /package/dist/{chunk-VILM5VKX.js.map → chunk-63B6ITQK.js.map} +0 -0
- /package/dist/{chunk-4VTTT4EY.js.map → chunk-6VIOC6XK.js.map} +0 -0
- /package/dist/{chunk-JKLWKARZ.js.map → chunk-75OKUYOM.js.map} +0 -0
- /package/dist/{chunk-PCPJUPKF.js.map → chunk-7BXYGQAN.js.map} +0 -0
- /package/dist/{chunk-PYKACAVZ.js.map → chunk-CRR7IFRC.js.map} +0 -0
- /package/dist/{chunk-GBOJ7UOJ.js.map → chunk-D56X6TIA.js.map} +0 -0
- /package/dist/{chunk-OAIWMMDH.js.map → chunk-DCOWBZ4D.js.map} +0 -0
- /package/dist/{chunk-OOQVEI22.js.map → chunk-E4VUJTK7.js.map} +0 -0
- /package/dist/{chunk-DBRQMW4F.js.map → chunk-FXNMKJUE.js.map} +0 -0
- /package/dist/{chunk-QOW645TT.js.map → chunk-G5OTRYQJ.js.map} +0 -0
- /package/dist/{chunk-ZWBSBRJN.js.map → chunk-GUQUJHSB.js.map} +0 -0
- /package/dist/{chunk-KZXHHJGC.js.map → chunk-HMSAC6CL.js.map} +0 -0
- /package/dist/{chunk-ESNONUG5.js.map → chunk-JAPEZSIO.js.map} +0 -0
- /package/dist/{chunk-Z55B352Z.js.map → chunk-K64NJ3DS.js.map} +0 -0
- /package/dist/{chunk-VMXJXME3.js.map → chunk-KHP2X524.js.map} +0 -0
- /package/dist/{chunk-RXQXFZ5R.js.map → chunk-L7XVOR4O.js.map} +0 -0
- /package/dist/{chunk-DGO334CT.js.map → chunk-LKDNOOE3.js.map} +0 -0
- /package/dist/{chunk-JHEAVIL7.js.map → chunk-O6CEKOYB.js.map} +0 -0
- /package/dist/{chunk-ND7YJJNV.js.map → chunk-QI7UQUH7.js.map} +0 -0
- /package/dist/{chunk-FFJGJCV7.js.map → chunk-S3W6E2VU.js.map} +0 -0
- /package/dist/{chunk-MQTHNPYA.js.map → chunk-SYCGCIMG.js.map} +0 -0
- /package/dist/{chunk-QANDVYFT.js.map → chunk-UHYMHWAU.js.map} +0 -0
- /package/dist/{chunk-7ZVAQXEP.js.map → chunk-WGGBQ45G.js.map} +0 -0
- /package/dist/{chunk-SVYSZ65Q.js.map → chunk-WWZRI7BG.js.map} +0 -0
- /package/dist/{chunk-D7VTJN62.js.map → chunk-XE5QK46I.js.map} +0 -0
- /package/dist/{chunk-7WB5TMBU.js.map → chunk-XEGAUVA2.js.map} +0 -0
- /package/dist/{chunk-5EBC23LM.js.map → chunk-ZC47NRTS.js.map} +0 -0
- /package/dist/{config-YWYYE6BO.js.map → config-TAYSSDJX.js.map} +0 -0
- /package/dist/{ocr-AANQ5UEV.js.map → ocr-ITQBA44X.js.map} +0 -0
- /package/dist/{status-USY4PLPC.js.map → status-LWAIS2GB.js.map} +0 -0
package/dist/a10-index.js
CHANGED
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-WGTBSWJM.js";
|
|
5
5
|
import {
|
|
6
6
|
requireEntitlementToScan
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-UHYMHWAU.js";
|
|
8
|
+
import "./chunk-NCNJ24MW.js";
|
|
9
9
|
import {
|
|
10
10
|
ROUTES
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WZENBTM2.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-LKDNOOE3.js";
|
|
6
6
|
import {
|
|
7
7
|
checkEntryPath,
|
|
8
8
|
checkEntrySize
|
|
9
9
|
} from "./chunk-PTGS7JVX.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-WZENBTM2.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-G3QMBRFT.js.map
|
package/dist/aws-index.js
CHANGED
|
@@ -3,42 +3,42 @@ import {
|
|
|
3
3
|
awsWithCost,
|
|
4
4
|
describeAwsRun,
|
|
5
5
|
runAwsAccount
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WWZRI7BG.js";
|
|
7
|
+
import "./chunk-7BXYGQAN.js";
|
|
8
|
+
import "./chunk-75OKUYOM.js";
|
|
9
|
+
import "./chunk-QI7UQUH7.js";
|
|
10
|
+
import "./chunk-K64NJ3DS.js";
|
|
11
11
|
import {
|
|
12
12
|
AWS_PERMISSIONS,
|
|
13
13
|
AWS_PERMISSION_NOTES,
|
|
14
14
|
AWS_RECOMMENDED_POLICY
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-O6CEKOYB.js";
|
|
16
|
+
import "./chunk-GUQUJHSB.js";
|
|
17
17
|
import {
|
|
18
18
|
openVault
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XE5QK46I.js";
|
|
20
20
|
import "./chunk-BPIFQYJR.js";
|
|
21
21
|
import "./chunk-PTGS7JVX.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-WGGBQ45G.js";
|
|
23
23
|
import "./chunk-OORBSDZ2.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CRR7IFRC.js";
|
|
25
|
+
import "./chunk-63B6ITQK.js";
|
|
26
|
+
import "./chunk-FXNMKJUE.js";
|
|
27
27
|
import "./chunk-URNQQQIZ.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-S3W6E2VU.js";
|
|
29
29
|
import {
|
|
30
30
|
collectorOwnsModule,
|
|
31
31
|
requireEntitlementToScan
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-UHYMHWAU.js";
|
|
33
33
|
import {
|
|
34
34
|
FileConfig,
|
|
35
35
|
configFilePath,
|
|
36
36
|
stateDir,
|
|
37
37
|
vaultSettings
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NCNJ24MW.js";
|
|
39
39
|
import {
|
|
40
40
|
VaultProtection
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WZENBTM2.js";
|
|
42
42
|
|
|
43
43
|
// src/aws-index.ts
|
|
44
44
|
import { existsSync, readFileSync } from "node:fs";
|
package/dist/azure-index.js
CHANGED
|
@@ -2,32 +2,32 @@ import {
|
|
|
2
2
|
buildAzureInventory,
|
|
3
3
|
listAccessibleSubscriptions,
|
|
4
4
|
runAzureMonitoringCoverage
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-L7XVOR4O.js";
|
|
6
|
+
import "./chunk-QI7UQUH7.js";
|
|
7
|
+
import "./chunk-3YASF24M.js";
|
|
8
|
+
import "./chunk-O6CEKOYB.js";
|
|
9
|
+
import "./chunk-GUQUJHSB.js";
|
|
10
10
|
import "./chunk-4ARXQ6VD.js";
|
|
11
11
|
import {
|
|
12
12
|
ArmClient,
|
|
13
13
|
runCostAfterAzure
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WGGBQ45G.js";
|
|
15
15
|
import "./chunk-OORBSDZ2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-CRR7IFRC.js";
|
|
17
|
+
import "./chunk-63B6ITQK.js";
|
|
18
|
+
import "./chunk-FXNMKJUE.js";
|
|
19
19
|
import "./chunk-URNQQQIZ.js";
|
|
20
20
|
import {
|
|
21
21
|
pushAzureInventory
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-2GFAM47G.js";
|
|
23
|
+
import "./chunk-S3W6E2VU.js";
|
|
24
24
|
import {
|
|
25
25
|
requireEntitlementToScan
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UHYMHWAU.js";
|
|
27
27
|
import {
|
|
28
28
|
loadAzureConfig
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
} from "./chunk-NCNJ24MW.js";
|
|
30
|
+
import "./chunk-WZENBTM2.js";
|
|
31
31
|
|
|
32
32
|
// src/azure-index.ts
|
|
33
33
|
var LEVEL_RANK = { debug: 10, info: 20, warn: 30, error: 40 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isPlanRefusal,
|
|
3
3
|
planRefusalFrom
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S3W6E2VU.js";
|
|
5
5
|
import {
|
|
6
6
|
COLLECTOR_AUTH_HEADER,
|
|
7
7
|
IngestResult,
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
SnapshotUploadCloseResult,
|
|
11
11
|
SnapshotUploadOpenResult,
|
|
12
12
|
collectorBearer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UHYMHWAU.js";
|
|
14
14
|
import {
|
|
15
15
|
M365SharingBatchResult,
|
|
16
16
|
M365SharingCloseResult,
|
|
17
17
|
M365SharingRunResult
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NCNJ24MW.js";
|
|
19
19
|
import {
|
|
20
20
|
ApiError,
|
|
21
21
|
CertReportResult,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
SddRunBatchResult,
|
|
25
25
|
SddRunCloseResult,
|
|
26
26
|
SddRunOpenResult
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WZENBTM2.js";
|
|
28
28
|
|
|
29
29
|
// src/core/snapshotChunks.ts
|
|
30
30
|
var CHUNK_THRESHOLD_BYTES = 1048576;
|
|
@@ -614,4 +614,4 @@ export {
|
|
|
614
614
|
pushM365SharingClose,
|
|
615
615
|
pushRejectionStatus
|
|
616
616
|
};
|
|
617
|
-
//# sourceMappingURL=chunk-
|
|
617
|
+
//# sourceMappingURL=chunk-2GFAM47G.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isRouteMissing,
|
|
10
10
|
safeJson,
|
|
11
11
|
sidePost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-63B6ITQK.js";
|
|
13
13
|
import {
|
|
14
14
|
FrameworkRef,
|
|
15
15
|
HostPostureVolume,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
SDD_OPENXML_EXTENSIONS,
|
|
19
19
|
SddRegulationFamily,
|
|
20
20
|
SddTargetKind
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WZENBTM2.js";
|
|
22
22
|
|
|
23
23
|
// src/sensitiveData/safeguards.ts
|
|
24
24
|
import { spawn as spawn3 } from "node:child_process";
|
|
@@ -1939,4 +1939,4 @@ export {
|
|
|
1939
1939
|
newPostureCache,
|
|
1940
1940
|
runSmbSafeguards
|
|
1941
1941
|
};
|
|
1942
|
-
//# sourceMappingURL=chunk-
|
|
1942
|
+
//# sourceMappingURL=chunk-3YASF24M.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COLLECTOR_AUTH_HEADER,
|
|
3
3
|
collectorBearer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UHYMHWAU.js";
|
|
5
5
|
|
|
6
6
|
// src/sensitiveData/sidePost.ts
|
|
7
7
|
var defaultSleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
@@ -90,4 +90,4 @@ export {
|
|
|
90
90
|
NotFoundCache,
|
|
91
91
|
isRouteMissing
|
|
92
92
|
};
|
|
93
|
-
//# sourceMappingURL=chunk-
|
|
93
|
+
//# sourceMappingURL=chunk-63B6ITQK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyAndPush
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UIOGII6N.js";
|
|
4
4
|
import {
|
|
5
5
|
DP_EXTERNAL_DOMAINS_MAX,
|
|
6
6
|
DP_M365_GRANTEES_PER_FILE,
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
mapLimit,
|
|
10
10
|
pushSafeguards,
|
|
11
11
|
safeguardsRouteBlocked
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3YASF24M.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_WALK_OPTIONS,
|
|
15
15
|
compileExcludes,
|
|
16
16
|
isIgnoredForClassification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DCOWBZ4D.js";
|
|
18
18
|
import {
|
|
19
19
|
GraphHttpError,
|
|
20
20
|
MsRequestTimeoutError
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
pushSddRunClose,
|
|
24
24
|
pushSddRunOpen
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2GFAM47G.js";
|
|
26
26
|
|
|
27
27
|
// src/scan/tcp.ts
|
|
28
28
|
import { Socket } from "node:net";
|
|
@@ -1059,4 +1059,4 @@ export {
|
|
|
1059
1059
|
m365JobNote,
|
|
1060
1060
|
scanM365Stores
|
|
1061
1061
|
};
|
|
1062
|
-
//# sourceMappingURL=chunk-
|
|
1062
|
+
//# sourceMappingURL=chunk-6VIOC6XK.js.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
K8S_INGEST_MAX_SEQ,
|
|
5
5
|
KubernetesIngestBody,
|
|
6
6
|
KubernetesIngestResult
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GUQUJHSB.js";
|
|
8
8
|
import {
|
|
9
9
|
safeJson,
|
|
10
10
|
sidePost
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-63B6ITQK.js";
|
|
12
12
|
import {
|
|
13
13
|
planRefusalFrom
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-S3W6E2VU.js";
|
|
15
15
|
|
|
16
16
|
// src/kubernetes/push.ts
|
|
17
17
|
import { randomUUID } from "node:crypto";
|
|
@@ -86,4 +86,4 @@ async function pushKubernetesInventory(p, opts, log, signal, post = sidePost) {
|
|
|
86
86
|
export {
|
|
87
87
|
pushKubernetesInventory
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=chunk-
|
|
89
|
+
//# sourceMappingURL=chunk-75OKUYOM.js.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pushKubernetesInventory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-75OKUYOM.js";
|
|
4
4
|
import {
|
|
5
5
|
K8sClient,
|
|
6
6
|
readKubernetesCluster
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QI7UQUH7.js";
|
|
8
8
|
import {
|
|
9
9
|
DIAGRAM_REFRESH_CACHE_MAX_AGE_MS,
|
|
10
10
|
diagramRefreshOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K64NJ3DS.js";
|
|
12
12
|
import {
|
|
13
13
|
CLOUD_DETAILS_MAX_BYTES,
|
|
14
14
|
CLOUD_MAX_RULES_PER_GROUP,
|
|
15
15
|
CLOUD_PROPS_MAX_BYTES,
|
|
16
16
|
CLOUD_RULE_DESCRIPTION_MAX
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O6CEKOYB.js";
|
|
18
18
|
import {
|
|
19
19
|
CloudClusterFacts,
|
|
20
20
|
K8S_CLUSTERS_PER_REFRESH_MAX,
|
|
21
21
|
kubernetesApiHost
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GUQUJHSB.js";
|
|
23
23
|
import {
|
|
24
24
|
isPlanRefusal,
|
|
25
25
|
planRefusalFrom
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S3W6E2VU.js";
|
|
27
27
|
import {
|
|
28
28
|
assertEntitlementConfirmed,
|
|
29
29
|
collectorOwnsModule
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-UHYMHWAU.js";
|
|
31
31
|
import {
|
|
32
32
|
moduleForScanDomain
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WZENBTM2.js";
|
|
34
34
|
|
|
35
35
|
// src/kubernetes/run.ts
|
|
36
36
|
function guardKubernetesScan(params, log) {
|
|
@@ -1282,4 +1282,4 @@ export {
|
|
|
1282
1282
|
setDiagramRefreshVault,
|
|
1283
1283
|
runRefreshAware
|
|
1284
1284
|
};
|
|
1285
|
-
//# sourceMappingURL=chunk-
|
|
1285
|
+
//# sourceMappingURL=chunk-7BXYGQAN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LimitedFields
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZENBTM2.js";
|
|
4
4
|
|
|
5
5
|
// ../../packages/collector-contract/src/costOptimization.ts
|
|
6
6
|
import { z } from "zod";
|
|
@@ -2009,4 +2009,4 @@ export {
|
|
|
2009
2009
|
costChargeFromAwsRecordType,
|
|
2010
2010
|
CostIngestResult
|
|
2011
2011
|
};
|
|
2012
|
-
//# sourceMappingURL=chunk-
|
|
2012
|
+
//# sourceMappingURL=chunk-CRR7IFRC.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mapWithConcurrency,
|
|
3
3
|
targetRefusalMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UIOGII6N.js";
|
|
5
5
|
import {
|
|
6
6
|
createThrottle,
|
|
7
7
|
walkShare
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DCOWBZ4D.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_EXTRACTION_POLICY,
|
|
11
11
|
extensionKind,
|
|
12
12
|
extractFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LKDNOOE3.js";
|
|
14
14
|
import {
|
|
15
15
|
VaultError,
|
|
16
16
|
openVault
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XE5QK46I.js";
|
|
18
18
|
import {
|
|
19
19
|
PS_UTF8_STDOUT,
|
|
20
20
|
loginName
|
|
21
21
|
} from "./chunk-4ARXQ6VD.js";
|
|
22
22
|
import {
|
|
23
23
|
vaultSettings
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NCNJ24MW.js";
|
|
25
25
|
import {
|
|
26
26
|
VaultProtection
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WZENBTM2.js";
|
|
28
28
|
|
|
29
29
|
// src/sensitiveData/hostPool.ts
|
|
30
30
|
var DEFAULT_ENUM_CONCURRENCY = 8;
|
|
@@ -683,4 +683,4 @@ export {
|
|
|
683
683
|
machineVerdict,
|
|
684
684
|
deliveryVerdict
|
|
685
685
|
};
|
|
686
|
-
//# sourceMappingURL=chunk-
|
|
686
|
+
//# sourceMappingURL=chunk-D56X6TIA.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readFileBounded,
|
|
9
9
|
sniffOfficeLabel,
|
|
10
10
|
withDeadline
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LKDNOOE3.js";
|
|
12
12
|
import {
|
|
13
13
|
checkEntryPath
|
|
14
14
|
} from "./chunk-PTGS7JVX.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-URNQQQIZ.js";
|
|
18
18
|
import {
|
|
19
19
|
SddUnreadableReason
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WZENBTM2.js";
|
|
21
21
|
|
|
22
22
|
// ../../packages/sensitive-data/src/families.ts
|
|
23
23
|
var REGULATION_FAMILIES = ["pci", "hipaa", "glba", "ferpa", "gdpr", "ccpa"];
|
|
@@ -2568,4 +2568,4 @@ export {
|
|
|
2568
2568
|
tabularCells,
|
|
2569
2569
|
columnConfidence
|
|
2570
2570
|
};
|
|
2571
|
-
//# sourceMappingURL=chunk-
|
|
2571
|
+
//# sourceMappingURL=chunk-DCOWBZ4D.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultUseLogPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JAPEZSIO.js";
|
|
4
4
|
import {
|
|
5
5
|
COLLECTOR_MODULES,
|
|
6
6
|
findModule
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GBJMLQMR.js";
|
|
8
8
|
import {
|
|
9
9
|
collectorVersion,
|
|
10
10
|
installedVersion,
|
|
11
11
|
restartNeededNotice
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FXNMKJUE.js";
|
|
13
13
|
import {
|
|
14
14
|
PKG_ROOT
|
|
15
15
|
} from "./chunk-URNQQQIZ.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
collectorBearer,
|
|
19
19
|
collectorEntitlementStatus,
|
|
20
20
|
collectorOwnsModule
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UHYMHWAU.js";
|
|
22
22
|
import {
|
|
23
23
|
configFilePath,
|
|
24
24
|
readRemediationSetting,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
stateDir,
|
|
27
27
|
writeRemediationSetting,
|
|
28
28
|
writeSelfUpdateSetting
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NCNJ24MW.js";
|
|
30
30
|
import {
|
|
31
31
|
CollectorSelfUpdateAttempt,
|
|
32
32
|
DomainScanTarget,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
deterministicJitter,
|
|
40
40
|
scheduleEditFields,
|
|
41
41
|
scheduleEditIssue
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WZENBTM2.js";
|
|
43
43
|
|
|
44
44
|
// src/ui/status.ts
|
|
45
45
|
import { existsSync as existsSync4, readFileSync as readFileSync4, readdirSync } from "node:fs";
|
|
@@ -1050,4 +1050,4 @@ export {
|
|
|
1050
1050
|
condenseLogTail,
|
|
1051
1051
|
buildUiStatus
|
|
1052
1052
|
};
|
|
1053
|
-
//# sourceMappingURL=chunk-
|
|
1053
|
+
//# sourceMappingURL=chunk-E4VUJTK7.js.map
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
import { readFileSync } from "node:fs";
|
|
7
7
|
import { join } from "node:path";
|
|
8
8
|
function collectorVersion() {
|
|
9
|
-
if ("1.6.
|
|
10
|
-
return "1.6.
|
|
9
|
+
if ("1.6.73".length > 0) {
|
|
10
|
+
return "1.6.73";
|
|
11
11
|
}
|
|
12
12
|
return installedVersion();
|
|
13
13
|
}
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
installedVersion,
|
|
32
32
|
restartNeededNotice
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-FXNMKJUE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4ARXQ6VD.js";
|
|
4
4
|
import {
|
|
5
5
|
HypervIngestBody
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WZENBTM2.js";
|
|
7
7
|
|
|
8
8
|
// src/hyperv/scan.ts
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
@@ -576,4 +576,4 @@ export {
|
|
|
576
576
|
scanHypervTargets,
|
|
577
577
|
buildHypervInventory
|
|
578
578
|
};
|
|
579
|
-
//# sourceMappingURL=chunk-
|
|
579
|
+
//# sourceMappingURL=chunk-G5OTRYQJ.js.map
|
|
@@ -190,8 +190,10 @@ var COLLECTOR_MODULES = [
|
|
|
190
190
|
// Runs from the button since 2026-09-12: the daemon drives this module's
|
|
191
191
|
// own entry as a supervised child (core/sddJob.ts), so the resumable
|
|
192
192
|
// run/batch/close protocol stays in one place and the Run button, the
|
|
193
|
-
// schedule and the plane's queue all reach it.
|
|
194
|
-
//
|
|
193
|
+
// schedule and the plane's queue all reach it. It needs no targets: with
|
|
194
|
+
// none it reads every Windows computer discovered at the site (resolved on
|
|
195
|
+
// the plane), and ticked networks or named hosts narrow it. File servers
|
|
196
|
+
// are the SMB share scan's job, the row below (2026-12-03).
|
|
195
197
|
consoleRefusal: null,
|
|
196
198
|
moduleKey: "sensitive-data",
|
|
197
199
|
label: "Sensitive Data Discovery",
|
|
@@ -227,4 +229,4 @@ export {
|
|
|
227
229
|
COLLECTOR_MODULES,
|
|
228
230
|
findModule
|
|
229
231
|
};
|
|
230
|
-
//# sourceMappingURL=chunk-
|
|
232
|
+
//# sourceMappingURL=chunk-GBJMLQMR.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/ui/modules.ts"],
|
|
4
|
-
"sourcesContent": ["/**\r\n * The collector's scan modules, as ONE table.\r\n *\r\n * Three consumers read it, and keeping them on a single list is the point:\r\n *\r\n * - `src/cli.ts` maps `netdoc-collector scan <key>` onto the module's\r\n * existing entry file. The entrypoints themselves are untouched \u2014 they\r\n * talk to real hardware and each already knows how to load its own config,\r\n * print its own summary and set its own exit code. The CLI only DISPATCHES.\r\n * - `src/ui/status.ts` folds the use-log ledger into a per-module \"last run\"\r\n * row, and needs to know which ledger `mode` strings belong to which module.\r\n * - `src/ui/server.ts` accepts `POST /ui/api/scan {module}` and must refuse a\r\n * key that is not on this list \u2014 the module name is the only part of that\r\n * request that reaches a `spawn`, so the allowlist IS the injection guard.\r\n *\r\n * A module added here gains all three surfaces at once; a module added to only\r\n * one of them is the drift this table exists to prevent.\r\n */\r\n\r\nimport type { ModuleKey, ScanDomain } from \"@netdoc/collector-contract\";\r\n\r\nexport interface CollectorModule {\r\n /** The key typed after `scan` and posted by the UI's Run button. */\r\n key: string;\r\n /**\r\n * The control plane's name for this scan \u2014 the `domain` a job carries.\r\n *\r\n * It is what lets the UI's Run button build a LOCAL JOB and hand it to the\r\n * running daemon (`core/manualRuns.ts`) instead of spawning a one-shot child\r\n * that would demand `ORG_ID` / `SITE_ID` / `SCAN_TARGETS` from a config file\r\n * enrolment never writes them into. Stated here rather than parsed back out\r\n * of `ledgerModes`, where it has always been half-present as\r\n * `daemon:<domain>`: a string that is load-bearing for what runs should not\r\n * have to be recovered from a string that exists to match log records.\r\n *\r\n * NULL for a module that is not a scan domain at all \u2014 `config-import`, which\r\n * reads a directory of device configs rather than reaching an estate.\r\n */\r\n domain: ScanDomain | null;\r\n /**\r\n * Why the local console cannot START this module, when it cannot \u2014 the whole\r\n * sentence the button answers with, naming the command that does work.\r\n *\r\n * TWO modules refuse, for two different reasons, and keeping the reason here\r\n * rather than deriving it from `domain` is the point: `config-import` has no\r\n * domain at all, while `sensitive-data` has a perfectly real one that the\r\n * daemon nevertheless REFUSES from the scan-job queue (`core/daemon.ts` \u2014 it\r\n * pushes through a resumable run/batch/close sequence instead of one\r\n * snapshot, and the queue's dispatch chain would otherwise fall through to\r\n * the SQL Server driver). Deriving the refusal from `domain === null` would\r\n * have queued a sensitive-data job that the daemon fails a second later, and\r\n * the operator would read that as a broken scan rather than a wrong button.\r\n *\r\n * NULL means the console can run it.\r\n */\r\n consoleRefusal: string | null;\r\n /**\r\n * The licence module this scan is gated on \u2014 the key the tenant must OWN for\r\n * the resulting push to be accepted, and the one the UI checks (via\r\n * `collectorOwnsModule`) before it enables a \"Run scan\" button. It is the\r\n * catalogue name, which is not always the CLI key: `lb` is sold as\r\n * `load-balancer`, the `identity` collector feeds `cloud-identity`. Kept beside\r\n * the CLI key here rather than derived at the call site so this one table stays\r\n * the single source of truth for \"what is this module, in every sense\".\r\n */\r\n moduleKey: ModuleKey;\r\n /** Human label for the UI's modules table. */\r\n label: string;\r\n /**\r\n * The module's entry file, as an import specifier RELATIVE TO `src/` (and\r\n * therefore to the compiled `dist/`). `src/cli.ts` sits in that directory, so\r\n * a plain dynamic `import(entry)` from there resolves it in both worlds \u2014\r\n * under tsx in a checkout and as compiled JS in the installed package.\r\n */\r\n /**\r\n * The one-shot module to import for `netdoc-collector scan <key>`.\r\n *\r\n * NULL for a domain that has no one-shot entrypoint. Four of them do not \u2014\r\n * storage, firewall, wireless and NAC are implemented as DOMAIN RUNNERS in\r\n * `core/domainScan.ts` and reached through a job, which is how the portal has\r\n * always run them. They were absent from this table entirely until\r\n * 2026-09-11, so the local console offered no way to run four scan types the\r\n * collector fully supports.\r\n *\r\n * Listing them with a null entry is what fixes that without inventing four\r\n * `*-index.ts` files nobody asked for: the console's Run button builds a JOB\r\n * (see `ui/actions.ts`), which the daemon dispatches by domain, and never\r\n * touches this field. `cli.ts` does, and refuses with a sentence naming the\r\n * two ways that do work.\r\n */\r\n entry: string | null;\r\n /**\r\n * The `mode` strings this module's runs are recorded under in the use log\r\n * (`core/useLog.ts`): one-shot runs write \"scan\"/\"scan --dry-run\", daemon\r\n * jobs write \"daemon:<domain>\" where <domain> is the CONTROL PLANE's name\r\n * for the module \u2014 which is not always the CLI key (`lb` is the plane's\r\n * \"loadbalancer\"). Empty means the module keeps no ledger record today\r\n * (config-import), and its status row honestly shows \"never\".\r\n */\r\n ledgerModes: readonly string[];\r\n}\r\n\r\nexport const COLLECTOR_MODULES: readonly CollectorModule[] = [\r\n {\r\n key: \"network\",\r\n domain: \"network\",\r\n consoleRefusal: null,\r\n moduleKey: \"discovery\",\r\n label: \"Network sweep (ICMP / ARP / SNMP / SSH)\",\r\n entry: \"./index.js\",\r\n ledgerModes: [\"scan\", \"scan --dry-run\", \"daemon:network\"],\r\n },\r\n {\r\n key: \"vmware\",\r\n domain: \"vmware\",\r\n consoleRefusal: null,\r\n moduleKey: \"vmware\",\r\n label: \"VMware vSphere\",\r\n entry: \"./vmware-index.js\",\r\n ledgerModes: [\"daemon:vmware\"],\r\n },\r\n {\r\n key: \"hyperv\",\r\n domain: \"hyperv\",\r\n consoleRefusal: null,\r\n moduleKey: \"hyperv\",\r\n label: \"Hyper-V\",\r\n entry: \"./hyperv-index.js\",\r\n ledgerModes: [\"daemon:hyperv\"],\r\n },\r\n {\r\n key: \"sql\",\r\n domain: \"sql\",\r\n consoleRefusal: null,\r\n moduleKey: \"sql\",\r\n label: \"SQL Server\",\r\n entry: \"./sql-index.js\",\r\n ledgerModes: [\"daemon:sql\"],\r\n },\r\n {\r\n key: \"lb\",\r\n domain: \"loadbalancer\",\r\n consoleRefusal: null,\r\n // The CLI key is `lb`; the module is sold as `load-balancer`.\r\n moduleKey: \"load-balancer\",\r\n label: \"Load balancers (A10)\",\r\n entry: \"./a10-index.js\",\r\n ledgerModes: [\"daemon:loadbalancer\"],\r\n },\r\n {\r\n key: \"storage\",\r\n domain: \"storage\",\r\n consoleRefusal: null,\r\n moduleKey: \"storage\",\r\n label: \"Storage arrays (NetApp / Dell EMC / EqualLogic)\",\r\n // Daemon-only: no one-shot entrypoint exists for this domain.\r\n entry: null,\r\n ledgerModes: [\"daemon:storage\"],\r\n },\r\n {\r\n key: \"firewall\",\r\n domain: \"firewall\",\r\n consoleRefusal: null,\r\n // The domain is `firewall`; the catalogue sells it as `firewall-audit`.\r\n moduleKey: \"firewall-audit\",\r\n label: \"Firewalls (FMC / FDM / PAN-OS)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:firewall\"],\r\n },\r\n {\r\n key: \"wireless\",\r\n domain: \"wireless\",\r\n consoleRefusal: null,\r\n moduleKey: \"wireless\",\r\n label: \"Wireless controllers (WLC)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:wireless\"],\r\n },\r\n {\r\n key: \"nac\",\r\n domain: \"nac\",\r\n consoleRefusal: null,\r\n moduleKey: \"nac\",\r\n label: \"Network access control (ISE / ClearPass)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:nac\"],\r\n },\r\n {\r\n key: \"voice\",\r\n domain: \"voice\",\r\n consoleRefusal: null,\r\n moduleKey: \"voice\",\r\n label: \"Voice & Collaboration (CUCM / Unity / Webex)\",\r\n entry: \"./voice-index.js\",\r\n ledgerModes: [\"daemon:voice\"],\r\n },\r\n {\r\n key: \"identity\",\r\n domain: \"identity\",\r\n consoleRefusal: null,\r\n // The `identity` collector is the Microsoft Graph one; it feeds\r\n // `cloud-identity` (Entra / M365), NOT the on-prem `ad-identity` module.\r\n moduleKey: \"cloud-identity\",\r\n label: \"Identity & Cloud (Microsoft Entra ID)\",\r\n entry: \"./identity-index.js\",\r\n ledgerModes: [\"daemon:identity\"],\r\n },\r\n {\r\n key: \"azure\",\r\n domain: \"azure\",\r\n consoleRefusal: null,\r\n moduleKey: \"azure\",\r\n label: \"Azure Cloud Posture (CSPM)\",\r\n entry: \"./azure-index.js\",\r\n ledgerModes: [\"daemon:azure\"],\r\n },\r\n {\r\n // Google Cloud (docs/design/cloud-aws-gcp.md \u00A74.1): one service account,\r\n // every project it can see. The daemon driver is gcp/run.ts.\r\n key: \"gcp\",\r\n domain: \"gcp\",\r\n consoleRefusal: null,\r\n moduleKey: \"gcp\",\r\n label: \"GCP Cloud Posture\",\r\n entry: \"./gcp-index.js\",\r\n ledgerModes: [\"daemon:gcp\"],\r\n },\r\n {\r\n // AWS (docs/design/cloud-aws-gcp.md \u00A74.1): one account per credential set\r\n // (an IAM user's key, optionally assuming a role). The daemon driver is aws/run.ts.\r\n key: \"aws\",\r\n domain: \"aws\",\r\n consoleRefusal: null,\r\n moduleKey: \"aws\",\r\n label: \"AWS Cloud Posture\",\r\n entry: \"./aws-index.js\",\r\n ledgerModes: [\"daemon:aws\"],\r\n },\r\n {\r\n // Kubernetes in-cluster read (docs/design/cloud-containers-refresh-multicloud.md \u00A74):\r\n // namespaces, workloads, services, ingresses and node counts of every cluster this\r\n // collector holds a read-only `kubernetes` credential set for. Gated on the scan\r\n // module MODULE_FOR_SCAN_DOMAIN names (`discovery`); the daemon driver is kubernetes/run.ts.\r\n key: \"kubernetes\",\r\n domain: \"kubernetes\",\r\n consoleRefusal: null,\r\n moduleKey: \"discovery\",\r\n label: \"Kubernetes clusters (in-cluster read)\",\r\n entry: \"./kubernetes-index.js\",\r\n ledgerModes: [\"daemon:kubernetes\"],\r\n },\r\n {\r\n // Microsoft 365 Sharing (docs/design/m365-sharing.md \u00A72.3.1): what in\r\n // SharePoint and OneDrive has been shared, read through Microsoft Graph with\r\n // the `graph` vault set. Daemon-only (`core/domainScan.ts`\r\n // `runM365SharingScan`): it pushes through a run/batch/close sequence and\r\n // resumes per library, which a one-shot command would only duplicate. The\r\n // run's targets are its two switches: `sharepoint` and/or `onedrive`.\r\n key: \"m365-sharing\",\r\n domain: \"m365-sharing\",\r\n consoleRefusal: null,\r\n moduleKey: \"m365-sharing\",\r\n label: \"Microsoft 365 Sharing\",\r\n entry: null,\r\n ledgerModes: [\"daemon:m365-sharing\"],\r\n },\r\n {\r\n key: \"config-import\",\r\n domain: null,\r\n consoleRefusal:\r\n \"reads a directory of device configurations given as --path, which no button can supply \u2014 \" +\r\n \"run it from a shell, as: netdoc-collector scan config-import --path <directory>\",\r\n moduleKey: \"config-import\",\r\n label: \"Config import (offline device configs)\",\r\n entry: \"./configimport-index.js\",\r\n ledgerModes: [],\r\n },\r\n {\r\n // Sensitive-data discovery (PLAN-010, Phases 2-4). Its entrypoint arrived\r\n // without a row here, which left the packaged CLI unable to dispatch it \u2014\r\n // `netdoc-collector scan sensitive-data` is this line. Empty ledgerModes\r\n // like config-import: its run/batch/close ingest keeps its own records and\r\n // writes no use-log mode yet, so the status row honestly shows \"never\"\r\n // rather than guessing at a mode string the ledger never carries.\r\n //\r\n // Now that a scan classifies and PUSHES (sensitiveData/pushRun.ts), \"never\"\r\n // is a thinner answer than it was \u2014 the run is recorded in sdd_scan_runs at\r\n // the far end, just not in the local ledger this row reads. Giving it a real\r\n // mode is a small piece of work and the right one; it is deliberately not\r\n // being smuggled in with the ingest wiring.\r\n key: \"sensitive-data\",\r\n domain: \"sensitive-data\",\r\n // Runs from the button since 2026-09-12: the daemon drives this module's\r\n // own entry as a supervised child (core/sddJob.ts), so the resumable\r\n // run/batch/close protocol stays in one place and the Run button, the\r\n // schedule and the plane's queue all reach it. Targets are the file servers\r\n // to enumerate \u2014 names, addresses or CIDRs.\r\n consoleRefusal: null,\r\n moduleKey: \"sensitive-data\",\r\n label: \"Sensitive Data Discovery\",\r\n entry: \"./sensitive-data-index.js\",\r\n ledgerModes: [],\r\n },\r\n {\r\n // \u2500\u2500 THE OTHER HALF OF THE MODULE \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n //\r\n // Same `moduleKey`, because a customer buys Sensitive Data Discovery\r\n // once. A separate ROW because the two scans are pointed at different\r\n // things and an operator has to choose: this one enumerates what named\r\n // FILE SERVERS publish and walks those shares; the row above reads the\r\n // user folders on the machines a sweep found, share or no share.\r\n //\r\n // Until 2026-09-18 there was one row doing both badly: a workstation\r\n // publishes nothing, so the machines in an estate came back \"nothing here\r\n // to scan\".\r\n key: \"smb-shares\",\r\n domain: \"smb-shares\",\r\n consoleRefusal: null,\r\n moduleKey: \"sensitive-data\",\r\n label: \"Sensitive Data Discovery (SMB shares)\",\r\n entry: \"./smb-shares-index.js\",\r\n ledgerModes: [],\r\n },\r\n];\r\n\r\n/** Look a module up by its CLI/UI key. */\r\nexport function findModule(key: string): CollectorModule | undefined {\r\n return COLLECTOR_MODULES.find((m) => m.key === key);\r\n}\r\n"],
|
|
5
|
-
"mappings": ";AAsGO,IAAM,oBAAgD;AAAA,EAC3D;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,QAAQ,kBAAkB,gBAAgB;AAAA,EAC1D;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,eAAe;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,eAAe;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AA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three consumers read it, and keeping them on a single list is the point:\r\n *\r\n * - `src/cli.ts` maps `netdoc-collector scan <key>` onto the module's\r\n * existing entry file. The entrypoints themselves are untouched \u2014 they\r\n * talk to real hardware and each already knows how to load its own config,\r\n * print its own summary and set its own exit code. The CLI only DISPATCHES.\r\n * - `src/ui/status.ts` folds the use-log ledger into a per-module \"last run\"\r\n * row, and needs to know which ledger `mode` strings belong to which module.\r\n * - `src/ui/server.ts` accepts `POST /ui/api/scan {module}` and must refuse a\r\n * key that is not on this list \u2014 the module name is the only part of that\r\n * request that reaches a `spawn`, so the allowlist IS the injection guard.\r\n *\r\n * A module added here gains all three surfaces at once; a module added to only\r\n * one of them is the drift this table exists to prevent.\r\n */\r\n\r\nimport type { ModuleKey, ScanDomain } from \"@netdoc/collector-contract\";\r\n\r\nexport interface CollectorModule {\r\n /** The key typed after `scan` and posted by the UI's Run button. */\r\n key: string;\r\n /**\r\n * The control plane's name for this scan \u2014 the `domain` a job carries.\r\n *\r\n * It is what lets the UI's Run button build a LOCAL JOB and hand it to the\r\n * running daemon (`core/manualRuns.ts`) instead of spawning a one-shot child\r\n * that would demand `ORG_ID` / `SITE_ID` / `SCAN_TARGETS` from a config file\r\n * enrolment never writes them into. Stated here rather than parsed back out\r\n * of `ledgerModes`, where it has always been half-present as\r\n * `daemon:<domain>`: a string that is load-bearing for what runs should not\r\n * have to be recovered from a string that exists to match log records.\r\n *\r\n * NULL for a module that is not a scan domain at all \u2014 `config-import`, which\r\n * reads a directory of device configs rather than reaching an estate.\r\n */\r\n domain: ScanDomain | null;\r\n /**\r\n * Why the local console cannot START this module, when it cannot \u2014 the whole\r\n * sentence the button answers with, naming the command that does work.\r\n *\r\n * TWO modules refuse, for two different reasons, and keeping the reason here\r\n * rather than deriving it from `domain` is the point: `config-import` has no\r\n * domain at all, while `sensitive-data` has a perfectly real one that the\r\n * daemon nevertheless REFUSES from the scan-job queue (`core/daemon.ts` \u2014 it\r\n * pushes through a resumable run/batch/close sequence instead of one\r\n * snapshot, and the queue's dispatch chain would otherwise fall through to\r\n * the SQL Server driver). Deriving the refusal from `domain === null` would\r\n * have queued a sensitive-data job that the daemon fails a second later, and\r\n * the operator would read that as a broken scan rather than a wrong button.\r\n *\r\n * NULL means the console can run it.\r\n */\r\n consoleRefusal: string | null;\r\n /**\r\n * The licence module this scan is gated on \u2014 the key the tenant must OWN for\r\n * the resulting push to be accepted, and the one the UI checks (via\r\n * `collectorOwnsModule`) before it enables a \"Run scan\" button. It is the\r\n * catalogue name, which is not always the CLI key: `lb` is sold as\r\n * `load-balancer`, the `identity` collector feeds `cloud-identity`. Kept beside\r\n * the CLI key here rather than derived at the call site so this one table stays\r\n * the single source of truth for \"what is this module, in every sense\".\r\n */\r\n moduleKey: ModuleKey;\r\n /** Human label for the UI's modules table. */\r\n label: string;\r\n /**\r\n * The module's entry file, as an import specifier RELATIVE TO `src/` (and\r\n * therefore to the compiled `dist/`). `src/cli.ts` sits in that directory, so\r\n * a plain dynamic `import(entry)` from there resolves it in both worlds \u2014\r\n * under tsx in a checkout and as compiled JS in the installed package.\r\n */\r\n /**\r\n * The one-shot module to import for `netdoc-collector scan <key>`.\r\n *\r\n * NULL for a domain that has no one-shot entrypoint. Four of them do not \u2014\r\n * storage, firewall, wireless and NAC are implemented as DOMAIN RUNNERS in\r\n * `core/domainScan.ts` and reached through a job, which is how the portal has\r\n * always run them. They were absent from this table entirely until\r\n * 2026-09-11, so the local console offered no way to run four scan types the\r\n * collector fully supports.\r\n *\r\n * Listing them with a null entry is what fixes that without inventing four\r\n * `*-index.ts` files nobody asked for: the console's Run button builds a JOB\r\n * (see `ui/actions.ts`), which the daemon dispatches by domain, and never\r\n * touches this field. `cli.ts` does, and refuses with a sentence naming the\r\n * two ways that do work.\r\n */\r\n entry: string | null;\r\n /**\r\n * The `mode` strings this module's runs are recorded under in the use log\r\n * (`core/useLog.ts`): one-shot runs write \"scan\"/\"scan --dry-run\", daemon\r\n * jobs write \"daemon:<domain>\" where <domain> is the CONTROL PLANE's name\r\n * for the module \u2014 which is not always the CLI key (`lb` is the plane's\r\n * \"loadbalancer\"). Empty means the module keeps no ledger record today\r\n * (config-import), and its status row honestly shows \"never\".\r\n */\r\n ledgerModes: readonly string[];\r\n}\r\n\r\nexport const COLLECTOR_MODULES: readonly CollectorModule[] = [\r\n {\r\n key: \"network\",\r\n domain: \"network\",\r\n consoleRefusal: null,\r\n moduleKey: \"discovery\",\r\n label: \"Network sweep (ICMP / ARP / SNMP / SSH)\",\r\n entry: \"./index.js\",\r\n ledgerModes: [\"scan\", \"scan --dry-run\", \"daemon:network\"],\r\n },\r\n {\r\n key: \"vmware\",\r\n domain: \"vmware\",\r\n consoleRefusal: null,\r\n moduleKey: \"vmware\",\r\n label: \"VMware vSphere\",\r\n entry: \"./vmware-index.js\",\r\n ledgerModes: [\"daemon:vmware\"],\r\n },\r\n {\r\n key: \"hyperv\",\r\n domain: \"hyperv\",\r\n consoleRefusal: null,\r\n moduleKey: \"hyperv\",\r\n label: \"Hyper-V\",\r\n entry: \"./hyperv-index.js\",\r\n ledgerModes: [\"daemon:hyperv\"],\r\n },\r\n {\r\n key: \"sql\",\r\n domain: \"sql\",\r\n consoleRefusal: null,\r\n moduleKey: \"sql\",\r\n label: \"SQL Server\",\r\n entry: \"./sql-index.js\",\r\n ledgerModes: [\"daemon:sql\"],\r\n },\r\n {\r\n key: \"lb\",\r\n domain: \"loadbalancer\",\r\n consoleRefusal: null,\r\n // The CLI key is `lb`; the module is sold as `load-balancer`.\r\n moduleKey: \"load-balancer\",\r\n label: \"Load balancers (A10)\",\r\n entry: \"./a10-index.js\",\r\n ledgerModes: [\"daemon:loadbalancer\"],\r\n },\r\n {\r\n key: \"storage\",\r\n domain: \"storage\",\r\n consoleRefusal: null,\r\n moduleKey: \"storage\",\r\n label: \"Storage arrays (NetApp / Dell EMC / EqualLogic)\",\r\n // Daemon-only: no one-shot entrypoint exists for this domain.\r\n entry: null,\r\n ledgerModes: [\"daemon:storage\"],\r\n },\r\n {\r\n key: \"firewall\",\r\n domain: \"firewall\",\r\n consoleRefusal: null,\r\n // The domain is `firewall`; the catalogue sells it as `firewall-audit`.\r\n moduleKey: \"firewall-audit\",\r\n label: \"Firewalls (FMC / FDM / PAN-OS)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:firewall\"],\r\n },\r\n {\r\n key: \"wireless\",\r\n domain: \"wireless\",\r\n consoleRefusal: null,\r\n moduleKey: \"wireless\",\r\n label: \"Wireless controllers (WLC)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:wireless\"],\r\n },\r\n {\r\n key: \"nac\",\r\n domain: \"nac\",\r\n consoleRefusal: null,\r\n moduleKey: \"nac\",\r\n label: \"Network access control (ISE / ClearPass)\",\r\n entry: null,\r\n ledgerModes: [\"daemon:nac\"],\r\n },\r\n {\r\n key: \"voice\",\r\n domain: \"voice\",\r\n consoleRefusal: null,\r\n moduleKey: \"voice\",\r\n label: \"Voice & Collaboration (CUCM / Unity / Webex)\",\r\n entry: \"./voice-index.js\",\r\n ledgerModes: [\"daemon:voice\"],\r\n },\r\n {\r\n key: \"identity\",\r\n domain: \"identity\",\r\n consoleRefusal: null,\r\n // The `identity` collector is the Microsoft Graph one; it feeds\r\n // `cloud-identity` (Entra / M365), NOT the on-prem `ad-identity` module.\r\n moduleKey: \"cloud-identity\",\r\n label: \"Identity & Cloud (Microsoft Entra ID)\",\r\n entry: \"./identity-index.js\",\r\n ledgerModes: [\"daemon:identity\"],\r\n },\r\n {\r\n key: \"azure\",\r\n domain: \"azure\",\r\n consoleRefusal: null,\r\n moduleKey: \"azure\",\r\n label: \"Azure Cloud Posture (CSPM)\",\r\n entry: \"./azure-index.js\",\r\n ledgerModes: [\"daemon:azure\"],\r\n },\r\n {\r\n // Google Cloud (docs/design/cloud-aws-gcp.md \u00A74.1): one service account,\r\n // every project it can see. The daemon driver is gcp/run.ts.\r\n key: \"gcp\",\r\n domain: \"gcp\",\r\n consoleRefusal: null,\r\n moduleKey: \"gcp\",\r\n label: \"GCP Cloud Posture\",\r\n entry: \"./gcp-index.js\",\r\n ledgerModes: [\"daemon:gcp\"],\r\n },\r\n {\r\n // AWS (docs/design/cloud-aws-gcp.md \u00A74.1): one account per credential set\r\n // (an IAM user's key, optionally assuming a role). The daemon driver is aws/run.ts.\r\n key: \"aws\",\r\n domain: \"aws\",\r\n consoleRefusal: null,\r\n moduleKey: \"aws\",\r\n label: \"AWS Cloud Posture\",\r\n entry: \"./aws-index.js\",\r\n ledgerModes: [\"daemon:aws\"],\r\n },\r\n {\r\n // Kubernetes in-cluster read (docs/design/cloud-containers-refresh-multicloud.md \u00A74):\r\n // namespaces, workloads, services, ingresses and node counts of every cluster this\r\n // collector holds a read-only `kubernetes` credential set for. Gated on the scan\r\n // module MODULE_FOR_SCAN_DOMAIN names (`discovery`); the daemon driver is kubernetes/run.ts.\r\n key: \"kubernetes\",\r\n domain: \"kubernetes\",\r\n consoleRefusal: null,\r\n moduleKey: \"discovery\",\r\n label: \"Kubernetes clusters (in-cluster read)\",\r\n entry: \"./kubernetes-index.js\",\r\n ledgerModes: [\"daemon:kubernetes\"],\r\n },\r\n {\r\n // Microsoft 365 Sharing (docs/design/m365-sharing.md \u00A72.3.1): what in\r\n // SharePoint and OneDrive has been shared, read through Microsoft Graph with\r\n // the `graph` vault set. Daemon-only (`core/domainScan.ts`\r\n // `runM365SharingScan`): it pushes through a run/batch/close sequence and\r\n // resumes per library, which a one-shot command would only duplicate. The\r\n // run's targets are its two switches: `sharepoint` and/or `onedrive`.\r\n key: \"m365-sharing\",\r\n domain: \"m365-sharing\",\r\n consoleRefusal: null,\r\n moduleKey: \"m365-sharing\",\r\n label: \"Microsoft 365 Sharing\",\r\n entry: null,\r\n ledgerModes: [\"daemon:m365-sharing\"],\r\n },\r\n {\r\n key: \"config-import\",\r\n domain: null,\r\n consoleRefusal:\r\n \"reads a directory of device configurations given as --path, which no button can supply \u2014 \" +\r\n \"run it from a shell, as: netdoc-collector scan config-import --path <directory>\",\r\n moduleKey: \"config-import\",\r\n label: \"Config import (offline device configs)\",\r\n entry: \"./configimport-index.js\",\r\n ledgerModes: [],\r\n },\r\n {\r\n // Sensitive-data discovery (PLAN-010, Phases 2-4). Its entrypoint arrived\r\n // without a row here, which left the packaged CLI unable to dispatch it \u2014\r\n // `netdoc-collector scan sensitive-data` is this line. Empty ledgerModes\r\n // like config-import: its run/batch/close ingest keeps its own records and\r\n // writes no use-log mode yet, so the status row honestly shows \"never\"\r\n // rather than guessing at a mode string the ledger never carries.\r\n //\r\n // Now that a scan classifies and PUSHES (sensitiveData/pushRun.ts), \"never\"\r\n // is a thinner answer than it was \u2014 the run is recorded in sdd_scan_runs at\r\n // the far end, just not in the local ledger this row reads. Giving it a real\r\n // mode is a small piece of work and the right one; it is deliberately not\r\n // being smuggled in with the ingest wiring.\r\n key: \"sensitive-data\",\r\n domain: \"sensitive-data\",\r\n // Runs from the button since 2026-09-12: the daemon drives this module's\r\n // own entry as a supervised child (core/sddJob.ts), so the resumable\r\n // run/batch/close protocol stays in one place and the Run button, the\r\n // schedule and the plane's queue all reach it. It needs no targets: with\r\n // none it reads every Windows computer discovered at the site (resolved on\r\n // the plane), and ticked networks or named hosts narrow it. File servers\r\n // are the SMB share scan's job, the row below (2026-12-03).\r\n consoleRefusal: null,\r\n moduleKey: \"sensitive-data\",\r\n label: \"Sensitive Data Discovery\",\r\n entry: \"./sensitive-data-index.js\",\r\n ledgerModes: [],\r\n },\r\n {\r\n // \u2500\u2500 THE OTHER HALF OF THE MODULE \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\r\n //\r\n // Same `moduleKey`, because a customer buys Sensitive Data Discovery\r\n // once. A separate ROW because the two scans are pointed at different\r\n // things and an operator has to choose: this one enumerates what named\r\n // FILE SERVERS publish and walks those shares; the row above reads the\r\n // user folders on the machines a sweep found, share or no share.\r\n //\r\n // Until 2026-09-18 there was one row doing both badly: a workstation\r\n // publishes nothing, so the machines in an estate came back \"nothing here\r\n // to scan\".\r\n key: \"smb-shares\",\r\n domain: \"smb-shares\",\r\n consoleRefusal: null,\r\n moduleKey: \"sensitive-data\",\r\n label: \"Sensitive Data Discovery (SMB shares)\",\r\n entry: \"./smb-shares-index.js\",\r\n ledgerModes: [],\r\n },\r\n];\r\n\r\n/** Look a module up by its CLI/UI key. */\r\nexport function findModule(key: string): CollectorModule | undefined {\r\n return COLLECTOR_MODULES.find((m) => m.key === key);\r\n}\r\n"],
|
|
5
|
+
"mappings": ";AAsGO,IAAM,oBAAgD;AAAA,EAC3D;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,QAAQ,kBAAkB,gBAAgB;AAAA,EAC1D;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,eAAe;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,eAAe;AAAA,EAC/B;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC,YAAY;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,KAAK;AAAA,IACL,QAAQ;AAAA,IACR,gBAAgB;AAAA;AAAA,IAEhB,WAAW;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,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;AAAA,IACX,OAAO;AAAA,IACP,OAAO;AAAA,IACP,aAAa,CAAC;AAAA,EAChB;AACF;AAGO,SAAS,WAAW,KAA0C;AACnE,SAAO,kBAAkB,KAAK,CAAC,MAAM,EAAE,QAAQ,GAAG;AACpD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
API_BASE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WZENBTM2.js";
|
|
4
4
|
|
|
5
5
|
// ../../packages/collector-contract/src/cloudContainers.ts
|
|
6
6
|
import { z } from "zod";
|
|
@@ -462,4 +462,4 @@ export {
|
|
|
462
462
|
CloudDiagramCluster,
|
|
463
463
|
CloudDiagramContainerLayer
|
|
464
464
|
};
|
|
465
|
-
//# sourceMappingURL=chunk-
|
|
465
|
+
//# sourceMappingURL=chunk-GUQUJHSB.js.map
|