cribl-control-plane 0.5.0-rc.8 → 0.5.0-rc.9
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/commonjs/funcs/packsDelete.d.ts +1 -1
- package/dist/commonjs/funcs/packsDelete.d.ts.map +1 -1
- package/dist/commonjs/funcs/packsDelete.js +1 -1
- package/dist/commonjs/funcs/packsDelete.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/azureblobcollectorconf.d.ts +364 -29
- package/dist/commonjs/models/azureblobcollectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/azureblobcollectorconf.js +241 -27
- package/dist/commonjs/models/azureblobcollectorconf.js.map +1 -1
- package/dist/commonjs/models/countedpackuninstallinfo.d.ts +15 -0
- package/dist/commonjs/models/countedpackuninstallinfo.d.ts.map +1 -0
- package/dist/commonjs/models/countedpackuninstallinfo.js +52 -0
- package/dist/commonjs/models/countedpackuninstallinfo.js.map +1 -0
- package/dist/commonjs/models/googlecloudstoragecollectorconf.d.ts +203 -27
- package/dist/commonjs/models/googlecloudstoragecollectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/googlecloudstoragecollectorconf.js +145 -28
- package/dist/commonjs/models/googlecloudstoragecollectorconf.js.map +1 -1
- package/dist/commonjs/models/healthcheckcollectorconf.d.ts +2322 -98
- package/dist/commonjs/models/healthcheckcollectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/healthcheckcollectorconf.js +1924 -66
- package/dist/commonjs/models/healthcheckcollectorconf.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/nodeprovidedinfo.d.ts +2 -2
- package/dist/commonjs/models/nodeprovidedinfo.d.ts.map +1 -1
- package/dist/commonjs/models/nodeprovidedinfo.js +2 -2
- package/dist/commonjs/models/nodeprovidedinfo.js.map +1 -1
- package/dist/commonjs/models/packuninstallinfo.d.ts +11 -0
- package/dist/commonjs/models/packuninstallinfo.d.ts.map +1 -0
- package/dist/commonjs/models/packuninstallinfo.js +51 -0
- package/dist/commonjs/models/packuninstallinfo.js.map +1 -0
- package/dist/commonjs/models/restcollectorconf.d.ts +4977 -138
- package/dist/commonjs/models/restcollectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/restcollectorconf.js +4670 -99
- package/dist/commonjs/models/restcollectorconf.js.map +1 -1
- package/dist/commonjs/models/s3collectorconf.d.ts +758 -29
- package/dist/commonjs/models/s3collectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/s3collectorconf.js +494 -32
- package/dist/commonjs/models/s3collectorconf.js.map +1 -1
- package/dist/commonjs/models/splunkcollectorconf.d.ts +1478 -66
- package/dist/commonjs/models/splunkcollectorconf.d.ts.map +1 -1
- package/dist/commonjs/models/splunkcollectorconf.js +1150 -48
- package/dist/commonjs/models/splunkcollectorconf.js.map +1 -1
- package/dist/commonjs/sdk/packs.d.ts +1 -1
- package/dist/commonjs/sdk/packs.d.ts.map +1 -1
- package/dist/esm/funcs/packsDelete.d.ts +1 -1
- package/dist/esm/funcs/packsDelete.d.ts.map +1 -1
- package/dist/esm/funcs/packsDelete.js +1 -1
- package/dist/esm/funcs/packsDelete.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/azureblobcollectorconf.d.ts +364 -29
- package/dist/esm/models/azureblobcollectorconf.d.ts.map +1 -1
- package/dist/esm/models/azureblobcollectorconf.js +222 -24
- package/dist/esm/models/azureblobcollectorconf.js.map +1 -1
- package/dist/esm/models/countedpackuninstallinfo.d.ts +15 -0
- package/dist/esm/models/countedpackuninstallinfo.d.ts.map +1 -0
- package/dist/esm/models/countedpackuninstallinfo.js +15 -0
- package/dist/esm/models/countedpackuninstallinfo.js.map +1 -0
- package/dist/esm/models/googlecloudstoragecollectorconf.d.ts +203 -27
- package/dist/esm/models/googlecloudstoragecollectorconf.d.ts.map +1 -1
- package/dist/esm/models/googlecloudstoragecollectorconf.js +132 -25
- package/dist/esm/models/googlecloudstoragecollectorconf.js.map +1 -1
- package/dist/esm/models/healthcheckcollectorconf.d.ts +2322 -98
- package/dist/esm/models/healthcheckcollectorconf.d.ts.map +1 -1
- package/dist/esm/models/healthcheckcollectorconf.js +1827 -59
- package/dist/esm/models/healthcheckcollectorconf.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/nodeprovidedinfo.d.ts +2 -2
- package/dist/esm/models/nodeprovidedinfo.d.ts.map +1 -1
- package/dist/esm/models/nodeprovidedinfo.js +2 -2
- package/dist/esm/models/nodeprovidedinfo.js.map +1 -1
- package/dist/esm/models/packuninstallinfo.d.ts +11 -0
- package/dist/esm/models/packuninstallinfo.d.ts.map +1 -0
- package/dist/esm/models/packuninstallinfo.js +14 -0
- package/dist/esm/models/packuninstallinfo.js.map +1 -0
- package/dist/esm/models/restcollectorconf.d.ts +4977 -138
- package/dist/esm/models/restcollectorconf.d.ts.map +1 -1
- package/dist/esm/models/restcollectorconf.js +4416 -86
- package/dist/esm/models/restcollectorconf.js.map +1 -1
- package/dist/esm/models/s3collectorconf.d.ts +758 -29
- package/dist/esm/models/s3collectorconf.d.ts.map +1 -1
- package/dist/esm/models/s3collectorconf.js +472 -29
- package/dist/esm/models/s3collectorconf.js.map +1 -1
- package/dist/esm/models/splunkcollectorconf.d.ts +1478 -66
- package/dist/esm/models/splunkcollectorconf.d.ts.map +1 -1
- package/dist/esm/models/splunkcollectorconf.js +1091 -41
- package/dist/esm/models/splunkcollectorconf.js.map +1 -1
- package/dist/esm/sdk/packs.d.ts +1 -1
- package/dist/esm/sdk/packs.d.ts.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/packsDelete.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/models/azureblobcollectorconf.ts +761 -56
- package/src/models/countedpackuninstallinfo.ts +40 -0
- package/src/models/googlecloudstoragecollectorconf.ts +464 -63
- package/src/models/healthcheckcollectorconf.ts +5473 -211
- package/src/models/index.ts +2 -0
- package/src/models/nodeprovidedinfo.ts +4 -4
- package/src/models/packuninstallinfo.ts +33 -0
- package/src/models/restcollectorconf.ts +12333 -239
- package/src/models/s3collectorconf.ts +1595 -180
- package/src/models/splunkcollectorconf.ts +3304 -205
- package/src/sdk/packs.ts +1 -1
|
@@ -2,35 +2,177 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { OpenEnum } from "../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Authentication method for Discover and Collect REST calls
|
|
7
|
+
*/
|
|
8
|
+
export declare const SplunkAuthenticationLoginSecretAuthentication: {
|
|
9
|
+
/**
|
|
10
|
+
* None
|
|
11
|
+
*/
|
|
12
|
+
readonly None: "none";
|
|
13
|
+
/**
|
|
14
|
+
* Basic
|
|
15
|
+
*/
|
|
16
|
+
readonly Basic: "basic";
|
|
17
|
+
/**
|
|
18
|
+
* Basic (credentials secret)
|
|
19
|
+
*/
|
|
20
|
+
readonly BasicSecret: "basicSecret";
|
|
21
|
+
/**
|
|
22
|
+
* Bearer Token
|
|
23
|
+
*/
|
|
24
|
+
readonly Token: "token";
|
|
25
|
+
/**
|
|
26
|
+
* Bearer Token (text secret)
|
|
27
|
+
*/
|
|
28
|
+
readonly TokenSecret: "tokenSecret";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Authentication method for Discover and Collect REST calls
|
|
32
|
+
*/
|
|
33
|
+
export type SplunkAuthenticationLoginSecretAuthentication = OpenEnum<typeof SplunkAuthenticationLoginSecretAuthentication>;
|
|
5
34
|
/**
|
|
6
35
|
* Format of the returned output
|
|
7
36
|
*/
|
|
8
|
-
export declare const
|
|
37
|
+
export declare const SplunkAuthenticationLoginSecretOutputMode: {
|
|
9
38
|
readonly Csv: "csv";
|
|
10
39
|
readonly Json: "json";
|
|
11
40
|
};
|
|
12
41
|
/**
|
|
13
42
|
* Format of the returned output
|
|
14
43
|
*/
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
44
|
+
export type SplunkAuthenticationLoginSecretOutputMode = OpenEnum<typeof SplunkAuthenticationLoginSecretOutputMode>;
|
|
45
|
+
export type SplunkAuthenticationLoginSecretCollectRequestParam = {
|
|
17
46
|
name: string;
|
|
18
47
|
/**
|
|
19
48
|
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
20
49
|
*/
|
|
21
50
|
value: string;
|
|
22
51
|
};
|
|
23
|
-
export type
|
|
52
|
+
export type SplunkAuthenticationLoginSecretCollectRequestHeader = {
|
|
24
53
|
name: string;
|
|
25
54
|
/**
|
|
26
55
|
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
27
56
|
*/
|
|
28
57
|
value: string;
|
|
29
58
|
};
|
|
59
|
+
/**
|
|
60
|
+
* Algorithm to use when performing HTTP retries
|
|
61
|
+
*/
|
|
62
|
+
export declare const SplunkAuthenticationLoginSecretRetryType: {
|
|
63
|
+
/**
|
|
64
|
+
* Disabled
|
|
65
|
+
*/
|
|
66
|
+
readonly None: "none";
|
|
67
|
+
/**
|
|
68
|
+
* Backoff
|
|
69
|
+
*/
|
|
70
|
+
readonly Backoff: "backoff";
|
|
71
|
+
/**
|
|
72
|
+
* Static
|
|
73
|
+
*/
|
|
74
|
+
readonly Static: "static";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Algorithm to use when performing HTTP retries
|
|
78
|
+
*/
|
|
79
|
+
export type SplunkAuthenticationLoginSecretRetryType = OpenEnum<typeof SplunkAuthenticationLoginSecretRetryType>;
|
|
80
|
+
export type SplunkAuthenticationLoginSecretRetryRules = {
|
|
81
|
+
/**
|
|
82
|
+
* Algorithm to use when performing HTTP retries
|
|
83
|
+
*/
|
|
84
|
+
type?: SplunkAuthenticationLoginSecretRetryType | undefined;
|
|
85
|
+
interval?: any | undefined;
|
|
86
|
+
limit?: any | undefined;
|
|
87
|
+
multiplier?: any | undefined;
|
|
88
|
+
codes?: any | undefined;
|
|
89
|
+
enableHeader?: any | undefined;
|
|
90
|
+
retryConnectTimeout?: any | undefined;
|
|
91
|
+
retryConnectReset?: any | undefined;
|
|
92
|
+
};
|
|
93
|
+
export type SplunkAuthenticationLoginSecret = {
|
|
94
|
+
/**
|
|
95
|
+
* Authentication method for Discover and Collect REST calls
|
|
96
|
+
*/
|
|
97
|
+
authentication?: SplunkAuthenticationLoginSecretAuthentication | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* URL to use for login API call, this call is expected to be a POST.
|
|
100
|
+
*/
|
|
101
|
+
loginUrl?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Select or create a stored secret that references your login credentials
|
|
104
|
+
*/
|
|
105
|
+
credentialsSecret: string;
|
|
106
|
+
/**
|
|
107
|
+
* Template for POST body to send with login request, ${username} and ${password} are used to specify location of these attributes in the message
|
|
108
|
+
*/
|
|
109
|
+
loginBody?: string | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
112
|
+
*/
|
|
113
|
+
tokenRespAttribute?: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
116
|
+
*/
|
|
117
|
+
authHeaderExpr?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
120
|
+
*/
|
|
121
|
+
searchHead?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
124
|
+
*/
|
|
125
|
+
search: string;
|
|
126
|
+
/**
|
|
127
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
128
|
+
*/
|
|
129
|
+
earliest?: string | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
132
|
+
*/
|
|
133
|
+
latest?: string | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* REST API used to create a search
|
|
136
|
+
*/
|
|
137
|
+
endpoint?: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Format of the returned output
|
|
140
|
+
*/
|
|
141
|
+
outputMode?: SplunkAuthenticationLoginSecretOutputMode | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Optional collect request parameters
|
|
144
|
+
*/
|
|
145
|
+
collectRequestParams?: Array<SplunkAuthenticationLoginSecretCollectRequestParam> | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* Optional collect request headers
|
|
148
|
+
*/
|
|
149
|
+
collectRequestHeaders?: Array<SplunkAuthenticationLoginSecretCollectRequestHeader> | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
152
|
+
*/
|
|
153
|
+
timeout?: number | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
156
|
+
*/
|
|
157
|
+
useRoundRobinDns?: boolean | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* Disable collector event time filtering when a date range is specified
|
|
160
|
+
*/
|
|
161
|
+
disableTimeFilter?: boolean | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
164
|
+
*/
|
|
165
|
+
rejectUnauthorized?: boolean | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
168
|
+
*/
|
|
169
|
+
handleEscapedChars?: boolean | undefined;
|
|
170
|
+
retryRules?: SplunkAuthenticationLoginSecretRetryRules | undefined;
|
|
171
|
+
};
|
|
30
172
|
/**
|
|
31
173
|
* Authentication method for Discover and Collect REST calls
|
|
32
174
|
*/
|
|
33
|
-
export declare const
|
|
175
|
+
export declare const SplunkAuthenticationLoginAuthentication: {
|
|
34
176
|
/**
|
|
35
177
|
* None
|
|
36
178
|
*/
|
|
@@ -55,11 +197,36 @@ export declare const SplunkCollectorConfAuthentication: {
|
|
|
55
197
|
/**
|
|
56
198
|
* Authentication method for Discover and Collect REST calls
|
|
57
199
|
*/
|
|
58
|
-
export type
|
|
200
|
+
export type SplunkAuthenticationLoginAuthentication = OpenEnum<typeof SplunkAuthenticationLoginAuthentication>;
|
|
201
|
+
/**
|
|
202
|
+
* Format of the returned output
|
|
203
|
+
*/
|
|
204
|
+
export declare const SplunkAuthenticationLoginOutputMode: {
|
|
205
|
+
readonly Csv: "csv";
|
|
206
|
+
readonly Json: "json";
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Format of the returned output
|
|
210
|
+
*/
|
|
211
|
+
export type SplunkAuthenticationLoginOutputMode = OpenEnum<typeof SplunkAuthenticationLoginOutputMode>;
|
|
212
|
+
export type SplunkAuthenticationLoginCollectRequestParam = {
|
|
213
|
+
name: string;
|
|
214
|
+
/**
|
|
215
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
216
|
+
*/
|
|
217
|
+
value: string;
|
|
218
|
+
};
|
|
219
|
+
export type SplunkAuthenticationLoginCollectRequestHeader = {
|
|
220
|
+
name: string;
|
|
221
|
+
/**
|
|
222
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
223
|
+
*/
|
|
224
|
+
value: string;
|
|
225
|
+
};
|
|
59
226
|
/**
|
|
60
227
|
* Algorithm to use when performing HTTP retries
|
|
61
228
|
*/
|
|
62
|
-
export declare const
|
|
229
|
+
export declare const SplunkAuthenticationLoginRetryType: {
|
|
63
230
|
/**
|
|
64
231
|
* Disabled
|
|
65
232
|
*/
|
|
@@ -76,12 +243,12 @@ export declare const SplunkCollectorConfRetryType: {
|
|
|
76
243
|
/**
|
|
77
244
|
* Algorithm to use when performing HTTP retries
|
|
78
245
|
*/
|
|
79
|
-
export type
|
|
80
|
-
export type
|
|
246
|
+
export type SplunkAuthenticationLoginRetryType = OpenEnum<typeof SplunkAuthenticationLoginRetryType>;
|
|
247
|
+
export type SplunkAuthenticationLoginRetryRules = {
|
|
81
248
|
/**
|
|
82
249
|
* Algorithm to use when performing HTTP retries
|
|
83
250
|
*/
|
|
84
|
-
type?:
|
|
251
|
+
type?: SplunkAuthenticationLoginRetryType | undefined;
|
|
85
252
|
interval?: any | undefined;
|
|
86
253
|
limit?: any | undefined;
|
|
87
254
|
multiplier?: any | undefined;
|
|
@@ -90,7 +257,29 @@ export type SplunkCollectorConfRetryRules = {
|
|
|
90
257
|
retryConnectTimeout?: any | undefined;
|
|
91
258
|
retryConnectReset?: any | undefined;
|
|
92
259
|
};
|
|
93
|
-
export type
|
|
260
|
+
export type SplunkAuthenticationLogin = {
|
|
261
|
+
/**
|
|
262
|
+
* Authentication method for Discover and Collect REST calls
|
|
263
|
+
*/
|
|
264
|
+
authentication?: SplunkAuthenticationLoginAuthentication | undefined;
|
|
265
|
+
/**
|
|
266
|
+
* URL to use for login API call. This call is expected to be a POST.
|
|
267
|
+
*/
|
|
268
|
+
loginUrl?: string | undefined;
|
|
269
|
+
username: string;
|
|
270
|
+
password: string;
|
|
271
|
+
/**
|
|
272
|
+
* Template for POST body to send with login request. ${username} and ${password} are used to specify location of these attributes in the message.
|
|
273
|
+
*/
|
|
274
|
+
loginBody?: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* Path to token attribute in login response body. Nested attributes are allowed.
|
|
277
|
+
*/
|
|
278
|
+
tokenRespAttribute?: string | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* JavaScript expression to compute the Authorization header to pass in discover and collect calls. The value ${token} is used to reference the token obtained from login.
|
|
281
|
+
*/
|
|
282
|
+
authHeaderExpr?: string | undefined;
|
|
94
283
|
/**
|
|
95
284
|
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
96
285
|
*/
|
|
@@ -114,19 +303,15 @@ export type SplunkCollectorConf = {
|
|
|
114
303
|
/**
|
|
115
304
|
* Format of the returned output
|
|
116
305
|
*/
|
|
117
|
-
outputMode?:
|
|
306
|
+
outputMode?: SplunkAuthenticationLoginOutputMode | undefined;
|
|
118
307
|
/**
|
|
119
308
|
* Optional collect request parameters
|
|
120
309
|
*/
|
|
121
|
-
collectRequestParams?: Array<
|
|
310
|
+
collectRequestParams?: Array<SplunkAuthenticationLoginCollectRequestParam> | undefined;
|
|
122
311
|
/**
|
|
123
312
|
* Optional collect request headers
|
|
124
313
|
*/
|
|
125
|
-
collectRequestHeaders?: Array<
|
|
126
|
-
/**
|
|
127
|
-
* Authentication method for Discover and Collect REST calls
|
|
128
|
-
*/
|
|
129
|
-
authentication?: SplunkCollectorConfAuthentication | undefined;
|
|
314
|
+
collectRequestHeaders?: Array<SplunkAuthenticationLoginCollectRequestHeader> | undefined;
|
|
130
315
|
/**
|
|
131
316
|
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
132
317
|
*/
|
|
@@ -147,47 +332,88 @@ export type SplunkCollectorConf = {
|
|
|
147
332
|
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
148
333
|
*/
|
|
149
334
|
handleEscapedChars?: boolean | undefined;
|
|
150
|
-
retryRules?:
|
|
335
|
+
retryRules?: SplunkAuthenticationLoginRetryRules | undefined;
|
|
151
336
|
};
|
|
152
|
-
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
export declare const
|
|
156
|
-
/**
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
337
|
+
/**
|
|
338
|
+
* Authentication method for Discover and Collect REST calls
|
|
339
|
+
*/
|
|
340
|
+
export declare const SplunkAuthenticationTokenSecretAuthentication: {
|
|
341
|
+
/**
|
|
342
|
+
* None
|
|
343
|
+
*/
|
|
344
|
+
readonly None: "none";
|
|
345
|
+
/**
|
|
346
|
+
* Basic
|
|
347
|
+
*/
|
|
348
|
+
readonly Basic: "basic";
|
|
349
|
+
/**
|
|
350
|
+
* Basic (credentials secret)
|
|
351
|
+
*/
|
|
352
|
+
readonly BasicSecret: "basicSecret";
|
|
353
|
+
/**
|
|
354
|
+
* Bearer Token
|
|
355
|
+
*/
|
|
356
|
+
readonly Token: "token";
|
|
357
|
+
/**
|
|
358
|
+
* Bearer Token (text secret)
|
|
359
|
+
*/
|
|
360
|
+
readonly TokenSecret: "tokenSecret";
|
|
361
|
+
};
|
|
362
|
+
/**
|
|
363
|
+
* Authentication method for Discover and Collect REST calls
|
|
364
|
+
*/
|
|
365
|
+
export type SplunkAuthenticationTokenSecretAuthentication = OpenEnum<typeof SplunkAuthenticationTokenSecretAuthentication>;
|
|
366
|
+
/**
|
|
367
|
+
* Format of the returned output
|
|
368
|
+
*/
|
|
369
|
+
export declare const SplunkAuthenticationTokenSecretOutputMode: {
|
|
370
|
+
readonly Csv: "csv";
|
|
371
|
+
readonly Json: "json";
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Format of the returned output
|
|
375
|
+
*/
|
|
376
|
+
export type SplunkAuthenticationTokenSecretOutputMode = OpenEnum<typeof SplunkAuthenticationTokenSecretOutputMode>;
|
|
377
|
+
export type SplunkAuthenticationTokenSecretCollectRequestParam = {
|
|
160
378
|
name: string;
|
|
379
|
+
/**
|
|
380
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
381
|
+
*/
|
|
161
382
|
value: string;
|
|
162
383
|
};
|
|
163
|
-
|
|
164
|
-
export declare const CollectRequestParam$outboundSchema: z.ZodType<CollectRequestParam$Outbound, z.ZodTypeDef, CollectRequestParam>;
|
|
165
|
-
export declare function collectRequestParamToJSON(collectRequestParam: CollectRequestParam): string;
|
|
166
|
-
export declare function collectRequestParamFromJSON(jsonString: string): SafeParseResult<CollectRequestParam, SDKValidationError>;
|
|
167
|
-
/** @internal */
|
|
168
|
-
export declare const SplunkCollectorConfCollectRequestHeader$inboundSchema: z.ZodType<SplunkCollectorConfCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
169
|
-
/** @internal */
|
|
170
|
-
export type SplunkCollectorConfCollectRequestHeader$Outbound = {
|
|
384
|
+
export type SplunkAuthenticationTokenSecretCollectRequestHeader = {
|
|
171
385
|
name: string;
|
|
386
|
+
/**
|
|
387
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
388
|
+
*/
|
|
172
389
|
value: string;
|
|
173
390
|
};
|
|
174
|
-
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
export declare
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
391
|
+
/**
|
|
392
|
+
* Algorithm to use when performing HTTP retries
|
|
393
|
+
*/
|
|
394
|
+
export declare const SplunkAuthenticationTokenSecretRetryType: {
|
|
395
|
+
/**
|
|
396
|
+
* Disabled
|
|
397
|
+
*/
|
|
398
|
+
readonly None: "none";
|
|
399
|
+
/**
|
|
400
|
+
* Backoff
|
|
401
|
+
*/
|
|
402
|
+
readonly Backoff: "backoff";
|
|
403
|
+
/**
|
|
404
|
+
* Static
|
|
405
|
+
*/
|
|
406
|
+
readonly Static: "static";
|
|
407
|
+
};
|
|
408
|
+
/**
|
|
409
|
+
* Algorithm to use when performing HTTP retries
|
|
410
|
+
*/
|
|
411
|
+
export type SplunkAuthenticationTokenSecretRetryType = OpenEnum<typeof SplunkAuthenticationTokenSecretRetryType>;
|
|
412
|
+
export type SplunkAuthenticationTokenSecretRetryRules = {
|
|
413
|
+
/**
|
|
414
|
+
* Algorithm to use when performing HTTP retries
|
|
415
|
+
*/
|
|
416
|
+
type?: SplunkAuthenticationTokenSecretRetryType | undefined;
|
|
191
417
|
interval?: any | undefined;
|
|
192
418
|
limit?: any | undefined;
|
|
193
419
|
multiplier?: any | undefined;
|
|
@@ -196,31 +422,1217 @@ export type SplunkCollectorConfRetryRules$Outbound = {
|
|
|
196
422
|
retryConnectTimeout?: any | undefined;
|
|
197
423
|
retryConnectReset?: any | undefined;
|
|
198
424
|
};
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
425
|
+
export type SplunkAuthenticationTokenSecret = {
|
|
426
|
+
/**
|
|
427
|
+
* Authentication method for Discover and Collect REST calls
|
|
428
|
+
*/
|
|
429
|
+
authentication?: SplunkAuthenticationTokenSecretAuthentication | undefined;
|
|
430
|
+
/**
|
|
431
|
+
* Select or create a stored secret that references your Bearer token
|
|
432
|
+
*/
|
|
433
|
+
tokenSecret: string;
|
|
434
|
+
/**
|
|
435
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
436
|
+
*/
|
|
437
|
+
searchHead?: string | undefined;
|
|
438
|
+
/**
|
|
439
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
440
|
+
*/
|
|
208
441
|
search: string;
|
|
442
|
+
/**
|
|
443
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
444
|
+
*/
|
|
209
445
|
earliest?: string | undefined;
|
|
210
|
-
|
|
211
|
-
|
|
446
|
+
/**
|
|
447
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
448
|
+
*/
|
|
449
|
+
latest?: string | undefined;
|
|
450
|
+
/**
|
|
451
|
+
* REST API used to create a search
|
|
452
|
+
*/
|
|
453
|
+
endpoint?: string | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* Format of the returned output
|
|
456
|
+
*/
|
|
457
|
+
outputMode?: SplunkAuthenticationTokenSecretOutputMode | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* Optional collect request parameters
|
|
460
|
+
*/
|
|
461
|
+
collectRequestParams?: Array<SplunkAuthenticationTokenSecretCollectRequestParam> | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* Optional collect request headers
|
|
464
|
+
*/
|
|
465
|
+
collectRequestHeaders?: Array<SplunkAuthenticationTokenSecretCollectRequestHeader> | undefined;
|
|
466
|
+
/**
|
|
467
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
468
|
+
*/
|
|
469
|
+
timeout?: number | undefined;
|
|
470
|
+
/**
|
|
471
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
472
|
+
*/
|
|
473
|
+
useRoundRobinDns?: boolean | undefined;
|
|
474
|
+
/**
|
|
475
|
+
* Disable collector event time filtering when a date range is specified
|
|
476
|
+
*/
|
|
477
|
+
disableTimeFilter?: boolean | undefined;
|
|
478
|
+
/**
|
|
479
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
480
|
+
*/
|
|
481
|
+
rejectUnauthorized?: boolean | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
484
|
+
*/
|
|
485
|
+
handleEscapedChars?: boolean | undefined;
|
|
486
|
+
retryRules?: SplunkAuthenticationTokenSecretRetryRules | undefined;
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* Authentication method for Discover and Collect REST calls
|
|
490
|
+
*/
|
|
491
|
+
export declare const SplunkAuthenticationTokenAuthentication: {
|
|
492
|
+
/**
|
|
493
|
+
* None
|
|
494
|
+
*/
|
|
495
|
+
readonly None: "none";
|
|
496
|
+
/**
|
|
497
|
+
* Basic
|
|
498
|
+
*/
|
|
499
|
+
readonly Basic: "basic";
|
|
500
|
+
/**
|
|
501
|
+
* Basic (credentials secret)
|
|
502
|
+
*/
|
|
503
|
+
readonly BasicSecret: "basicSecret";
|
|
504
|
+
/**
|
|
505
|
+
* Bearer Token
|
|
506
|
+
*/
|
|
507
|
+
readonly Token: "token";
|
|
508
|
+
/**
|
|
509
|
+
* Bearer Token (text secret)
|
|
510
|
+
*/
|
|
511
|
+
readonly TokenSecret: "tokenSecret";
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* Authentication method for Discover and Collect REST calls
|
|
515
|
+
*/
|
|
516
|
+
export type SplunkAuthenticationTokenAuthentication = OpenEnum<typeof SplunkAuthenticationTokenAuthentication>;
|
|
517
|
+
/**
|
|
518
|
+
* Format of the returned output
|
|
519
|
+
*/
|
|
520
|
+
export declare const SplunkAuthenticationTokenOutputMode: {
|
|
521
|
+
readonly Csv: "csv";
|
|
522
|
+
readonly Json: "json";
|
|
523
|
+
};
|
|
524
|
+
/**
|
|
525
|
+
* Format of the returned output
|
|
526
|
+
*/
|
|
527
|
+
export type SplunkAuthenticationTokenOutputMode = OpenEnum<typeof SplunkAuthenticationTokenOutputMode>;
|
|
528
|
+
export type SplunkAuthenticationTokenCollectRequestParam = {
|
|
529
|
+
name: string;
|
|
530
|
+
/**
|
|
531
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
532
|
+
*/
|
|
533
|
+
value: string;
|
|
534
|
+
};
|
|
535
|
+
export type SplunkAuthenticationTokenCollectRequestHeader = {
|
|
536
|
+
name: string;
|
|
537
|
+
/**
|
|
538
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
539
|
+
*/
|
|
540
|
+
value: string;
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* Algorithm to use when performing HTTP retries
|
|
544
|
+
*/
|
|
545
|
+
export declare const SplunkAuthenticationTokenRetryType: {
|
|
546
|
+
/**
|
|
547
|
+
* Disabled
|
|
548
|
+
*/
|
|
549
|
+
readonly None: "none";
|
|
550
|
+
/**
|
|
551
|
+
* Backoff
|
|
552
|
+
*/
|
|
553
|
+
readonly Backoff: "backoff";
|
|
554
|
+
/**
|
|
555
|
+
* Static
|
|
556
|
+
*/
|
|
557
|
+
readonly Static: "static";
|
|
558
|
+
};
|
|
559
|
+
/**
|
|
560
|
+
* Algorithm to use when performing HTTP retries
|
|
561
|
+
*/
|
|
562
|
+
export type SplunkAuthenticationTokenRetryType = OpenEnum<typeof SplunkAuthenticationTokenRetryType>;
|
|
563
|
+
export type SplunkAuthenticationTokenRetryRules = {
|
|
564
|
+
/**
|
|
565
|
+
* Algorithm to use when performing HTTP retries
|
|
566
|
+
*/
|
|
567
|
+
type?: SplunkAuthenticationTokenRetryType | undefined;
|
|
568
|
+
interval?: any | undefined;
|
|
569
|
+
limit?: any | undefined;
|
|
570
|
+
multiplier?: any | undefined;
|
|
571
|
+
codes?: any | undefined;
|
|
572
|
+
enableHeader?: any | undefined;
|
|
573
|
+
retryConnectTimeout?: any | undefined;
|
|
574
|
+
retryConnectReset?: any | undefined;
|
|
575
|
+
};
|
|
576
|
+
export type SplunkAuthenticationToken = {
|
|
577
|
+
/**
|
|
578
|
+
* Authentication method for Discover and Collect REST calls
|
|
579
|
+
*/
|
|
580
|
+
authentication?: SplunkAuthenticationTokenAuthentication | undefined;
|
|
581
|
+
token: string;
|
|
582
|
+
/**
|
|
583
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
584
|
+
*/
|
|
585
|
+
searchHead?: string | undefined;
|
|
586
|
+
/**
|
|
587
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
588
|
+
*/
|
|
589
|
+
search: string;
|
|
590
|
+
/**
|
|
591
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
592
|
+
*/
|
|
593
|
+
earliest?: string | undefined;
|
|
594
|
+
/**
|
|
595
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
596
|
+
*/
|
|
597
|
+
latest?: string | undefined;
|
|
598
|
+
/**
|
|
599
|
+
* REST API used to create a search
|
|
600
|
+
*/
|
|
601
|
+
endpoint?: string | undefined;
|
|
602
|
+
/**
|
|
603
|
+
* Format of the returned output
|
|
604
|
+
*/
|
|
605
|
+
outputMode?: SplunkAuthenticationTokenOutputMode | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* Optional collect request parameters
|
|
608
|
+
*/
|
|
609
|
+
collectRequestParams?: Array<SplunkAuthenticationTokenCollectRequestParam> | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* Optional collect request headers
|
|
612
|
+
*/
|
|
613
|
+
collectRequestHeaders?: Array<SplunkAuthenticationTokenCollectRequestHeader> | undefined;
|
|
614
|
+
/**
|
|
615
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
616
|
+
*/
|
|
617
|
+
timeout?: number | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
620
|
+
*/
|
|
621
|
+
useRoundRobinDns?: boolean | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* Disable collector event time filtering when a date range is specified
|
|
624
|
+
*/
|
|
625
|
+
disableTimeFilter?: boolean | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
628
|
+
*/
|
|
629
|
+
rejectUnauthorized?: boolean | undefined;
|
|
630
|
+
/**
|
|
631
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
632
|
+
*/
|
|
633
|
+
handleEscapedChars?: boolean | undefined;
|
|
634
|
+
retryRules?: SplunkAuthenticationTokenRetryRules | undefined;
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* Authentication method for Discover and Collect REST calls
|
|
638
|
+
*/
|
|
639
|
+
export declare const SplunkAuthenticationBasicSecretAuthentication: {
|
|
640
|
+
/**
|
|
641
|
+
* None
|
|
642
|
+
*/
|
|
643
|
+
readonly None: "none";
|
|
644
|
+
/**
|
|
645
|
+
* Basic
|
|
646
|
+
*/
|
|
647
|
+
readonly Basic: "basic";
|
|
648
|
+
/**
|
|
649
|
+
* Basic (credentials secret)
|
|
650
|
+
*/
|
|
651
|
+
readonly BasicSecret: "basicSecret";
|
|
652
|
+
/**
|
|
653
|
+
* Bearer Token
|
|
654
|
+
*/
|
|
655
|
+
readonly Token: "token";
|
|
656
|
+
/**
|
|
657
|
+
* Bearer Token (text secret)
|
|
658
|
+
*/
|
|
659
|
+
readonly TokenSecret: "tokenSecret";
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* Authentication method for Discover and Collect REST calls
|
|
663
|
+
*/
|
|
664
|
+
export type SplunkAuthenticationBasicSecretAuthentication = OpenEnum<typeof SplunkAuthenticationBasicSecretAuthentication>;
|
|
665
|
+
/**
|
|
666
|
+
* Format of the returned output
|
|
667
|
+
*/
|
|
668
|
+
export declare const SplunkAuthenticationBasicSecretOutputMode: {
|
|
669
|
+
readonly Csv: "csv";
|
|
670
|
+
readonly Json: "json";
|
|
671
|
+
};
|
|
672
|
+
/**
|
|
673
|
+
* Format of the returned output
|
|
674
|
+
*/
|
|
675
|
+
export type SplunkAuthenticationBasicSecretOutputMode = OpenEnum<typeof SplunkAuthenticationBasicSecretOutputMode>;
|
|
676
|
+
export type SplunkAuthenticationBasicSecretCollectRequestParam = {
|
|
677
|
+
name: string;
|
|
678
|
+
/**
|
|
679
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
680
|
+
*/
|
|
681
|
+
value: string;
|
|
682
|
+
};
|
|
683
|
+
export type SplunkAuthenticationBasicSecretCollectRequestHeader = {
|
|
684
|
+
name: string;
|
|
685
|
+
/**
|
|
686
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
687
|
+
*/
|
|
688
|
+
value: string;
|
|
689
|
+
};
|
|
690
|
+
/**
|
|
691
|
+
* Algorithm to use when performing HTTP retries
|
|
692
|
+
*/
|
|
693
|
+
export declare const SplunkAuthenticationBasicSecretRetryType: {
|
|
694
|
+
/**
|
|
695
|
+
* Disabled
|
|
696
|
+
*/
|
|
697
|
+
readonly None: "none";
|
|
698
|
+
/**
|
|
699
|
+
* Backoff
|
|
700
|
+
*/
|
|
701
|
+
readonly Backoff: "backoff";
|
|
702
|
+
/**
|
|
703
|
+
* Static
|
|
704
|
+
*/
|
|
705
|
+
readonly Static: "static";
|
|
706
|
+
};
|
|
707
|
+
/**
|
|
708
|
+
* Algorithm to use when performing HTTP retries
|
|
709
|
+
*/
|
|
710
|
+
export type SplunkAuthenticationBasicSecretRetryType = OpenEnum<typeof SplunkAuthenticationBasicSecretRetryType>;
|
|
711
|
+
export type SplunkAuthenticationBasicSecretRetryRules = {
|
|
712
|
+
/**
|
|
713
|
+
* Algorithm to use when performing HTTP retries
|
|
714
|
+
*/
|
|
715
|
+
type?: SplunkAuthenticationBasicSecretRetryType | undefined;
|
|
716
|
+
interval?: any | undefined;
|
|
717
|
+
limit?: any | undefined;
|
|
718
|
+
multiplier?: any | undefined;
|
|
719
|
+
codes?: any | undefined;
|
|
720
|
+
enableHeader?: any | undefined;
|
|
721
|
+
retryConnectTimeout?: any | undefined;
|
|
722
|
+
retryConnectReset?: any | undefined;
|
|
723
|
+
};
|
|
724
|
+
export type SplunkAuthenticationBasicSecret = {
|
|
725
|
+
/**
|
|
726
|
+
* Authentication method for Discover and Collect REST calls
|
|
727
|
+
*/
|
|
728
|
+
authentication?: SplunkAuthenticationBasicSecretAuthentication | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* Select or create a stored secret that references your credentials
|
|
731
|
+
*/
|
|
732
|
+
credentialsSecret: string;
|
|
733
|
+
/**
|
|
734
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
735
|
+
*/
|
|
736
|
+
searchHead?: string | undefined;
|
|
737
|
+
/**
|
|
738
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
739
|
+
*/
|
|
740
|
+
search: string;
|
|
741
|
+
/**
|
|
742
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
743
|
+
*/
|
|
744
|
+
earliest?: string | undefined;
|
|
745
|
+
/**
|
|
746
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
747
|
+
*/
|
|
748
|
+
latest?: string | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* REST API used to create a search
|
|
751
|
+
*/
|
|
752
|
+
endpoint?: string | undefined;
|
|
753
|
+
/**
|
|
754
|
+
* Format of the returned output
|
|
755
|
+
*/
|
|
756
|
+
outputMode?: SplunkAuthenticationBasicSecretOutputMode | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* Optional collect request parameters
|
|
759
|
+
*/
|
|
760
|
+
collectRequestParams?: Array<SplunkAuthenticationBasicSecretCollectRequestParam> | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* Optional collect request headers
|
|
763
|
+
*/
|
|
764
|
+
collectRequestHeaders?: Array<SplunkAuthenticationBasicSecretCollectRequestHeader> | undefined;
|
|
765
|
+
/**
|
|
766
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
767
|
+
*/
|
|
768
|
+
timeout?: number | undefined;
|
|
769
|
+
/**
|
|
770
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
771
|
+
*/
|
|
772
|
+
useRoundRobinDns?: boolean | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* Disable collector event time filtering when a date range is specified
|
|
775
|
+
*/
|
|
776
|
+
disableTimeFilter?: boolean | undefined;
|
|
777
|
+
/**
|
|
778
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
779
|
+
*/
|
|
780
|
+
rejectUnauthorized?: boolean | undefined;
|
|
781
|
+
/**
|
|
782
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
783
|
+
*/
|
|
784
|
+
handleEscapedChars?: boolean | undefined;
|
|
785
|
+
retryRules?: SplunkAuthenticationBasicSecretRetryRules | undefined;
|
|
786
|
+
};
|
|
787
|
+
/**
|
|
788
|
+
* Authentication method for Discover and Collect REST calls
|
|
789
|
+
*/
|
|
790
|
+
export declare const SplunkAuthenticationBasicAuthentication: {
|
|
791
|
+
/**
|
|
792
|
+
* None
|
|
793
|
+
*/
|
|
794
|
+
readonly None: "none";
|
|
795
|
+
/**
|
|
796
|
+
* Basic
|
|
797
|
+
*/
|
|
798
|
+
readonly Basic: "basic";
|
|
799
|
+
/**
|
|
800
|
+
* Basic (credentials secret)
|
|
801
|
+
*/
|
|
802
|
+
readonly BasicSecret: "basicSecret";
|
|
803
|
+
/**
|
|
804
|
+
* Bearer Token
|
|
805
|
+
*/
|
|
806
|
+
readonly Token: "token";
|
|
807
|
+
/**
|
|
808
|
+
* Bearer Token (text secret)
|
|
809
|
+
*/
|
|
810
|
+
readonly TokenSecret: "tokenSecret";
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* Authentication method for Discover and Collect REST calls
|
|
814
|
+
*/
|
|
815
|
+
export type SplunkAuthenticationBasicAuthentication = OpenEnum<typeof SplunkAuthenticationBasicAuthentication>;
|
|
816
|
+
/**
|
|
817
|
+
* Format of the returned output
|
|
818
|
+
*/
|
|
819
|
+
export declare const SplunkAuthenticationBasicOutputMode: {
|
|
820
|
+
readonly Csv: "csv";
|
|
821
|
+
readonly Json: "json";
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* Format of the returned output
|
|
825
|
+
*/
|
|
826
|
+
export type SplunkAuthenticationBasicOutputMode = OpenEnum<typeof SplunkAuthenticationBasicOutputMode>;
|
|
827
|
+
export type SplunkAuthenticationBasicCollectRequestParam = {
|
|
828
|
+
name: string;
|
|
829
|
+
/**
|
|
830
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
831
|
+
*/
|
|
832
|
+
value: string;
|
|
833
|
+
};
|
|
834
|
+
export type SplunkAuthenticationBasicCollectRequestHeader = {
|
|
835
|
+
name: string;
|
|
836
|
+
/**
|
|
837
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
838
|
+
*/
|
|
839
|
+
value: string;
|
|
840
|
+
};
|
|
841
|
+
/**
|
|
842
|
+
* Algorithm to use when performing HTTP retries
|
|
843
|
+
*/
|
|
844
|
+
export declare const SplunkAuthenticationBasicRetryType: {
|
|
845
|
+
/**
|
|
846
|
+
* Disabled
|
|
847
|
+
*/
|
|
848
|
+
readonly None: "none";
|
|
849
|
+
/**
|
|
850
|
+
* Backoff
|
|
851
|
+
*/
|
|
852
|
+
readonly Backoff: "backoff";
|
|
853
|
+
/**
|
|
854
|
+
* Static
|
|
855
|
+
*/
|
|
856
|
+
readonly Static: "static";
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* Algorithm to use when performing HTTP retries
|
|
860
|
+
*/
|
|
861
|
+
export type SplunkAuthenticationBasicRetryType = OpenEnum<typeof SplunkAuthenticationBasicRetryType>;
|
|
862
|
+
export type SplunkAuthenticationBasicRetryRules = {
|
|
863
|
+
/**
|
|
864
|
+
* Algorithm to use when performing HTTP retries
|
|
865
|
+
*/
|
|
866
|
+
type?: SplunkAuthenticationBasicRetryType | undefined;
|
|
867
|
+
interval?: any | undefined;
|
|
868
|
+
limit?: any | undefined;
|
|
869
|
+
multiplier?: any | undefined;
|
|
870
|
+
codes?: any | undefined;
|
|
871
|
+
enableHeader?: any | undefined;
|
|
872
|
+
retryConnectTimeout?: any | undefined;
|
|
873
|
+
retryConnectReset?: any | undefined;
|
|
874
|
+
};
|
|
875
|
+
export type SplunkAuthenticationBasic = {
|
|
876
|
+
/**
|
|
877
|
+
* Authentication method for Discover and Collect REST calls
|
|
878
|
+
*/
|
|
879
|
+
authentication?: SplunkAuthenticationBasicAuthentication | undefined;
|
|
880
|
+
/**
|
|
881
|
+
* Basic authentication username
|
|
882
|
+
*/
|
|
883
|
+
username: string;
|
|
884
|
+
/**
|
|
885
|
+
* Basic authentication password
|
|
886
|
+
*/
|
|
887
|
+
password: string;
|
|
888
|
+
/**
|
|
889
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
890
|
+
*/
|
|
891
|
+
searchHead?: string | undefined;
|
|
892
|
+
/**
|
|
893
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
894
|
+
*/
|
|
895
|
+
search: string;
|
|
896
|
+
/**
|
|
897
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
898
|
+
*/
|
|
899
|
+
earliest?: string | undefined;
|
|
900
|
+
/**
|
|
901
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
902
|
+
*/
|
|
903
|
+
latest?: string | undefined;
|
|
904
|
+
/**
|
|
905
|
+
* REST API used to create a search
|
|
906
|
+
*/
|
|
907
|
+
endpoint?: string | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* Format of the returned output
|
|
910
|
+
*/
|
|
911
|
+
outputMode?: SplunkAuthenticationBasicOutputMode | undefined;
|
|
912
|
+
/**
|
|
913
|
+
* Optional collect request parameters
|
|
914
|
+
*/
|
|
915
|
+
collectRequestParams?: Array<SplunkAuthenticationBasicCollectRequestParam> | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* Optional collect request headers
|
|
918
|
+
*/
|
|
919
|
+
collectRequestHeaders?: Array<SplunkAuthenticationBasicCollectRequestHeader> | undefined;
|
|
920
|
+
/**
|
|
921
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
922
|
+
*/
|
|
923
|
+
timeout?: number | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
926
|
+
*/
|
|
927
|
+
useRoundRobinDns?: boolean | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* Disable collector event time filtering when a date range is specified
|
|
930
|
+
*/
|
|
931
|
+
disableTimeFilter?: boolean | undefined;
|
|
932
|
+
/**
|
|
933
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
934
|
+
*/
|
|
935
|
+
rejectUnauthorized?: boolean | undefined;
|
|
936
|
+
/**
|
|
937
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
938
|
+
*/
|
|
939
|
+
handleEscapedChars?: boolean | undefined;
|
|
940
|
+
retryRules?: SplunkAuthenticationBasicRetryRules | undefined;
|
|
941
|
+
};
|
|
942
|
+
/**
|
|
943
|
+
* Authentication method for Discover and Collect REST calls
|
|
944
|
+
*/
|
|
945
|
+
export declare const SplunkAuthenticationNoneAuthentication: {
|
|
946
|
+
/**
|
|
947
|
+
* None
|
|
948
|
+
*/
|
|
949
|
+
readonly None: "none";
|
|
950
|
+
/**
|
|
951
|
+
* Basic
|
|
952
|
+
*/
|
|
953
|
+
readonly Basic: "basic";
|
|
954
|
+
/**
|
|
955
|
+
* Basic (credentials secret)
|
|
956
|
+
*/
|
|
957
|
+
readonly BasicSecret: "basicSecret";
|
|
958
|
+
/**
|
|
959
|
+
* Bearer Token
|
|
960
|
+
*/
|
|
961
|
+
readonly Token: "token";
|
|
962
|
+
/**
|
|
963
|
+
* Bearer Token (text secret)
|
|
964
|
+
*/
|
|
965
|
+
readonly TokenSecret: "tokenSecret";
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* Authentication method for Discover and Collect REST calls
|
|
969
|
+
*/
|
|
970
|
+
export type SplunkAuthenticationNoneAuthentication = OpenEnum<typeof SplunkAuthenticationNoneAuthentication>;
|
|
971
|
+
/**
|
|
972
|
+
* Format of the returned output
|
|
973
|
+
*/
|
|
974
|
+
export declare const SplunkAuthenticationNoneOutputMode: {
|
|
975
|
+
readonly Csv: "csv";
|
|
976
|
+
readonly Json: "json";
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* Format of the returned output
|
|
980
|
+
*/
|
|
981
|
+
export type SplunkAuthenticationNoneOutputMode = OpenEnum<typeof SplunkAuthenticationNoneOutputMode>;
|
|
982
|
+
export type SplunkAuthenticationNoneCollectRequestParam = {
|
|
983
|
+
name: string;
|
|
984
|
+
/**
|
|
985
|
+
* JavaScript expression to compute the parameter's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
986
|
+
*/
|
|
987
|
+
value: string;
|
|
988
|
+
};
|
|
989
|
+
export type SplunkAuthenticationNoneCollectRequestHeader = {
|
|
990
|
+
name: string;
|
|
991
|
+
/**
|
|
992
|
+
* JavaScript expression to compute the header's value, normally enclosed in backticks (`${earliest}`). If a constant, use single quotes ('earliest'). Values without delimiters (earliest) are evaluated as strings.
|
|
993
|
+
*/
|
|
994
|
+
value: string;
|
|
995
|
+
};
|
|
996
|
+
/**
|
|
997
|
+
* Algorithm to use when performing HTTP retries
|
|
998
|
+
*/
|
|
999
|
+
export declare const SplunkAuthenticationNoneRetryType: {
|
|
1000
|
+
/**
|
|
1001
|
+
* Disabled
|
|
1002
|
+
*/
|
|
1003
|
+
readonly None: "none";
|
|
1004
|
+
/**
|
|
1005
|
+
* Backoff
|
|
1006
|
+
*/
|
|
1007
|
+
readonly Backoff: "backoff";
|
|
1008
|
+
/**
|
|
1009
|
+
* Static
|
|
1010
|
+
*/
|
|
1011
|
+
readonly Static: "static";
|
|
1012
|
+
};
|
|
1013
|
+
/**
|
|
1014
|
+
* Algorithm to use when performing HTTP retries
|
|
1015
|
+
*/
|
|
1016
|
+
export type SplunkAuthenticationNoneRetryType = OpenEnum<typeof SplunkAuthenticationNoneRetryType>;
|
|
1017
|
+
export type SplunkAuthenticationNoneRetryRules = {
|
|
1018
|
+
/**
|
|
1019
|
+
* Algorithm to use when performing HTTP retries
|
|
1020
|
+
*/
|
|
1021
|
+
type?: SplunkAuthenticationNoneRetryType | undefined;
|
|
1022
|
+
interval?: any | undefined;
|
|
1023
|
+
limit?: any | undefined;
|
|
1024
|
+
multiplier?: any | undefined;
|
|
1025
|
+
codes?: any | undefined;
|
|
1026
|
+
enableHeader?: any | undefined;
|
|
1027
|
+
retryConnectTimeout?: any | undefined;
|
|
1028
|
+
retryConnectReset?: any | undefined;
|
|
1029
|
+
};
|
|
1030
|
+
export type SplunkAuthenticationNone = {
|
|
1031
|
+
/**
|
|
1032
|
+
* Authentication method for Discover and Collect REST calls
|
|
1033
|
+
*/
|
|
1034
|
+
authentication?: SplunkAuthenticationNoneAuthentication | undefined;
|
|
1035
|
+
/**
|
|
1036
|
+
* Search head base URL. Can be an expression. Default is https://localhost:8089.
|
|
1037
|
+
*/
|
|
1038
|
+
searchHead?: string | undefined;
|
|
1039
|
+
/**
|
|
1040
|
+
* Examples: 'index=myAppLogs level=error channel=myApp' OR '| mstats avg(myStat) as myStat WHERE index=myStatsIndex.'
|
|
1041
|
+
*/
|
|
1042
|
+
search: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* The earliest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-16m@m'
|
|
1045
|
+
*/
|
|
1046
|
+
earliest?: string | undefined;
|
|
1047
|
+
/**
|
|
1048
|
+
* The latest time boundary for the search. Can be an exact or relative time. Examples: '2022-01-14T12:00:00Z' or '-1m@m'
|
|
1049
|
+
*/
|
|
1050
|
+
latest?: string | undefined;
|
|
1051
|
+
/**
|
|
1052
|
+
* REST API used to create a search
|
|
1053
|
+
*/
|
|
1054
|
+
endpoint?: string | undefined;
|
|
1055
|
+
/**
|
|
1056
|
+
* Format of the returned output
|
|
1057
|
+
*/
|
|
1058
|
+
outputMode?: SplunkAuthenticationNoneOutputMode | undefined;
|
|
1059
|
+
/**
|
|
1060
|
+
* Optional collect request parameters
|
|
1061
|
+
*/
|
|
1062
|
+
collectRequestParams?: Array<SplunkAuthenticationNoneCollectRequestParam> | undefined;
|
|
1063
|
+
/**
|
|
1064
|
+
* Optional collect request headers
|
|
1065
|
+
*/
|
|
1066
|
+
collectRequestHeaders?: Array<SplunkAuthenticationNoneCollectRequestHeader> | undefined;
|
|
1067
|
+
/**
|
|
1068
|
+
* HTTP request inactivity timeout. Use 0 for no timeout.
|
|
1069
|
+
*/
|
|
1070
|
+
timeout?: number | undefined;
|
|
1071
|
+
/**
|
|
1072
|
+
* Use round-robin DNS lookup. Suitable when DNS server returns multiple addresses in sort order.
|
|
1073
|
+
*/
|
|
1074
|
+
useRoundRobinDns?: boolean | undefined;
|
|
1075
|
+
/**
|
|
1076
|
+
* Disable collector event time filtering when a date range is specified
|
|
1077
|
+
*/
|
|
1078
|
+
disableTimeFilter?: boolean | undefined;
|
|
1079
|
+
/**
|
|
1080
|
+
* Reject certificates that cannot be verified against a valid CA (such as self-signed certificates)
|
|
1081
|
+
*/
|
|
1082
|
+
rejectUnauthorized?: boolean | undefined;
|
|
1083
|
+
/**
|
|
1084
|
+
* Escape characters (\") in search queries will be passed directly to Splunk
|
|
1085
|
+
*/
|
|
1086
|
+
handleEscapedChars?: boolean | undefined;
|
|
1087
|
+
retryRules?: SplunkAuthenticationNoneRetryRules | undefined;
|
|
1088
|
+
};
|
|
1089
|
+
export type SplunkCollectorConf = SplunkAuthenticationBasic | SplunkAuthenticationLogin | SplunkAuthenticationBasicSecret | SplunkAuthenticationToken | SplunkAuthenticationTokenSecret | SplunkAuthenticationLoginSecret | SplunkAuthenticationNone;
|
|
1090
|
+
/** @internal */
|
|
1091
|
+
export declare const SplunkAuthenticationLoginSecretAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretAuthentication, z.ZodTypeDef, unknown>;
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
export declare const SplunkAuthenticationLoginSecretAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginSecretAuthentication>;
|
|
1094
|
+
/** @internal */
|
|
1095
|
+
export declare const SplunkAuthenticationLoginSecretOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretOutputMode, z.ZodTypeDef, unknown>;
|
|
1096
|
+
/** @internal */
|
|
1097
|
+
export declare const SplunkAuthenticationLoginSecretOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginSecretOutputMode>;
|
|
1098
|
+
/** @internal */
|
|
1099
|
+
export declare const SplunkAuthenticationLoginSecretCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1100
|
+
/** @internal */
|
|
1101
|
+
export type SplunkAuthenticationLoginSecretCollectRequestParam$Outbound = {
|
|
1102
|
+
name: string;
|
|
1103
|
+
value: string;
|
|
1104
|
+
};
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export declare const SplunkAuthenticationLoginSecretCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationLoginSecretCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginSecretCollectRequestParam>;
|
|
1107
|
+
export declare function splunkAuthenticationLoginSecretCollectRequestParamToJSON(splunkAuthenticationLoginSecretCollectRequestParam: SplunkAuthenticationLoginSecretCollectRequestParam): string;
|
|
1108
|
+
export declare function splunkAuthenticationLoginSecretCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginSecretCollectRequestParam, SDKValidationError>;
|
|
1109
|
+
/** @internal */
|
|
1110
|
+
export declare const SplunkAuthenticationLoginSecretCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1111
|
+
/** @internal */
|
|
1112
|
+
export type SplunkAuthenticationLoginSecretCollectRequestHeader$Outbound = {
|
|
1113
|
+
name: string;
|
|
1114
|
+
value: string;
|
|
1115
|
+
};
|
|
1116
|
+
/** @internal */
|
|
1117
|
+
export declare const SplunkAuthenticationLoginSecretCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationLoginSecretCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginSecretCollectRequestHeader>;
|
|
1118
|
+
export declare function splunkAuthenticationLoginSecretCollectRequestHeaderToJSON(splunkAuthenticationLoginSecretCollectRequestHeader: SplunkAuthenticationLoginSecretCollectRequestHeader): string;
|
|
1119
|
+
export declare function splunkAuthenticationLoginSecretCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginSecretCollectRequestHeader, SDKValidationError>;
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export declare const SplunkAuthenticationLoginSecretRetryType$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretRetryType, z.ZodTypeDef, unknown>;
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export declare const SplunkAuthenticationLoginSecretRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginSecretRetryType>;
|
|
1124
|
+
/** @internal */
|
|
1125
|
+
export declare const SplunkAuthenticationLoginSecretRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecretRetryRules, z.ZodTypeDef, unknown>;
|
|
1126
|
+
/** @internal */
|
|
1127
|
+
export type SplunkAuthenticationLoginSecretRetryRules$Outbound = {
|
|
1128
|
+
type: string;
|
|
1129
|
+
interval?: any | undefined;
|
|
1130
|
+
limit?: any | undefined;
|
|
1131
|
+
multiplier?: any | undefined;
|
|
1132
|
+
codes?: any | undefined;
|
|
1133
|
+
enableHeader?: any | undefined;
|
|
1134
|
+
retryConnectTimeout?: any | undefined;
|
|
1135
|
+
retryConnectReset?: any | undefined;
|
|
1136
|
+
};
|
|
1137
|
+
/** @internal */
|
|
1138
|
+
export declare const SplunkAuthenticationLoginSecretRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationLoginSecretRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginSecretRetryRules>;
|
|
1139
|
+
export declare function splunkAuthenticationLoginSecretRetryRulesToJSON(splunkAuthenticationLoginSecretRetryRules: SplunkAuthenticationLoginSecretRetryRules): string;
|
|
1140
|
+
export declare function splunkAuthenticationLoginSecretRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginSecretRetryRules, SDKValidationError>;
|
|
1141
|
+
/** @internal */
|
|
1142
|
+
export declare const SplunkAuthenticationLoginSecret$inboundSchema: z.ZodType<SplunkAuthenticationLoginSecret, z.ZodTypeDef, unknown>;
|
|
1143
|
+
/** @internal */
|
|
1144
|
+
export type SplunkAuthenticationLoginSecret$Outbound = {
|
|
1145
|
+
authentication: string;
|
|
1146
|
+
loginUrl: string;
|
|
1147
|
+
credentialsSecret: string;
|
|
1148
|
+
loginBody: string;
|
|
1149
|
+
tokenRespAttribute: string;
|
|
1150
|
+
authHeaderExpr: string;
|
|
1151
|
+
searchHead: string;
|
|
1152
|
+
search: string;
|
|
1153
|
+
earliest?: string | undefined;
|
|
1154
|
+
latest?: string | undefined;
|
|
1155
|
+
endpoint: string;
|
|
1156
|
+
outputMode: string;
|
|
1157
|
+
collectRequestParams?: Array<SplunkAuthenticationLoginSecretCollectRequestParam$Outbound> | undefined;
|
|
1158
|
+
collectRequestHeaders?: Array<SplunkAuthenticationLoginSecretCollectRequestHeader$Outbound> | undefined;
|
|
1159
|
+
timeout: number;
|
|
1160
|
+
useRoundRobinDns: boolean;
|
|
1161
|
+
disableTimeFilter: boolean;
|
|
1162
|
+
rejectUnauthorized: boolean;
|
|
1163
|
+
handleEscapedChars: boolean;
|
|
1164
|
+
retryRules?: SplunkAuthenticationLoginSecretRetryRules$Outbound | undefined;
|
|
1165
|
+
};
|
|
1166
|
+
/** @internal */
|
|
1167
|
+
export declare const SplunkAuthenticationLoginSecret$outboundSchema: z.ZodType<SplunkAuthenticationLoginSecret$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginSecret>;
|
|
1168
|
+
export declare function splunkAuthenticationLoginSecretToJSON(splunkAuthenticationLoginSecret: SplunkAuthenticationLoginSecret): string;
|
|
1169
|
+
export declare function splunkAuthenticationLoginSecretFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginSecret, SDKValidationError>;
|
|
1170
|
+
/** @internal */
|
|
1171
|
+
export declare const SplunkAuthenticationLoginAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationLoginAuthentication, z.ZodTypeDef, unknown>;
|
|
1172
|
+
/** @internal */
|
|
1173
|
+
export declare const SplunkAuthenticationLoginAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginAuthentication>;
|
|
1174
|
+
/** @internal */
|
|
1175
|
+
export declare const SplunkAuthenticationLoginOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationLoginOutputMode, z.ZodTypeDef, unknown>;
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export declare const SplunkAuthenticationLoginOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginOutputMode>;
|
|
1178
|
+
/** @internal */
|
|
1179
|
+
export declare const SplunkAuthenticationLoginCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationLoginCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1180
|
+
/** @internal */
|
|
1181
|
+
export type SplunkAuthenticationLoginCollectRequestParam$Outbound = {
|
|
1182
|
+
name: string;
|
|
1183
|
+
value: string;
|
|
1184
|
+
};
|
|
1185
|
+
/** @internal */
|
|
1186
|
+
export declare const SplunkAuthenticationLoginCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationLoginCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginCollectRequestParam>;
|
|
1187
|
+
export declare function splunkAuthenticationLoginCollectRequestParamToJSON(splunkAuthenticationLoginCollectRequestParam: SplunkAuthenticationLoginCollectRequestParam): string;
|
|
1188
|
+
export declare function splunkAuthenticationLoginCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginCollectRequestParam, SDKValidationError>;
|
|
1189
|
+
/** @internal */
|
|
1190
|
+
export declare const SplunkAuthenticationLoginCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationLoginCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1191
|
+
/** @internal */
|
|
1192
|
+
export type SplunkAuthenticationLoginCollectRequestHeader$Outbound = {
|
|
1193
|
+
name: string;
|
|
1194
|
+
value: string;
|
|
1195
|
+
};
|
|
1196
|
+
/** @internal */
|
|
1197
|
+
export declare const SplunkAuthenticationLoginCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationLoginCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginCollectRequestHeader>;
|
|
1198
|
+
export declare function splunkAuthenticationLoginCollectRequestHeaderToJSON(splunkAuthenticationLoginCollectRequestHeader: SplunkAuthenticationLoginCollectRequestHeader): string;
|
|
1199
|
+
export declare function splunkAuthenticationLoginCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginCollectRequestHeader, SDKValidationError>;
|
|
1200
|
+
/** @internal */
|
|
1201
|
+
export declare const SplunkAuthenticationLoginRetryType$inboundSchema: z.ZodType<SplunkAuthenticationLoginRetryType, z.ZodTypeDef, unknown>;
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export declare const SplunkAuthenticationLoginRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationLoginRetryType>;
|
|
1204
|
+
/** @internal */
|
|
1205
|
+
export declare const SplunkAuthenticationLoginRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationLoginRetryRules, z.ZodTypeDef, unknown>;
|
|
1206
|
+
/** @internal */
|
|
1207
|
+
export type SplunkAuthenticationLoginRetryRules$Outbound = {
|
|
1208
|
+
type: string;
|
|
1209
|
+
interval?: any | undefined;
|
|
1210
|
+
limit?: any | undefined;
|
|
1211
|
+
multiplier?: any | undefined;
|
|
1212
|
+
codes?: any | undefined;
|
|
1213
|
+
enableHeader?: any | undefined;
|
|
1214
|
+
retryConnectTimeout?: any | undefined;
|
|
1215
|
+
retryConnectReset?: any | undefined;
|
|
1216
|
+
};
|
|
1217
|
+
/** @internal */
|
|
1218
|
+
export declare const SplunkAuthenticationLoginRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationLoginRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationLoginRetryRules>;
|
|
1219
|
+
export declare function splunkAuthenticationLoginRetryRulesToJSON(splunkAuthenticationLoginRetryRules: SplunkAuthenticationLoginRetryRules): string;
|
|
1220
|
+
export declare function splunkAuthenticationLoginRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLoginRetryRules, SDKValidationError>;
|
|
1221
|
+
/** @internal */
|
|
1222
|
+
export declare const SplunkAuthenticationLogin$inboundSchema: z.ZodType<SplunkAuthenticationLogin, z.ZodTypeDef, unknown>;
|
|
1223
|
+
/** @internal */
|
|
1224
|
+
export type SplunkAuthenticationLogin$Outbound = {
|
|
1225
|
+
authentication: string;
|
|
1226
|
+
loginUrl: string;
|
|
1227
|
+
username: string;
|
|
1228
|
+
password: string;
|
|
1229
|
+
loginBody: string;
|
|
1230
|
+
tokenRespAttribute: string;
|
|
1231
|
+
authHeaderExpr: string;
|
|
1232
|
+
searchHead: string;
|
|
1233
|
+
search: string;
|
|
1234
|
+
earliest?: string | undefined;
|
|
1235
|
+
latest?: string | undefined;
|
|
1236
|
+
endpoint: string;
|
|
1237
|
+
outputMode: string;
|
|
1238
|
+
collectRequestParams?: Array<SplunkAuthenticationLoginCollectRequestParam$Outbound> | undefined;
|
|
1239
|
+
collectRequestHeaders?: Array<SplunkAuthenticationLoginCollectRequestHeader$Outbound> | undefined;
|
|
1240
|
+
timeout: number;
|
|
1241
|
+
useRoundRobinDns: boolean;
|
|
1242
|
+
disableTimeFilter: boolean;
|
|
1243
|
+
rejectUnauthorized: boolean;
|
|
1244
|
+
handleEscapedChars: boolean;
|
|
1245
|
+
retryRules?: SplunkAuthenticationLoginRetryRules$Outbound | undefined;
|
|
1246
|
+
};
|
|
1247
|
+
/** @internal */
|
|
1248
|
+
export declare const SplunkAuthenticationLogin$outboundSchema: z.ZodType<SplunkAuthenticationLogin$Outbound, z.ZodTypeDef, SplunkAuthenticationLogin>;
|
|
1249
|
+
export declare function splunkAuthenticationLoginToJSON(splunkAuthenticationLogin: SplunkAuthenticationLogin): string;
|
|
1250
|
+
export declare function splunkAuthenticationLoginFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationLogin, SDKValidationError>;
|
|
1251
|
+
/** @internal */
|
|
1252
|
+
export declare const SplunkAuthenticationTokenSecretAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretAuthentication, z.ZodTypeDef, unknown>;
|
|
1253
|
+
/** @internal */
|
|
1254
|
+
export declare const SplunkAuthenticationTokenSecretAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenSecretAuthentication>;
|
|
1255
|
+
/** @internal */
|
|
1256
|
+
export declare const SplunkAuthenticationTokenSecretOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretOutputMode, z.ZodTypeDef, unknown>;
|
|
1257
|
+
/** @internal */
|
|
1258
|
+
export declare const SplunkAuthenticationTokenSecretOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenSecretOutputMode>;
|
|
1259
|
+
/** @internal */
|
|
1260
|
+
export declare const SplunkAuthenticationTokenSecretCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1261
|
+
/** @internal */
|
|
1262
|
+
export type SplunkAuthenticationTokenSecretCollectRequestParam$Outbound = {
|
|
1263
|
+
name: string;
|
|
1264
|
+
value: string;
|
|
1265
|
+
};
|
|
1266
|
+
/** @internal */
|
|
1267
|
+
export declare const SplunkAuthenticationTokenSecretCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationTokenSecretCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenSecretCollectRequestParam>;
|
|
1268
|
+
export declare function splunkAuthenticationTokenSecretCollectRequestParamToJSON(splunkAuthenticationTokenSecretCollectRequestParam: SplunkAuthenticationTokenSecretCollectRequestParam): string;
|
|
1269
|
+
export declare function splunkAuthenticationTokenSecretCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenSecretCollectRequestParam, SDKValidationError>;
|
|
1270
|
+
/** @internal */
|
|
1271
|
+
export declare const SplunkAuthenticationTokenSecretCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1272
|
+
/** @internal */
|
|
1273
|
+
export type SplunkAuthenticationTokenSecretCollectRequestHeader$Outbound = {
|
|
1274
|
+
name: string;
|
|
1275
|
+
value: string;
|
|
1276
|
+
};
|
|
1277
|
+
/** @internal */
|
|
1278
|
+
export declare const SplunkAuthenticationTokenSecretCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationTokenSecretCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenSecretCollectRequestHeader>;
|
|
1279
|
+
export declare function splunkAuthenticationTokenSecretCollectRequestHeaderToJSON(splunkAuthenticationTokenSecretCollectRequestHeader: SplunkAuthenticationTokenSecretCollectRequestHeader): string;
|
|
1280
|
+
export declare function splunkAuthenticationTokenSecretCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenSecretCollectRequestHeader, SDKValidationError>;
|
|
1281
|
+
/** @internal */
|
|
1282
|
+
export declare const SplunkAuthenticationTokenSecretRetryType$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretRetryType, z.ZodTypeDef, unknown>;
|
|
1283
|
+
/** @internal */
|
|
1284
|
+
export declare const SplunkAuthenticationTokenSecretRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenSecretRetryType>;
|
|
1285
|
+
/** @internal */
|
|
1286
|
+
export declare const SplunkAuthenticationTokenSecretRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecretRetryRules, z.ZodTypeDef, unknown>;
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
export type SplunkAuthenticationTokenSecretRetryRules$Outbound = {
|
|
1289
|
+
type: string;
|
|
1290
|
+
interval?: any | undefined;
|
|
1291
|
+
limit?: any | undefined;
|
|
1292
|
+
multiplier?: any | undefined;
|
|
1293
|
+
codes?: any | undefined;
|
|
1294
|
+
enableHeader?: any | undefined;
|
|
1295
|
+
retryConnectTimeout?: any | undefined;
|
|
1296
|
+
retryConnectReset?: any | undefined;
|
|
1297
|
+
};
|
|
1298
|
+
/** @internal */
|
|
1299
|
+
export declare const SplunkAuthenticationTokenSecretRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationTokenSecretRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenSecretRetryRules>;
|
|
1300
|
+
export declare function splunkAuthenticationTokenSecretRetryRulesToJSON(splunkAuthenticationTokenSecretRetryRules: SplunkAuthenticationTokenSecretRetryRules): string;
|
|
1301
|
+
export declare function splunkAuthenticationTokenSecretRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenSecretRetryRules, SDKValidationError>;
|
|
1302
|
+
/** @internal */
|
|
1303
|
+
export declare const SplunkAuthenticationTokenSecret$inboundSchema: z.ZodType<SplunkAuthenticationTokenSecret, z.ZodTypeDef, unknown>;
|
|
1304
|
+
/** @internal */
|
|
1305
|
+
export type SplunkAuthenticationTokenSecret$Outbound = {
|
|
1306
|
+
authentication: string;
|
|
1307
|
+
tokenSecret: string;
|
|
1308
|
+
searchHead: string;
|
|
1309
|
+
search: string;
|
|
1310
|
+
earliest?: string | undefined;
|
|
1311
|
+
latest?: string | undefined;
|
|
1312
|
+
endpoint: string;
|
|
1313
|
+
outputMode: string;
|
|
1314
|
+
collectRequestParams?: Array<SplunkAuthenticationTokenSecretCollectRequestParam$Outbound> | undefined;
|
|
1315
|
+
collectRequestHeaders?: Array<SplunkAuthenticationTokenSecretCollectRequestHeader$Outbound> | undefined;
|
|
1316
|
+
timeout: number;
|
|
1317
|
+
useRoundRobinDns: boolean;
|
|
1318
|
+
disableTimeFilter: boolean;
|
|
1319
|
+
rejectUnauthorized: boolean;
|
|
1320
|
+
handleEscapedChars: boolean;
|
|
1321
|
+
retryRules?: SplunkAuthenticationTokenSecretRetryRules$Outbound | undefined;
|
|
1322
|
+
};
|
|
1323
|
+
/** @internal */
|
|
1324
|
+
export declare const SplunkAuthenticationTokenSecret$outboundSchema: z.ZodType<SplunkAuthenticationTokenSecret$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenSecret>;
|
|
1325
|
+
export declare function splunkAuthenticationTokenSecretToJSON(splunkAuthenticationTokenSecret: SplunkAuthenticationTokenSecret): string;
|
|
1326
|
+
export declare function splunkAuthenticationTokenSecretFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenSecret, SDKValidationError>;
|
|
1327
|
+
/** @internal */
|
|
1328
|
+
export declare const SplunkAuthenticationTokenAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationTokenAuthentication, z.ZodTypeDef, unknown>;
|
|
1329
|
+
/** @internal */
|
|
1330
|
+
export declare const SplunkAuthenticationTokenAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenAuthentication>;
|
|
1331
|
+
/** @internal */
|
|
1332
|
+
export declare const SplunkAuthenticationTokenOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationTokenOutputMode, z.ZodTypeDef, unknown>;
|
|
1333
|
+
/** @internal */
|
|
1334
|
+
export declare const SplunkAuthenticationTokenOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenOutputMode>;
|
|
1335
|
+
/** @internal */
|
|
1336
|
+
export declare const SplunkAuthenticationTokenCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationTokenCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1337
|
+
/** @internal */
|
|
1338
|
+
export type SplunkAuthenticationTokenCollectRequestParam$Outbound = {
|
|
1339
|
+
name: string;
|
|
1340
|
+
value: string;
|
|
1341
|
+
};
|
|
1342
|
+
/** @internal */
|
|
1343
|
+
export declare const SplunkAuthenticationTokenCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationTokenCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenCollectRequestParam>;
|
|
1344
|
+
export declare function splunkAuthenticationTokenCollectRequestParamToJSON(splunkAuthenticationTokenCollectRequestParam: SplunkAuthenticationTokenCollectRequestParam): string;
|
|
1345
|
+
export declare function splunkAuthenticationTokenCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenCollectRequestParam, SDKValidationError>;
|
|
1346
|
+
/** @internal */
|
|
1347
|
+
export declare const SplunkAuthenticationTokenCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationTokenCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1348
|
+
/** @internal */
|
|
1349
|
+
export type SplunkAuthenticationTokenCollectRequestHeader$Outbound = {
|
|
1350
|
+
name: string;
|
|
1351
|
+
value: string;
|
|
1352
|
+
};
|
|
1353
|
+
/** @internal */
|
|
1354
|
+
export declare const SplunkAuthenticationTokenCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationTokenCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenCollectRequestHeader>;
|
|
1355
|
+
export declare function splunkAuthenticationTokenCollectRequestHeaderToJSON(splunkAuthenticationTokenCollectRequestHeader: SplunkAuthenticationTokenCollectRequestHeader): string;
|
|
1356
|
+
export declare function splunkAuthenticationTokenCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenCollectRequestHeader, SDKValidationError>;
|
|
1357
|
+
/** @internal */
|
|
1358
|
+
export declare const SplunkAuthenticationTokenRetryType$inboundSchema: z.ZodType<SplunkAuthenticationTokenRetryType, z.ZodTypeDef, unknown>;
|
|
1359
|
+
/** @internal */
|
|
1360
|
+
export declare const SplunkAuthenticationTokenRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationTokenRetryType>;
|
|
1361
|
+
/** @internal */
|
|
1362
|
+
export declare const SplunkAuthenticationTokenRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationTokenRetryRules, z.ZodTypeDef, unknown>;
|
|
1363
|
+
/** @internal */
|
|
1364
|
+
export type SplunkAuthenticationTokenRetryRules$Outbound = {
|
|
1365
|
+
type: string;
|
|
1366
|
+
interval?: any | undefined;
|
|
1367
|
+
limit?: any | undefined;
|
|
1368
|
+
multiplier?: any | undefined;
|
|
1369
|
+
codes?: any | undefined;
|
|
1370
|
+
enableHeader?: any | undefined;
|
|
1371
|
+
retryConnectTimeout?: any | undefined;
|
|
1372
|
+
retryConnectReset?: any | undefined;
|
|
1373
|
+
};
|
|
1374
|
+
/** @internal */
|
|
1375
|
+
export declare const SplunkAuthenticationTokenRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationTokenRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationTokenRetryRules>;
|
|
1376
|
+
export declare function splunkAuthenticationTokenRetryRulesToJSON(splunkAuthenticationTokenRetryRules: SplunkAuthenticationTokenRetryRules): string;
|
|
1377
|
+
export declare function splunkAuthenticationTokenRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationTokenRetryRules, SDKValidationError>;
|
|
1378
|
+
/** @internal */
|
|
1379
|
+
export declare const SplunkAuthenticationToken$inboundSchema: z.ZodType<SplunkAuthenticationToken, z.ZodTypeDef, unknown>;
|
|
1380
|
+
/** @internal */
|
|
1381
|
+
export type SplunkAuthenticationToken$Outbound = {
|
|
1382
|
+
authentication: string;
|
|
1383
|
+
token: string;
|
|
1384
|
+
searchHead: string;
|
|
1385
|
+
search: string;
|
|
1386
|
+
earliest?: string | undefined;
|
|
1387
|
+
latest?: string | undefined;
|
|
1388
|
+
endpoint: string;
|
|
1389
|
+
outputMode: string;
|
|
1390
|
+
collectRequestParams?: Array<SplunkAuthenticationTokenCollectRequestParam$Outbound> | undefined;
|
|
1391
|
+
collectRequestHeaders?: Array<SplunkAuthenticationTokenCollectRequestHeader$Outbound> | undefined;
|
|
1392
|
+
timeout: number;
|
|
1393
|
+
useRoundRobinDns: boolean;
|
|
1394
|
+
disableTimeFilter: boolean;
|
|
1395
|
+
rejectUnauthorized: boolean;
|
|
1396
|
+
handleEscapedChars: boolean;
|
|
1397
|
+
retryRules?: SplunkAuthenticationTokenRetryRules$Outbound | undefined;
|
|
1398
|
+
};
|
|
1399
|
+
/** @internal */
|
|
1400
|
+
export declare const SplunkAuthenticationToken$outboundSchema: z.ZodType<SplunkAuthenticationToken$Outbound, z.ZodTypeDef, SplunkAuthenticationToken>;
|
|
1401
|
+
export declare function splunkAuthenticationTokenToJSON(splunkAuthenticationToken: SplunkAuthenticationToken): string;
|
|
1402
|
+
export declare function splunkAuthenticationTokenFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationToken, SDKValidationError>;
|
|
1403
|
+
/** @internal */
|
|
1404
|
+
export declare const SplunkAuthenticationBasicSecretAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretAuthentication, z.ZodTypeDef, unknown>;
|
|
1405
|
+
/** @internal */
|
|
1406
|
+
export declare const SplunkAuthenticationBasicSecretAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicSecretAuthentication>;
|
|
1407
|
+
/** @internal */
|
|
1408
|
+
export declare const SplunkAuthenticationBasicSecretOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretOutputMode, z.ZodTypeDef, unknown>;
|
|
1409
|
+
/** @internal */
|
|
1410
|
+
export declare const SplunkAuthenticationBasicSecretOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicSecretOutputMode>;
|
|
1411
|
+
/** @internal */
|
|
1412
|
+
export declare const SplunkAuthenticationBasicSecretCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1413
|
+
/** @internal */
|
|
1414
|
+
export type SplunkAuthenticationBasicSecretCollectRequestParam$Outbound = {
|
|
1415
|
+
name: string;
|
|
1416
|
+
value: string;
|
|
1417
|
+
};
|
|
1418
|
+
/** @internal */
|
|
1419
|
+
export declare const SplunkAuthenticationBasicSecretCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationBasicSecretCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicSecretCollectRequestParam>;
|
|
1420
|
+
export declare function splunkAuthenticationBasicSecretCollectRequestParamToJSON(splunkAuthenticationBasicSecretCollectRequestParam: SplunkAuthenticationBasicSecretCollectRequestParam): string;
|
|
1421
|
+
export declare function splunkAuthenticationBasicSecretCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicSecretCollectRequestParam, SDKValidationError>;
|
|
1422
|
+
/** @internal */
|
|
1423
|
+
export declare const SplunkAuthenticationBasicSecretCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1424
|
+
/** @internal */
|
|
1425
|
+
export type SplunkAuthenticationBasicSecretCollectRequestHeader$Outbound = {
|
|
1426
|
+
name: string;
|
|
1427
|
+
value: string;
|
|
1428
|
+
};
|
|
1429
|
+
/** @internal */
|
|
1430
|
+
export declare const SplunkAuthenticationBasicSecretCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationBasicSecretCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicSecretCollectRequestHeader>;
|
|
1431
|
+
export declare function splunkAuthenticationBasicSecretCollectRequestHeaderToJSON(splunkAuthenticationBasicSecretCollectRequestHeader: SplunkAuthenticationBasicSecretCollectRequestHeader): string;
|
|
1432
|
+
export declare function splunkAuthenticationBasicSecretCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicSecretCollectRequestHeader, SDKValidationError>;
|
|
1433
|
+
/** @internal */
|
|
1434
|
+
export declare const SplunkAuthenticationBasicSecretRetryType$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretRetryType, z.ZodTypeDef, unknown>;
|
|
1435
|
+
/** @internal */
|
|
1436
|
+
export declare const SplunkAuthenticationBasicSecretRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicSecretRetryType>;
|
|
1437
|
+
/** @internal */
|
|
1438
|
+
export declare const SplunkAuthenticationBasicSecretRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecretRetryRules, z.ZodTypeDef, unknown>;
|
|
1439
|
+
/** @internal */
|
|
1440
|
+
export type SplunkAuthenticationBasicSecretRetryRules$Outbound = {
|
|
1441
|
+
type: string;
|
|
1442
|
+
interval?: any | undefined;
|
|
1443
|
+
limit?: any | undefined;
|
|
1444
|
+
multiplier?: any | undefined;
|
|
1445
|
+
codes?: any | undefined;
|
|
1446
|
+
enableHeader?: any | undefined;
|
|
1447
|
+
retryConnectTimeout?: any | undefined;
|
|
1448
|
+
retryConnectReset?: any | undefined;
|
|
1449
|
+
};
|
|
1450
|
+
/** @internal */
|
|
1451
|
+
export declare const SplunkAuthenticationBasicSecretRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationBasicSecretRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicSecretRetryRules>;
|
|
1452
|
+
export declare function splunkAuthenticationBasicSecretRetryRulesToJSON(splunkAuthenticationBasicSecretRetryRules: SplunkAuthenticationBasicSecretRetryRules): string;
|
|
1453
|
+
export declare function splunkAuthenticationBasicSecretRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicSecretRetryRules, SDKValidationError>;
|
|
1454
|
+
/** @internal */
|
|
1455
|
+
export declare const SplunkAuthenticationBasicSecret$inboundSchema: z.ZodType<SplunkAuthenticationBasicSecret, z.ZodTypeDef, unknown>;
|
|
1456
|
+
/** @internal */
|
|
1457
|
+
export type SplunkAuthenticationBasicSecret$Outbound = {
|
|
1458
|
+
authentication: string;
|
|
1459
|
+
credentialsSecret: string;
|
|
1460
|
+
searchHead: string;
|
|
1461
|
+
search: string;
|
|
1462
|
+
earliest?: string | undefined;
|
|
1463
|
+
latest?: string | undefined;
|
|
1464
|
+
endpoint: string;
|
|
1465
|
+
outputMode: string;
|
|
1466
|
+
collectRequestParams?: Array<SplunkAuthenticationBasicSecretCollectRequestParam$Outbound> | undefined;
|
|
1467
|
+
collectRequestHeaders?: Array<SplunkAuthenticationBasicSecretCollectRequestHeader$Outbound> | undefined;
|
|
1468
|
+
timeout: number;
|
|
1469
|
+
useRoundRobinDns: boolean;
|
|
1470
|
+
disableTimeFilter: boolean;
|
|
1471
|
+
rejectUnauthorized: boolean;
|
|
1472
|
+
handleEscapedChars: boolean;
|
|
1473
|
+
retryRules?: SplunkAuthenticationBasicSecretRetryRules$Outbound | undefined;
|
|
1474
|
+
};
|
|
1475
|
+
/** @internal */
|
|
1476
|
+
export declare const SplunkAuthenticationBasicSecret$outboundSchema: z.ZodType<SplunkAuthenticationBasicSecret$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicSecret>;
|
|
1477
|
+
export declare function splunkAuthenticationBasicSecretToJSON(splunkAuthenticationBasicSecret: SplunkAuthenticationBasicSecret): string;
|
|
1478
|
+
export declare function splunkAuthenticationBasicSecretFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicSecret, SDKValidationError>;
|
|
1479
|
+
/** @internal */
|
|
1480
|
+
export declare const SplunkAuthenticationBasicAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationBasicAuthentication, z.ZodTypeDef, unknown>;
|
|
1481
|
+
/** @internal */
|
|
1482
|
+
export declare const SplunkAuthenticationBasicAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicAuthentication>;
|
|
1483
|
+
/** @internal */
|
|
1484
|
+
export declare const SplunkAuthenticationBasicOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationBasicOutputMode, z.ZodTypeDef, unknown>;
|
|
1485
|
+
/** @internal */
|
|
1486
|
+
export declare const SplunkAuthenticationBasicOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicOutputMode>;
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export declare const SplunkAuthenticationBasicCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationBasicCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1489
|
+
/** @internal */
|
|
1490
|
+
export type SplunkAuthenticationBasicCollectRequestParam$Outbound = {
|
|
1491
|
+
name: string;
|
|
1492
|
+
value: string;
|
|
1493
|
+
};
|
|
1494
|
+
/** @internal */
|
|
1495
|
+
export declare const SplunkAuthenticationBasicCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationBasicCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicCollectRequestParam>;
|
|
1496
|
+
export declare function splunkAuthenticationBasicCollectRequestParamToJSON(splunkAuthenticationBasicCollectRequestParam: SplunkAuthenticationBasicCollectRequestParam): string;
|
|
1497
|
+
export declare function splunkAuthenticationBasicCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicCollectRequestParam, SDKValidationError>;
|
|
1498
|
+
/** @internal */
|
|
1499
|
+
export declare const SplunkAuthenticationBasicCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationBasicCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export type SplunkAuthenticationBasicCollectRequestHeader$Outbound = {
|
|
1502
|
+
name: string;
|
|
1503
|
+
value: string;
|
|
1504
|
+
};
|
|
1505
|
+
/** @internal */
|
|
1506
|
+
export declare const SplunkAuthenticationBasicCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationBasicCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicCollectRequestHeader>;
|
|
1507
|
+
export declare function splunkAuthenticationBasicCollectRequestHeaderToJSON(splunkAuthenticationBasicCollectRequestHeader: SplunkAuthenticationBasicCollectRequestHeader): string;
|
|
1508
|
+
export declare function splunkAuthenticationBasicCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicCollectRequestHeader, SDKValidationError>;
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
export declare const SplunkAuthenticationBasicRetryType$inboundSchema: z.ZodType<SplunkAuthenticationBasicRetryType, z.ZodTypeDef, unknown>;
|
|
1511
|
+
/** @internal */
|
|
1512
|
+
export declare const SplunkAuthenticationBasicRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationBasicRetryType>;
|
|
1513
|
+
/** @internal */
|
|
1514
|
+
export declare const SplunkAuthenticationBasicRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationBasicRetryRules, z.ZodTypeDef, unknown>;
|
|
1515
|
+
/** @internal */
|
|
1516
|
+
export type SplunkAuthenticationBasicRetryRules$Outbound = {
|
|
1517
|
+
type: string;
|
|
1518
|
+
interval?: any | undefined;
|
|
1519
|
+
limit?: any | undefined;
|
|
1520
|
+
multiplier?: any | undefined;
|
|
1521
|
+
codes?: any | undefined;
|
|
1522
|
+
enableHeader?: any | undefined;
|
|
1523
|
+
retryConnectTimeout?: any | undefined;
|
|
1524
|
+
retryConnectReset?: any | undefined;
|
|
1525
|
+
};
|
|
1526
|
+
/** @internal */
|
|
1527
|
+
export declare const SplunkAuthenticationBasicRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationBasicRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationBasicRetryRules>;
|
|
1528
|
+
export declare function splunkAuthenticationBasicRetryRulesToJSON(splunkAuthenticationBasicRetryRules: SplunkAuthenticationBasicRetryRules): string;
|
|
1529
|
+
export declare function splunkAuthenticationBasicRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasicRetryRules, SDKValidationError>;
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export declare const SplunkAuthenticationBasic$inboundSchema: z.ZodType<SplunkAuthenticationBasic, z.ZodTypeDef, unknown>;
|
|
1532
|
+
/** @internal */
|
|
1533
|
+
export type SplunkAuthenticationBasic$Outbound = {
|
|
1534
|
+
authentication: string;
|
|
1535
|
+
username: string;
|
|
1536
|
+
password: string;
|
|
1537
|
+
searchHead: string;
|
|
1538
|
+
search: string;
|
|
1539
|
+
earliest?: string | undefined;
|
|
1540
|
+
latest?: string | undefined;
|
|
1541
|
+
endpoint: string;
|
|
212
1542
|
outputMode: string;
|
|
213
|
-
collectRequestParams?: Array<
|
|
214
|
-
collectRequestHeaders?: Array<
|
|
1543
|
+
collectRequestParams?: Array<SplunkAuthenticationBasicCollectRequestParam$Outbound> | undefined;
|
|
1544
|
+
collectRequestHeaders?: Array<SplunkAuthenticationBasicCollectRequestHeader$Outbound> | undefined;
|
|
1545
|
+
timeout: number;
|
|
1546
|
+
useRoundRobinDns: boolean;
|
|
1547
|
+
disableTimeFilter: boolean;
|
|
1548
|
+
rejectUnauthorized: boolean;
|
|
1549
|
+
handleEscapedChars: boolean;
|
|
1550
|
+
retryRules?: SplunkAuthenticationBasicRetryRules$Outbound | undefined;
|
|
1551
|
+
};
|
|
1552
|
+
/** @internal */
|
|
1553
|
+
export declare const SplunkAuthenticationBasic$outboundSchema: z.ZodType<SplunkAuthenticationBasic$Outbound, z.ZodTypeDef, SplunkAuthenticationBasic>;
|
|
1554
|
+
export declare function splunkAuthenticationBasicToJSON(splunkAuthenticationBasic: SplunkAuthenticationBasic): string;
|
|
1555
|
+
export declare function splunkAuthenticationBasicFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationBasic, SDKValidationError>;
|
|
1556
|
+
/** @internal */
|
|
1557
|
+
export declare const SplunkAuthenticationNoneAuthentication$inboundSchema: z.ZodType<SplunkAuthenticationNoneAuthentication, z.ZodTypeDef, unknown>;
|
|
1558
|
+
/** @internal */
|
|
1559
|
+
export declare const SplunkAuthenticationNoneAuthentication$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationNoneAuthentication>;
|
|
1560
|
+
/** @internal */
|
|
1561
|
+
export declare const SplunkAuthenticationNoneOutputMode$inboundSchema: z.ZodType<SplunkAuthenticationNoneOutputMode, z.ZodTypeDef, unknown>;
|
|
1562
|
+
/** @internal */
|
|
1563
|
+
export declare const SplunkAuthenticationNoneOutputMode$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationNoneOutputMode>;
|
|
1564
|
+
/** @internal */
|
|
1565
|
+
export declare const SplunkAuthenticationNoneCollectRequestParam$inboundSchema: z.ZodType<SplunkAuthenticationNoneCollectRequestParam, z.ZodTypeDef, unknown>;
|
|
1566
|
+
/** @internal */
|
|
1567
|
+
export type SplunkAuthenticationNoneCollectRequestParam$Outbound = {
|
|
1568
|
+
name: string;
|
|
1569
|
+
value: string;
|
|
1570
|
+
};
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export declare const SplunkAuthenticationNoneCollectRequestParam$outboundSchema: z.ZodType<SplunkAuthenticationNoneCollectRequestParam$Outbound, z.ZodTypeDef, SplunkAuthenticationNoneCollectRequestParam>;
|
|
1573
|
+
export declare function splunkAuthenticationNoneCollectRequestParamToJSON(splunkAuthenticationNoneCollectRequestParam: SplunkAuthenticationNoneCollectRequestParam): string;
|
|
1574
|
+
export declare function splunkAuthenticationNoneCollectRequestParamFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationNoneCollectRequestParam, SDKValidationError>;
|
|
1575
|
+
/** @internal */
|
|
1576
|
+
export declare const SplunkAuthenticationNoneCollectRequestHeader$inboundSchema: z.ZodType<SplunkAuthenticationNoneCollectRequestHeader, z.ZodTypeDef, unknown>;
|
|
1577
|
+
/** @internal */
|
|
1578
|
+
export type SplunkAuthenticationNoneCollectRequestHeader$Outbound = {
|
|
1579
|
+
name: string;
|
|
1580
|
+
value: string;
|
|
1581
|
+
};
|
|
1582
|
+
/** @internal */
|
|
1583
|
+
export declare const SplunkAuthenticationNoneCollectRequestHeader$outboundSchema: z.ZodType<SplunkAuthenticationNoneCollectRequestHeader$Outbound, z.ZodTypeDef, SplunkAuthenticationNoneCollectRequestHeader>;
|
|
1584
|
+
export declare function splunkAuthenticationNoneCollectRequestHeaderToJSON(splunkAuthenticationNoneCollectRequestHeader: SplunkAuthenticationNoneCollectRequestHeader): string;
|
|
1585
|
+
export declare function splunkAuthenticationNoneCollectRequestHeaderFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationNoneCollectRequestHeader, SDKValidationError>;
|
|
1586
|
+
/** @internal */
|
|
1587
|
+
export declare const SplunkAuthenticationNoneRetryType$inboundSchema: z.ZodType<SplunkAuthenticationNoneRetryType, z.ZodTypeDef, unknown>;
|
|
1588
|
+
/** @internal */
|
|
1589
|
+
export declare const SplunkAuthenticationNoneRetryType$outboundSchema: z.ZodType<string, z.ZodTypeDef, SplunkAuthenticationNoneRetryType>;
|
|
1590
|
+
/** @internal */
|
|
1591
|
+
export declare const SplunkAuthenticationNoneRetryRules$inboundSchema: z.ZodType<SplunkAuthenticationNoneRetryRules, z.ZodTypeDef, unknown>;
|
|
1592
|
+
/** @internal */
|
|
1593
|
+
export type SplunkAuthenticationNoneRetryRules$Outbound = {
|
|
1594
|
+
type: string;
|
|
1595
|
+
interval?: any | undefined;
|
|
1596
|
+
limit?: any | undefined;
|
|
1597
|
+
multiplier?: any | undefined;
|
|
1598
|
+
codes?: any | undefined;
|
|
1599
|
+
enableHeader?: any | undefined;
|
|
1600
|
+
retryConnectTimeout?: any | undefined;
|
|
1601
|
+
retryConnectReset?: any | undefined;
|
|
1602
|
+
};
|
|
1603
|
+
/** @internal */
|
|
1604
|
+
export declare const SplunkAuthenticationNoneRetryRules$outboundSchema: z.ZodType<SplunkAuthenticationNoneRetryRules$Outbound, z.ZodTypeDef, SplunkAuthenticationNoneRetryRules>;
|
|
1605
|
+
export declare function splunkAuthenticationNoneRetryRulesToJSON(splunkAuthenticationNoneRetryRules: SplunkAuthenticationNoneRetryRules): string;
|
|
1606
|
+
export declare function splunkAuthenticationNoneRetryRulesFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationNoneRetryRules, SDKValidationError>;
|
|
1607
|
+
/** @internal */
|
|
1608
|
+
export declare const SplunkAuthenticationNone$inboundSchema: z.ZodType<SplunkAuthenticationNone, z.ZodTypeDef, unknown>;
|
|
1609
|
+
/** @internal */
|
|
1610
|
+
export type SplunkAuthenticationNone$Outbound = {
|
|
215
1611
|
authentication: string;
|
|
1612
|
+
searchHead: string;
|
|
1613
|
+
search: string;
|
|
1614
|
+
earliest?: string | undefined;
|
|
1615
|
+
latest?: string | undefined;
|
|
1616
|
+
endpoint: string;
|
|
1617
|
+
outputMode: string;
|
|
1618
|
+
collectRequestParams?: Array<SplunkAuthenticationNoneCollectRequestParam$Outbound> | undefined;
|
|
1619
|
+
collectRequestHeaders?: Array<SplunkAuthenticationNoneCollectRequestHeader$Outbound> | undefined;
|
|
216
1620
|
timeout: number;
|
|
217
1621
|
useRoundRobinDns: boolean;
|
|
218
1622
|
disableTimeFilter: boolean;
|
|
219
1623
|
rejectUnauthorized: boolean;
|
|
220
1624
|
handleEscapedChars: boolean;
|
|
221
|
-
retryRules?:
|
|
1625
|
+
retryRules?: SplunkAuthenticationNoneRetryRules$Outbound | undefined;
|
|
222
1626
|
};
|
|
223
1627
|
/** @internal */
|
|
1628
|
+
export declare const SplunkAuthenticationNone$outboundSchema: z.ZodType<SplunkAuthenticationNone$Outbound, z.ZodTypeDef, SplunkAuthenticationNone>;
|
|
1629
|
+
export declare function splunkAuthenticationNoneToJSON(splunkAuthenticationNone: SplunkAuthenticationNone): string;
|
|
1630
|
+
export declare function splunkAuthenticationNoneFromJSON(jsonString: string): SafeParseResult<SplunkAuthenticationNone, SDKValidationError>;
|
|
1631
|
+
/** @internal */
|
|
1632
|
+
export declare const SplunkCollectorConf$inboundSchema: z.ZodType<SplunkCollectorConf, z.ZodTypeDef, unknown>;
|
|
1633
|
+
/** @internal */
|
|
1634
|
+
export type SplunkCollectorConf$Outbound = SplunkAuthenticationBasic$Outbound | SplunkAuthenticationLogin$Outbound | SplunkAuthenticationBasicSecret$Outbound | SplunkAuthenticationToken$Outbound | SplunkAuthenticationTokenSecret$Outbound | SplunkAuthenticationLoginSecret$Outbound | SplunkAuthenticationNone$Outbound;
|
|
1635
|
+
/** @internal */
|
|
224
1636
|
export declare const SplunkCollectorConf$outboundSchema: z.ZodType<SplunkCollectorConf$Outbound, z.ZodTypeDef, SplunkCollectorConf>;
|
|
225
1637
|
export declare function splunkCollectorConfToJSON(splunkCollectorConf: SplunkCollectorConf): string;
|
|
226
1638
|
export declare function splunkCollectorConfFromJSON(jsonString: string): SafeParseResult<SplunkCollectorConf, SDKValidationError>;
|