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
|
|
@@ -273,6 +274,24 @@ class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
|
273
274
|
pydantic.Field(alias="maxVersion"),
|
|
274
275
|
] = None
|
|
275
276
|
|
|
277
|
+
@field_serializer("min_version")
|
|
278
|
+
def serialize_min_version(self, value):
|
|
279
|
+
if isinstance(value, str):
|
|
280
|
+
try:
|
|
281
|
+
return models.OutputOpenTelemetryMinimumTLSVersion(value)
|
|
282
|
+
except ValueError:
|
|
283
|
+
return value
|
|
284
|
+
return value
|
|
285
|
+
|
|
286
|
+
@field_serializer("max_version")
|
|
287
|
+
def serialize_max_version(self, value):
|
|
288
|
+
if isinstance(value, str):
|
|
289
|
+
try:
|
|
290
|
+
return models.OutputOpenTelemetryMaximumTLSVersion(value)
|
|
291
|
+
except ValueError:
|
|
292
|
+
return value
|
|
293
|
+
return value
|
|
294
|
+
|
|
276
295
|
|
|
277
296
|
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
278
297
|
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."""
|
|
@@ -717,3 +736,93 @@ class OutputOpenTelemetry(BaseModel):
|
|
|
717
736
|
pq_controls: Annotated[
|
|
718
737
|
Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
|
|
719
738
|
] = None
|
|
739
|
+
|
|
740
|
+
@field_serializer("protocol")
|
|
741
|
+
def serialize_protocol(self, value):
|
|
742
|
+
if isinstance(value, str):
|
|
743
|
+
try:
|
|
744
|
+
return models.OutputOpenTelemetryProtocol(value)
|
|
745
|
+
except ValueError:
|
|
746
|
+
return value
|
|
747
|
+
return value
|
|
748
|
+
|
|
749
|
+
@field_serializer("otlp_version")
|
|
750
|
+
def serialize_otlp_version(self, value):
|
|
751
|
+
if isinstance(value, str):
|
|
752
|
+
try:
|
|
753
|
+
return models.OutputOpenTelemetryOTLPVersion(value)
|
|
754
|
+
except ValueError:
|
|
755
|
+
return value
|
|
756
|
+
return value
|
|
757
|
+
|
|
758
|
+
@field_serializer("compress")
|
|
759
|
+
def serialize_compress(self, value):
|
|
760
|
+
if isinstance(value, str):
|
|
761
|
+
try:
|
|
762
|
+
return models.OutputOpenTelemetryCompressCompression(value)
|
|
763
|
+
except ValueError:
|
|
764
|
+
return value
|
|
765
|
+
return value
|
|
766
|
+
|
|
767
|
+
@field_serializer("http_compress")
|
|
768
|
+
def serialize_http_compress(self, value):
|
|
769
|
+
if isinstance(value, str):
|
|
770
|
+
try:
|
|
771
|
+
return models.OutputOpenTelemetryHTTPCompressCompression(value)
|
|
772
|
+
except ValueError:
|
|
773
|
+
return value
|
|
774
|
+
return value
|
|
775
|
+
|
|
776
|
+
@field_serializer("auth_type")
|
|
777
|
+
def serialize_auth_type(self, value):
|
|
778
|
+
if isinstance(value, str):
|
|
779
|
+
try:
|
|
780
|
+
return models.OutputOpenTelemetryAuthenticationType(value)
|
|
781
|
+
except ValueError:
|
|
782
|
+
return value
|
|
783
|
+
return value
|
|
784
|
+
|
|
785
|
+
@field_serializer("failed_request_logging_mode")
|
|
786
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
787
|
+
if isinstance(value, str):
|
|
788
|
+
try:
|
|
789
|
+
return models.OutputOpenTelemetryFailedRequestLoggingMode(value)
|
|
790
|
+
except ValueError:
|
|
791
|
+
return value
|
|
792
|
+
return value
|
|
793
|
+
|
|
794
|
+
@field_serializer("on_backpressure")
|
|
795
|
+
def serialize_on_backpressure(self, value):
|
|
796
|
+
if isinstance(value, str):
|
|
797
|
+
try:
|
|
798
|
+
return models.OutputOpenTelemetryBackpressureBehavior(value)
|
|
799
|
+
except ValueError:
|
|
800
|
+
return value
|
|
801
|
+
return value
|
|
802
|
+
|
|
803
|
+
@field_serializer("pq_mode")
|
|
804
|
+
def serialize_pq_mode(self, value):
|
|
805
|
+
if isinstance(value, str):
|
|
806
|
+
try:
|
|
807
|
+
return models.OutputOpenTelemetryMode(value)
|
|
808
|
+
except ValueError:
|
|
809
|
+
return value
|
|
810
|
+
return value
|
|
811
|
+
|
|
812
|
+
@field_serializer("pq_compress")
|
|
813
|
+
def serialize_pq_compress(self, value):
|
|
814
|
+
if isinstance(value, str):
|
|
815
|
+
try:
|
|
816
|
+
return models.OutputOpenTelemetryPqCompressCompression(value)
|
|
817
|
+
except ValueError:
|
|
818
|
+
return value
|
|
819
|
+
return value
|
|
820
|
+
|
|
821
|
+
@field_serializer("pq_on_backpressure")
|
|
822
|
+
def serialize_pq_on_backpressure(self, value):
|
|
823
|
+
if isinstance(value, str):
|
|
824
|
+
try:
|
|
825
|
+
return models.OutputOpenTelemetryQueueFullBehavior(value)
|
|
826
|
+
except ValueError:
|
|
827
|
+
return value
|
|
828
|
+
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
|
|
@@ -524,3 +525,57 @@ class OutputPrometheus(BaseModel):
|
|
|
524
525
|
pydantic.Field(alias="oauthHeaders"),
|
|
525
526
|
] = None
|
|
526
527
|
r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
528
|
+
|
|
529
|
+
@field_serializer("failed_request_logging_mode")
|
|
530
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
531
|
+
if isinstance(value, str):
|
|
532
|
+
try:
|
|
533
|
+
return models.OutputPrometheusFailedRequestLoggingMode(value)
|
|
534
|
+
except ValueError:
|
|
535
|
+
return value
|
|
536
|
+
return value
|
|
537
|
+
|
|
538
|
+
@field_serializer("on_backpressure")
|
|
539
|
+
def serialize_on_backpressure(self, value):
|
|
540
|
+
if isinstance(value, str):
|
|
541
|
+
try:
|
|
542
|
+
return models.OutputPrometheusBackpressureBehavior(value)
|
|
543
|
+
except ValueError:
|
|
544
|
+
return value
|
|
545
|
+
return value
|
|
546
|
+
|
|
547
|
+
@field_serializer("auth_type")
|
|
548
|
+
def serialize_auth_type(self, value):
|
|
549
|
+
if isinstance(value, str):
|
|
550
|
+
try:
|
|
551
|
+
return models.OutputPrometheusAuthenticationType(value)
|
|
552
|
+
except ValueError:
|
|
553
|
+
return value
|
|
554
|
+
return value
|
|
555
|
+
|
|
556
|
+
@field_serializer("pq_mode")
|
|
557
|
+
def serialize_pq_mode(self, value):
|
|
558
|
+
if isinstance(value, str):
|
|
559
|
+
try:
|
|
560
|
+
return models.OutputPrometheusMode(value)
|
|
561
|
+
except ValueError:
|
|
562
|
+
return value
|
|
563
|
+
return value
|
|
564
|
+
|
|
565
|
+
@field_serializer("pq_compress")
|
|
566
|
+
def serialize_pq_compress(self, value):
|
|
567
|
+
if isinstance(value, str):
|
|
568
|
+
try:
|
|
569
|
+
return models.OutputPrometheusCompression(value)
|
|
570
|
+
except ValueError:
|
|
571
|
+
return value
|
|
572
|
+
return value
|
|
573
|
+
|
|
574
|
+
@field_serializer("pq_on_backpressure")
|
|
575
|
+
def serialize_pq_on_backpressure(self, value):
|
|
576
|
+
if isinstance(value, str):
|
|
577
|
+
try:
|
|
578
|
+
return models.OutputPrometheusQueueFullBehavior(value)
|
|
579
|
+
except ValueError:
|
|
580
|
+
return value
|
|
581
|
+
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
|
|
@@ -121,3 +122,30 @@ class OutputRing(BaseModel):
|
|
|
121
122
|
r"""How to handle events when all receivers are exerting backpressure"""
|
|
122
123
|
|
|
123
124
|
description: Optional[str] = None
|
|
125
|
+
|
|
126
|
+
@field_serializer("format_")
|
|
127
|
+
def serialize_format_(self, value):
|
|
128
|
+
if isinstance(value, str):
|
|
129
|
+
try:
|
|
130
|
+
return models.OutputRingDataFormat(value)
|
|
131
|
+
except ValueError:
|
|
132
|
+
return value
|
|
133
|
+
return value
|
|
134
|
+
|
|
135
|
+
@field_serializer("compress")
|
|
136
|
+
def serialize_compress(self, value):
|
|
137
|
+
if isinstance(value, str):
|
|
138
|
+
try:
|
|
139
|
+
return models.OutputRingDataCompressionFormat(value)
|
|
140
|
+
except ValueError:
|
|
141
|
+
return value
|
|
142
|
+
return value
|
|
143
|
+
|
|
144
|
+
@field_serializer("on_backpressure")
|
|
145
|
+
def serialize_on_backpressure(self, value):
|
|
146
|
+
if isinstance(value, str):
|
|
147
|
+
try:
|
|
148
|
+
return models.OutputRingBackpressureBehavior(value)
|
|
149
|
+
except ValueError:
|
|
150
|
+
return value
|
|
151
|
+
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
|
|
@@ -594,3 +595,111 @@ class OutputS3(BaseModel):
|
|
|
594
595
|
|
|
595
596
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
596
597
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
598
|
+
|
|
599
|
+
@field_serializer("aws_authentication_method")
|
|
600
|
+
def serialize_aws_authentication_method(self, value):
|
|
601
|
+
if isinstance(value, str):
|
|
602
|
+
try:
|
|
603
|
+
return models.OutputS3AuthenticationMethod(value)
|
|
604
|
+
except ValueError:
|
|
605
|
+
return value
|
|
606
|
+
return value
|
|
607
|
+
|
|
608
|
+
@field_serializer("signature_version")
|
|
609
|
+
def serialize_signature_version(self, value):
|
|
610
|
+
if isinstance(value, str):
|
|
611
|
+
try:
|
|
612
|
+
return models.OutputS3SignatureVersion(value)
|
|
613
|
+
except ValueError:
|
|
614
|
+
return value
|
|
615
|
+
return value
|
|
616
|
+
|
|
617
|
+
@field_serializer("object_acl")
|
|
618
|
+
def serialize_object_acl(self, value):
|
|
619
|
+
if isinstance(value, str):
|
|
620
|
+
try:
|
|
621
|
+
return models.OutputS3ObjectACL(value)
|
|
622
|
+
except ValueError:
|
|
623
|
+
return value
|
|
624
|
+
return value
|
|
625
|
+
|
|
626
|
+
@field_serializer("storage_class")
|
|
627
|
+
def serialize_storage_class(self, value):
|
|
628
|
+
if isinstance(value, str):
|
|
629
|
+
try:
|
|
630
|
+
return models.OutputS3StorageClass(value)
|
|
631
|
+
except ValueError:
|
|
632
|
+
return value
|
|
633
|
+
return value
|
|
634
|
+
|
|
635
|
+
@field_serializer("server_side_encryption")
|
|
636
|
+
def serialize_server_side_encryption(self, value):
|
|
637
|
+
if isinstance(value, str):
|
|
638
|
+
try:
|
|
639
|
+
return models.OutputS3ServerSideEncryptionForUploadedObjects(value)
|
|
640
|
+
except ValueError:
|
|
641
|
+
return value
|
|
642
|
+
return value
|
|
643
|
+
|
|
644
|
+
@field_serializer("format_")
|
|
645
|
+
def serialize_format_(self, value):
|
|
646
|
+
if isinstance(value, str):
|
|
647
|
+
try:
|
|
648
|
+
return models.OutputS3DataFormat(value)
|
|
649
|
+
except ValueError:
|
|
650
|
+
return value
|
|
651
|
+
return value
|
|
652
|
+
|
|
653
|
+
@field_serializer("on_backpressure")
|
|
654
|
+
def serialize_on_backpressure(self, value):
|
|
655
|
+
if isinstance(value, str):
|
|
656
|
+
try:
|
|
657
|
+
return models.OutputS3BackpressureBehavior(value)
|
|
658
|
+
except ValueError:
|
|
659
|
+
return value
|
|
660
|
+
return value
|
|
661
|
+
|
|
662
|
+
@field_serializer("on_disk_full_backpressure")
|
|
663
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
664
|
+
if isinstance(value, str):
|
|
665
|
+
try:
|
|
666
|
+
return models.OutputS3DiskSpaceProtection(value)
|
|
667
|
+
except ValueError:
|
|
668
|
+
return value
|
|
669
|
+
return value
|
|
670
|
+
|
|
671
|
+
@field_serializer("compress")
|
|
672
|
+
def serialize_compress(self, value):
|
|
673
|
+
if isinstance(value, str):
|
|
674
|
+
try:
|
|
675
|
+
return models.OutputS3Compression(value)
|
|
676
|
+
except ValueError:
|
|
677
|
+
return value
|
|
678
|
+
return value
|
|
679
|
+
|
|
680
|
+
@field_serializer("compression_level")
|
|
681
|
+
def serialize_compression_level(self, value):
|
|
682
|
+
if isinstance(value, str):
|
|
683
|
+
try:
|
|
684
|
+
return models.OutputS3CompressionLevel(value)
|
|
685
|
+
except ValueError:
|
|
686
|
+
return value
|
|
687
|
+
return value
|
|
688
|
+
|
|
689
|
+
@field_serializer("parquet_version")
|
|
690
|
+
def serialize_parquet_version(self, value):
|
|
691
|
+
if isinstance(value, str):
|
|
692
|
+
try:
|
|
693
|
+
return models.OutputS3ParquetVersion(value)
|
|
694
|
+
except ValueError:
|
|
695
|
+
return value
|
|
696
|
+
return value
|
|
697
|
+
|
|
698
|
+
@field_serializer("parquet_data_page_version")
|
|
699
|
+
def serialize_parquet_data_page_version(self, value):
|
|
700
|
+
if isinstance(value, str):
|
|
701
|
+
try:
|
|
702
|
+
return models.OutputS3DataPageVersion(value)
|
|
703
|
+
except ValueError:
|
|
704
|
+
return value
|
|
705
|
+
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
|
|
@@ -530,3 +531,86 @@ class OutputSecurityLake(BaseModel):
|
|
|
530
531
|
|
|
531
532
|
max_retry_num: Annotated[Optional[float], pydantic.Field(alias="maxRetryNum")] = 20
|
|
532
533
|
r"""The maximum number of times a file will attempt to move to its final destination before being dead-lettered"""
|
|
534
|
+
|
|
535
|
+
@field_serializer("aws_authentication_method")
|
|
536
|
+
def serialize_aws_authentication_method(self, value):
|
|
537
|
+
if isinstance(value, str):
|
|
538
|
+
try:
|
|
539
|
+
return models.OutputSecurityLakeAuthenticationMethod(value)
|
|
540
|
+
except ValueError:
|
|
541
|
+
return value
|
|
542
|
+
return value
|
|
543
|
+
|
|
544
|
+
@field_serializer("signature_version")
|
|
545
|
+
def serialize_signature_version(self, value):
|
|
546
|
+
if isinstance(value, str):
|
|
547
|
+
try:
|
|
548
|
+
return models.OutputSecurityLakeSignatureVersion(value)
|
|
549
|
+
except ValueError:
|
|
550
|
+
return value
|
|
551
|
+
return value
|
|
552
|
+
|
|
553
|
+
@field_serializer("object_acl")
|
|
554
|
+
def serialize_object_acl(self, value):
|
|
555
|
+
if isinstance(value, str):
|
|
556
|
+
try:
|
|
557
|
+
return models.OutputSecurityLakeObjectACL(value)
|
|
558
|
+
except ValueError:
|
|
559
|
+
return value
|
|
560
|
+
return value
|
|
561
|
+
|
|
562
|
+
@field_serializer("storage_class")
|
|
563
|
+
def serialize_storage_class(self, value):
|
|
564
|
+
if isinstance(value, str):
|
|
565
|
+
try:
|
|
566
|
+
return models.OutputSecurityLakeStorageClass(value)
|
|
567
|
+
except ValueError:
|
|
568
|
+
return value
|
|
569
|
+
return value
|
|
570
|
+
|
|
571
|
+
@field_serializer("server_side_encryption")
|
|
572
|
+
def serialize_server_side_encryption(self, value):
|
|
573
|
+
if isinstance(value, str):
|
|
574
|
+
try:
|
|
575
|
+
return models.OutputSecurityLakeServerSideEncryptionForUploadedObjects(
|
|
576
|
+
value
|
|
577
|
+
)
|
|
578
|
+
except ValueError:
|
|
579
|
+
return value
|
|
580
|
+
return value
|
|
581
|
+
|
|
582
|
+
@field_serializer("on_backpressure")
|
|
583
|
+
def serialize_on_backpressure(self, value):
|
|
584
|
+
if isinstance(value, str):
|
|
585
|
+
try:
|
|
586
|
+
return models.OutputSecurityLakeBackpressureBehavior(value)
|
|
587
|
+
except ValueError:
|
|
588
|
+
return value
|
|
589
|
+
return value
|
|
590
|
+
|
|
591
|
+
@field_serializer("on_disk_full_backpressure")
|
|
592
|
+
def serialize_on_disk_full_backpressure(self, value):
|
|
593
|
+
if isinstance(value, str):
|
|
594
|
+
try:
|
|
595
|
+
return models.OutputSecurityLakeDiskSpaceProtection(value)
|
|
596
|
+
except ValueError:
|
|
597
|
+
return value
|
|
598
|
+
return value
|
|
599
|
+
|
|
600
|
+
@field_serializer("parquet_version")
|
|
601
|
+
def serialize_parquet_version(self, value):
|
|
602
|
+
if isinstance(value, str):
|
|
603
|
+
try:
|
|
604
|
+
return models.OutputSecurityLakeParquetVersion(value)
|
|
605
|
+
except ValueError:
|
|
606
|
+
return value
|
|
607
|
+
return value
|
|
608
|
+
|
|
609
|
+
@field_serializer("parquet_data_page_version")
|
|
610
|
+
def serialize_parquet_data_page_version(self, value):
|
|
611
|
+
if isinstance(value, str):
|
|
612
|
+
try:
|
|
613
|
+
return models.OutputSecurityLakeDataPageVersion(value)
|
|
614
|
+
except ValueError:
|
|
615
|
+
return value
|
|
616
|
+
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
|
|
@@ -527,3 +528,75 @@ class OutputSentinel(BaseModel):
|
|
|
527
528
|
|
|
528
529
|
stream_name: Annotated[Optional[str], pydantic.Field(alias="streamName")] = None
|
|
529
530
|
r"""The name of the stream (Sentinel table) in which to store the events"""
|
|
531
|
+
|
|
532
|
+
@field_serializer("failed_request_logging_mode")
|
|
533
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
534
|
+
if isinstance(value, str):
|
|
535
|
+
try:
|
|
536
|
+
return models.OutputSentinelFailedRequestLoggingMode(value)
|
|
537
|
+
except ValueError:
|
|
538
|
+
return value
|
|
539
|
+
return value
|
|
540
|
+
|
|
541
|
+
@field_serializer("on_backpressure")
|
|
542
|
+
def serialize_on_backpressure(self, value):
|
|
543
|
+
if isinstance(value, str):
|
|
544
|
+
try:
|
|
545
|
+
return models.OutputSentinelBackpressureBehavior(value)
|
|
546
|
+
except ValueError:
|
|
547
|
+
return value
|
|
548
|
+
return value
|
|
549
|
+
|
|
550
|
+
@field_serializer("auth_type")
|
|
551
|
+
def serialize_auth_type(self, value):
|
|
552
|
+
if isinstance(value, str):
|
|
553
|
+
try:
|
|
554
|
+
return models.AuthType(value)
|
|
555
|
+
except ValueError:
|
|
556
|
+
return value
|
|
557
|
+
return value
|
|
558
|
+
|
|
559
|
+
@field_serializer("endpoint_url_configuration")
|
|
560
|
+
def serialize_endpoint_url_configuration(self, value):
|
|
561
|
+
if isinstance(value, str):
|
|
562
|
+
try:
|
|
563
|
+
return models.EndpointConfiguration(value)
|
|
564
|
+
except ValueError:
|
|
565
|
+
return value
|
|
566
|
+
return value
|
|
567
|
+
|
|
568
|
+
@field_serializer("format_")
|
|
569
|
+
def serialize_format_(self, value):
|
|
570
|
+
if isinstance(value, str):
|
|
571
|
+
try:
|
|
572
|
+
return models.OutputSentinelFormat(value)
|
|
573
|
+
except ValueError:
|
|
574
|
+
return value
|
|
575
|
+
return value
|
|
576
|
+
|
|
577
|
+
@field_serializer("pq_mode")
|
|
578
|
+
def serialize_pq_mode(self, value):
|
|
579
|
+
if isinstance(value, str):
|
|
580
|
+
try:
|
|
581
|
+
return models.OutputSentinelMode(value)
|
|
582
|
+
except ValueError:
|
|
583
|
+
return value
|
|
584
|
+
return value
|
|
585
|
+
|
|
586
|
+
@field_serializer("pq_compress")
|
|
587
|
+
def serialize_pq_compress(self, value):
|
|
588
|
+
if isinstance(value, str):
|
|
589
|
+
try:
|
|
590
|
+
return models.OutputSentinelCompression(value)
|
|
591
|
+
except ValueError:
|
|
592
|
+
return value
|
|
593
|
+
return value
|
|
594
|
+
|
|
595
|
+
@field_serializer("pq_on_backpressure")
|
|
596
|
+
def serialize_pq_on_backpressure(self, value):
|
|
597
|
+
if isinstance(value, str):
|
|
598
|
+
try:
|
|
599
|
+
return models.OutputSentinelQueueFullBehavior(value)
|
|
600
|
+
except ValueError:
|
|
601
|
+
return value
|
|
602
|
+
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
|
|
@@ -542,3 +543,75 @@ class OutputSentinelOneAiSiem(BaseModel):
|
|
|
542
543
|
pq_controls: Annotated[
|
|
543
544
|
Optional[OutputSentinelOneAiSiemPqControls], pydantic.Field(alias="pqControls")
|
|
544
545
|
] = None
|
|
546
|
+
|
|
547
|
+
@field_serializer("region")
|
|
548
|
+
def serialize_region(self, value):
|
|
549
|
+
if isinstance(value, str):
|
|
550
|
+
try:
|
|
551
|
+
return models.OutputSentinelOneAiSiemRegion(value)
|
|
552
|
+
except ValueError:
|
|
553
|
+
return value
|
|
554
|
+
return value
|
|
555
|
+
|
|
556
|
+
@field_serializer("endpoint")
|
|
557
|
+
def serialize_endpoint(self, value):
|
|
558
|
+
if isinstance(value, str):
|
|
559
|
+
try:
|
|
560
|
+
return models.AISIEMEndpointPath(value)
|
|
561
|
+
except ValueError:
|
|
562
|
+
return value
|
|
563
|
+
return value
|
|
564
|
+
|
|
565
|
+
@field_serializer("failed_request_logging_mode")
|
|
566
|
+
def serialize_failed_request_logging_mode(self, value):
|
|
567
|
+
if isinstance(value, str):
|
|
568
|
+
try:
|
|
569
|
+
return models.OutputSentinelOneAiSiemFailedRequestLoggingMode(value)
|
|
570
|
+
except ValueError:
|
|
571
|
+
return value
|
|
572
|
+
return value
|
|
573
|
+
|
|
574
|
+
@field_serializer("auth_type")
|
|
575
|
+
def serialize_auth_type(self, value):
|
|
576
|
+
if isinstance(value, str):
|
|
577
|
+
try:
|
|
578
|
+
return models.OutputSentinelOneAiSiemAuthenticationMethod(value)
|
|
579
|
+
except ValueError:
|
|
580
|
+
return value
|
|
581
|
+
return value
|
|
582
|
+
|
|
583
|
+
@field_serializer("on_backpressure")
|
|
584
|
+
def serialize_on_backpressure(self, value):
|
|
585
|
+
if isinstance(value, str):
|
|
586
|
+
try:
|
|
587
|
+
return models.OutputSentinelOneAiSiemBackpressureBehavior(value)
|
|
588
|
+
except ValueError:
|
|
589
|
+
return value
|
|
590
|
+
return value
|
|
591
|
+
|
|
592
|
+
@field_serializer("pq_mode")
|
|
593
|
+
def serialize_pq_mode(self, value):
|
|
594
|
+
if isinstance(value, str):
|
|
595
|
+
try:
|
|
596
|
+
return models.OutputSentinelOneAiSiemMode(value)
|
|
597
|
+
except ValueError:
|
|
598
|
+
return value
|
|
599
|
+
return value
|
|
600
|
+
|
|
601
|
+
@field_serializer("pq_compress")
|
|
602
|
+
def serialize_pq_compress(self, value):
|
|
603
|
+
if isinstance(value, str):
|
|
604
|
+
try:
|
|
605
|
+
return models.OutputSentinelOneAiSiemCompression(value)
|
|
606
|
+
except ValueError:
|
|
607
|
+
return value
|
|
608
|
+
return value
|
|
609
|
+
|
|
610
|
+
@field_serializer("pq_on_backpressure")
|
|
611
|
+
def serialize_pq_on_backpressure(self, value):
|
|
612
|
+
if isinstance(value, str):
|
|
613
|
+
try:
|
|
614
|
+
return models.OutputSentinelOneAiSiemQueueFullBehavior(value)
|
|
615
|
+
except ValueError:
|
|
616
|
+
return value
|
|
617
|
+
return value
|