cribl-control-plane 0.0.38a1__py3-none-any.whl → 0.0.40a1__py3-none-any.whl
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.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/commits.py +52 -42
- cribl_control_plane/commits_files.py +12 -12
- cribl_control_plane/destinations.py +3 -3
- cribl_control_plane/destinations_pq.py +2 -2
- cribl_control_plane/groups_sdk.py +8 -8
- cribl_control_plane/models/__init__.py +315 -368
- cribl_control_plane/models/branchinfo.py +13 -0
- cribl_control_plane/models/configgroup.py +5 -3
- cribl_control_plane/models/createversioncommitop.py +26 -1
- cribl_control_plane/models/createversionrevertop.py +4 -2
- cribl_control_plane/models/createversionundoop.py +4 -2
- cribl_control_plane/models/deleteoutputpqbyidop.py +5 -5
- cribl_control_plane/models/difffiles.py +171 -0
- cribl_control_plane/models/getoutputpqbyidop.py +6 -5
- cribl_control_plane/models/getversionbranchop.py +6 -5
- cribl_control_plane/models/getversioncountop.py +9 -7
- cribl_control_plane/models/getversiondiffop.py +9 -7
- cribl_control_plane/models/getversionfilesop.py +3 -2
- cribl_control_plane/models/getversionop.py +4 -2
- cribl_control_plane/models/getversionshowop.py +3 -2
- cribl_control_plane/models/getversionstatusop.py +4 -2
- cribl_control_plane/models/gitcountresult.py +13 -0
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/inputcribllakehttp.py +5 -4
- cribl_control_plane/models/inputcrowdstrike.py +2 -2
- cribl_control_plane/models/inputs3.py +2 -2
- cribl_control_plane/models/inputs3inventory.py +2 -2
- cribl_control_plane/models/inputsecuritylake.py +2 -2
- cribl_control_plane/models/jobinfo.py +25 -0
- cribl_control_plane/models/jobstatus.py +17 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -1
- cribl_control_plane/models/outputgooglepubsub.py +7 -28
- cribl_control_plane/models/outputsentineloneaisiem.py +3 -3
- cribl_control_plane/models/packinfo.py +5 -5
- cribl_control_plane/models/packinstallinfo.py +5 -5
- cribl_control_plane/models/packrequestbody_union.py +140 -0
- cribl_control_plane/models/packupgraderequest.py +26 -0
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +589 -0
- cribl_control_plane/models/runnablejobexecutor.py +336 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +267 -0
- cribl_control_plane/models/updatepacksbyidop.py +9 -28
- cribl_control_plane/packs.py +62 -116
- cribl_control_plane/{destinations_samples.py → samples.py} +1 -1
- cribl_control_plane/sdk.py +0 -3
- cribl_control_plane/statuses.py +6 -6
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40a1.dist-info}/METADATA +6 -22
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40a1.dist-info}/RECORD +50 -67
- cribl_control_plane/cribl.py +0 -513
- cribl_control_plane/models/authconfig.py +0 -43
- cribl_control_plane/models/commonservicelimitconfigs.py +0 -14
- cribl_control_plane/models/edgeheartbeatmetricsmode.py +0 -11
- cribl_control_plane/models/getsystemsettingsauthop.py +0 -24
- cribl_control_plane/models/getsystemsettingsconfop.py +0 -24
- cribl_control_plane/models/getsystemsettingsgitsettingsop.py +0 -24
- cribl_control_plane/models/gitopstype.py +0 -10
- cribl_control_plane/models/gitsettings.py +0 -70
- cribl_control_plane/models/jobsettings.py +0 -83
- cribl_control_plane/models/limits.py +0 -127
- cribl_control_plane/models/packrequestbody.py +0 -75
- cribl_control_plane/models/rediscachelimits.py +0 -38
- cribl_control_plane/models/redisconnectionlimits.py +0 -20
- cribl_control_plane/models/redislimits.py +0 -14
- cribl_control_plane/models/searchsettings.py +0 -71
- cribl_control_plane/models/serviceslimits.py +0 -23
- cribl_control_plane/models/systemsettings.py +0 -358
- cribl_control_plane/models/systemsettingsconf.py +0 -311
- cribl_control_plane/models/updatesystemsettingsauthop.py +0 -24
- cribl_control_plane/models/updatesystemsettingsconfop.py +0 -24
- cribl_control_plane/models/updatesystemsettingsgitsettingsop.py +0 -24
- cribl_control_plane/models/upgradegroupsettings.py +0 -24
- cribl_control_plane/models/upgradepackageurls.py +0 -20
- cribl_control_plane/models/upgradesettings.py +0 -36
- cribl_control_plane/settings.py +0 -23
- cribl_control_plane/settings_auth.py +0 -339
- cribl_control_plane/settings_git.py +0 -339
- cribl_control_plane/system_sdk.py +0 -17
- {cribl_control_plane-0.0.38a1.dist-info → cribl_control_plane-0.0.40a1.dist-info}/WHEEL +0 -0
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .appmode import AppMode
|
|
5
|
-
from .authconfig import AuthConfig, AuthConfigTypedDict
|
|
6
|
-
from .gitsettings import GitSettings, GitSettingsTypedDict
|
|
7
|
-
from .jobsettings import JobSettings, JobSettingsTypedDict
|
|
8
|
-
from .limits import Limits, LimitsTypedDict
|
|
9
|
-
from .rediscachelimits import RedisCacheLimits, RedisCacheLimitsTypedDict
|
|
10
|
-
from .redislimits import RedisLimits, RedisLimitsTypedDict
|
|
11
|
-
from .searchsettings import SearchSettings, SearchSettingsTypedDict
|
|
12
|
-
from .serviceslimits import ServicesLimits, ServicesLimitsTypedDict
|
|
13
|
-
from .upgradegroupsettings import UpgradeGroupSettings, UpgradeGroupSettingsTypedDict
|
|
14
|
-
from .upgradesettings import UpgradeSettings, UpgradeSettingsTypedDict
|
|
15
|
-
from cribl_control_plane.types import BaseModel
|
|
16
|
-
from enum import Enum
|
|
17
|
-
import pydantic
|
|
18
|
-
from typing import List, Optional
|
|
19
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class SystemSettingsHeadersTypedDict(TypedDict):
|
|
23
|
-
pass
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class SystemSettingsHeaders(BaseModel):
|
|
27
|
-
pass
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class SystemSettingsSslTypedDict(TypedDict):
|
|
31
|
-
cert_path: str
|
|
32
|
-
disabled: bool
|
|
33
|
-
passphrase: str
|
|
34
|
-
priv_key_path: str
|
|
35
|
-
ca_path: NotRequired[str]
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class SystemSettingsSsl(BaseModel):
|
|
39
|
-
cert_path: Annotated[str, pydantic.Field(alias="certPath")]
|
|
40
|
-
|
|
41
|
-
disabled: bool
|
|
42
|
-
|
|
43
|
-
passphrase: str
|
|
44
|
-
|
|
45
|
-
priv_key_path: Annotated[str, pydantic.Field(alias="privKeyPath")]
|
|
46
|
-
|
|
47
|
-
ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class SystemSettingsAPITypedDict(TypedDict):
|
|
51
|
-
disabled: bool
|
|
52
|
-
host: str
|
|
53
|
-
port: float
|
|
54
|
-
protocol: str
|
|
55
|
-
ssl: SystemSettingsSslTypedDict
|
|
56
|
-
worker_remote_access: bool
|
|
57
|
-
base_url: NotRequired[str]
|
|
58
|
-
disable_api_cache: NotRequired[bool]
|
|
59
|
-
headers: NotRequired[SystemSettingsHeadersTypedDict]
|
|
60
|
-
idle_session_ttl: NotRequired[float]
|
|
61
|
-
listen_on_port: NotRequired[bool]
|
|
62
|
-
login_rate_limit: NotRequired[str]
|
|
63
|
-
scripts: NotRequired[bool]
|
|
64
|
-
sensitive_fields: NotRequired[List[str]]
|
|
65
|
-
sso_rate_limit: NotRequired[str]
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
class SystemSettingsAPI(BaseModel):
|
|
69
|
-
disabled: bool
|
|
70
|
-
|
|
71
|
-
host: str
|
|
72
|
-
|
|
73
|
-
port: float
|
|
74
|
-
|
|
75
|
-
protocol: str
|
|
76
|
-
|
|
77
|
-
ssl: SystemSettingsSsl
|
|
78
|
-
|
|
79
|
-
worker_remote_access: Annotated[bool, pydantic.Field(alias="workerRemoteAccess")]
|
|
80
|
-
|
|
81
|
-
base_url: Annotated[Optional[str], pydantic.Field(alias="baseUrl")] = None
|
|
82
|
-
|
|
83
|
-
disable_api_cache: Annotated[
|
|
84
|
-
Optional[bool], pydantic.Field(alias="disableApiCache")
|
|
85
|
-
] = None
|
|
86
|
-
|
|
87
|
-
headers: Optional[SystemSettingsHeaders] = None
|
|
88
|
-
|
|
89
|
-
idle_session_ttl: Annotated[
|
|
90
|
-
Optional[float], pydantic.Field(alias="idleSessionTTL")
|
|
91
|
-
] = None
|
|
92
|
-
|
|
93
|
-
listen_on_port: Annotated[Optional[bool], pydantic.Field(alias="listenOnPort")] = (
|
|
94
|
-
None
|
|
95
|
-
)
|
|
96
|
-
|
|
97
|
-
login_rate_limit: Annotated[
|
|
98
|
-
Optional[str], pydantic.Field(alias="loginRateLimit")
|
|
99
|
-
] = None
|
|
100
|
-
|
|
101
|
-
scripts: Optional[bool] = None
|
|
102
|
-
|
|
103
|
-
sensitive_fields: Annotated[
|
|
104
|
-
Optional[List[str]], pydantic.Field(alias="sensitiveFields")
|
|
105
|
-
] = None
|
|
106
|
-
|
|
107
|
-
sso_rate_limit: Annotated[Optional[str], pydantic.Field(alias="ssoRateLimit")] = (
|
|
108
|
-
None
|
|
109
|
-
)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
class SystemSettingsBackupsTypedDict(TypedDict):
|
|
113
|
-
backup_persistence: str
|
|
114
|
-
backups_directory: str
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
class SystemSettingsBackups(BaseModel):
|
|
118
|
-
backup_persistence: Annotated[str, pydantic.Field(alias="backupPersistence")]
|
|
119
|
-
|
|
120
|
-
backups_directory: Annotated[str, pydantic.Field(alias="backupsDirectory")]
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
class SystemSettingsCustomLogoTypedDict(TypedDict):
|
|
124
|
-
enabled: bool
|
|
125
|
-
logo_description: str
|
|
126
|
-
logo_image: str
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
class SystemSettingsCustomLogo(BaseModel):
|
|
130
|
-
enabled: bool
|
|
131
|
-
|
|
132
|
-
logo_description: Annotated[str, pydantic.Field(alias="logoDescription")]
|
|
133
|
-
|
|
134
|
-
logo_image: Annotated[str, pydantic.Field(alias="logoImage")]
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class DistributedTypedDict(TypedDict):
|
|
138
|
-
mode: AppMode
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
class Distributed(BaseModel):
|
|
142
|
-
mode: AppMode
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
class SystemSettingsPiiTypedDict(TypedDict):
|
|
146
|
-
enable_pii_detection: bool
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
class SystemSettingsPii(BaseModel):
|
|
150
|
-
enable_pii_detection: Annotated[bool, pydantic.Field(alias="enablePiiDetection")]
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
class SystemSettingsProxyTypedDict(TypedDict):
|
|
154
|
-
use_env_vars: bool
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
class SystemSettingsProxy(BaseModel):
|
|
158
|
-
use_env_vars: Annotated[bool, pydantic.Field(alias="useEnvVars")]
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
class SystemSettingsRollbackTypedDict(TypedDict):
|
|
162
|
-
rollback_enabled: bool
|
|
163
|
-
rollback_retries: NotRequired[float]
|
|
164
|
-
rollback_timeout: NotRequired[float]
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
class SystemSettingsRollback(BaseModel):
|
|
168
|
-
rollback_enabled: Annotated[bool, pydantic.Field(alias="rollbackEnabled")]
|
|
169
|
-
|
|
170
|
-
rollback_retries: Annotated[
|
|
171
|
-
Optional[float], pydantic.Field(alias="rollbackRetries")
|
|
172
|
-
] = None
|
|
173
|
-
|
|
174
|
-
rollback_timeout: Annotated[
|
|
175
|
-
Optional[float], pydantic.Field(alias="rollbackTimeout")
|
|
176
|
-
] = None
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
class SystemSettingsShutdownTypedDict(TypedDict):
|
|
180
|
-
drain_timeout: float
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
class SystemSettingsShutdown(BaseModel):
|
|
184
|
-
drain_timeout: Annotated[float, pydantic.Field(alias="drainTimeout")]
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
class SystemSettingsSniTypedDict(TypedDict):
|
|
188
|
-
disable_sni_routing: bool
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
class SystemSettingsSni(BaseModel):
|
|
192
|
-
disable_sni_routing: Annotated[bool, pydantic.Field(alias="disableSNIRouting")]
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
class SystemSettingsSocketsTypedDict(TypedDict):
|
|
196
|
-
directory: NotRequired[str]
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
class SystemSettingsSockets(BaseModel):
|
|
200
|
-
directory: Optional[str] = None
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
class SystemSettingsUpgrade(str, Enum):
|
|
204
|
-
FALSE = "false"
|
|
205
|
-
API = "api"
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
class SystemSettingsSystemTypedDict(TypedDict):
|
|
209
|
-
intercom: bool
|
|
210
|
-
upgrade: SystemSettingsUpgrade
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
class SystemSettingsSystem(BaseModel):
|
|
214
|
-
intercom: bool
|
|
215
|
-
|
|
216
|
-
upgrade: SystemSettingsUpgrade
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
class SystemSettingsTLSTypedDict(TypedDict):
|
|
220
|
-
default_cipher_list: str
|
|
221
|
-
default_ecdh_curve: str
|
|
222
|
-
max_version: str
|
|
223
|
-
min_version: str
|
|
224
|
-
reject_unauthorized: bool
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
class SystemSettingsTLS(BaseModel):
|
|
228
|
-
default_cipher_list: Annotated[str, pydantic.Field(alias="defaultCipherList")]
|
|
229
|
-
|
|
230
|
-
default_ecdh_curve: Annotated[str, pydantic.Field(alias="defaultEcdhCurve")]
|
|
231
|
-
|
|
232
|
-
max_version: Annotated[str, pydantic.Field(alias="maxVersion")]
|
|
233
|
-
|
|
234
|
-
min_version: Annotated[str, pydantic.Field(alias="minVersion")]
|
|
235
|
-
|
|
236
|
-
reject_unauthorized: Annotated[bool, pydantic.Field(alias="rejectUnauthorized")]
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class SystemSettingsWorkersTypedDict(TypedDict):
|
|
240
|
-
count: float
|
|
241
|
-
memory: float
|
|
242
|
-
minimum: float
|
|
243
|
-
enable_heap_snapshots: NotRequired[bool]
|
|
244
|
-
load_throttle_perc: NotRequired[float]
|
|
245
|
-
startup_max_conns: NotRequired[float]
|
|
246
|
-
startup_throttle_timeout: NotRequired[float]
|
|
247
|
-
v8_single_thread: NotRequired[bool]
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
class SystemSettingsWorkers(BaseModel):
|
|
251
|
-
count: float
|
|
252
|
-
|
|
253
|
-
memory: float
|
|
254
|
-
|
|
255
|
-
minimum: float
|
|
256
|
-
|
|
257
|
-
enable_heap_snapshots: Annotated[
|
|
258
|
-
Optional[bool], pydantic.Field(alias="enableHeapSnapshots")
|
|
259
|
-
] = None
|
|
260
|
-
|
|
261
|
-
load_throttle_perc: Annotated[
|
|
262
|
-
Optional[float], pydantic.Field(alias="loadThrottlePerc")
|
|
263
|
-
] = None
|
|
264
|
-
|
|
265
|
-
startup_max_conns: Annotated[
|
|
266
|
-
Optional[float], pydantic.Field(alias="startupMaxConns")
|
|
267
|
-
] = None
|
|
268
|
-
|
|
269
|
-
startup_throttle_timeout: Annotated[
|
|
270
|
-
Optional[float], pydantic.Field(alias="startupThrottleTimeout")
|
|
271
|
-
] = None
|
|
272
|
-
|
|
273
|
-
v8_single_thread: Annotated[
|
|
274
|
-
Optional[bool], pydantic.Field(alias="v8SingleThread")
|
|
275
|
-
] = None
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
class SystemSettingsTypedDict(TypedDict):
|
|
279
|
-
api: SystemSettingsAPITypedDict
|
|
280
|
-
auth: AuthConfigTypedDict
|
|
281
|
-
backups: SystemSettingsBackupsTypedDict
|
|
282
|
-
custom_logo: SystemSettingsCustomLogoTypedDict
|
|
283
|
-
distributed: DistributedTypedDict
|
|
284
|
-
fips: bool
|
|
285
|
-
git: GitSettingsTypedDict
|
|
286
|
-
job_limits: JobSettingsTypedDict
|
|
287
|
-
limits: LimitsTypedDict
|
|
288
|
-
pii: SystemSettingsPiiTypedDict
|
|
289
|
-
proxy: SystemSettingsProxyTypedDict
|
|
290
|
-
redis_cache_limits: RedisCacheLimitsTypedDict
|
|
291
|
-
redis_limits: RedisLimitsTypedDict
|
|
292
|
-
rollback: SystemSettingsRollbackTypedDict
|
|
293
|
-
search_limits: SearchSettingsTypedDict
|
|
294
|
-
services_limits: ServicesLimitsTypedDict
|
|
295
|
-
shutdown: SystemSettingsShutdownTypedDict
|
|
296
|
-
sni: SystemSettingsSniTypedDict
|
|
297
|
-
system: SystemSettingsSystemTypedDict
|
|
298
|
-
tls: SystemSettingsTLSTypedDict
|
|
299
|
-
upgrade_group_settings: UpgradeGroupSettingsTypedDict
|
|
300
|
-
upgrade_settings: UpgradeSettingsTypedDict
|
|
301
|
-
workers: SystemSettingsWorkersTypedDict
|
|
302
|
-
sockets: NotRequired[SystemSettingsSocketsTypedDict]
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class SystemSettings(BaseModel):
|
|
306
|
-
api: SystemSettingsAPI
|
|
307
|
-
|
|
308
|
-
auth: AuthConfig
|
|
309
|
-
|
|
310
|
-
backups: SystemSettingsBackups
|
|
311
|
-
|
|
312
|
-
custom_logo: Annotated[SystemSettingsCustomLogo, pydantic.Field(alias="customLogo")]
|
|
313
|
-
|
|
314
|
-
distributed: Distributed
|
|
315
|
-
|
|
316
|
-
fips: bool
|
|
317
|
-
|
|
318
|
-
git: GitSettings
|
|
319
|
-
|
|
320
|
-
job_limits: Annotated[JobSettings, pydantic.Field(alias="jobLimits")]
|
|
321
|
-
|
|
322
|
-
limits: Limits
|
|
323
|
-
|
|
324
|
-
pii: SystemSettingsPii
|
|
325
|
-
|
|
326
|
-
proxy: SystemSettingsProxy
|
|
327
|
-
|
|
328
|
-
redis_cache_limits: Annotated[
|
|
329
|
-
RedisCacheLimits, pydantic.Field(alias="redisCacheLimits")
|
|
330
|
-
]
|
|
331
|
-
|
|
332
|
-
redis_limits: Annotated[RedisLimits, pydantic.Field(alias="redisLimits")]
|
|
333
|
-
|
|
334
|
-
rollback: SystemSettingsRollback
|
|
335
|
-
|
|
336
|
-
search_limits: Annotated[SearchSettings, pydantic.Field(alias="searchLimits")]
|
|
337
|
-
|
|
338
|
-
services_limits: Annotated[ServicesLimits, pydantic.Field(alias="servicesLimits")]
|
|
339
|
-
|
|
340
|
-
shutdown: SystemSettingsShutdown
|
|
341
|
-
|
|
342
|
-
sni: SystemSettingsSni
|
|
343
|
-
|
|
344
|
-
system: SystemSettingsSystem
|
|
345
|
-
|
|
346
|
-
tls: SystemSettingsTLS
|
|
347
|
-
|
|
348
|
-
upgrade_group_settings: Annotated[
|
|
349
|
-
UpgradeGroupSettings, pydantic.Field(alias="upgradeGroupSettings")
|
|
350
|
-
]
|
|
351
|
-
|
|
352
|
-
upgrade_settings: Annotated[
|
|
353
|
-
UpgradeSettings, pydantic.Field(alias="upgradeSettings")
|
|
354
|
-
]
|
|
355
|
-
|
|
356
|
-
workers: SystemSettingsWorkers
|
|
357
|
-
|
|
358
|
-
sockets: Optional[SystemSettingsSockets] = None
|
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .upgradegroupsettings import UpgradeGroupSettings, UpgradeGroupSettingsTypedDict
|
|
5
|
-
from .upgradesettings import UpgradeSettings, UpgradeSettingsTypedDict
|
|
6
|
-
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from enum import Enum
|
|
8
|
-
import pydantic
|
|
9
|
-
from typing import List, Optional
|
|
10
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class SystemSettingsConfHeadersTypedDict(TypedDict):
|
|
14
|
-
pass
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
class SystemSettingsConfHeaders(BaseModel):
|
|
18
|
-
pass
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class SystemSettingsConfSslTypedDict(TypedDict):
|
|
22
|
-
cert_path: str
|
|
23
|
-
disabled: bool
|
|
24
|
-
passphrase: str
|
|
25
|
-
priv_key_path: str
|
|
26
|
-
ca_path: NotRequired[str]
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class SystemSettingsConfSsl(BaseModel):
|
|
30
|
-
cert_path: Annotated[str, pydantic.Field(alias="certPath")]
|
|
31
|
-
|
|
32
|
-
disabled: bool
|
|
33
|
-
|
|
34
|
-
passphrase: str
|
|
35
|
-
|
|
36
|
-
priv_key_path: Annotated[str, pydantic.Field(alias="privKeyPath")]
|
|
37
|
-
|
|
38
|
-
ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class SystemSettingsConfAPITypedDict(TypedDict):
|
|
42
|
-
disabled: bool
|
|
43
|
-
host: str
|
|
44
|
-
port: float
|
|
45
|
-
protocol: str
|
|
46
|
-
ssl: SystemSettingsConfSslTypedDict
|
|
47
|
-
worker_remote_access: bool
|
|
48
|
-
base_url: NotRequired[str]
|
|
49
|
-
disable_api_cache: NotRequired[bool]
|
|
50
|
-
headers: NotRequired[SystemSettingsConfHeadersTypedDict]
|
|
51
|
-
idle_session_ttl: NotRequired[float]
|
|
52
|
-
listen_on_port: NotRequired[bool]
|
|
53
|
-
login_rate_limit: NotRequired[str]
|
|
54
|
-
scripts: NotRequired[bool]
|
|
55
|
-
sensitive_fields: NotRequired[List[str]]
|
|
56
|
-
sso_rate_limit: NotRequired[str]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
class SystemSettingsConfAPI(BaseModel):
|
|
60
|
-
disabled: bool
|
|
61
|
-
|
|
62
|
-
host: str
|
|
63
|
-
|
|
64
|
-
port: float
|
|
65
|
-
|
|
66
|
-
protocol: str
|
|
67
|
-
|
|
68
|
-
ssl: SystemSettingsConfSsl
|
|
69
|
-
|
|
70
|
-
worker_remote_access: Annotated[bool, pydantic.Field(alias="workerRemoteAccess")]
|
|
71
|
-
|
|
72
|
-
base_url: Annotated[Optional[str], pydantic.Field(alias="baseUrl")] = None
|
|
73
|
-
|
|
74
|
-
disable_api_cache: Annotated[
|
|
75
|
-
Optional[bool], pydantic.Field(alias="disableApiCache")
|
|
76
|
-
] = None
|
|
77
|
-
|
|
78
|
-
headers: Optional[SystemSettingsConfHeaders] = None
|
|
79
|
-
|
|
80
|
-
idle_session_ttl: Annotated[
|
|
81
|
-
Optional[float], pydantic.Field(alias="idleSessionTTL")
|
|
82
|
-
] = None
|
|
83
|
-
|
|
84
|
-
listen_on_port: Annotated[Optional[bool], pydantic.Field(alias="listenOnPort")] = (
|
|
85
|
-
None
|
|
86
|
-
)
|
|
87
|
-
|
|
88
|
-
login_rate_limit: Annotated[
|
|
89
|
-
Optional[str], pydantic.Field(alias="loginRateLimit")
|
|
90
|
-
] = None
|
|
91
|
-
|
|
92
|
-
scripts: Optional[bool] = None
|
|
93
|
-
|
|
94
|
-
sensitive_fields: Annotated[
|
|
95
|
-
Optional[List[str]], pydantic.Field(alias="sensitiveFields")
|
|
96
|
-
] = None
|
|
97
|
-
|
|
98
|
-
sso_rate_limit: Annotated[Optional[str], pydantic.Field(alias="ssoRateLimit")] = (
|
|
99
|
-
None
|
|
100
|
-
)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
class SystemSettingsConfBackupsTypedDict(TypedDict):
|
|
104
|
-
backup_persistence: str
|
|
105
|
-
backups_directory: str
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class SystemSettingsConfBackups(BaseModel):
|
|
109
|
-
backup_persistence: Annotated[str, pydantic.Field(alias="backupPersistence")]
|
|
110
|
-
|
|
111
|
-
backups_directory: Annotated[str, pydantic.Field(alias="backupsDirectory")]
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
class SystemSettingsConfCustomLogoTypedDict(TypedDict):
|
|
115
|
-
enabled: bool
|
|
116
|
-
logo_description: str
|
|
117
|
-
logo_image: str
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
class SystemSettingsConfCustomLogo(BaseModel):
|
|
121
|
-
enabled: bool
|
|
122
|
-
|
|
123
|
-
logo_description: Annotated[str, pydantic.Field(alias="logoDescription")]
|
|
124
|
-
|
|
125
|
-
logo_image: Annotated[str, pydantic.Field(alias="logoImage")]
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
class SystemSettingsConfPiiTypedDict(TypedDict):
|
|
129
|
-
enable_pii_detection: bool
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
class SystemSettingsConfPii(BaseModel):
|
|
133
|
-
enable_pii_detection: Annotated[bool, pydantic.Field(alias="enablePiiDetection")]
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class SystemSettingsConfProxyTypedDict(TypedDict):
|
|
137
|
-
use_env_vars: bool
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
class SystemSettingsConfProxy(BaseModel):
|
|
141
|
-
use_env_vars: Annotated[bool, pydantic.Field(alias="useEnvVars")]
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
class SystemSettingsConfRollbackTypedDict(TypedDict):
|
|
145
|
-
rollback_enabled: bool
|
|
146
|
-
rollback_retries: NotRequired[float]
|
|
147
|
-
rollback_timeout: NotRequired[float]
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
class SystemSettingsConfRollback(BaseModel):
|
|
151
|
-
rollback_enabled: Annotated[bool, pydantic.Field(alias="rollbackEnabled")]
|
|
152
|
-
|
|
153
|
-
rollback_retries: Annotated[
|
|
154
|
-
Optional[float], pydantic.Field(alias="rollbackRetries")
|
|
155
|
-
] = None
|
|
156
|
-
|
|
157
|
-
rollback_timeout: Annotated[
|
|
158
|
-
Optional[float], pydantic.Field(alias="rollbackTimeout")
|
|
159
|
-
] = None
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
class SystemSettingsConfShutdownTypedDict(TypedDict):
|
|
163
|
-
drain_timeout: float
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
class SystemSettingsConfShutdown(BaseModel):
|
|
167
|
-
drain_timeout: Annotated[float, pydantic.Field(alias="drainTimeout")]
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
class SystemSettingsConfSniTypedDict(TypedDict):
|
|
171
|
-
disable_sni_routing: bool
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
class SystemSettingsConfSni(BaseModel):
|
|
175
|
-
disable_sni_routing: Annotated[bool, pydantic.Field(alias="disableSNIRouting")]
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
class SystemSettingsConfSocketsTypedDict(TypedDict):
|
|
179
|
-
directory: NotRequired[str]
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
class SystemSettingsConfSockets(BaseModel):
|
|
183
|
-
directory: Optional[str] = None
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
class SystemSettingsConfUpgrade(str, Enum):
|
|
187
|
-
FALSE = "false"
|
|
188
|
-
API = "api"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
class SystemSettingsConfSystemTypedDict(TypedDict):
|
|
192
|
-
intercom: bool
|
|
193
|
-
upgrade: SystemSettingsConfUpgrade
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
class SystemSettingsConfSystem(BaseModel):
|
|
197
|
-
intercom: bool
|
|
198
|
-
|
|
199
|
-
upgrade: SystemSettingsConfUpgrade
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
class SystemSettingsConfTLSTypedDict(TypedDict):
|
|
203
|
-
default_cipher_list: str
|
|
204
|
-
default_ecdh_curve: str
|
|
205
|
-
max_version: str
|
|
206
|
-
min_version: str
|
|
207
|
-
reject_unauthorized: bool
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
class SystemSettingsConfTLS(BaseModel):
|
|
211
|
-
default_cipher_list: Annotated[str, pydantic.Field(alias="defaultCipherList")]
|
|
212
|
-
|
|
213
|
-
default_ecdh_curve: Annotated[str, pydantic.Field(alias="defaultEcdhCurve")]
|
|
214
|
-
|
|
215
|
-
max_version: Annotated[str, pydantic.Field(alias="maxVersion")]
|
|
216
|
-
|
|
217
|
-
min_version: Annotated[str, pydantic.Field(alias="minVersion")]
|
|
218
|
-
|
|
219
|
-
reject_unauthorized: Annotated[bool, pydantic.Field(alias="rejectUnauthorized")]
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
class SystemSettingsConfWorkersTypedDict(TypedDict):
|
|
223
|
-
count: float
|
|
224
|
-
memory: float
|
|
225
|
-
minimum: float
|
|
226
|
-
enable_heap_snapshots: NotRequired[bool]
|
|
227
|
-
load_throttle_perc: NotRequired[float]
|
|
228
|
-
startup_max_conns: NotRequired[float]
|
|
229
|
-
startup_throttle_timeout: NotRequired[float]
|
|
230
|
-
v8_single_thread: NotRequired[bool]
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
class SystemSettingsConfWorkers(BaseModel):
|
|
234
|
-
count: float
|
|
235
|
-
|
|
236
|
-
memory: float
|
|
237
|
-
|
|
238
|
-
minimum: float
|
|
239
|
-
|
|
240
|
-
enable_heap_snapshots: Annotated[
|
|
241
|
-
Optional[bool], pydantic.Field(alias="enableHeapSnapshots")
|
|
242
|
-
] = None
|
|
243
|
-
|
|
244
|
-
load_throttle_perc: Annotated[
|
|
245
|
-
Optional[float], pydantic.Field(alias="loadThrottlePerc")
|
|
246
|
-
] = None
|
|
247
|
-
|
|
248
|
-
startup_max_conns: Annotated[
|
|
249
|
-
Optional[float], pydantic.Field(alias="startupMaxConns")
|
|
250
|
-
] = None
|
|
251
|
-
|
|
252
|
-
startup_throttle_timeout: Annotated[
|
|
253
|
-
Optional[float], pydantic.Field(alias="startupThrottleTimeout")
|
|
254
|
-
] = None
|
|
255
|
-
|
|
256
|
-
v8_single_thread: Annotated[
|
|
257
|
-
Optional[bool], pydantic.Field(alias="v8SingleThread")
|
|
258
|
-
] = None
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
class SystemSettingsConfTypedDict(TypedDict):
|
|
262
|
-
api: SystemSettingsConfAPITypedDict
|
|
263
|
-
backups: SystemSettingsConfBackupsTypedDict
|
|
264
|
-
custom_logo: SystemSettingsConfCustomLogoTypedDict
|
|
265
|
-
pii: SystemSettingsConfPiiTypedDict
|
|
266
|
-
proxy: SystemSettingsConfProxyTypedDict
|
|
267
|
-
rollback: SystemSettingsConfRollbackTypedDict
|
|
268
|
-
shutdown: SystemSettingsConfShutdownTypedDict
|
|
269
|
-
sni: SystemSettingsConfSniTypedDict
|
|
270
|
-
system: SystemSettingsConfSystemTypedDict
|
|
271
|
-
tls: SystemSettingsConfTLSTypedDict
|
|
272
|
-
upgrade_group_settings: UpgradeGroupSettingsTypedDict
|
|
273
|
-
upgrade_settings: UpgradeSettingsTypedDict
|
|
274
|
-
workers: SystemSettingsConfWorkersTypedDict
|
|
275
|
-
sockets: NotRequired[SystemSettingsConfSocketsTypedDict]
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
class SystemSettingsConf(BaseModel):
|
|
279
|
-
api: SystemSettingsConfAPI
|
|
280
|
-
|
|
281
|
-
backups: SystemSettingsConfBackups
|
|
282
|
-
|
|
283
|
-
custom_logo: Annotated[
|
|
284
|
-
SystemSettingsConfCustomLogo, pydantic.Field(alias="customLogo")
|
|
285
|
-
]
|
|
286
|
-
|
|
287
|
-
pii: SystemSettingsConfPii
|
|
288
|
-
|
|
289
|
-
proxy: SystemSettingsConfProxy
|
|
290
|
-
|
|
291
|
-
rollback: SystemSettingsConfRollback
|
|
292
|
-
|
|
293
|
-
shutdown: SystemSettingsConfShutdown
|
|
294
|
-
|
|
295
|
-
sni: SystemSettingsConfSni
|
|
296
|
-
|
|
297
|
-
system: SystemSettingsConfSystem
|
|
298
|
-
|
|
299
|
-
tls: SystemSettingsConfTLS
|
|
300
|
-
|
|
301
|
-
upgrade_group_settings: Annotated[
|
|
302
|
-
UpgradeGroupSettings, pydantic.Field(alias="upgradeGroupSettings")
|
|
303
|
-
]
|
|
304
|
-
|
|
305
|
-
upgrade_settings: Annotated[
|
|
306
|
-
UpgradeSettings, pydantic.Field(alias="upgradeSettings")
|
|
307
|
-
]
|
|
308
|
-
|
|
309
|
-
workers: SystemSettingsConfWorkers
|
|
310
|
-
|
|
311
|
-
sockets: Optional[SystemSettingsConfSockets] = None
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .authconfig import AuthConfig, AuthConfigTypedDict
|
|
5
|
-
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from typing import List, Optional
|
|
7
|
-
from typing_extensions import NotRequired, TypedDict
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class UpdateSystemSettingsAuthResponseTypedDict(TypedDict):
|
|
11
|
-
r"""a list of AuthConfig objects"""
|
|
12
|
-
|
|
13
|
-
count: NotRequired[int]
|
|
14
|
-
r"""number of items present in the items array"""
|
|
15
|
-
items: NotRequired[List[AuthConfigTypedDict]]
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class UpdateSystemSettingsAuthResponse(BaseModel):
|
|
19
|
-
r"""a list of AuthConfig objects"""
|
|
20
|
-
|
|
21
|
-
count: Optional[int] = None
|
|
22
|
-
r"""number of items present in the items array"""
|
|
23
|
-
|
|
24
|
-
items: Optional[List[AuthConfig]] = None
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
from .systemsettings import SystemSettings, SystemSettingsTypedDict
|
|
5
|
-
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from typing import List, Optional
|
|
7
|
-
from typing_extensions import NotRequired, TypedDict
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class UpdateSystemSettingsConfResponseTypedDict(TypedDict):
|
|
11
|
-
r"""a list of SystemSettings objects"""
|
|
12
|
-
|
|
13
|
-
count: NotRequired[int]
|
|
14
|
-
r"""number of items present in the items array"""
|
|
15
|
-
items: NotRequired[List[SystemSettingsTypedDict]]
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
class UpdateSystemSettingsConfResponse(BaseModel):
|
|
19
|
-
r"""a list of SystemSettings objects"""
|
|
20
|
-
|
|
21
|
-
count: Optional[int] = None
|
|
22
|
-
r"""number of items present in the items array"""
|
|
23
|
-
|
|
24
|
-
items: Optional[List[SystemSettings]] = None
|