log10x-mcp 1.30.21 → 1.30.23
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/README.md +3 -1
- package/build/index.js +26 -4
- package/build/index.js.map +1 -1
- package/build/lib/advisor/envelope.d.ts +1 -1
- package/build/lib/advisor/reporter-forwarders.d.ts +32 -13
- package/build/lib/advisor/reporter-forwarders.js +179 -94
- package/build/lib/advisor/reporter-forwarders.js.map +1 -1
- package/build/lib/advisor/reporter.d.ts +18 -10
- package/build/lib/advisor/reporter.js +43 -16
- package/build/lib/advisor/reporter.js.map +1 -1
- package/build/lib/advisor/retriever.d.ts +6 -0
- package/build/lib/advisor/retriever.js +5 -3
- package/build/lib/advisor/retriever.js.map +1 -1
- package/build/lib/advisor/types.d.ts +3 -1
- package/build/lib/cdk-recipes.d.ts +1 -1
- package/build/lib/cdk-recipes.js +21 -10
- package/build/lib/cdk-recipes.js.map +1 -1
- package/build/lib/discovery/types.d.ts +15 -10
- package/build/lib/fenced.d.ts +2 -0
- package/build/lib/fenced.js +2 -2
- package/build/lib/fenced.js.map +1 -1
- package/build/lib/offload-recipes.d.ts +2 -1
- package/build/lib/offload-recipes.js +13 -10
- package/build/lib/offload-recipes.js.map +1 -1
- package/build/lib/poc-report-renderer.js +17 -11
- package/build/lib/poc-report-renderer.js.map +1 -1
- package/build/lib/retriever-api.d.ts +14 -0
- package/build/lib/retriever-api.js +40 -10
- package/build/lib/retriever-api.js.map +1 -1
- package/build/lib/runtime-image.d.ts +7 -2
- package/build/lib/runtime-image.js +7 -2
- package/build/lib/runtime-image.js.map +1 -1
- package/build/lib/siem/_sampling.js +4 -0
- package/build/lib/siem/_sampling.js.map +1 -1
- package/build/lib/siem/cloudwatch.d.ts +18 -0
- package/build/lib/siem/cloudwatch.js +106 -2
- package/build/lib/siem/cloudwatch.js.map +1 -1
- package/build/lib/siem/datadog.js +1 -1
- package/build/lib/siem/datadog.js.map +1 -1
- package/build/lib/siem/elasticsearch.js +13 -1
- package/build/lib/siem/elasticsearch.js.map +1 -1
- package/build/lib/siem/splunk.d.ts +18 -0
- package/build/lib/siem/splunk.js +71 -7
- package/build/lib/siem/splunk.js.map +1 -1
- package/build/product-kb/docs/apps/receiver/compact/index.md +3 -3
- package/build/product-kb/docs/apps/receiver/compact/splunk.md +81 -67
- package/build/product-kb/docs/apps/retriever/faq.md +2 -2
- package/build/product-kb/docs/engine/launcher/extension.md +20 -20
- package/build/product-kb/docs/faq/apps/retriever.md +2 -2
- package/build/product-kb/docs/faq/general.md +1 -1
- package/build/product-kb/docs/faq/stacks/splunk/comparisons.md +3 -3
- package/build/product-kb/docs/faq/stacks/splunk/compatibility.md +19 -242
- package/build/product-kb/docs/faq/stacks/splunk/index.md +1 -1
- package/build/product-kb/docs/faq/stacks/splunk/kv-store.md +41 -159
- package/build/product-kb/docs/faq/stacks/splunk/optimization.md +4 -4
- package/build/product-kb/docs/run/input/forwarder/fluentbit/index.md +1 -1
- package/build/product-kb/docs/run/input/forwarder/fluentd/index.md +1 -1
- package/build/product-kb/docs/run/input/forwarder/otel-collector/index.md +1 -1
- package/build/product-kb/docs/run/input/forwarder/vector/index.md +1 -1
- package/build/product-kb/docs/summary.md +0 -1
- package/build/tools/advise-install.d.ts +25 -18
- package/build/tools/advise-install.js +156 -90
- package/build/tools/advise-install.js.map +1 -1
- package/build/tools/advise-retriever.d.ts +5 -5
- package/build/tools/advise-retriever.js +25 -9
- package/build/tools/advise-retriever.js.map +1 -1
- package/build/tools/doctor.js +3 -2
- package/build/tools/doctor.js.map +1 -1
- package/build/tools/emit-sample-plan.js +7 -1
- package/build/tools/emit-sample-plan.js.map +1 -1
- package/build/tools/poc-from-local.js +7 -6
- package/build/tools/poc-from-local.js.map +1 -1
- package/build/tools/poc-from-siem.js +71 -4
- package/build/tools/poc-from-siem.js.map +1 -1
- package/build/tools/retriever-query.js +1 -1
- package/build/tools/retriever-query.js.map +1 -1
- package/package.json +1 -1
- package/build/product-kb/docs/run/output/event/dev/index.md +0 -351
|
@@ -7,8 +7,10 @@
|
|
|
7
7
|
*
|
|
8
8
|
* 1. Asks the next missing question (returning markdown that the agent
|
|
9
9
|
* surfaces to the user), or
|
|
10
|
-
* 2. Once all answers are in, emits a concrete install plan
|
|
11
|
-
*
|
|
10
|
+
* 2. Once all answers are in, emits a concrete install plan. By default
|
|
11
|
+
* the plan carries no licence and the engine runs its built-in
|
|
12
|
+
* evaluation licence; a signed-in, pasted or demo JWT is wired in
|
|
13
|
+
* only when the caller asks for one via `license_source`.
|
|
12
14
|
*
|
|
13
15
|
* The five decisions, by dependency order:
|
|
14
16
|
*
|
|
@@ -16,26 +18,31 @@
|
|
|
16
18
|
* "plug into existing forwarder" (Receiver). The biggest fork.
|
|
17
19
|
* Q2. (Receiver only) Which forwarder — auto-uses the snapshot's
|
|
18
20
|
* detected forwarder when there's exactly one; asks if multiple.
|
|
19
|
-
* Q3. Backend — where TenXSummary metrics go
|
|
20
|
-
*
|
|
21
|
-
* detected
|
|
21
|
+
* Q3. Backend — where TenXSummary metrics go: the user's own TSDB
|
|
22
|
+
* (prometheus, datadog, elastic, cloudwatch). Backends whose agent
|
|
23
|
+
* discovery detected are listed first. The log10x-hosted backend is
|
|
24
|
+
* for the public demo, not customer installs, so it is never offered
|
|
25
|
+
* or defaulted; it is accepted only when passed explicitly, and then
|
|
26
|
+
* needs a user licence (signin / paste) to receive anything.
|
|
22
27
|
* Q4. (Backend ≠ log10x only) Airgapped — opt-in for CISO-friction
|
|
23
28
|
* reduction. Skipped silently when backend=log10x (SaaS implies
|
|
24
29
|
* not-airgapped).
|
|
25
|
-
* Q5. License —
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
+
* Q5. License — not asked. The default (`license_source: "builtin"`)
|
|
31
|
+
* puts no licence in the plan: the engine runs its built-in
|
|
32
|
+
* evaluation licence (10 nodes, 30 days from each start,
|
|
33
|
+
* airgapped), so there is nothing to mint, store or mount.
|
|
34
|
+
* `signin` (user-scoped JWT), `paste` (a JWT the user holds) and
|
|
35
|
+
* `demo` (1-node, 14-day JWT) stay available as explicit choices,
|
|
36
|
+
* and each adds a step that creates the licence Secret.
|
|
30
37
|
*
|
|
31
38
|
* State retention is via WizardSession on the snapshot store — the
|
|
32
39
|
* MCP itself is stateless per call, but the snapshot store's 30-min TTL
|
|
33
40
|
* gives the agent a coherent conversation thread.
|
|
34
41
|
*
|
|
35
|
-
* **Credential note.**
|
|
36
|
-
* for the install plan. The license JWT is
|
|
37
|
-
* engine pods consume
|
|
38
|
-
* value. The wizard never touches the user's api_key; the api_key stays
|
|
42
|
+
* **Credential note.** When asked to (`signin` / `demo`), the wizard mints
|
|
43
|
+
* a LICENSE JWT (not an api_key) for the install plan. The license JWT is
|
|
44
|
+
* the credential the deployed engine pods consume: it goes into the helm
|
|
45
|
+
* chart's `log10xLicenseJwt` value or a mounted Secret. The wizard never touches the user's api_key; the api_key stays
|
|
39
46
|
* with the MCP for user-action calls (queries, env management, etc.).
|
|
40
47
|
* See `../lib/auth-model.ts` for the full split.
|
|
41
48
|
*/
|
|
@@ -60,7 +67,7 @@ export declare const adviseInstallSchema: {
|
|
|
60
67
|
secretName: string;
|
|
61
68
|
plainValues?: Record<string, string> | undefined;
|
|
62
69
|
}>>>;
|
|
63
|
-
license_source: z.
|
|
70
|
+
license_source: z.ZodOptional<z.ZodEnum<["builtin", "signin", "demo", "paste"]>>;
|
|
64
71
|
license_jwt_paste: z.ZodOptional<z.ZodString>;
|
|
65
72
|
namespace: z.ZodOptional<z.ZodString>;
|
|
66
73
|
release_name: z.ZodOptional<z.ZodString>;
|
|
@@ -82,13 +89,12 @@ declare const schemaObj: z.ZodObject<{
|
|
|
82
89
|
secretName: string;
|
|
83
90
|
plainValues?: Record<string, string> | undefined;
|
|
84
91
|
}>>>;
|
|
85
|
-
license_source: z.
|
|
92
|
+
license_source: z.ZodOptional<z.ZodEnum<["builtin", "signin", "demo", "paste"]>>;
|
|
86
93
|
license_jwt_paste: z.ZodOptional<z.ZodString>;
|
|
87
94
|
namespace: z.ZodOptional<z.ZodString>;
|
|
88
95
|
release_name: z.ZodOptional<z.ZodString>;
|
|
89
96
|
action: z.ZodOptional<z.ZodEnum<["install", "verify", "teardown", "all"]>>;
|
|
90
97
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
license_source: "demo" | "signin" | "paste";
|
|
92
98
|
namespace?: string | undefined;
|
|
93
99
|
app?: "reporter" | "receiver" | undefined;
|
|
94
100
|
forwarder?: "vector" | "fluentbit" | "fluentd" | "filebeat" | "logstash" | "otel-collector" | undefined;
|
|
@@ -96,6 +102,7 @@ declare const schemaObj: z.ZodObject<{
|
|
|
96
102
|
snapshot_id?: string | undefined;
|
|
97
103
|
backends?: string[] | undefined;
|
|
98
104
|
airgapped?: boolean | undefined;
|
|
105
|
+
license_source?: "demo" | "builtin" | "signin" | "paste" | undefined;
|
|
99
106
|
license_jwt_paste?: string | undefined;
|
|
100
107
|
release_name?: string | undefined;
|
|
101
108
|
backend_credentials?: Record<string, {
|
|
@@ -110,7 +117,7 @@ declare const schemaObj: z.ZodObject<{
|
|
|
110
117
|
snapshot_id?: string | undefined;
|
|
111
118
|
backends?: string[] | undefined;
|
|
112
119
|
airgapped?: boolean | undefined;
|
|
113
|
-
license_source?: "demo" | "signin" | "paste" | undefined;
|
|
120
|
+
license_source?: "demo" | "builtin" | "signin" | "paste" | undefined;
|
|
114
121
|
license_jwt_paste?: string | undefined;
|
|
115
122
|
release_name?: string | undefined;
|
|
116
123
|
backend_credentials?: Record<string, {
|