infracensus-collector 1.6.2 → 1.6.4
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 +2 -2
- package/dist/azure-index.js +6 -6
- package/dist/{chunk-AH5OW4T3.js → chunk-264UYTMW.js} +2 -2
- package/dist/{chunk-V6BRGNEU.js → chunk-2Z2DCQY3.js} +3 -3
- package/dist/{chunk-FYKLZRHK.js → chunk-3HADO2FW.js} +2 -2
- package/dist/{chunk-M6O7VA6Z.js → chunk-3OULBSXR.js} +2 -2
- package/dist/{chunk-66TRC3GH.js → chunk-5U3STMSU.js} +2 -2
- package/dist/{chunk-M6XXRHFK.js → chunk-CIC4VI4P.js} +2 -2
- package/dist/{chunk-IGTUXQVG.js → chunk-DPNHKRC6.js} +2 -2
- package/dist/{chunk-KTNSYBZN.js → chunk-ECNWAUZQ.js} +26 -2
- package/dist/chunk-ECNWAUZQ.js.map +7 -0
- package/dist/{chunk-HB3DUE46.js → chunk-GDCKNDQ4.js} +2 -2
- package/dist/{chunk-M6BEAG6W.js → chunk-GIA73FZ6.js} +2 -2
- package/dist/{chunk-7I3ZADZT.js → chunk-JHHLUHR5.js} +3 -3
- package/dist/{chunk-CHN3HHUT.js → chunk-SEEC7NV7.js} +4 -4
- package/dist/{chunk-7LSYNWBB.js → chunk-SPX7M46N.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/{config-7AAJ3O6N.js → config-7P5U6BSD.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 +89 -36
- package/dist/index.js.map +2 -2
- package/dist/sensitive-data-index.js +5 -5
- package/dist/sql-index.js +6 -6
- package/dist/{status-2MFYDX7U.js → status-C5TBXIA5.js} +5 -5
- package/dist/vmware-index.js +6 -6
- package/dist/voice-index.js +6 -6
- package/package.json +1 -1
- package/dist/chunk-KTNSYBZN.js.map +0 -7
- /package/dist/{chunk-AH5OW4T3.js.map → chunk-264UYTMW.js.map} +0 -0
- /package/dist/{chunk-V6BRGNEU.js.map → chunk-2Z2DCQY3.js.map} +0 -0
- /package/dist/{chunk-FYKLZRHK.js.map → chunk-3HADO2FW.js.map} +0 -0
- /package/dist/{chunk-M6O7VA6Z.js.map → chunk-3OULBSXR.js.map} +0 -0
- /package/dist/{chunk-66TRC3GH.js.map → chunk-5U3STMSU.js.map} +0 -0
- /package/dist/{chunk-M6XXRHFK.js.map → chunk-CIC4VI4P.js.map} +0 -0
- /package/dist/{chunk-IGTUXQVG.js.map → chunk-DPNHKRC6.js.map} +0 -0
- /package/dist/{chunk-HB3DUE46.js.map → chunk-GDCKNDQ4.js.map} +0 -0
- /package/dist/{chunk-M6BEAG6W.js.map → chunk-GIA73FZ6.js.map} +0 -0
- /package/dist/{chunk-7I3ZADZT.js.map → chunk-JHHLUHR5.js.map} +0 -0
- /package/dist/{chunk-CHN3HHUT.js.map → chunk-SEEC7NV7.js.map} +0 -0
- /package/dist/{chunk-7LSYNWBB.js.map → chunk-SPX7M46N.js.map} +0 -0
- /package/dist/{config-7AAJ3O6N.js.map → config-7P5U6BSD.js.map} +0 -0
- /package/dist/{status-2MFYDX7U.js.map → status-C5TBXIA5.js.map} +0 -0
package/dist/a10-index.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-MN4JODQW.js";
|
|
5
5
|
import {
|
|
6
6
|
requireEntitlementToScan
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5U3STMSU.js";
|
|
8
8
|
import {
|
|
9
9
|
ROUTES
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
11
11
|
import "./chunk-CW3YCPEC.js";
|
|
12
12
|
|
|
13
13
|
// src/a10-index.ts
|
package/dist/azure-index.js
CHANGED
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
ArmClient,
|
|
3
3
|
buildAzureInventory,
|
|
4
4
|
listAccessibleSubscriptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-264UYTMW.js";
|
|
6
6
|
import {
|
|
7
7
|
pushAzureInventory
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SEEC7NV7.js";
|
|
9
|
+
import "./chunk-3OULBSXR.js";
|
|
10
10
|
import {
|
|
11
11
|
loadAzureConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GDCKNDQ4.js";
|
|
13
13
|
import {
|
|
14
14
|
requireEntitlementToScan
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-5U3STMSU.js";
|
|
16
|
+
import "./chunk-ECNWAUZQ.js";
|
|
17
17
|
import "./chunk-CW3YCPEC.js";
|
|
18
18
|
|
|
19
19
|
// src/azure-index.ts
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
AzureRbacAssignment,
|
|
9
9
|
AzureResource,
|
|
10
10
|
AzureSubscription
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
12
12
|
|
|
13
13
|
// src/azure/arm.ts
|
|
14
14
|
var noopLog = () => {
|
|
@@ -839,4 +839,4 @@ export {
|
|
|
839
839
|
listAccessibleSubscriptions,
|
|
840
840
|
buildAzureInventory
|
|
841
841
|
};
|
|
842
|
-
//# sourceMappingURL=chunk-
|
|
842
|
+
//# sourceMappingURL=chunk-264UYTMW.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-A27O5VMG.js";
|
|
6
6
|
import {
|
|
7
7
|
configFilePath
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GDCKNDQ4.js";
|
|
9
9
|
import {
|
|
10
10
|
collectorEntitlementStatus,
|
|
11
11
|
collectorOwnsModule
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5U3STMSU.js";
|
|
13
13
|
import {
|
|
14
14
|
PKG_ROOT
|
|
15
15
|
} from "./chunk-CW3YCPEC.js";
|
|
@@ -312,4 +312,4 @@ export {
|
|
|
312
312
|
condenseLogTail,
|
|
313
313
|
buildUiStatus
|
|
314
314
|
};
|
|
315
|
-
//# sourceMappingURL=chunk-
|
|
315
|
+
//# sourceMappingURL=chunk-2Z2DCQY3.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-ECNWAUZQ.js";
|
|
7
7
|
|
|
8
8
|
// src/vmware/soap.ts
|
|
9
9
|
import { XMLParser } from "fast-xml-parser";
|
|
@@ -1291,4 +1291,4 @@ export {
|
|
|
1291
1291
|
VsphereClient,
|
|
1292
1292
|
buildVmwareInventory
|
|
1293
1293
|
};
|
|
1294
|
-
//# sourceMappingURL=chunk-
|
|
1294
|
+
//# sourceMappingURL=chunk-3HADO2FW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiError,
|
|
3
3
|
moduleForScanDomain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
5
5
|
|
|
6
6
|
// src/core/planRefusal.ts
|
|
7
7
|
var PLAN_REFUSAL_CODES = [
|
|
@@ -112,4 +112,4 @@ export {
|
|
|
112
112
|
asPlanRefusal,
|
|
113
113
|
createRefusalLatch
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
115
|
+
//# sourceMappingURL=chunk-3OULBSXR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CollectorEntitlementResult,
|
|
4
4
|
DiscoverySnapshot,
|
|
5
5
|
ROUTES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
7
7
|
import {
|
|
8
8
|
PKG_ROOT
|
|
9
9
|
} from "./chunk-CW3YCPEC.js";
|
|
@@ -494,4 +494,4 @@ export {
|
|
|
494
494
|
requireEntitlementToScan,
|
|
495
495
|
assertEntitlementConfirmed
|
|
496
496
|
};
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-5U3STMSU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SqlIngestBody
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
4
4
|
|
|
5
5
|
// src/sql/scan.ts
|
|
6
6
|
import sql from "mssql";
|
|
@@ -460,4 +460,4 @@ export {
|
|
|
460
460
|
scanSqlServer,
|
|
461
461
|
buildSqlInventory
|
|
462
462
|
};
|
|
463
|
-
//# sourceMappingURL=chunk-
|
|
463
|
+
//# sourceMappingURL=chunk-CIC4VI4P.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HypervIngestBody
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ECNWAUZQ.js";
|
|
4
4
|
|
|
5
5
|
// src/hyperv/scan.ts
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
@@ -455,4 +455,4 @@ export {
|
|
|
455
455
|
scanHypervTargets,
|
|
456
456
|
buildHypervInventory
|
|
457
457
|
};
|
|
458
|
-
//# sourceMappingURL=chunk-
|
|
458
|
+
//# sourceMappingURL=chunk-DPNHKRC6.js.map
|
|
@@ -4176,7 +4176,31 @@ var ScanJobStatusBody = z20.object({
|
|
|
4176
4176
|
* nobody reads mid-scan.
|
|
4177
4177
|
*/
|
|
4178
4178
|
sshOutcomes: z20.array(SshOutcome).optional(),
|
|
4179
|
-
snmpOutcomes: z20.array(SnmpOutcome).optional()
|
|
4179
|
+
snmpOutcomes: z20.array(SnmpOutcome).optional(),
|
|
4180
|
+
/**
|
|
4181
|
+
* WHAT THIS RUN IS, for a run the plane did not issue.
|
|
4182
|
+
*
|
|
4183
|
+
* A collector has two sources of work: a job polled from here, and its own
|
|
4184
|
+
* console or schedule. Only the first leaves a row in `scan_jobs`, so only
|
|
4185
|
+
* the first could be reported against — the second posted its progress
|
|
4186
|
+
* faithfully to a plane that answered 404 every time, and an operator who
|
|
4187
|
+
* started a scan on the collector watched the portal show nothing at all
|
|
4188
|
+
* while it ran, and no record of it afterwards.
|
|
4189
|
+
*
|
|
4190
|
+
* Present, the plane may CREATE the job row and then accept the report. Its
|
|
4191
|
+
* fields are the ones a queue row needs and cannot infer: which site the scan
|
|
4192
|
+
* is for, what kind it is, and what it was pointed at. Absent — the shape
|
|
4193
|
+
* every plane-issued report has — nothing is created and an unknown job is
|
|
4194
|
+
* still a 404.
|
|
4195
|
+
*
|
|
4196
|
+
* Carries no credential, by construction: targets are addresses, and the
|
|
4197
|
+
* collector resolves every secret locally.
|
|
4198
|
+
*/
|
|
4199
|
+
localRun: z20.object({
|
|
4200
|
+
siteId: z20.string().min(1),
|
|
4201
|
+
domain: ScanDomain,
|
|
4202
|
+
targets: z20.array(z20.string()).default([])
|
|
4203
|
+
}).optional()
|
|
4180
4204
|
});
|
|
4181
4205
|
var CancelScanJobBody = z20.object({ jobId: z20.string().min(1) });
|
|
4182
4206
|
var ScanJobStatusResult = z20.object({
|
|
@@ -11744,4 +11768,4 @@ export {
|
|
|
11744
11768
|
SddRunCloseResult,
|
|
11745
11769
|
ApiError
|
|
11746
11770
|
};
|
|
11747
|
-
//# sourceMappingURL=chunk-
|
|
11771
|
+
//# sourceMappingURL=chunk-ECNWAUZQ.js.map
|