cribl-control-plane 0.3.0b4__py3-none-any.whl → 0.3.0b5__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/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/createconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/cribllakedataset.py +11 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +11 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -0
- cribl_control_plane/models/getsummaryop.py +11 -0
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +38 -1
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +38 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +29 -1
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -0
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +123 -1
- cribl_control_plane/models/outputcriblhttp.py +74 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +74 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +65 -1
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +119 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +119 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +74 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +56 -1
- cribl_control_plane/models/runnablejobexecutor.py +20 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +11 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -0
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/METADATA +1 -1
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/RECORD +149 -149
- {cribl_control_plane-0.3.0b4.dist-info → cribl_control_plane-0.3.0b5.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -226,6 +227,24 @@ class OutputServiceNowTLSSettingsClientSide(BaseModel):
|
|
|
226
227
|
pydantic.Field(alias="maxVersion"),
|
|
227
228
|
] = None
|
|
228
229
|
|
|
230
|
+
@field_serializer("min_version")
|
|
231
|
+
def serialize_min_version(self, value):
|
|
232
|
+
if isinstance(value, str):
|
|
233
|
+
try:
|
|
234
|
+
return models.OutputServiceNowMinimumTLSVersion(value)
|
|
235
|
+
except ValueError:
|
|
236
|
+
return value
|
|
237
|
+
return value
|
|
238
|
+
|
|
239
|
+
@field_serializer("max_version")
|
|
240
|
+
def serialize_max_version(self, value):
|
|
241
|
+
if isinstance(value, str):
|
|
242
|
+
try:
|
|
243
|
+
return models.OutputServiceNowMaximumTLSVersion(value)
|
|
244
|
+
except ValueError:
|
|
245
|
+
return value
|
|
246
|
+
return value
|
|
247
|
+
|
|
229
248
|
|
|
230
249
|
class OutputServiceNowMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
231
250
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -588,3 +607,84 @@ class OutputServiceNow(BaseModel):
|
|
|
588
607
|
pq_controls: Annotated[
|
|
589
608
|
Optional[OutputServiceNowPqControls], pydantic.Field(alias="pqControls")
|
|
590
609
|
] = None
|
|
610
|
+
|
|
611
|
+
@field_serializer("otlp_version")
|
|
612
|
+
def serialize_otlp_version(self, value):
|
|
613
|
+
if isinstance(value, str):
|
|
614
|
+
try:
|
|
615
|
+
return models.OutputServiceNowOTLPVersion(value)
|
|
616
|
+
except ValueError:
|
|
617
|
+
return value
|
|
618
|
+
return value
|
|
619
|
+
|
|
620
|
+
@field_serializer("protocol")
|
|
621
|
+
def serialize_protocol(self, value):
|
|
622
|
+
if isinstance(value, str):
|
|
623
|
+
try:
|
|
624
|
+
return models.OutputServiceNowProtocol(value)
|
|
625
|
+
except ValueError:
|
|
626
|
+
return value
|
|
627
|
+
return value
|
|
628
|
+
|
|
629
|
+
@field_serializer("compress")
|
|
630
|
+
def serialize_compress(self, value):
|
|
631
|
+
if isinstance(value, str):
|
|
632
|
+
try:
|
|
633
|
+
return models.OutputServiceNowCompressCompression(value)
|
|
634
|
+
except ValueError:
|
|
635
|
+
return value
|
|
636
|
+
return value
|
|
637
|
+
|
|
638
|
+
@field_serializer("http_compress")
|
|
639
|
+
def serialize_http_compress(self, value):
|
|
640
|
+
if isinstance(value, str):
|
|
641
|
+
try:
|
|
642
|
+
return models.OutputServiceNowHTTPCompressCompression(value)
|
|
643
|
+
except ValueError:
|
|
644
|
+
return value
|
|
645
|
+
return value
|
|
646
|
+
|
|
647
|
+
@field_serializer("failed_request_logging_mode")
|
|
648
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
649
|
+
if isinstance(value, str):
|
|
650
|
+
try:
|
|
651
|
+
return models.OutputServiceNowFailedRequestLoggingMode(value)
|
|
652
|
+
except ValueError:
|
|
653
|
+
return value
|
|
654
|
+
return value
|
|
655
|
+
|
|
656
|
+
@field_serializer("on_backpressure")
|
|
657
|
+
def serialize_on_backpressure(self, value):
|
|
658
|
+
if isinstance(value, str):
|
|
659
|
+
try:
|
|
660
|
+
return models.OutputServiceNowBackpressureBehavior(value)
|
|
661
|
+
except ValueError:
|
|
662
|
+
return value
|
|
663
|
+
return value
|
|
664
|
+
|
|
665
|
+
@field_serializer("pq_mode")
|
|
666
|
+
def serialize_pq_mode(self, value):
|
|
667
|
+
if isinstance(value, str):
|
|
668
|
+
try:
|
|
669
|
+
return models.OutputServiceNowMode(value)
|
|
670
|
+
except ValueError:
|
|
671
|
+
return value
|
|
672
|
+
return value
|
|
673
|
+
|
|
674
|
+
@field_serializer("pq_compress")
|
|
675
|
+
def serialize_pq_compress(self, value):
|
|
676
|
+
if isinstance(value, str):
|
|
677
|
+
try:
|
|
678
|
+
return models.OutputServiceNowPqCompressCompression(value)
|
|
679
|
+
except ValueError:
|
|
680
|
+
return value
|
|
681
|
+
return value
|
|
682
|
+
|
|
683
|
+
@field_serializer("pq_on_backpressure")
|
|
684
|
+
def serialize_pq_on_backpressure(self, value):
|
|
685
|
+
if isinstance(value, str):
|
|
686
|
+
try:
|
|
687
|
+
return models.OutputServiceNowQueueFullBehavior(value)
|
|
688
|
+
except ValueError:
|
|
689
|
+
return value
|
|
690
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -408,3 +409,57 @@ class OutputSignalfx(BaseModel):
|
|
|
408
409
|
pq_controls: Annotated[
|
|
409
410
|
Optional[OutputSignalfxPqControls], pydantic.Field(alias="pqControls")
|
|
410
411
|
] = None
|
|
412
|
+
|
|
413
|
+
@field_serializer("auth_type")
|
|
414
|
+
def serialize_auth_type(self, value):
|
|
415
|
+
if isinstance(value, str):
|
|
416
|
+
try:
|
|
417
|
+
return models.OutputSignalfxAuthenticationMethod(value)
|
|
418
|
+
except ValueError:
|
|
419
|
+
return value
|
|
420
|
+
return value
|
|
421
|
+
|
|
422
|
+
@field_serializer("failed_request_logging_mode")
|
|
423
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
424
|
+
if isinstance(value, str):
|
|
425
|
+
try:
|
|
426
|
+
return models.OutputSignalfxFailedRequestLoggingMode(value)
|
|
427
|
+
except ValueError:
|
|
428
|
+
return value
|
|
429
|
+
return value
|
|
430
|
+
|
|
431
|
+
@field_serializer("on_backpressure")
|
|
432
|
+
def serialize_on_backpressure(self, value):
|
|
433
|
+
if isinstance(value, str):
|
|
434
|
+
try:
|
|
435
|
+
return models.OutputSignalfxBackpressureBehavior(value)
|
|
436
|
+
except ValueError:
|
|
437
|
+
return value
|
|
438
|
+
return value
|
|
439
|
+
|
|
440
|
+
@field_serializer("pq_mode")
|
|
441
|
+
def serialize_pq_mode(self, value):
|
|
442
|
+
if isinstance(value, str):
|
|
443
|
+
try:
|
|
444
|
+
return models.OutputSignalfxMode(value)
|
|
445
|
+
except ValueError:
|
|
446
|
+
return value
|
|
447
|
+
return value
|
|
448
|
+
|
|
449
|
+
@field_serializer("pq_compress")
|
|
450
|
+
def serialize_pq_compress(self, value):
|
|
451
|
+
if isinstance(value, str):
|
|
452
|
+
try:
|
|
453
|
+
return models.OutputSignalfxCompression(value)
|
|
454
|
+
except ValueError:
|
|
455
|
+
return value
|
|
456
|
+
return value
|
|
457
|
+
|
|
458
|
+
@field_serializer("pq_on_backpressure")
|
|
459
|
+
def serialize_pq_on_backpressure(self, value):
|
|
460
|
+
if isinstance(value, str):
|
|
461
|
+
try:
|
|
462
|
+
return models.OutputSignalfxQueueFullBehavior(value)
|
|
463
|
+
except ValueError:
|
|
464
|
+
return value
|
|
465
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -311,3 +312,57 @@ class OutputSns(BaseModel):
|
|
|
311
312
|
pq_controls: Annotated[
|
|
312
313
|
Optional[OutputSnsPqControls], pydantic.Field(alias="pqControls")
|
|
313
314
|
] = None
|
|
315
|
+
|
|
316
|
+
@field_serializer("aws_authentication_method")
|
|
317
|
+
def serialize_aws_authentication_method(self, value):
|
|
318
|
+
if isinstance(value, str):
|
|
319
|
+
try:
|
|
320
|
+
return models.OutputSnsAuthenticationMethod(value)
|
|
321
|
+
except ValueError:
|
|
322
|
+
return value
|
|
323
|
+
return value
|
|
324
|
+
|
|
325
|
+
@field_serializer("signature_version")
|
|
326
|
+
def serialize_signature_version(self, value):
|
|
327
|
+
if isinstance(value, str):
|
|
328
|
+
try:
|
|
329
|
+
return models.OutputSnsSignatureVersion(value)
|
|
330
|
+
except ValueError:
|
|
331
|
+
return value
|
|
332
|
+
return value
|
|
333
|
+
|
|
334
|
+
@field_serializer("on_backpressure")
|
|
335
|
+
def serialize_on_backpressure(self, value):
|
|
336
|
+
if isinstance(value, str):
|
|
337
|
+
try:
|
|
338
|
+
return models.OutputSnsBackpressureBehavior(value)
|
|
339
|
+
except ValueError:
|
|
340
|
+
return value
|
|
341
|
+
return value
|
|
342
|
+
|
|
343
|
+
@field_serializer("pq_mode")
|
|
344
|
+
def serialize_pq_mode(self, value):
|
|
345
|
+
if isinstance(value, str):
|
|
346
|
+
try:
|
|
347
|
+
return models.OutputSnsMode(value)
|
|
348
|
+
except ValueError:
|
|
349
|
+
return value
|
|
350
|
+
return value
|
|
351
|
+
|
|
352
|
+
@field_serializer("pq_compress")
|
|
353
|
+
def serialize_pq_compress(self, value):
|
|
354
|
+
if isinstance(value, str):
|
|
355
|
+
try:
|
|
356
|
+
return models.OutputSnsCompression(value)
|
|
357
|
+
except ValueError:
|
|
358
|
+
return value
|
|
359
|
+
return value
|
|
360
|
+
|
|
361
|
+
@field_serializer("pq_on_backpressure")
|
|
362
|
+
def serialize_pq_on_backpressure(self, value):
|
|
363
|
+
if isinstance(value, str):
|
|
364
|
+
try:
|
|
365
|
+
return models.OutputSnsQueueFullBehavior(value)
|
|
366
|
+
except ValueError:
|
|
367
|
+
return value
|
|
368
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class OutputSplunkTLSSettingsClientSide(BaseModel):
|
|
|
106
107
|
pydantic.Field(alias="maxVersion"),
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("min_version")
|
|
111
|
+
def serialize_min_version(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.OutputSplunkMinimumTLSVersion(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("max_version")
|
|
120
|
+
def serialize_max_version(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.OutputSplunkMaximumTLSVersion(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class OutputSplunkMaxS2SVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
r"""The highest S2S protocol version to advertise during handshake"""
|
|
@@ -422,3 +441,75 @@ class OutputSplunk(BaseModel):
|
|
|
422
441
|
|
|
423
442
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
424
443
|
r"""Select or create a stored text secret"""
|
|
444
|
+
|
|
445
|
+
@field_serializer("nested_fields")
|
|
446
|
+
def serialize_nested_fields(self, value):
|
|
447
|
+
if isinstance(value, str):
|
|
448
|
+
try:
|
|
449
|
+
return models.OutputSplunkNestedFieldSerialization(value)
|
|
450
|
+
except ValueError:
|
|
451
|
+
return value
|
|
452
|
+
return value
|
|
453
|
+
|
|
454
|
+
@field_serializer("max_s2_sversion")
|
|
455
|
+
def serialize_max_s2_sversion(self, value):
|
|
456
|
+
if isinstance(value, str):
|
|
457
|
+
try:
|
|
458
|
+
return models.OutputSplunkMaxS2SVersion(value)
|
|
459
|
+
except ValueError:
|
|
460
|
+
return value
|
|
461
|
+
return value
|
|
462
|
+
|
|
463
|
+
@field_serializer("on_backpressure")
|
|
464
|
+
def serialize_on_backpressure(self, value):
|
|
465
|
+
if isinstance(value, str):
|
|
466
|
+
try:
|
|
467
|
+
return models.OutputSplunkBackpressureBehavior(value)
|
|
468
|
+
except ValueError:
|
|
469
|
+
return value
|
|
470
|
+
return value
|
|
471
|
+
|
|
472
|
+
@field_serializer("auth_type")
|
|
473
|
+
def serialize_auth_type(self, value):
|
|
474
|
+
if isinstance(value, str):
|
|
475
|
+
try:
|
|
476
|
+
return models.OutputSplunkAuthenticationMethod(value)
|
|
477
|
+
except ValueError:
|
|
478
|
+
return value
|
|
479
|
+
return value
|
|
480
|
+
|
|
481
|
+
@field_serializer("compress")
|
|
482
|
+
def serialize_compress(self, value):
|
|
483
|
+
if isinstance(value, str):
|
|
484
|
+
try:
|
|
485
|
+
return models.OutputSplunkCompressCompression(value)
|
|
486
|
+
except ValueError:
|
|
487
|
+
return value
|
|
488
|
+
return value
|
|
489
|
+
|
|
490
|
+
@field_serializer("pq_mode")
|
|
491
|
+
def serialize_pq_mode(self, value):
|
|
492
|
+
if isinstance(value, str):
|
|
493
|
+
try:
|
|
494
|
+
return models.OutputSplunkMode(value)
|
|
495
|
+
except ValueError:
|
|
496
|
+
return value
|
|
497
|
+
return value
|
|
498
|
+
|
|
499
|
+
@field_serializer("pq_compress")
|
|
500
|
+
def serialize_pq_compress(self, value):
|
|
501
|
+
if isinstance(value, str):
|
|
502
|
+
try:
|
|
503
|
+
return models.OutputSplunkPqCompressCompression(value)
|
|
504
|
+
except ValueError:
|
|
505
|
+
return value
|
|
506
|
+
return value
|
|
507
|
+
|
|
508
|
+
@field_serializer("pq_on_backpressure")
|
|
509
|
+
def serialize_pq_on_backpressure(self, value):
|
|
510
|
+
if isinstance(value, str):
|
|
511
|
+
try:
|
|
512
|
+
return models.OutputSplunkQueueFullBehavior(value)
|
|
513
|
+
except ValueError:
|
|
514
|
+
return value
|
|
515
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -86,6 +87,24 @@ class OutputSplunkHecTLSSettingsClientSide(BaseModel):
|
|
|
86
87
|
pydantic.Field(alias="maxVersion"),
|
|
87
88
|
] = None
|
|
88
89
|
|
|
90
|
+
@field_serializer("min_version")
|
|
91
|
+
def serialize_min_version(self, value):
|
|
92
|
+
if isinstance(value, str):
|
|
93
|
+
try:
|
|
94
|
+
return models.OutputSplunkHecMinimumTLSVersion(value)
|
|
95
|
+
except ValueError:
|
|
96
|
+
return value
|
|
97
|
+
return value
|
|
98
|
+
|
|
99
|
+
@field_serializer("max_version")
|
|
100
|
+
def serialize_max_version(self, value):
|
|
101
|
+
if isinstance(value, str):
|
|
102
|
+
try:
|
|
103
|
+
return models.OutputSplunkHecMaximumTLSVersion(value)
|
|
104
|
+
except ValueError:
|
|
105
|
+
return value
|
|
106
|
+
return value
|
|
107
|
+
|
|
89
108
|
|
|
90
109
|
class OutputSplunkHecExtraHTTPHeaderTypedDict(TypedDict):
|
|
91
110
|
value: str
|
|
@@ -548,3 +567,57 @@ class OutputSplunkHec(BaseModel):
|
|
|
548
567
|
pq_controls: Annotated[
|
|
549
568
|
Optional[OutputSplunkHecPqControls], pydantic.Field(alias="pqControls")
|
|
550
569
|
] = None
|
|
570
|
+
|
|
571
|
+
@field_serializer("failed_request_logging_mode")
|
|
572
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
573
|
+
if isinstance(value, str):
|
|
574
|
+
try:
|
|
575
|
+
return models.OutputSplunkHecFailedRequestLoggingMode(value)
|
|
576
|
+
except ValueError:
|
|
577
|
+
return value
|
|
578
|
+
return value
|
|
579
|
+
|
|
580
|
+
@field_serializer("auth_type")
|
|
581
|
+
def serialize_auth_type(self, value):
|
|
582
|
+
if isinstance(value, str):
|
|
583
|
+
try:
|
|
584
|
+
return models.OutputSplunkHecAuthenticationMethod(value)
|
|
585
|
+
except ValueError:
|
|
586
|
+
return value
|
|
587
|
+
return value
|
|
588
|
+
|
|
589
|
+
@field_serializer("on_backpressure")
|
|
590
|
+
def serialize_on_backpressure(self, value):
|
|
591
|
+
if isinstance(value, str):
|
|
592
|
+
try:
|
|
593
|
+
return models.OutputSplunkHecBackpressureBehavior(value)
|
|
594
|
+
except ValueError:
|
|
595
|
+
return value
|
|
596
|
+
return value
|
|
597
|
+
|
|
598
|
+
@field_serializer("pq_mode")
|
|
599
|
+
def serialize_pq_mode(self, value):
|
|
600
|
+
if isinstance(value, str):
|
|
601
|
+
try:
|
|
602
|
+
return models.OutputSplunkHecMode(value)
|
|
603
|
+
except ValueError:
|
|
604
|
+
return value
|
|
605
|
+
return value
|
|
606
|
+
|
|
607
|
+
@field_serializer("pq_compress")
|
|
608
|
+
def serialize_pq_compress(self, value):
|
|
609
|
+
if isinstance(value, str):
|
|
610
|
+
try:
|
|
611
|
+
return models.OutputSplunkHecCompression(value)
|
|
612
|
+
except ValueError:
|
|
613
|
+
return value
|
|
614
|
+
return value
|
|
615
|
+
|
|
616
|
+
@field_serializer("pq_on_backpressure")
|
|
617
|
+
def serialize_pq_on_backpressure(self, value):
|
|
618
|
+
if isinstance(value, str):
|
|
619
|
+
try:
|
|
620
|
+
return models.OutputSplunkHecQueueFullBehavior(value)
|
|
621
|
+
except ValueError:
|
|
622
|
+
return value
|
|
623
|
+
return value
|
|
@@ -1,11 +1,12 @@
|
|
|
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 utils
|
|
4
|
+
from cribl_control_plane import models, 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
|
|
9
10
|
from pydantic.functional_validators import PlainValidator
|
|
10
11
|
from typing import List, Optional
|
|
11
12
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -106,6 +107,24 @@ class OutputSplunkLbTLSSettingsClientSide(BaseModel):
|
|
|
106
107
|
pydantic.Field(alias="maxVersion"),
|
|
107
108
|
] = None
|
|
108
109
|
|
|
110
|
+
@field_serializer("min_version")
|
|
111
|
+
def serialize_min_version(self, value):
|
|
112
|
+
if isinstance(value, str):
|
|
113
|
+
try:
|
|
114
|
+
return models.OutputSplunkLbMinimumTLSVersion(value)
|
|
115
|
+
except ValueError:
|
|
116
|
+
return value
|
|
117
|
+
return value
|
|
118
|
+
|
|
119
|
+
@field_serializer("max_version")
|
|
120
|
+
def serialize_max_version(self, value):
|
|
121
|
+
if isinstance(value, str):
|
|
122
|
+
try:
|
|
123
|
+
return models.OutputSplunkLbMaximumTLSVersion(value)
|
|
124
|
+
except ValueError:
|
|
125
|
+
return value
|
|
126
|
+
return value
|
|
127
|
+
|
|
109
128
|
|
|
110
129
|
class OutputSplunkLbMaxS2SVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
111
130
|
r"""The highest S2S protocol version to advertise during handshake"""
|
|
@@ -167,6 +186,17 @@ class OutputSplunkLbAuthToken(BaseModel):
|
|
|
167
186
|
] = IndexerDiscoveryConfigsAuthTokenAuthenticationMethod.MANUAL
|
|
168
187
|
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
169
188
|
|
|
189
|
+
@field_serializer("auth_type")
|
|
190
|
+
def serialize_auth_type(self, value):
|
|
191
|
+
if isinstance(value, str):
|
|
192
|
+
try:
|
|
193
|
+
return models.IndexerDiscoveryConfigsAuthTokenAuthenticationMethod(
|
|
194
|
+
value
|
|
195
|
+
)
|
|
196
|
+
except ValueError:
|
|
197
|
+
return value
|
|
198
|
+
return value
|
|
199
|
+
|
|
170
200
|
|
|
171
201
|
class IndexerDiscoveryConfigsAuthenticationMethod(
|
|
172
202
|
str, Enum, metaclass=utils.OpenEnumMeta
|
|
@@ -237,6 +267,15 @@ class IndexerDiscoveryConfigs(BaseModel):
|
|
|
237
267
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
238
268
|
r"""Select or create a stored text secret"""
|
|
239
269
|
|
|
270
|
+
@field_serializer("auth_type")
|
|
271
|
+
def serialize_auth_type(self, value):
|
|
272
|
+
if isinstance(value, str):
|
|
273
|
+
try:
|
|
274
|
+
return models.IndexerDiscoveryConfigsAuthenticationMethod(value)
|
|
275
|
+
except ValueError:
|
|
276
|
+
return value
|
|
277
|
+
return value
|
|
278
|
+
|
|
240
279
|
|
|
241
280
|
class OutputSplunkLbTLS(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
242
281
|
r"""Whether to inherit TLS configs from group setting or disable TLS"""
|
|
@@ -276,6 +315,15 @@ class OutputSplunkLbHost(BaseModel):
|
|
|
276
315
|
weight: Optional[float] = 1
|
|
277
316
|
r"""Assign a weight (>0) to each endpoint to indicate its traffic-handling capability"""
|
|
278
317
|
|
|
318
|
+
@field_serializer("tls")
|
|
319
|
+
def serialize_tls(self, value):
|
|
320
|
+
if isinstance(value, str):
|
|
321
|
+
try:
|
|
322
|
+
return models.OutputSplunkLbTLS(value)
|
|
323
|
+
except ValueError:
|
|
324
|
+
return value
|
|
325
|
+
return value
|
|
326
|
+
|
|
279
327
|
|
|
280
328
|
class OutputSplunkLbMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
281
329
|
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
@@ -599,3 +647,75 @@ class OutputSplunkLb(BaseModel):
|
|
|
599
647
|
|
|
600
648
|
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
601
649
|
r"""Select or create a stored text secret"""
|
|
650
|
+
|
|
651
|
+
@field_serializer("nested_fields")
|
|
652
|
+
def serialize_nested_fields(self, value):
|
|
653
|
+
if isinstance(value, str):
|
|
654
|
+
try:
|
|
655
|
+
return models.OutputSplunkLbNestedFieldSerialization(value)
|
|
656
|
+
except ValueError:
|
|
657
|
+
return value
|
|
658
|
+
return value
|
|
659
|
+
|
|
660
|
+
@field_serializer("max_s2_sversion")
|
|
661
|
+
def serialize_max_s2_sversion(self, value):
|
|
662
|
+
if isinstance(value, str):
|
|
663
|
+
try:
|
|
664
|
+
return models.OutputSplunkLbMaxS2SVersion(value)
|
|
665
|
+
except ValueError:
|
|
666
|
+
return value
|
|
667
|
+
return value
|
|
668
|
+
|
|
669
|
+
@field_serializer("on_backpressure")
|
|
670
|
+
def serialize_on_backpressure(self, value):
|
|
671
|
+
if isinstance(value, str):
|
|
672
|
+
try:
|
|
673
|
+
return models.OutputSplunkLbBackpressureBehavior(value)
|
|
674
|
+
except ValueError:
|
|
675
|
+
return value
|
|
676
|
+
return value
|
|
677
|
+
|
|
678
|
+
@field_serializer("auth_type")
|
|
679
|
+
def serialize_auth_type(self, value):
|
|
680
|
+
if isinstance(value, str):
|
|
681
|
+
try:
|
|
682
|
+
return models.OutputSplunkLbAuthenticationMethod(value)
|
|
683
|
+
except ValueError:
|
|
684
|
+
return value
|
|
685
|
+
return value
|
|
686
|
+
|
|
687
|
+
@field_serializer("compress")
|
|
688
|
+
def serialize_compress(self, value):
|
|
689
|
+
if isinstance(value, str):
|
|
690
|
+
try:
|
|
691
|
+
return models.OutputSplunkLbCompressCompression(value)
|
|
692
|
+
except ValueError:
|
|
693
|
+
return value
|
|
694
|
+
return value
|
|
695
|
+
|
|
696
|
+
@field_serializer("pq_mode")
|
|
697
|
+
def serialize_pq_mode(self, value):
|
|
698
|
+
if isinstance(value, str):
|
|
699
|
+
try:
|
|
700
|
+
return models.OutputSplunkLbMode(value)
|
|
701
|
+
except ValueError:
|
|
702
|
+
return value
|
|
703
|
+
return value
|
|
704
|
+
|
|
705
|
+
@field_serializer("pq_compress")
|
|
706
|
+
def serialize_pq_compress(self, value):
|
|
707
|
+
if isinstance(value, str):
|
|
708
|
+
try:
|
|
709
|
+
return models.OutputSplunkLbPqCompressCompression(value)
|
|
710
|
+
except ValueError:
|
|
711
|
+
return value
|
|
712
|
+
return value
|
|
713
|
+
|
|
714
|
+
@field_serializer("pq_on_backpressure")
|
|
715
|
+
def serialize_pq_on_backpressure(self, value):
|
|
716
|
+
if isinstance(value, str):
|
|
717
|
+
try:
|
|
718
|
+
return models.OutputSplunkLbQueueFullBehavior(value)
|
|
719
|
+
except ValueError:
|
|
720
|
+
return value
|
|
721
|
+
return value
|