@zuplo/runtime 6.44.14 → 6.44.17
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/out/esm/index.js +25 -25
- package/out/types/index.d.ts +47 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -3245,6 +3245,7 @@ export declare class MemoryZoneReadThroughCache<T = unknown> {
|
|
|
3245
3245
|
constructor(name: string, context: ZuploContext);
|
|
3246
3246
|
get(key: string): Promise<T | undefined>;
|
|
3247
3247
|
put(key: string, data: T, ttlSeconds: number): void;
|
|
3248
|
+
/* Excluded from this release type: delete */
|
|
3248
3249
|
}
|
|
3249
3250
|
|
|
3250
3251
|
/**
|
|
@@ -5298,6 +5299,48 @@ export declare interface SleepInboundPolicyOptions {
|
|
|
5298
5299
|
sleepInMs: number;
|
|
5299
5300
|
}
|
|
5300
5301
|
|
|
5302
|
+
declare interface SplunkLoggingOptions {
|
|
5303
|
+
/**
|
|
5304
|
+
* The URL for the Splunk HTTP Event Collector (HEC) endpoint.
|
|
5305
|
+
* For self-hosted: https://<splunk-host>:8088/services/collector
|
|
5306
|
+
* For cloud: https://<your-instance>.splunkcloud.com:8088/services/collector
|
|
5307
|
+
* For Splunk Cloud with HTTP inputs: https://http-inputs-<your-instance>.splunkcloud.com:8088/services/collector
|
|
5308
|
+
*/
|
|
5309
|
+
url: string;
|
|
5310
|
+
/**
|
|
5311
|
+
* The Splunk HEC token for authentication
|
|
5312
|
+
*/
|
|
5313
|
+
token: string;
|
|
5314
|
+
/**
|
|
5315
|
+
* The Splunk index to send logs to. Defaults to "main"
|
|
5316
|
+
*/
|
|
5317
|
+
index?: string;
|
|
5318
|
+
/**
|
|
5319
|
+
* The source type of the logs. Defaults to "json"
|
|
5320
|
+
*/
|
|
5321
|
+
sourcetype?: string;
|
|
5322
|
+
/**
|
|
5323
|
+
* The host identifier for the logs. Defaults to "zuplo-api"
|
|
5324
|
+
*/
|
|
5325
|
+
host?: string;
|
|
5326
|
+
/**
|
|
5327
|
+
* Any custom log fields to include in each log entry.
|
|
5328
|
+
*/
|
|
5329
|
+
fields?: CustomLogFields;
|
|
5330
|
+
/**
|
|
5331
|
+
* Channel identifier for Splunk HEC with indexer acknowledgment.
|
|
5332
|
+
* If not provided, the X-Splunk-Request-Channel header will not be sent.
|
|
5333
|
+
* Required only if your Splunk HEC token has indexer acknowledgment enabled.
|
|
5334
|
+
*/
|
|
5335
|
+
channel?: string;
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
export declare class SplunkLoggingPlugin extends LogPlugin {
|
|
5339
|
+
private options;
|
|
5340
|
+
constructor(options: SplunkLoggingOptions);
|
|
5341
|
+
/* Excluded from this release type: getTransport */
|
|
5342
|
+
}
|
|
5343
|
+
|
|
5301
5344
|
/* Excluded from this release type: StandardEnv */
|
|
5302
5345
|
|
|
5303
5346
|
/**
|
|
@@ -5805,6 +5848,10 @@ export declare interface UpstreamGcpServiceAuthInboundPolicyOptions {
|
|
|
5805
5848
|
* This is an advanced option that should only be used if you do not want to persist information in ZoneCache.
|
|
5806
5849
|
*/
|
|
5807
5850
|
useMemoryCacheOnly?: boolean;
|
|
5851
|
+
/**
|
|
5852
|
+
* The version of the policy.
|
|
5853
|
+
*/
|
|
5854
|
+
version?: 1 | 2;
|
|
5808
5855
|
}
|
|
5809
5856
|
|
|
5810
5857
|
/**
|