cribl-control-plane 0.2.1rc7__py3-none-any.whl → 0.2.1rc9__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/groups_sdk.py +5 -2
- cribl_control_plane/lakedatasets.py +28 -0
- cribl_control_plane/mappings.py +1185 -0
- cribl_control_plane/models/__init__.py +153 -15
- cribl_control_plane/models/cacheconnection.py +0 -20
- cribl_control_plane/models/configgroup.py +1 -20
- cribl_control_plane/models/configgroupcloud.py +1 -11
- cribl_control_plane/models/createadminproductsmappingsactivatebyproductop.py +52 -0
- cribl_control_plane/models/createadminproductsmappingsbyproductop.py +53 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +2 -13
- cribl_control_plane/models/cribllakedataset.py +5 -11
- cribl_control_plane/models/cribllakedatasetupdate.py +5 -11
- cribl_control_plane/models/datasetmetadata.py +1 -11
- cribl_control_plane/models/deleteadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/evalfunction.py +77 -0
- cribl_control_plane/models/evalschema.py +44 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductandidop.py +51 -0
- cribl_control_plane/models/getadminproductsmappingsbyproductop.py +44 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +0 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +0 -11
- cribl_control_plane/models/getsummaryop.py +0 -11
- cribl_control_plane/models/groupcreaterequest.py +1 -20
- cribl_control_plane/models/hbcriblinfo.py +1 -11
- cribl_control_plane/models/healthserverstatus.py +1 -20
- cribl_control_plane/models/inputappscope.py +1 -56
- cribl_control_plane/models/inputazureblob.py +1 -29
- cribl_control_plane/models/inputcollection.py +1 -20
- cribl_control_plane/models/inputconfluentcloud.py +1 -78
- cribl_control_plane/models/inputcribl.py +1 -20
- cribl_control_plane/models/inputcriblhttp.py +1 -38
- cribl_control_plane/models/inputcribllakehttp.py +1 -38
- cribl_control_plane/models/inputcriblmetrics.py +1 -20
- cribl_control_plane/models/inputcribltcp.py +1 -38
- cribl_control_plane/models/inputcrowdstrike.py +1 -47
- cribl_control_plane/models/inputdatadogagent.py +1 -38
- cribl_control_plane/models/inputdatagen.py +1 -20
- cribl_control_plane/models/inputedgeprometheus.py +1 -94
- cribl_control_plane/models/inputelastic.py +1 -65
- cribl_control_plane/models/inputeventhub.py +1 -58
- cribl_control_plane/models/inputexec.py +1 -29
- cribl_control_plane/models/inputfile.py +4 -32
- cribl_control_plane/models/inputfirehose.py +1 -38
- cribl_control_plane/models/inputgooglepubsub.py +1 -29
- cribl_control_plane/models/inputgrafana.py +1 -110
- cribl_control_plane/models/inputhttp.py +1 -38
- cribl_control_plane/models/inputhttpraw.py +1 -38
- cribl_control_plane/models/inputjournalfiles.py +1 -20
- cribl_control_plane/models/inputkafka.py +1 -74
- cribl_control_plane/models/inputkinesis.py +1 -65
- cribl_control_plane/models/inputkubeevents.py +1 -20
- cribl_control_plane/models/inputkubelogs.py +1 -29
- cribl_control_plane/models/inputkubemetrics.py +1 -29
- cribl_control_plane/models/inputloki.py +1 -47
- cribl_control_plane/models/inputmetrics.py +1 -38
- cribl_control_plane/models/inputmodeldriventelemetry.py +1 -38
- cribl_control_plane/models/inputmsk.py +1 -74
- cribl_control_plane/models/inputnetflow.py +1 -20
- cribl_control_plane/models/inputoffice365mgmt.py +1 -56
- cribl_control_plane/models/inputoffice365msgtrace.py +1 -56
- cribl_control_plane/models/inputoffice365service.py +1 -56
- cribl_control_plane/models/inputopentelemetry.py +1 -65
- cribl_control_plane/models/inputprometheus.py +1 -87
- cribl_control_plane/models/inputprometheusrw.py +1 -47
- cribl_control_plane/models/inputrawudp.py +1 -20
- cribl_control_plane/models/inputs3.py +1 -38
- cribl_control_plane/models/inputs3inventory.py +1 -47
- cribl_control_plane/models/inputsecuritylake.py +1 -47
- cribl_control_plane/models/inputsnmp.py +1 -29
- cribl_control_plane/models/inputsplunk.py +1 -56
- cribl_control_plane/models/inputsplunkhec.py +1 -47
- cribl_control_plane/models/inputsplunksearch.py +1 -56
- cribl_control_plane/models/inputsqs.py +1 -47
- cribl_control_plane/models/inputsyslog.py +1 -74
- cribl_control_plane/models/inputsystemmetrics.py +1 -92
- cribl_control_plane/models/inputsystemstate.py +1 -29
- cribl_control_plane/models/inputtcp.py +1 -47
- cribl_control_plane/models/inputtcpjson.py +1 -47
- cribl_control_plane/models/inputwef.py +1 -65
- cribl_control_plane/models/inputwindowsmetrics.py +1 -83
- cribl_control_plane/models/inputwineventlogs.py +1 -38
- cribl_control_plane/models/inputwiz.py +1 -38
- cribl_control_plane/models/inputwizwebhook.py +1 -38
- cribl_control_plane/models/inputzscalerhec.py +1 -47
- cribl_control_plane/models/jobstatus.py +3 -34
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +0 -11
- cribl_control_plane/models/mappingruleset.py +31 -0
- cribl_control_plane/models/masterworkerentry.py +1 -11
- cribl_control_plane/models/nodeupgradestatus.py +0 -38
- cribl_control_plane/models/outputazureblob.py +1 -83
- cribl_control_plane/models/outputazuredataexplorer.py +1 -148
- cribl_control_plane/models/outputazureeventhub.py +1 -98
- cribl_control_plane/models/outputazurelogs.py +1 -56
- cribl_control_plane/models/outputchronicle.py +1 -56
- cribl_control_plane/models/outputclickhouse.py +1 -92
- cribl_control_plane/models/outputcloudwatch.py +1 -47
- cribl_control_plane/models/outputconfluentcloud.py +3 -123
- cribl_control_plane/models/outputcriblhttp.py +1 -74
- cribl_control_plane/models/outputcribllake.py +1 -76
- cribl_control_plane/models/outputcribltcp.py +1 -74
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +1 -67
- cribl_control_plane/models/outputdatabricks.py +1 -65
- cribl_control_plane/models/outputdatadog.py +1 -83
- cribl_control_plane/models/outputdataset.py +1 -74
- cribl_control_plane/models/outputdiskspool.py +1 -11
- cribl_control_plane/models/outputdls3.py +1 -110
- cribl_control_plane/models/outputdynatracehttp.py +1 -92
- cribl_control_plane/models/outputdynatraceotlp.py +1 -92
- cribl_control_plane/models/outputelastic.py +1 -74
- cribl_control_plane/models/outputelasticcloud.py +1 -56
- cribl_control_plane/models/outputexabeam.py +1 -47
- cribl_control_plane/models/outputfilesystem.py +1 -65
- cribl_control_plane/models/outputgooglechronicle.py +1 -83
- cribl_control_plane/models/outputgooglecloudlogging.py +1 -65
- cribl_control_plane/models/outputgooglecloudstorage.py +1 -101
- cribl_control_plane/models/outputgooglepubsub.py +1 -47
- cribl_control_plane/models/outputgrafanacloud.py +1 -146
- cribl_control_plane/models/outputgraphite.py +1 -47
- cribl_control_plane/models/outputhoneycomb.py +1 -56
- cribl_control_plane/models/outputhumiohec.py +1 -65
- cribl_control_plane/models/outputinfluxdb.py +1 -65
- cribl_control_plane/models/outputkafka.py +3 -119
- cribl_control_plane/models/outputkinesis.py +1 -65
- cribl_control_plane/models/outputloki.py +1 -65
- cribl_control_plane/models/outputminio.py +1 -110
- cribl_control_plane/models/outputmsk.py +3 -119
- cribl_control_plane/models/outputnewrelic.py +1 -74
- cribl_control_plane/models/outputnewrelicevents.py +1 -65
- cribl_control_plane/models/outputopentelemetry.py +1 -110
- cribl_control_plane/models/outputprometheus.py +1 -56
- cribl_control_plane/models/outputring.py +1 -29
- cribl_control_plane/models/outputs3.py +1 -110
- cribl_control_plane/models/outputsecuritylake.py +1 -85
- cribl_control_plane/models/outputsentinel.py +1 -74
- cribl_control_plane/models/outputsentineloneaisiem.py +1 -74
- cribl_control_plane/models/outputservicenow.py +1 -101
- cribl_control_plane/models/outputsignalfx.py +1 -56
- cribl_control_plane/models/outputsns.py +1 -56
- cribl_control_plane/models/outputsplunk.py +1 -92
- cribl_control_plane/models/outputsplunkhec.py +1 -74
- cribl_control_plane/models/outputsplunklb.py +1 -121
- cribl_control_plane/models/outputsqs.py +1 -65
- cribl_control_plane/models/outputstatsd.py +1 -47
- cribl_control_plane/models/outputstatsdext.py +1 -47
- cribl_control_plane/models/outputsumologic.py +1 -56
- cribl_control_plane/models/outputsyslog.py +1 -110
- cribl_control_plane/models/outputtcpjson.py +1 -83
- cribl_control_plane/models/outputwavefront.py +1 -56
- cribl_control_plane/models/outputwebhook.py +1 -92
- cribl_control_plane/models/outputxsiam.py +1 -56
- cribl_control_plane/models/pipeline.py +7 -7
- cribl_control_plane/models/pipelinefunctionconf.py +4 -4
- cribl_control_plane/models/resourcepolicy.py +0 -11
- cribl_control_plane/models/rulesetid.py +13 -0
- cribl_control_plane/models/runnablejobcollection.py +1 -56
- cribl_control_plane/models/runnablejobexecutor.py +1 -20
- cribl_control_plane/models/runnablejobscheduledsearch.py +1 -11
- cribl_control_plane/models/updateadminproductsmappingsbyproductandidop.py +63 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +0 -11
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +0 -11
- cribl_control_plane/pipelines.py +8 -8
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.dist-info}/METADATA +35 -8
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.dist-info}/RECORD +168 -156
- {cribl_control_plane-0.2.1rc7.dist-info → cribl_control_plane-0.2.1rc9.dist-info}/WHEEL +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputTcpjsonPq(BaseModel):
|
|
|
107
106
|
Optional[InputTcpjsonPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("mode")
|
|
111
|
-
def serialize_mode(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.InputTcpjsonMode(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("compress")
|
|
120
|
-
def serialize_compress(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.InputTcpjsonCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputTcpjsonMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputTcpjsonTLSSettingsServerSide(BaseModel):
|
|
|
211
192
|
pydantic.Field(alias="maxVersion"),
|
|
212
193
|
] = None
|
|
213
194
|
|
|
214
|
-
@field_serializer("min_version")
|
|
215
|
-
def serialize_min_version(self, value):
|
|
216
|
-
if isinstance(value, str):
|
|
217
|
-
try:
|
|
218
|
-
return models.InputTcpjsonMinimumTLSVersion(value)
|
|
219
|
-
except ValueError:
|
|
220
|
-
return value
|
|
221
|
-
return value
|
|
222
|
-
|
|
223
|
-
@field_serializer("max_version")
|
|
224
|
-
def serialize_max_version(self, value):
|
|
225
|
-
if isinstance(value, str):
|
|
226
|
-
try:
|
|
227
|
-
return models.InputTcpjsonMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputTcpjsonMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -390,12 +353,3 @@ class InputTcpjson(BaseModel):
|
|
|
390
353
|
|
|
391
354
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
392
355
|
r"""Select or create a stored text secret"""
|
|
393
|
-
|
|
394
|
-
@field_serializer("auth_type")
|
|
395
|
-
def serialize_auth_type(self, value):
|
|
396
|
-
if isinstance(value, str):
|
|
397
|
-
try:
|
|
398
|
-
return models.InputTcpjsonAuthenticationMethod(value)
|
|
399
|
-
except ValueError:
|
|
400
|
-
return value
|
|
401
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputWefPq(BaseModel):
|
|
|
107
106
|
Optional[InputWefPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("mode")
|
|
111
|
-
def serialize_mode(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.InputWefMode(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("compress")
|
|
120
|
-
def serialize_compress(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.InputWefCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""How to authenticate incoming client connections"""
|
|
@@ -240,24 +221,6 @@ class MTLSSettings(BaseModel):
|
|
|
240
221
|
] = False
|
|
241
222
|
r"""If enabled, checks will fail on any OCSP error. Otherwise, checks will fail only when a certificate is revoked, ignoring other errors."""
|
|
242
223
|
|
|
243
|
-
@field_serializer("min_version")
|
|
244
|
-
def serialize_min_version(self, value):
|
|
245
|
-
if isinstance(value, str):
|
|
246
|
-
try:
|
|
247
|
-
return models.InputWefMinimumTLSVersion(value)
|
|
248
|
-
except ValueError:
|
|
249
|
-
return value
|
|
250
|
-
return value
|
|
251
|
-
|
|
252
|
-
@field_serializer("max_version")
|
|
253
|
-
def serialize_max_version(self, value):
|
|
254
|
-
if isinstance(value, str):
|
|
255
|
-
try:
|
|
256
|
-
return models.InputWefMaximumTLSVersion(value)
|
|
257
|
-
except ValueError:
|
|
258
|
-
return value
|
|
259
|
-
return value
|
|
260
|
-
|
|
261
224
|
|
|
262
225
|
class InputWefFormat(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
226
|
r"""Content format in which the endpoint should deliver events"""
|
|
@@ -358,24 +321,6 @@ class Subscription(BaseModel):
|
|
|
358
321
|
metadata: Optional[List[SubscriptionMetadatum]] = None
|
|
359
322
|
r"""Fields to add to events ingested under this subscription"""
|
|
360
323
|
|
|
361
|
-
@field_serializer("content_format")
|
|
362
|
-
def serialize_content_format(self, value):
|
|
363
|
-
if isinstance(value, str):
|
|
364
|
-
try:
|
|
365
|
-
return models.InputWefFormat(value)
|
|
366
|
-
except ValueError:
|
|
367
|
-
return value
|
|
368
|
-
return value
|
|
369
|
-
|
|
370
|
-
@field_serializer("query_selector")
|
|
371
|
-
def serialize_query_selector(self, value):
|
|
372
|
-
if isinstance(value, str):
|
|
373
|
-
try:
|
|
374
|
-
return models.QueryBuilderMode(value)
|
|
375
|
-
except ValueError:
|
|
376
|
-
return value
|
|
377
|
-
return value
|
|
378
|
-
|
|
379
324
|
|
|
380
325
|
class InputWefMetadatumTypedDict(TypedDict):
|
|
381
326
|
name: str
|
|
@@ -570,12 +515,3 @@ class InputWef(BaseModel):
|
|
|
570
515
|
Optional[bool], pydantic.Field(alias="logFingerprintMismatch")
|
|
571
516
|
] = False
|
|
572
517
|
r"""Log a warning if the client certificate authority (CA) fingerprint does not match the expected value. A mismatch prevents Cribl from receiving events from the Windows Event Forwarder."""
|
|
573
|
-
|
|
574
|
-
@field_serializer("auth_method")
|
|
575
|
-
def serialize_auth_method(self, value):
|
|
576
|
-
if isinstance(value, str):
|
|
577
|
-
try:
|
|
578
|
-
return models.InputWefAuthenticationMethod(value)
|
|
579
|
-
except ValueError:
|
|
580
|
-
return value
|
|
581
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -108,24 +107,6 @@ class InputWindowsMetricsPq(BaseModel):
|
|
|
108
107
|
Optional[InputWindowsMetricsPqControls], pydantic.Field(alias="pqControls")
|
|
109
108
|
] = None
|
|
110
109
|
|
|
111
|
-
@field_serializer("mode")
|
|
112
|
-
def serialize_mode(self, value):
|
|
113
|
-
if isinstance(value, str):
|
|
114
|
-
try:
|
|
115
|
-
return models.InputWindowsMetricsPqMode(value)
|
|
116
|
-
except ValueError:
|
|
117
|
-
return value
|
|
118
|
-
return value
|
|
119
|
-
|
|
120
|
-
@field_serializer("compress")
|
|
121
|
-
def serialize_compress(self, value):
|
|
122
|
-
if isinstance(value, str):
|
|
123
|
-
try:
|
|
124
|
-
return models.InputWindowsMetricsCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Select level of detail for host metrics"""
|
|
@@ -170,15 +151,6 @@ class InputWindowsMetricsSystem(BaseModel):
|
|
|
170
151
|
detail: Optional[bool] = False
|
|
171
152
|
r"""Generate metrics for all system information"""
|
|
172
153
|
|
|
173
|
-
@field_serializer("mode")
|
|
174
|
-
def serialize_mode(self, value):
|
|
175
|
-
if isinstance(value, str):
|
|
176
|
-
try:
|
|
177
|
-
return models.InputWindowsMetricsSystemMode(value)
|
|
178
|
-
except ValueError:
|
|
179
|
-
return value
|
|
180
|
-
return value
|
|
181
|
-
|
|
182
154
|
|
|
183
155
|
class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
184
156
|
r"""Select the level of details for CPU metrics"""
|
|
@@ -219,15 +191,6 @@ class InputWindowsMetricsCPU(BaseModel):
|
|
|
219
191
|
time: Optional[bool] = False
|
|
220
192
|
r"""Generate raw, monotonic CPU time counters"""
|
|
221
193
|
|
|
222
|
-
@field_serializer("mode")
|
|
223
|
-
def serialize_mode(self, value):
|
|
224
|
-
if isinstance(value, str):
|
|
225
|
-
try:
|
|
226
|
-
return models.InputWindowsMetricsCPUMode(value)
|
|
227
|
-
except ValueError:
|
|
228
|
-
return value
|
|
229
|
-
return value
|
|
230
|
-
|
|
231
194
|
|
|
232
195
|
class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
233
196
|
r"""Select the level of details for memory metrics"""
|
|
@@ -259,15 +222,6 @@ class InputWindowsMetricsMemory(BaseModel):
|
|
|
259
222
|
detail: Optional[bool] = False
|
|
260
223
|
r"""Generate metrics for all memory states"""
|
|
261
224
|
|
|
262
|
-
@field_serializer("mode")
|
|
263
|
-
def serialize_mode(self, value):
|
|
264
|
-
if isinstance(value, str):
|
|
265
|
-
try:
|
|
266
|
-
return models.InputWindowsMetricsMemoryMode(value)
|
|
267
|
-
except ValueError:
|
|
268
|
-
return value
|
|
269
|
-
return value
|
|
270
|
-
|
|
271
225
|
|
|
272
226
|
class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
273
227
|
r"""Select the level of details for network metrics"""
|
|
@@ -316,15 +270,6 @@ class InputWindowsMetricsNetwork(BaseModel):
|
|
|
316
270
|
)
|
|
317
271
|
r"""Generate separate metrics for each interface"""
|
|
318
272
|
|
|
319
|
-
@field_serializer("mode")
|
|
320
|
-
def serialize_mode(self, value):
|
|
321
|
-
if isinstance(value, str):
|
|
322
|
-
try:
|
|
323
|
-
return models.InputWindowsMetricsNetworkMode(value)
|
|
324
|
-
except ValueError:
|
|
325
|
-
return value
|
|
326
|
-
return value
|
|
327
|
-
|
|
328
273
|
|
|
329
274
|
class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
330
275
|
r"""Select the level of details for disk metrics"""
|
|
@@ -365,15 +310,6 @@ class InputWindowsMetricsDisk(BaseModel):
|
|
|
365
310
|
volumes: Optional[List[str]] = None
|
|
366
311
|
r"""Windows volumes to include/exclude. E.g.: C:, !E:, etc. Wildcards and ! (not) operators are supported. All volumes are included if this list is empty."""
|
|
367
312
|
|
|
368
|
-
@field_serializer("mode")
|
|
369
|
-
def serialize_mode(self, value):
|
|
370
|
-
if isinstance(value, str):
|
|
371
|
-
try:
|
|
372
|
-
return models.InputWindowsMetricsDiskMode(value)
|
|
373
|
-
except ValueError:
|
|
374
|
-
return value
|
|
375
|
-
return value
|
|
376
|
-
|
|
377
313
|
|
|
378
314
|
class InputWindowsMetricsCustomTypedDict(TypedDict):
|
|
379
315
|
system: NotRequired[InputWindowsMetricsSystemTypedDict]
|
|
@@ -409,15 +345,6 @@ class InputWindowsMetricsHost(BaseModel):
|
|
|
409
345
|
|
|
410
346
|
custom: Optional[InputWindowsMetricsCustom] = None
|
|
411
347
|
|
|
412
|
-
@field_serializer("mode")
|
|
413
|
-
def serialize_mode(self, value):
|
|
414
|
-
if isinstance(value, str):
|
|
415
|
-
try:
|
|
416
|
-
return models.InputWindowsMetricsHostMode(value)
|
|
417
|
-
except ValueError:
|
|
418
|
-
return value
|
|
419
|
-
return value
|
|
420
|
-
|
|
421
348
|
|
|
422
349
|
class InputWindowsMetricsSetTypedDict(TypedDict):
|
|
423
350
|
name: str
|
|
@@ -500,15 +427,6 @@ class InputWindowsMetricsPersistence(BaseModel):
|
|
|
500
427
|
)
|
|
501
428
|
r"""Path to use to write metrics. Defaults to $CRIBL_HOME/state/windows_metrics"""
|
|
502
429
|
|
|
503
|
-
@field_serializer("compress")
|
|
504
|
-
def serialize_compress(self, value):
|
|
505
|
-
if isinstance(value, str):
|
|
506
|
-
try:
|
|
507
|
-
return models.InputWindowsMetricsDataCompressionFormat(value)
|
|
508
|
-
except ValueError:
|
|
509
|
-
return value
|
|
510
|
-
return value
|
|
511
|
-
|
|
512
430
|
|
|
513
431
|
class InputWindowsMetricsTypedDict(TypedDict):
|
|
514
432
|
type: InputWindowsMetricsType
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -108,24 +107,6 @@ class InputWinEventLogsPq(BaseModel):
|
|
|
108
107
|
Optional[InputWinEventLogsPqControls], pydantic.Field(alias="pqControls")
|
|
109
108
|
] = None
|
|
110
109
|
|
|
111
|
-
@field_serializer("mode")
|
|
112
|
-
def serialize_mode(self, value):
|
|
113
|
-
if isinstance(value, str):
|
|
114
|
-
try:
|
|
115
|
-
return models.InputWinEventLogsMode(value)
|
|
116
|
-
except ValueError:
|
|
117
|
-
return value
|
|
118
|
-
return value
|
|
119
|
-
|
|
120
|
-
@field_serializer("compress")
|
|
121
|
-
def serialize_compress(self, value):
|
|
122
|
-
if isinstance(value, str):
|
|
123
|
-
try:
|
|
124
|
-
return models.InputWinEventLogsCompression(value)
|
|
125
|
-
except ValueError:
|
|
126
|
-
return value
|
|
127
|
-
return value
|
|
128
|
-
|
|
129
110
|
|
|
130
111
|
class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
131
112
|
r"""Read all stored and future event logs, or only future events"""
|
|
@@ -274,21 +255,3 @@ class InputWinEventLogs(BaseModel):
|
|
|
274
255
|
Optional[bool], pydantic.Field(alias="disableXmlRendering")
|
|
275
256
|
] = True
|
|
276
257
|
r"""Enable/disable the rendering of localized event message strings (Applicable for 4.8.0 nodes and newer that use the Native API)"""
|
|
277
|
-
|
|
278
|
-
@field_serializer("read_mode")
|
|
279
|
-
def serialize_read_mode(self, value):
|
|
280
|
-
if isinstance(value, str):
|
|
281
|
-
try:
|
|
282
|
-
return models.ReadMode(value)
|
|
283
|
-
except ValueError:
|
|
284
|
-
return value
|
|
285
|
-
return value
|
|
286
|
-
|
|
287
|
-
@field_serializer("event_format")
|
|
288
|
-
def serialize_event_format(self, value):
|
|
289
|
-
if isinstance(value, str):
|
|
290
|
-
try:
|
|
291
|
-
return models.EventFormat(value)
|
|
292
|
-
except ValueError:
|
|
293
|
-
return value
|
|
294
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputWizPq(BaseModel):
|
|
|
107
106
|
Optional[InputWizPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("mode")
|
|
111
|
-
def serialize_mode(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.InputWizMode(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("compress")
|
|
120
|
-
def serialize_compress(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.InputWizCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputWizContentConfigTypedDict(TypedDict):
|
|
130
111
|
content_type: str
|
|
@@ -220,15 +201,6 @@ class InputWizRetryRules(BaseModel):
|
|
|
220
201
|
] = False
|
|
221
202
|
r"""Retry request when a connection reset (ECONNRESET) error occurs"""
|
|
222
203
|
|
|
223
|
-
@field_serializer("type")
|
|
224
|
-
def serialize_type(self, value):
|
|
225
|
-
if isinstance(value, str):
|
|
226
|
-
try:
|
|
227
|
-
return models.InputWizRetryType(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
204
|
|
|
233
205
|
class InputWizAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
234
206
|
r"""Enter client secret directly, or select a stored secret"""
|
|
@@ -380,12 +352,3 @@ class InputWiz(BaseModel):
|
|
|
380
352
|
|
|
381
353
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
382
354
|
r"""Select or create a stored text secret"""
|
|
383
|
-
|
|
384
|
-
@field_serializer("auth_type")
|
|
385
|
-
def serialize_auth_type(self, value):
|
|
386
|
-
if isinstance(value, str):
|
|
387
|
-
try:
|
|
388
|
-
return models.InputWizAuthenticationMethod(value)
|
|
389
|
-
except ValueError:
|
|
390
|
-
return value
|
|
391
|
-
return value
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputWizWebhookPq(BaseModel):
|
|
|
107
106
|
Optional[InputWizWebhookPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("mode")
|
|
111
|
-
def serialize_mode(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.InputWizWebhookMode(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("compress")
|
|
120
|
-
def serialize_compress(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.InputWizWebhookCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputWizWebhookMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
TL_SV1 = "TLSv1"
|
|
@@ -211,24 +192,6 @@ class InputWizWebhookTLSSettingsServerSide(BaseModel):
|
|
|
211
192
|
pydantic.Field(alias="maxVersion"),
|
|
212
193
|
] = None
|
|
213
194
|
|
|
214
|
-
@field_serializer("min_version")
|
|
215
|
-
def serialize_min_version(self, value):
|
|
216
|
-
if isinstance(value, str):
|
|
217
|
-
try:
|
|
218
|
-
return models.InputWizWebhookMinimumTLSVersion(value)
|
|
219
|
-
except ValueError:
|
|
220
|
-
return value
|
|
221
|
-
return value
|
|
222
|
-
|
|
223
|
-
@field_serializer("max_version")
|
|
224
|
-
def serialize_max_version(self, value):
|
|
225
|
-
if isinstance(value, str):
|
|
226
|
-
try:
|
|
227
|
-
return models.InputWizWebhookMaximumTLSVersion(value)
|
|
228
|
-
except ValueError:
|
|
229
|
-
return value
|
|
230
|
-
return value
|
|
231
|
-
|
|
232
195
|
|
|
233
196
|
class InputWizWebhookMetadatumTypedDict(TypedDict):
|
|
234
197
|
name: str
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
6
|
from cribl_control_plane.utils import validate_open_enum
|
|
7
7
|
from enum import Enum
|
|
8
8
|
import pydantic
|
|
9
|
-
from pydantic import field_serializer
|
|
10
9
|
from pydantic.functional_validators import PlainValidator
|
|
11
10
|
from typing import Any, List, Optional
|
|
12
11
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -107,24 +106,6 @@ class InputZscalerHecPq(BaseModel):
|
|
|
107
106
|
Optional[InputZscalerHecPqControls], pydantic.Field(alias="pqControls")
|
|
108
107
|
] = None
|
|
109
108
|
|
|
110
|
-
@field_serializer("mode")
|
|
111
|
-
def serialize_mode(self, value):
|
|
112
|
-
if isinstance(value, str):
|
|
113
|
-
try:
|
|
114
|
-
return models.InputZscalerHecMode(value)
|
|
115
|
-
except ValueError:
|
|
116
|
-
return value
|
|
117
|
-
return value
|
|
118
|
-
|
|
119
|
-
@field_serializer("compress")
|
|
120
|
-
def serialize_compress(self, value):
|
|
121
|
-
if isinstance(value, str):
|
|
122
|
-
try:
|
|
123
|
-
return models.InputZscalerHecCompression(value)
|
|
124
|
-
except ValueError:
|
|
125
|
-
return value
|
|
126
|
-
return value
|
|
127
|
-
|
|
128
109
|
|
|
129
110
|
class InputZscalerHecAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
130
111
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
@@ -185,15 +166,6 @@ class InputZscalerHecAuthToken(BaseModel):
|
|
|
185
166
|
metadata: Optional[List[InputZscalerHecAuthTokenMetadatum]] = None
|
|
186
167
|
r"""Fields to add to events referencing this token"""
|
|
187
168
|
|
|
188
|
-
@field_serializer("auth_type")
|
|
189
|
-
def serialize_auth_type(self, value):
|
|
190
|
-
if isinstance(value, str):
|
|
191
|
-
try:
|
|
192
|
-
return models.InputZscalerHecAuthenticationMethod(value)
|
|
193
|
-
except ValueError:
|
|
194
|
-
return value
|
|
195
|
-
return value
|
|
196
|
-
|
|
197
169
|
|
|
198
170
|
class InputZscalerHecMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
199
171
|
TL_SV1 = "TLSv1"
|
|
@@ -280,24 +252,6 @@ class InputZscalerHecTLSSettingsServerSide(BaseModel):
|
|
|
280
252
|
pydantic.Field(alias="maxVersion"),
|
|
281
253
|
] = None
|
|
282
254
|
|
|
283
|
-
@field_serializer("min_version")
|
|
284
|
-
def serialize_min_version(self, value):
|
|
285
|
-
if isinstance(value, str):
|
|
286
|
-
try:
|
|
287
|
-
return models.InputZscalerHecMinimumTLSVersion(value)
|
|
288
|
-
except ValueError:
|
|
289
|
-
return value
|
|
290
|
-
return value
|
|
291
|
-
|
|
292
|
-
@field_serializer("max_version")
|
|
293
|
-
def serialize_max_version(self, value):
|
|
294
|
-
if isinstance(value, str):
|
|
295
|
-
try:
|
|
296
|
-
return models.InputZscalerHecMaximumTLSVersion(value)
|
|
297
|
-
except ValueError:
|
|
298
|
-
return value
|
|
299
|
-
return value
|
|
300
|
-
|
|
301
255
|
|
|
302
256
|
class InputZscalerHecMetadatumTypedDict(TypedDict):
|
|
303
257
|
name: str
|
|
@@ -1,48 +1,17 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
|
-
from cribl_control_plane import models, utils
|
|
5
4
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
-
from enum import Enum
|
|
8
|
-
from pydantic import field_serializer
|
|
9
|
-
from pydantic.functional_validators import PlainValidator
|
|
10
5
|
from typing import Any, Dict, Optional
|
|
11
|
-
from typing_extensions import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class State(int, Enum, metaclass=utils.OpenEnumMeta):
|
|
15
|
-
r"""State of the Job"""
|
|
16
|
-
|
|
17
|
-
INITIALIZING = 0
|
|
18
|
-
PENDING = 1
|
|
19
|
-
RUNNING = 2
|
|
20
|
-
PAUSED = 3
|
|
21
|
-
CANCELLED = 4
|
|
22
|
-
FINISHED = 5
|
|
23
|
-
FAILED = 6
|
|
24
|
-
ORPHANED = 7
|
|
25
|
-
UNKNOWN = 8
|
|
26
|
-
LENGTH = 9
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
27
7
|
|
|
28
8
|
|
|
29
9
|
class JobStatusTypedDict(TypedDict):
|
|
30
|
-
state:
|
|
31
|
-
r"""State of the Job"""
|
|
10
|
+
state: Dict[str, Any]
|
|
32
11
|
reason: NotRequired[Dict[str, Any]]
|
|
33
12
|
|
|
34
13
|
|
|
35
14
|
class JobStatus(BaseModel):
|
|
36
|
-
state:
|
|
37
|
-
r"""State of the Job"""
|
|
15
|
+
state: Dict[str, Any]
|
|
38
16
|
|
|
39
17
|
reason: Optional[Dict[str, Any]] = None
|
|
40
|
-
|
|
41
|
-
@field_serializer("state")
|
|
42
|
-
def serialize_state(self, value):
|
|
43
|
-
if isinstance(value, str):
|
|
44
|
-
try:
|
|
45
|
-
return models.State(value)
|
|
46
|
-
except ValueError:
|
|
47
|
-
return value
|
|
48
|
-
return value
|
|
@@ -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")]
|