cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc11__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 +4 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +245 -392
- cribl_control_plane/models/configgroupcloud.py +1 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +3 -22
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +4 -0
- cribl_control_plane/models/cribllakedatasetupdate.py +4 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -20
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +1 -19
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/input.py +1 -1
- cribl_control_plane/models/inputcriblhttp.py +24 -6
- cribl_control_plane/models/inputcribltcp.py +25 -0
- cribl_control_plane/models/inputfile.py +4 -4
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/output.py +2 -2
- cribl_control_plane/models/outputconfluentcloud.py +2 -0
- cribl_control_plane/models/outputcriblhttp.py +23 -0
- cribl_control_plane/models/outputcribltcp.py +25 -0
- cribl_control_plane/models/outputdatabricks.py +4 -4
- cribl_control_plane/models/outputkafka.py +2 -0
- cribl_control_plane/models/outputmsk.py +2 -0
- cribl_control_plane/models/runnablejobcollection.py +8 -0
- cribl_control_plane/models/runnablejobexecutor.py +4 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +4 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/RECORD +122 -103
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .gitstatusresult import GitStatusResult, GitStatusResultTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -21,20 +20,3 @@ class GetVersionStatusRequest(BaseModel):
|
|
|
21
20
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
22
21
|
] = None
|
|
23
22
|
r"""The <code>id</code> of the Worker Group or Edge Fleet to get the status for."""
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
class GetVersionStatusResponseTypedDict(TypedDict):
|
|
27
|
-
r"""a list of GitStatusResult objects"""
|
|
28
|
-
|
|
29
|
-
count: NotRequired[int]
|
|
30
|
-
r"""number of items present in the items array"""
|
|
31
|
-
items: NotRequired[List[GitStatusResultTypedDict]]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class GetVersionStatusResponse(BaseModel):
|
|
35
|
-
r"""a list of GitStatusResult objects"""
|
|
36
|
-
|
|
37
|
-
count: Optional[int] = None
|
|
38
|
-
r"""number of items present in the items array"""
|
|
39
|
-
|
|
40
|
-
items: Optional[List[GitStatusResult]] = None
|
|
@@ -92,8 +92,8 @@ InputTypedDict = TypeAliasType(
|
|
|
92
92
|
InputSnmpTypedDict,
|
|
93
93
|
InputMetricsTypedDict,
|
|
94
94
|
InputWinEventLogsTypedDict,
|
|
95
|
-
InputCriblTCPTypedDict,
|
|
96
95
|
InputNetflowTypedDict,
|
|
96
|
+
InputCriblTCPTypedDict,
|
|
97
97
|
InputTcpjsonTypedDict,
|
|
98
98
|
InputGooglePubsubTypedDict,
|
|
99
99
|
InputOffice365ServiceTypedDict,
|
|
@@ -126,6 +126,24 @@ class InputCriblHTTPPq(BaseModel):
|
|
|
126
126
|
return value
|
|
127
127
|
|
|
128
128
|
|
|
129
|
+
class InputCriblHTTPAuthTokenTypedDict(TypedDict):
|
|
130
|
+
token_secret: str
|
|
131
|
+
r"""Select or create a stored text secret"""
|
|
132
|
+
enabled: NotRequired[bool]
|
|
133
|
+
description: NotRequired[str]
|
|
134
|
+
r"""Optional token description"""
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class InputCriblHTTPAuthToken(BaseModel):
|
|
138
|
+
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
139
|
+
r"""Select or create a stored text secret"""
|
|
140
|
+
|
|
141
|
+
enabled: Optional[bool] = True
|
|
142
|
+
|
|
143
|
+
description: Optional[str] = None
|
|
144
|
+
r"""Optional token description"""
|
|
145
|
+
|
|
146
|
+
|
|
129
147
|
class InputCriblHTTPMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
148
|
TL_SV1 = "TLSv1"
|
|
131
149
|
TL_SV1_1 = "TLSv1.1"
|
|
@@ -265,8 +283,8 @@ class InputCriblHTTPTypedDict(TypedDict):
|
|
|
265
283
|
pq: NotRequired[InputCriblHTTPPqTypedDict]
|
|
266
284
|
host: NotRequired[str]
|
|
267
285
|
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
268
|
-
auth_tokens: NotRequired[List[
|
|
269
|
-
r"""Shared secrets to be
|
|
286
|
+
auth_tokens: NotRequired[List[InputCriblHTTPAuthTokenTypedDict]]
|
|
287
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl HTTP destinations in connected environments."""
|
|
270
288
|
tls: NotRequired[InputCriblHTTPTLSSettingsServerSideTypedDict]
|
|
271
289
|
max_active_req: NotRequired[float]
|
|
272
290
|
r"""Maximum number of active requests allowed per Worker Process. Set to 0 for unlimited. Caution: Increasing the limit above the default value, or setting it to unlimited, may degrade performance and reduce throughput."""
|
|
@@ -331,10 +349,10 @@ class InputCriblHTTP(BaseModel):
|
|
|
331
349
|
host: Optional[str] = "0.0.0.0"
|
|
332
350
|
r"""Address to bind on. Defaults to 0.0.0.0 (all addresses)."""
|
|
333
351
|
|
|
334
|
-
auth_tokens: Annotated[
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
r"""Shared secrets to be
|
|
352
|
+
auth_tokens: Annotated[
|
|
353
|
+
Optional[List[InputCriblHTTPAuthToken]], pydantic.Field(alias="authTokens")
|
|
354
|
+
] = None
|
|
355
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl HTTP destinations in connected environments."""
|
|
338
356
|
|
|
339
357
|
tls: Optional[InputCriblHTTPTLSSettingsServerSide] = None
|
|
340
358
|
|
|
@@ -243,6 +243,24 @@ class InputCriblTCPMetadatum(BaseModel):
|
|
|
243
243
|
r"""JavaScript expression to compute field's value, enclosed in quotes or backticks. (Can evaluate to a constant.)"""
|
|
244
244
|
|
|
245
245
|
|
|
246
|
+
class InputCriblTCPAuthTokenTypedDict(TypedDict):
|
|
247
|
+
token_secret: str
|
|
248
|
+
r"""Select or create a stored text secret"""
|
|
249
|
+
enabled: NotRequired[bool]
|
|
250
|
+
description: NotRequired[str]
|
|
251
|
+
r"""Optional token description"""
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class InputCriblTCPAuthToken(BaseModel):
|
|
255
|
+
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
256
|
+
r"""Select or create a stored text secret"""
|
|
257
|
+
|
|
258
|
+
enabled: Optional[bool] = True
|
|
259
|
+
|
|
260
|
+
description: Optional[str] = None
|
|
261
|
+
r"""Optional token description"""
|
|
262
|
+
|
|
263
|
+
|
|
246
264
|
class InputCriblTCPTypedDict(TypedDict):
|
|
247
265
|
type: InputCriblTCPType
|
|
248
266
|
port: float
|
|
@@ -280,6 +298,8 @@ class InputCriblTCPTypedDict(TypedDict):
|
|
|
280
298
|
r"""Fields to add to events from this input"""
|
|
281
299
|
enable_load_balancing: NotRequired[bool]
|
|
282
300
|
r"""Load balance traffic across all Worker Processes"""
|
|
301
|
+
auth_tokens: NotRequired[List[InputCriblTCPAuthTokenTypedDict]]
|
|
302
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl TCP destinations in connected environments."""
|
|
283
303
|
description: NotRequired[str]
|
|
284
304
|
|
|
285
305
|
|
|
@@ -354,4 +374,9 @@ class InputCriblTCP(BaseModel):
|
|
|
354
374
|
] = False
|
|
355
375
|
r"""Load balance traffic across all Worker Processes"""
|
|
356
376
|
|
|
377
|
+
auth_tokens: Annotated[
|
|
378
|
+
Optional[List[InputCriblTCPAuthToken]], pydantic.Field(alias="authTokens")
|
|
379
|
+
] = None
|
|
380
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should be installed in Cribl TCP destinations in connected environments."""
|
|
381
|
+
|
|
357
382
|
description: Optional[str] = None
|
|
@@ -129,10 +129,10 @@ class InputFilePq(BaseModel):
|
|
|
129
129
|
class InputFileMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
130
|
r"""Choose how to discover files to monitor"""
|
|
131
131
|
|
|
132
|
-
# Auto
|
|
133
|
-
AUTO = "auto"
|
|
134
132
|
# Manual
|
|
135
133
|
MANUAL = "manual"
|
|
134
|
+
# Auto
|
|
135
|
+
AUTO = "auto"
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
class InputFileMetadatumTypedDict(TypedDict):
|
|
@@ -236,7 +236,7 @@ class InputFile(BaseModel):
|
|
|
236
236
|
|
|
237
237
|
mode: Annotated[
|
|
238
238
|
Optional[InputFileMode], PlainValidator(validate_open_enum(False))
|
|
239
|
-
] = InputFileMode.
|
|
239
|
+
] = InputFileMode.MANUAL
|
|
240
240
|
r"""Choose how to discover files to monitor"""
|
|
241
241
|
|
|
242
242
|
interval: Optional[float] = 10
|
|
@@ -245,7 +245,7 @@ class InputFile(BaseModel):
|
|
|
245
245
|
filenames: Optional[List[str]] = None
|
|
246
246
|
r"""The full path of discovered files are matched against this wildcard list"""
|
|
247
247
|
|
|
248
|
-
tail_only: Annotated[Optional[bool], pydantic.Field(alias="tailOnly")] =
|
|
248
|
+
tail_only: Annotated[Optional[bool], pydantic.Field(alias="tailOnly")] = True
|
|
249
249
|
r"""Read only new entries at the end of all files discovered at next startup. @{product} will then read newly discovered files from the head. Disable this to resume reading all files from head."""
|
|
250
250
|
|
|
251
251
|
idle_timeout: Annotated[Optional[float], pydantic.Field(alias="idleTimeout")] = 300
|
|
@@ -4,14 +4,20 @@ from __future__ import annotations
|
|
|
4
4
|
from .jobstatus import JobStatus, JobStatusTypedDict
|
|
5
5
|
from .runnablejob import RunnableJob, RunnableJobTypedDict
|
|
6
6
|
from cribl_control_plane.types import BaseModel
|
|
7
|
-
from typing import Dict, Optional
|
|
8
|
-
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
from typing import Dict, Optional, Union
|
|
8
|
+
from typing_extensions import NotRequired, TypeAliasType, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
StatsTypedDict = TypeAliasType("StatsTypedDict", Union[float, Dict[str, float]])
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Stats = TypeAliasType("Stats", Union[float, Dict[str, float]])
|
|
9
15
|
|
|
10
16
|
|
|
11
17
|
class JobInfoTypedDict(TypedDict):
|
|
12
18
|
args: RunnableJobTypedDict
|
|
13
19
|
id: str
|
|
14
|
-
stats: Dict[str,
|
|
20
|
+
stats: Dict[str, StatsTypedDict]
|
|
15
21
|
status: JobStatusTypedDict
|
|
16
22
|
keep: NotRequired[bool]
|
|
17
23
|
|
|
@@ -21,7 +27,7 @@ class JobInfo(BaseModel):
|
|
|
21
27
|
|
|
22
28
|
id: str
|
|
23
29
|
|
|
24
|
-
stats: Dict[str,
|
|
30
|
+
stats: Dict[str, Stats]
|
|
25
31
|
|
|
26
32
|
status: JobStatus
|
|
27
33
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane.types import BaseModel
|
|
5
|
+
import pydantic
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class LakeDatasetMetricsTypedDict(TypedDict):
|
|
10
|
+
current_size_bytes: float
|
|
11
|
+
metrics_date: str
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class LakeDatasetMetrics(BaseModel):
|
|
15
|
+
current_size_bytes: Annotated[float, pydantic.Field(alias="currentSizeBytes")]
|
|
16
|
+
|
|
17
|
+
metrics_date: Annotated[str, pydantic.Field(alias="metricsDate")]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
4
|
from .productscore import ProductsCore
|
|
6
5
|
from cribl_control_plane import models
|
|
7
6
|
from cribl_control_plane.types import BaseModel
|
|
@@ -13,7 +12,7 @@ from cribl_control_plane.utils import (
|
|
|
13
12
|
)
|
|
14
13
|
from pydantic import field_serializer
|
|
15
14
|
from pydantic.functional_validators import PlainValidator
|
|
16
|
-
from typing import
|
|
15
|
+
from typing import Optional
|
|
17
16
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
18
17
|
|
|
19
18
|
|
|
@@ -45,20 +44,3 @@ class ListConfigGroupByProductRequest(BaseModel):
|
|
|
45
44
|
except ValueError:
|
|
46
45
|
return value
|
|
47
46
|
return value
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
class ListConfigGroupByProductResponseTypedDict(TypedDict):
|
|
51
|
-
r"""a list of ConfigGroup objects"""
|
|
52
|
-
|
|
53
|
-
count: NotRequired[int]
|
|
54
|
-
r"""number of items present in the items array"""
|
|
55
|
-
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class ListConfigGroupByProductResponse(BaseModel):
|
|
59
|
-
r"""a list of ConfigGroup objects"""
|
|
60
|
-
|
|
61
|
-
count: Optional[int] = None
|
|
62
|
-
r"""number of items present in the items array"""
|
|
63
|
-
|
|
64
|
-
items: Optional[List[ConfigGroup]] = None
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .masterworkerentry import MasterWorkerEntry, MasterWorkerEntryTypedDict
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
5
|
from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
|
|
7
6
|
import pydantic
|
|
8
|
-
from typing import
|
|
7
|
+
from typing import Optional
|
|
9
8
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
10
9
|
|
|
11
10
|
|
|
@@ -63,20 +62,3 @@ class ListMasterWorkerEntryRequest(BaseModel):
|
|
|
63
62
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
64
63
|
] = None
|
|
65
64
|
r"""Starting point from which to retrieve results for this request. Use with <code>limit</code> to paginate the response into manageable batches."""
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
class ListMasterWorkerEntryResponseTypedDict(TypedDict):
|
|
69
|
-
r"""a list of MasterWorkerEntry objects"""
|
|
70
|
-
|
|
71
|
-
count: NotRequired[int]
|
|
72
|
-
r"""number of items present in the items array"""
|
|
73
|
-
items: NotRequired[List[MasterWorkerEntryTypedDict]]
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
class ListMasterWorkerEntryResponse(BaseModel):
|
|
77
|
-
r"""a list of MasterWorkerEntry objects"""
|
|
78
|
-
|
|
79
|
-
count: Optional[int] = None
|
|
80
|
-
r"""number of items present in the items array"""
|
|
81
|
-
|
|
82
|
-
items: Optional[List[MasterWorkerEntry]] = None
|
|
@@ -105,8 +105,8 @@ OutputTypedDict = TypeAliasType(
|
|
|
105
105
|
OutputExabeamTypedDict,
|
|
106
106
|
OutputSplunkTypedDict,
|
|
107
107
|
OutputSnsTypedDict,
|
|
108
|
-
OutputCriblTCPTypedDict,
|
|
109
108
|
OutputAzureEventhubTypedDict,
|
|
109
|
+
OutputCriblTCPTypedDict,
|
|
110
110
|
OutputCloudwatchTypedDict,
|
|
111
111
|
OutputSignalfxTypedDict,
|
|
112
112
|
OutputHoneycombTypedDict,
|
|
@@ -125,8 +125,8 @@ OutputTypedDict = TypeAliasType(
|
|
|
125
125
|
OutputSplunkLbTypedDict,
|
|
126
126
|
OutputSyslogTypedDict,
|
|
127
127
|
OutputSqsTypedDict,
|
|
128
|
-
OutputCriblHTTPTypedDict,
|
|
129
128
|
OutputNewrelicTypedDict,
|
|
129
|
+
OutputCriblHTTPTypedDict,
|
|
130
130
|
OutputXsiamTypedDict,
|
|
131
131
|
OutputDatasetTypedDict,
|
|
132
132
|
OutputLokiTypedDict,
|
|
@@ -202,6 +202,22 @@ class OutputCriblHTTPTimeoutRetrySettings(BaseModel):
|
|
|
202
202
|
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
203
203
|
|
|
204
204
|
|
|
205
|
+
class OutputCriblHTTPAuthTokenTypedDict(TypedDict):
|
|
206
|
+
token_secret: str
|
|
207
|
+
r"""Select or create a stored text secret"""
|
|
208
|
+
enabled: NotRequired[bool]
|
|
209
|
+
description: NotRequired[str]
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
class OutputCriblHTTPAuthToken(BaseModel):
|
|
213
|
+
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
214
|
+
r"""Select or create a stored text secret"""
|
|
215
|
+
|
|
216
|
+
enabled: Optional[bool] = True
|
|
217
|
+
|
|
218
|
+
description: Optional[str] = None
|
|
219
|
+
|
|
220
|
+
|
|
205
221
|
class OutputCriblHTTPBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
206
222
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
207
223
|
|
|
@@ -314,6 +330,8 @@ class OutputCriblHTTPTypedDict(TypedDict):
|
|
|
314
330
|
timeout_retry_settings: NotRequired[OutputCriblHTTPTimeoutRetrySettingsTypedDict]
|
|
315
331
|
response_honor_retry_after_header: NotRequired[bool]
|
|
316
332
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
333
|
+
auth_tokens: NotRequired[List[OutputCriblHTTPAuthTokenTypedDict]]
|
|
334
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl HTTP Source in Cribl.Cloud."""
|
|
317
335
|
on_backpressure: NotRequired[OutputCriblHTTPBackpressureBehavior]
|
|
318
336
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
319
337
|
description: NotRequired[str]
|
|
@@ -458,6 +476,11 @@ class OutputCriblHTTP(BaseModel):
|
|
|
458
476
|
] = True
|
|
459
477
|
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
460
478
|
|
|
479
|
+
auth_tokens: Annotated[
|
|
480
|
+
Optional[List[OutputCriblHTTPAuthToken]], pydantic.Field(alias="authTokens")
|
|
481
|
+
] = None
|
|
482
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl HTTP Source in Cribl.Cloud."""
|
|
483
|
+
|
|
461
484
|
on_backpressure: Annotated[
|
|
462
485
|
Annotated[
|
|
463
486
|
Optional[OutputCriblHTTPBackpressureBehavior],
|
|
@@ -126,6 +126,24 @@ class OutputCriblTCPTLSSettingsClientSide(BaseModel):
|
|
|
126
126
|
return value
|
|
127
127
|
|
|
128
128
|
|
|
129
|
+
class OutputCriblTCPAuthTokenTypedDict(TypedDict):
|
|
130
|
+
token_secret: str
|
|
131
|
+
r"""Select or create a stored text secret"""
|
|
132
|
+
enabled: NotRequired[bool]
|
|
133
|
+
description: NotRequired[str]
|
|
134
|
+
r"""Optional token description"""
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class OutputCriblTCPAuthToken(BaseModel):
|
|
138
|
+
token_secret: Annotated[str, pydantic.Field(alias="tokenSecret")]
|
|
139
|
+
r"""Select or create a stored text secret"""
|
|
140
|
+
|
|
141
|
+
enabled: Optional[bool] = True
|
|
142
|
+
|
|
143
|
+
description: Optional[str] = None
|
|
144
|
+
r"""Optional token description"""
|
|
145
|
+
|
|
146
|
+
|
|
129
147
|
class OutputCriblTCPBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
148
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
131
149
|
|
|
@@ -249,6 +267,8 @@ class OutputCriblTCPTypedDict(TypedDict):
|
|
|
249
267
|
r"""Amount of time (milliseconds) to wait for a write to complete before assuming connection is dead"""
|
|
250
268
|
token_ttl_minutes: NotRequired[float]
|
|
251
269
|
r"""The number of minutes before the internally generated authentication token expires, valid values between 1 and 60"""
|
|
270
|
+
auth_tokens: NotRequired[List[OutputCriblTCPAuthTokenTypedDict]]
|
|
271
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl TCP Source in Cribl.Cloud."""
|
|
252
272
|
exclude_fields: NotRequired[List[str]]
|
|
253
273
|
r"""Fields to exclude from the event. By default, all internal fields except `__output` are sent. Example: `cribl_pipe`, `c*`. Wildcards supported."""
|
|
254
274
|
on_backpressure: NotRequired[OutputCriblTCPBackpressureBehavior]
|
|
@@ -348,6 +368,11 @@ class OutputCriblTCP(BaseModel):
|
|
|
348
368
|
] = 60
|
|
349
369
|
r"""The number of minutes before the internally generated authentication token expires, valid values between 1 and 60"""
|
|
350
370
|
|
|
371
|
+
auth_tokens: Annotated[
|
|
372
|
+
Optional[List[OutputCriblTCPAuthToken]], pydantic.Field(alias="authTokens")
|
|
373
|
+
] = None
|
|
374
|
+
r"""Shared secrets to be used by connected environments to authorize connections. These tokens should also be installed in Cribl TCP Source in Cribl.Cloud."""
|
|
375
|
+
|
|
351
376
|
exclude_fields: Annotated[
|
|
352
377
|
Optional[List[str]], pydantic.Field(alias="excludeFields")
|
|
353
378
|
] = None
|
|
@@ -100,7 +100,7 @@ class OutputDatabricksTypedDict(TypedDict):
|
|
|
100
100
|
r"""Databricks workspace ID"""
|
|
101
101
|
client_id: str
|
|
102
102
|
r"""OAuth client ID for Unity Catalog authentication"""
|
|
103
|
-
|
|
103
|
+
client_text_secret: str
|
|
104
104
|
r"""OAuth client secret for Unity Catalog authentication"""
|
|
105
105
|
id: NotRequired[str]
|
|
106
106
|
r"""Unique ID for this output"""
|
|
@@ -113,7 +113,7 @@ class OutputDatabricksTypedDict(TypedDict):
|
|
|
113
113
|
streamtags: NotRequired[List[str]]
|
|
114
114
|
r"""Tags for filtering and grouping in @{product}"""
|
|
115
115
|
dest_path: NotRequired[str]
|
|
116
|
-
r"""Optional path to prepend to files before uploading.
|
|
116
|
+
r"""Optional path to prepend to files before uploading."""
|
|
117
117
|
stage_path: NotRequired[str]
|
|
118
118
|
r"""Filesystem location in which to buffer files before compressing and moving to final destination. Use performant, stable storage."""
|
|
119
119
|
add_id_to_stage_path: NotRequired[bool]
|
|
@@ -198,7 +198,7 @@ class OutputDatabricks(BaseModel):
|
|
|
198
198
|
client_id: Annotated[str, pydantic.Field(alias="clientId")]
|
|
199
199
|
r"""OAuth client ID for Unity Catalog authentication"""
|
|
200
200
|
|
|
201
|
-
|
|
201
|
+
client_text_secret: Annotated[str, pydantic.Field(alias="clientTextSecret")]
|
|
202
202
|
r"""OAuth client secret for Unity Catalog authentication"""
|
|
203
203
|
|
|
204
204
|
id: Optional[str] = None
|
|
@@ -219,7 +219,7 @@ class OutputDatabricks(BaseModel):
|
|
|
219
219
|
r"""Tags for filtering and grouping in @{product}"""
|
|
220
220
|
|
|
221
221
|
dest_path: Annotated[Optional[str], pydantic.Field(alias="destPath")] = ""
|
|
222
|
-
r"""Optional path to prepend to files before uploading.
|
|
222
|
+
r"""Optional path to prepend to files before uploading."""
|
|
223
223
|
|
|
224
224
|
stage_path: Annotated[Optional[str], pydantic.Field(alias="stagePath")] = (
|
|
225
225
|
"$CRIBL_HOME/state/outputs/staging"
|
|
@@ -73,6 +73,7 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
|
|
76
77
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
77
78
|
"""
|
|
78
79
|
max_task_size: NotRequired[str]
|
|
@@ -87,6 +88,7 @@ class RunnableJobCollectionRunSettingsTypedDict(TypedDict):
|
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
|
|
91
|
+
|
|
90
92
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
91
93
|
"""
|
|
92
94
|
|
|
@@ -150,6 +152,7 @@ class RunnableJobCollectionRunSettings(BaseModel):
|
|
|
150
152
|
|
|
151
153
|
|
|
152
154
|
|
|
155
|
+
|
|
153
156
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
154
157
|
"""
|
|
155
158
|
|
|
@@ -167,6 +170,7 @@ class RunnableJobCollectionRunSettings(BaseModel):
|
|
|
167
170
|
|
|
168
171
|
|
|
169
172
|
|
|
173
|
+
|
|
170
174
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
171
175
|
"""
|
|
172
176
|
|
|
@@ -448,6 +452,7 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
|
|
|
448
452
|
|
|
449
453
|
|
|
450
454
|
|
|
455
|
+
|
|
451
456
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
452
457
|
"""
|
|
453
458
|
max_task_size: NotRequired[str]
|
|
@@ -461,6 +466,7 @@ class RunnableJobCollectionRunTypedDict(TypedDict):
|
|
|
461
466
|
|
|
462
467
|
|
|
463
468
|
|
|
469
|
+
|
|
464
470
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
465
471
|
"""
|
|
466
472
|
discover_to_routes: NotRequired[bool]
|
|
@@ -530,6 +536,7 @@ class RunnableJobCollectionRun(BaseModel):
|
|
|
530
536
|
|
|
531
537
|
|
|
532
538
|
|
|
539
|
+
|
|
533
540
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
534
541
|
"""
|
|
535
542
|
|
|
@@ -546,6 +553,7 @@ class RunnableJobCollectionRun(BaseModel):
|
|
|
546
553
|
|
|
547
554
|
|
|
548
555
|
|
|
556
|
+
|
|
549
557
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
550
558
|
"""
|
|
551
559
|
|
|
@@ -73,6 +73,7 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
|
|
76
77
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
77
78
|
"""
|
|
78
79
|
max_task_size: NotRequired[str]
|
|
@@ -87,6 +88,7 @@ class RunnableJobExecutorRunSettingsTypedDict(TypedDict):
|
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
|
|
91
|
+
|
|
90
92
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
91
93
|
"""
|
|
92
94
|
|
|
@@ -148,6 +150,7 @@ class RunnableJobExecutorRunSettings(BaseModel):
|
|
|
148
150
|
|
|
149
151
|
|
|
150
152
|
|
|
153
|
+
|
|
151
154
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
152
155
|
"""
|
|
153
156
|
|
|
@@ -165,6 +168,7 @@ class RunnableJobExecutorRunSettings(BaseModel):
|
|
|
165
168
|
|
|
166
169
|
|
|
167
170
|
|
|
171
|
+
|
|
168
172
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
169
173
|
"""
|
|
170
174
|
|
|
@@ -73,6 +73,7 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
|
|
76
77
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
77
78
|
"""
|
|
78
79
|
max_task_size: NotRequired[str]
|
|
@@ -87,6 +88,7 @@ class RunnableJobScheduledSearchRunSettingsTypedDict(TypedDict):
|
|
|
87
88
|
|
|
88
89
|
|
|
89
90
|
|
|
91
|
+
|
|
90
92
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
91
93
|
"""
|
|
92
94
|
|
|
@@ -149,6 +151,7 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
|
|
|
149
151
|
|
|
150
152
|
|
|
151
153
|
|
|
154
|
+
|
|
152
155
|
if your lower bundle size is 1MB, you can bundle up to five 200KB files into one task.
|
|
153
156
|
"""
|
|
154
157
|
|
|
@@ -166,6 +169,7 @@ class RunnableJobScheduledSearchRunSettings(BaseModel):
|
|
|
166
169
|
|
|
167
170
|
|
|
168
171
|
|
|
172
|
+
|
|
169
173
|
you can bundle up to five 2MB files into one task. Files greater than this size will be assigned to individual tasks.
|
|
170
174
|
"""
|
|
171
175
|
|
|
@@ -14,8 +14,7 @@ from cribl_control_plane.utils import (
|
|
|
14
14
|
import pydantic
|
|
15
15
|
from pydantic import field_serializer
|
|
16
16
|
from pydantic.functional_validators import PlainValidator
|
|
17
|
-
from
|
|
18
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
17
|
+
from typing_extensions import Annotated, TypedDict
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
class UpdateConfigGroupByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -55,20 +54,3 @@ class UpdateConfigGroupByProductAndIDRequest(BaseModel):
|
|
|
55
54
|
except ValueError:
|
|
56
55
|
return value
|
|
57
56
|
return value
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
class UpdateConfigGroupByProductAndIDResponseTypedDict(TypedDict):
|
|
61
|
-
r"""a list of ConfigGroup objects"""
|
|
62
|
-
|
|
63
|
-
count: NotRequired[int]
|
|
64
|
-
r"""number of items present in the items array"""
|
|
65
|
-
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
class UpdateConfigGroupByProductAndIDResponse(BaseModel):
|
|
69
|
-
r"""a list of ConfigGroup objects"""
|
|
70
|
-
|
|
71
|
-
count: Optional[int] = None
|
|
72
|
-
r"""number of items present in the items array"""
|
|
73
|
-
|
|
74
|
-
items: Optional[List[ConfigGroup]] = None
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from .configgroup import ConfigGroup, ConfigGroupTypedDict
|
|
5
4
|
from .deployrequest import DeployRequest, DeployRequestTypedDict
|
|
6
5
|
from .productscore import ProductsCore
|
|
7
6
|
from cribl_control_plane import models
|
|
@@ -14,8 +13,7 @@ from cribl_control_plane.utils import (
|
|
|
14
13
|
)
|
|
15
14
|
from pydantic import field_serializer
|
|
16
15
|
from pydantic.functional_validators import PlainValidator
|
|
17
|
-
from
|
|
18
|
-
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
16
|
+
from typing_extensions import Annotated, TypedDict
|
|
19
17
|
|
|
20
18
|
|
|
21
19
|
class UpdateConfigGroupDeployByProductAndIDRequestTypedDict(TypedDict):
|
|
@@ -53,20 +51,3 @@ class UpdateConfigGroupDeployByProductAndIDRequest(BaseModel):
|
|
|
53
51
|
except ValueError:
|
|
54
52
|
return value
|
|
55
53
|
return value
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
class UpdateConfigGroupDeployByProductAndIDResponseTypedDict(TypedDict):
|
|
59
|
-
r"""a list of ConfigGroup objects"""
|
|
60
|
-
|
|
61
|
-
count: NotRequired[int]
|
|
62
|
-
r"""number of items present in the items array"""
|
|
63
|
-
items: NotRequired[List[ConfigGroupTypedDict]]
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
class UpdateConfigGroupDeployByProductAndIDResponse(BaseModel):
|
|
67
|
-
r"""a list of ConfigGroup objects"""
|
|
68
|
-
|
|
69
|
-
count: Optional[int] = None
|
|
70
|
-
r"""number of items present in the items array"""
|
|
71
|
-
|
|
72
|
-
items: Optional[List[ConfigGroup]] = None
|