cribl-control-plane 0.2.1rc6__py3-none-any.whl → 0.3.0a1__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.

Files changed (157) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/errors/__init__.py +5 -8
  3. cribl_control_plane/errors/{healthserverstatus_error.py → healthstatus_error.py} +9 -10
  4. cribl_control_plane/groups_sdk.py +30 -54
  5. cribl_control_plane/health.py +16 -22
  6. cribl_control_plane/models/__init__.py +50 -103
  7. cribl_control_plane/models/appmode.py +14 -0
  8. cribl_control_plane/models/authtoken.py +1 -5
  9. cribl_control_plane/models/configgroup.py +6 -35
  10. cribl_control_plane/models/createconfiggroupbyproductop.py +7 -8
  11. cribl_control_plane/models/createroutesappendbyidop.py +2 -2
  12. cribl_control_plane/models/createversionundoop.py +3 -3
  13. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  14. cribl_control_plane/models/distributedsummary.py +0 -6
  15. cribl_control_plane/models/error.py +16 -0
  16. cribl_control_plane/models/gethealthinfoop.py +17 -0
  17. cribl_control_plane/models/hbcriblinfo.py +3 -14
  18. cribl_control_plane/models/{healthserverstatus.py → healthstatus.py} +7 -7
  19. cribl_control_plane/models/heartbeatmetadata.py +0 -3
  20. cribl_control_plane/models/input.py +63 -65
  21. cribl_control_plane/models/inputappscope.py +0 -4
  22. cribl_control_plane/models/inputazureblob.py +0 -4
  23. cribl_control_plane/models/inputcollection.py +0 -4
  24. cribl_control_plane/models/inputconfluentcloud.py +18 -8
  25. cribl_control_plane/models/inputcribl.py +0 -4
  26. cribl_control_plane/models/inputcriblhttp.py +0 -4
  27. cribl_control_plane/models/inputcribllakehttp.py +0 -4
  28. cribl_control_plane/models/inputcriblmetrics.py +0 -4
  29. cribl_control_plane/models/inputcribltcp.py +0 -4
  30. cribl_control_plane/models/inputcrowdstrike.py +0 -7
  31. cribl_control_plane/models/inputdatadogagent.py +0 -4
  32. cribl_control_plane/models/inputdatagen.py +0 -4
  33. cribl_control_plane/models/inputedgeprometheus.py +0 -12
  34. cribl_control_plane/models/inputelastic.py +0 -11
  35. cribl_control_plane/models/inputeventhub.py +0 -6
  36. cribl_control_plane/models/inputexec.py +0 -4
  37. cribl_control_plane/models/inputfile.py +0 -6
  38. cribl_control_plane/models/inputfirehose.py +0 -4
  39. cribl_control_plane/models/inputgooglepubsub.py +0 -7
  40. cribl_control_plane/models/inputgrafana.py +0 -8
  41. cribl_control_plane/models/inputhttp.py +0 -4
  42. cribl_control_plane/models/inputhttpraw.py +0 -4
  43. cribl_control_plane/models/inputjournalfiles.py +0 -4
  44. cribl_control_plane/models/inputkafka.py +17 -8
  45. cribl_control_plane/models/inputkinesis.py +0 -15
  46. cribl_control_plane/models/inputkubeevents.py +0 -4
  47. cribl_control_plane/models/inputkubelogs.py +0 -4
  48. cribl_control_plane/models/inputkubemetrics.py +0 -4
  49. cribl_control_plane/models/inputloki.py +0 -4
  50. cribl_control_plane/models/inputmetrics.py +0 -4
  51. cribl_control_plane/models/inputmodeldriventelemetry.py +0 -4
  52. cribl_control_plane/models/inputmsk.py +17 -7
  53. cribl_control_plane/models/inputnetflow.py +0 -4
  54. cribl_control_plane/models/inputoffice365mgmt.py +0 -11
  55. cribl_control_plane/models/inputoffice365msgtrace.py +0 -11
  56. cribl_control_plane/models/inputoffice365service.py +0 -11
  57. cribl_control_plane/models/inputopentelemetry.py +0 -8
  58. cribl_control_plane/models/inputprometheus.py +0 -10
  59. cribl_control_plane/models/inputprometheusrw.py +0 -4
  60. cribl_control_plane/models/inputrawudp.py +0 -4
  61. cribl_control_plane/models/inputs3.py +0 -7
  62. cribl_control_plane/models/inputs3inventory.py +0 -7
  63. cribl_control_plane/models/inputsecuritylake.py +0 -7
  64. cribl_control_plane/models/inputsnmp.py +0 -11
  65. cribl_control_plane/models/inputsplunk.py +0 -9
  66. cribl_control_plane/models/inputsplunkhec.py +0 -4
  67. cribl_control_plane/models/inputsplunksearch.py +0 -7
  68. cribl_control_plane/models/inputsqs.py +0 -9
  69. cribl_control_plane/models/inputsyslog.py +0 -8
  70. cribl_control_plane/models/inputsystemmetrics.py +0 -32
  71. cribl_control_plane/models/inputsystemstate.py +0 -4
  72. cribl_control_plane/models/inputtcp.py +0 -4
  73. cribl_control_plane/models/inputtcpjson.py +0 -4
  74. cribl_control_plane/models/inputwef.py +0 -6
  75. cribl_control_plane/models/inputwindowsmetrics.py +0 -28
  76. cribl_control_plane/models/inputwineventlogs.py +0 -8
  77. cribl_control_plane/models/inputwiz.py +0 -7
  78. cribl_control_plane/models/inputwizwebhook.py +0 -4
  79. cribl_control_plane/models/inputzscalerhec.py +0 -4
  80. cribl_control_plane/models/jobinfo.py +1 -4
  81. cribl_control_plane/models/logininfo.py +3 -3
  82. cribl_control_plane/models/nodeprovidedinfo.py +1 -11
  83. cribl_control_plane/models/output.py +72 -77
  84. cribl_control_plane/models/outputazureblob.py +0 -20
  85. cribl_control_plane/models/outputazuredataexplorer.py +0 -28
  86. cribl_control_plane/models/outputazureeventhub.py +0 -17
  87. cribl_control_plane/models/outputazurelogs.py +0 -13
  88. cribl_control_plane/models/outputchronicle.py +0 -13
  89. cribl_control_plane/models/outputclickhouse.py +0 -17
  90. cribl_control_plane/models/outputcloudwatch.py +0 -13
  91. cribl_control_plane/models/outputconfluentcloud.py +18 -24
  92. cribl_control_plane/models/outputcriblhttp.py +0 -15
  93. cribl_control_plane/models/outputcribllake.py +0 -21
  94. cribl_control_plane/models/outputcribltcp.py +0 -12
  95. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +0 -15
  96. cribl_control_plane/models/outputdatadog.py +0 -30
  97. cribl_control_plane/models/outputdataset.py +0 -23
  98. cribl_control_plane/models/outputdls3.py +0 -35
  99. cribl_control_plane/models/outputdynatracehttp.py +0 -22
  100. cribl_control_plane/models/outputdynatraceotlp.py +0 -22
  101. cribl_control_plane/models/outputelastic.py +0 -18
  102. cribl_control_plane/models/outputelasticcloud.py +0 -13
  103. cribl_control_plane/models/outputexabeam.py +0 -14
  104. cribl_control_plane/models/outputfilesystem.py +0 -15
  105. cribl_control_plane/models/outputgooglechronicle.py +0 -21
  106. cribl_control_plane/models/outputgooglecloudlogging.py +0 -19
  107. cribl_control_plane/models/outputgooglecloudstorage.py +0 -28
  108. cribl_control_plane/models/outputgooglepubsub.py +0 -13
  109. cribl_control_plane/models/outputgrafanacloud.py +0 -50
  110. cribl_control_plane/models/outputgraphite.py +0 -12
  111. cribl_control_plane/models/outputhoneycomb.py +0 -13
  112. cribl_control_plane/models/outputhumiohec.py +0 -15
  113. cribl_control_plane/models/outputinfluxdb.py +0 -19
  114. cribl_control_plane/models/outputkafka.py +17 -24
  115. cribl_control_plane/models/outputkinesis.py +0 -15
  116. cribl_control_plane/models/outputloki.py +0 -20
  117. cribl_control_plane/models/outputminio.py +0 -28
  118. cribl_control_plane/models/outputmsk.py +17 -23
  119. cribl_control_plane/models/outputnewrelic.py +0 -16
  120. cribl_control_plane/models/outputnewrelicevents.py +0 -16
  121. cribl_control_plane/models/outputopentelemetry.py +0 -22
  122. cribl_control_plane/models/outputprometheus.py +0 -13
  123. cribl_control_plane/models/outputring.py +0 -2
  124. cribl_control_plane/models/outputs3.py +0 -35
  125. cribl_control_plane/models/outputsecuritylake.py +0 -29
  126. cribl_control_plane/models/outputsentinel.py +0 -15
  127. cribl_control_plane/models/outputsentineloneaisiem.py +0 -13
  128. cribl_control_plane/models/outputservicenow.py +0 -21
  129. cribl_control_plane/models/outputsignalfx.py +0 -13
  130. cribl_control_plane/models/outputsns.py +0 -13
  131. cribl_control_plane/models/outputsplunk.py +0 -15
  132. cribl_control_plane/models/outputsplunkhec.py +0 -13
  133. cribl_control_plane/models/outputsplunklb.py +0 -15
  134. cribl_control_plane/models/outputsqs.py +0 -15
  135. cribl_control_plane/models/outputstatsd.py +0 -12
  136. cribl_control_plane/models/outputstatsdext.py +0 -12
  137. cribl_control_plane/models/outputsumologic.py +0 -15
  138. cribl_control_plane/models/outputsyslog.py +0 -24
  139. cribl_control_plane/models/outputtcpjson.py +0 -12
  140. cribl_control_plane/models/outputwavefront.py +0 -13
  141. cribl_control_plane/models/outputwebhook.py +0 -23
  142. cribl_control_plane/models/outputxsiam.py +0 -13
  143. cribl_control_plane/models/packinfo.py +5 -8
  144. cribl_control_plane/models/packinstallinfo.py +5 -8
  145. cribl_control_plane/models/{uploadpackresponse.py → routecloneconf.py} +4 -4
  146. cribl_control_plane/models/routeconf.py +4 -3
  147. cribl_control_plane/models/runnablejobcollection.py +0 -4
  148. cribl_control_plane/packs.py +7 -202
  149. cribl_control_plane/routes_sdk.py +6 -6
  150. cribl_control_plane/tokens.py +15 -23
  151. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/METADATA +9 -50
  152. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/RECORD +153 -154
  153. cribl_control_plane/models/groupcreaterequest.py +0 -152
  154. cribl_control_plane/models/outpostnodeinfo.py +0 -16
  155. cribl_control_plane/models/outputdatabricks.py +0 -411
  156. cribl_control_plane/models/updatepacksop.py +0 -25
  157. {cribl_control_plane-0.2.1rc6.dist-info → cribl_control_plane-0.3.0a1.dist-info}/WHEEL +0 -0
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
  from cribl_control_plane.types import BaseModel
5
5
  from cribl_control_plane.utils import FieldMetadata, QueryParamMetadata
6
6
  import pydantic
7
- from typing import Any, Dict, List, Optional
7
+ from typing import List, Optional
8
8
  from typing_extensions import Annotated, NotRequired, TypedDict
9
9
 
10
10
 
@@ -27,7 +27,7 @@ class CreateVersionUndoResponseTypedDict(TypedDict):
27
27
 
28
28
  count: NotRequired[int]
29
29
  r"""number of items present in the items array"""
30
- items: NotRequired[List[Dict[str, Any]]]
30
+ items: NotRequired[List[str]]
31
31
 
32
32
 
33
33
  class CreateVersionUndoResponse(BaseModel):
@@ -36,4 +36,4 @@ class CreateVersionUndoResponse(BaseModel):
36
36
  count: Optional[int] = None
37
37
  r"""number of items present in the items array"""
38
38
 
39
- items: Optional[List[Dict[str, Any]]] = None
39
+ items: Optional[List[str]] = None
@@ -20,7 +20,7 @@ class DeleteOutputPqByIDRequest(BaseModel):
20
20
 
21
21
 
22
22
  class DeleteOutputPqByIDResponseTypedDict(TypedDict):
23
- r"""A list of job ids for the background job that clears the persistent queue"""
23
+ r"""a list of string objects"""
24
24
 
25
25
  count: NotRequired[int]
26
26
  r"""number of items present in the items array"""
@@ -28,7 +28,7 @@ class DeleteOutputPqByIDResponseTypedDict(TypedDict):
28
28
 
29
29
 
30
30
  class DeleteOutputPqByIDResponse(BaseModel):
31
- r"""A list of job ids for the background job that clears the persistent queue"""
31
+ r"""a list of string objects"""
32
32
 
33
33
  count: Optional[int] = None
34
34
  r"""number of items present in the items array"""
@@ -9,9 +9,7 @@ from typing_extensions import Annotated, TypedDict
9
9
  class DistributedSummaryGroupsTypedDict(TypedDict):
10
10
  count: float
11
11
  destinations: float
12
- packs: float
13
12
  pipelines: float
14
- quick_connects: float
15
13
  routes: float
16
14
  sources: float
17
15
 
@@ -21,12 +19,8 @@ class DistributedSummaryGroups(BaseModel):
21
19
 
22
20
  destinations: float
23
21
 
24
- packs: float
25
-
26
22
  pipelines: float
27
23
 
28
- quick_connects: Annotated[float, pydantic.Field(alias="quickConnects")]
29
-
30
24
  routes: float
31
25
 
32
26
  sources: float
@@ -0,0 +1,16 @@
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
+ from typing import Optional
6
+ from typing_extensions import NotRequired, TypedDict
7
+
8
+
9
+ class ErrorTypedDict(TypedDict):
10
+ message: NotRequired[str]
11
+ r"""Error message"""
12
+
13
+
14
+ class Error(BaseModel):
15
+ message: Optional[str] = None
16
+ r"""Error message"""
@@ -0,0 +1,17 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .error import Error, ErrorTypedDict
5
+ from .healthstatus import HealthStatus, HealthStatusTypedDict
6
+ from typing import Union
7
+ from typing_extensions import TypeAliasType
8
+
9
+
10
+ GetHealthInfoResponseTypedDict = TypeAliasType(
11
+ "GetHealthInfoResponseTypedDict", Union[ErrorTypedDict, HealthStatusTypedDict]
12
+ )
13
+
14
+
15
+ GetHealthInfoResponse = TypeAliasType(
16
+ "GetHealthInfoResponse", Union[Error, HealthStatus]
17
+ )
@@ -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 .appmode import AppMode
4
5
  from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
5
6
  from .lookupversions import LookupVersions, LookupVersionsTypedDict
6
- from cribl_control_plane import utils
7
7
  from cribl_control_plane.types import BaseModel
8
8
  from cribl_control_plane.utils import validate_open_enum
9
- from enum import Enum
10
9
  import pydantic
11
10
  from pydantic.functional_validators import PlainValidator
12
11
  from typing import List, Optional
@@ -37,19 +36,9 @@ class Config(BaseModel):
37
36
  version: Optional[str] = None
38
37
 
39
38
 
40
- class DistMode(str, Enum, metaclass=utils.OpenEnumMeta):
41
- EDGE = "edge"
42
- WORKER = "worker"
43
- SINGLE = "single"
44
- MASTER = "master"
45
- MANAGED_EDGE = "managed-edge"
46
- OUTPOST = "outpost"
47
- SEARCH_SUPERVISOR = "search-supervisor"
48
-
49
-
50
39
  class HBCriblInfoTypedDict(TypedDict):
51
40
  config: ConfigTypedDict
52
- dist_mode: DistMode
41
+ dist_mode: AppMode
53
42
  group: str
54
43
  guid: str
55
44
  start_time: float
@@ -69,7 +58,7 @@ class HBCriblInfo(BaseModel):
69
58
  config: Config
70
59
 
71
60
  dist_mode: Annotated[
72
- Annotated[DistMode, PlainValidator(validate_open_enum(False))],
61
+ Annotated[AppMode, PlainValidator(validate_open_enum(False))],
73
62
  pydantic.Field(alias="distMode"),
74
63
  ]
75
64
 
@@ -12,25 +12,25 @@ from typing_extensions import Annotated, NotRequired, TypedDict
12
12
 
13
13
 
14
14
  class Role(str, Enum, metaclass=utils.OpenEnumMeta):
15
- STANDBY = "standby"
16
15
  PRIMARY = "primary"
16
+ STANDBY = "standby"
17
17
 
18
18
 
19
19
  class Status(str, Enum, metaclass=utils.OpenEnumMeta):
20
- SHUTTING_DOWN = "shutting down"
21
20
  HEALTHY = "healthy"
21
+ SHUTTING_DOWN = "shutting down"
22
22
  STANDBY = "standby"
23
23
 
24
24
 
25
- class HealthServerStatusTypedDict(TypedDict):
26
- start_time: float
25
+ class HealthStatusTypedDict(TypedDict):
27
26
  status: Status
27
+ start_time: float
28
28
  role: NotRequired[Role]
29
29
 
30
30
 
31
- class HealthServerStatus(BaseModel):
32
- start_time: Annotated[float, pydantic.Field(alias="startTime")]
33
-
31
+ class HealthStatus(BaseModel):
34
32
  status: Annotated[Status, PlainValidator(validate_open_enum(False))]
35
33
 
34
+ start_time: Annotated[float, pydantic.Field(alias="startTime")]
35
+
36
36
  role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
@@ -17,7 +17,6 @@ class HeartbeatMetadataTags(BaseModel):
17
17
 
18
18
  class HeartbeatMetadataAwsTypedDict(TypedDict):
19
19
  enabled: bool
20
- instance_id: str
21
20
  region: str
22
21
  type: str
23
22
  zone: str
@@ -27,8 +26,6 @@ class HeartbeatMetadataAwsTypedDict(TypedDict):
27
26
  class HeartbeatMetadataAws(BaseModel):
28
27
  enabled: bool
29
28
 
30
- instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
31
-
32
29
  region: str
33
30
 
34
31
  type: str
@@ -66,10 +66,8 @@ from .inputwineventlogs import InputWinEventLogs, InputWinEventLogsTypedDict
66
66
  from .inputwiz import InputWiz, InputWizTypedDict
67
67
  from .inputwizwebhook import InputWizWebhook, InputWizWebhookTypedDict
68
68
  from .inputzscalerhec import InputZscalerHec, InputZscalerHecTypedDict
69
- from cribl_control_plane.utils import get_discriminator
70
- from pydantic import Discriminator, Tag
71
69
  from typing import Union
72
- from typing_extensions import Annotated, TypeAliasType
70
+ from typing_extensions import TypeAliasType
73
71
 
74
72
 
75
73
  InputTypedDict = TypeAliasType(
@@ -138,67 +136,67 @@ InputTypedDict = TypeAliasType(
138
136
  )
139
137
 
140
138
 
141
- Input = Annotated[
139
+ Input = TypeAliasType(
140
+ "Input",
142
141
  Union[
143
- Annotated[InputCollection, Tag("collection")],
144
- Annotated[InputKafka, Tag("kafka")],
145
- Annotated[InputMsk, Tag("msk")],
146
- Annotated[InputHTTP, Tag("http")],
147
- Annotated[InputSplunk, Tag("splunk")],
148
- Annotated[InputSplunkSearch, Tag("splunk_search")],
149
- Annotated[InputSplunkHec, Tag("splunk_hec")],
150
- Annotated[InputAzureBlob, Tag("azure_blob")],
151
- Annotated[InputElastic, Tag("elastic")],
152
- Annotated[InputConfluentCloud, Tag("confluent_cloud")],
153
- Annotated[InputGrafana, Tag("grafana")],
154
- Annotated[InputLoki, Tag("loki")],
155
- Annotated[InputPrometheusRw, Tag("prometheus_rw")],
156
- Annotated[InputPrometheus, Tag("prometheus")],
157
- Annotated[InputEdgePrometheus, Tag("edge_prometheus")],
158
- Annotated[InputOffice365Mgmt, Tag("office365_mgmt")],
159
- Annotated[InputOffice365Service, Tag("office365_service")],
160
- Annotated[InputOffice365MsgTrace, Tag("office365_msg_trace")],
161
- Annotated[InputEventhub, Tag("eventhub")],
162
- Annotated[InputExec, Tag("exec")],
163
- Annotated[InputFirehose, Tag("firehose")],
164
- Annotated[InputGooglePubsub, Tag("google_pubsub")],
165
- Annotated[InputCribl, Tag("cribl")],
166
- Annotated[InputCriblTCP, Tag("cribl_tcp")],
167
- Annotated[InputCriblHTTP, Tag("cribl_http")],
168
- Annotated[InputCriblLakeHTTP, Tag("cribl_lake_http")],
169
- Annotated[InputTcpjson, Tag("tcpjson")],
170
- Annotated[InputSystemMetrics, Tag("system_metrics")],
171
- Annotated[InputSystemState, Tag("system_state")],
172
- Annotated[InputKubeMetrics, Tag("kube_metrics")],
173
- Annotated[InputKubeLogs, Tag("kube_logs")],
174
- Annotated[InputKubeEvents, Tag("kube_events")],
175
- Annotated[InputWindowsMetrics, Tag("windows_metrics")],
176
- Annotated[InputCrowdstrike, Tag("crowdstrike")],
177
- Annotated[InputDatadogAgent, Tag("datadog_agent")],
178
- Annotated[InputDatagen, Tag("datagen")],
179
- Annotated[InputHTTPRaw, Tag("http_raw")],
180
- Annotated[InputKinesis, Tag("kinesis")],
181
- Annotated[InputCriblmetrics, Tag("criblmetrics")],
182
- Annotated[InputMetrics, Tag("metrics")],
183
- Annotated[InputS3, Tag("s3")],
184
- Annotated[InputS3Inventory, Tag("s3_inventory")],
185
- Annotated[InputSnmp, Tag("snmp")],
186
- Annotated[InputOpenTelemetry, Tag("open_telemetry")],
187
- Annotated[InputModelDrivenTelemetry, Tag("model_driven_telemetry")],
188
- Annotated[InputSqs, Tag("sqs")],
189
- Annotated[InputSyslog, Tag("syslog")],
190
- Annotated[InputFile, Tag("file")],
191
- Annotated[InputTCP, Tag("tcp")],
192
- Annotated[InputAppscope, Tag("appscope")],
193
- Annotated[InputWef, Tag("wef")],
194
- Annotated[InputWinEventLogs, Tag("win_event_logs")],
195
- Annotated[InputRawUDP, Tag("raw_udp")],
196
- Annotated[InputJournalFiles, Tag("journal_files")],
197
- Annotated[InputWiz, Tag("wiz")],
198
- Annotated[InputWizWebhook, Tag("wiz_webhook")],
199
- Annotated[InputNetflow, Tag("netflow")],
200
- Annotated[InputSecurityLake, Tag("security_lake")],
201
- Annotated[InputZscalerHec, Tag("zscaler_hec")],
142
+ InputDatagen,
143
+ InputKubeEvents,
144
+ InputCribl,
145
+ InputCriblmetrics,
146
+ InputKubeMetrics,
147
+ InputCollection,
148
+ InputSystemState,
149
+ InputModelDrivenTelemetry,
150
+ InputSystemMetrics,
151
+ InputWindowsMetrics,
152
+ InputJournalFiles,
153
+ InputWinEventLogs,
154
+ InputRawUDP,
155
+ InputExec,
156
+ InputKubeLogs,
157
+ InputMetrics,
158
+ InputSnmp,
159
+ InputCriblTCP,
160
+ InputNetflow,
161
+ InputTcpjson,
162
+ InputGooglePubsub,
163
+ InputOffice365Service,
164
+ InputWiz,
165
+ InputTCP,
166
+ InputFirehose,
167
+ InputCriblHTTP,
168
+ InputDatadogAgent,
169
+ InputOffice365Mgmt,
170
+ InputFile,
171
+ InputSplunk,
172
+ InputWef,
173
+ InputAppscope,
174
+ InputHTTPRaw,
175
+ InputWizWebhook,
176
+ InputHTTP,
177
+ InputCriblLakeHTTP,
178
+ InputAzureBlob,
179
+ InputSqs,
180
+ InputZscalerHec,
181
+ InputKinesis,
182
+ InputConfluentCloud,
183
+ InputEventhub,
184
+ InputKafka,
185
+ InputElastic,
186
+ InputOffice365MsgTrace,
187
+ InputSplunkHec,
188
+ InputLoki,
189
+ InputPrometheusRw,
190
+ InputPrometheus,
191
+ InputCrowdstrike,
192
+ InputEdgePrometheus,
193
+ InputOpenTelemetry,
194
+ InputS3,
195
+ InputSecurityLake,
196
+ InputMsk,
197
+ InputS3Inventory,
198
+ InputSplunkSearch,
199
+ InputSyslog,
200
+ InputGrafana,
202
201
  ],
203
- Discriminator(lambda m: get_discriminator(m, "type", "type")),
204
- ]
202
+ )
@@ -29,18 +29,14 @@ class InputAppscopeConnection(BaseModel):
29
29
  class InputAppscopeMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputAppscopeCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputAzureBlobConnection(BaseModel):
29
29
  class InputAzureBlobMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCollectionConnection(BaseModel):
29
29
  class InputCollectionMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCollectionCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputConfluentCloudConnection(BaseModel):
29
29
  class InputConfluentCloudMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputConfluentCloudCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -191,6 +187,13 @@ class InputConfluentCloudTLSSettingsClientSide(BaseModel):
191
187
  ] = None
192
188
 
193
189
 
190
+ class InputConfluentCloudSchemaType(str, Enum, metaclass=utils.OpenEnumMeta):
191
+ r"""The schema format used to encode and decode event data"""
192
+
193
+ AVRO = "avro"
194
+ JSON = "json"
195
+
196
+
194
197
  class InputConfluentCloudAuthTypedDict(TypedDict):
195
198
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
196
199
 
@@ -301,6 +304,8 @@ class InputConfluentCloudKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
301
304
  disabled: NotRequired[bool]
302
305
  schema_registry_url: NotRequired[str]
303
306
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
307
+ schema_type: NotRequired[InputConfluentCloudSchemaType]
308
+ r"""The schema format used to encode and decode event data"""
304
309
  connection_timeout: NotRequired[float]
305
310
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
306
311
  request_timeout: NotRequired[float]
@@ -322,6 +327,15 @@ class InputConfluentCloudKafkaSchemaRegistryAuthentication(BaseModel):
322
327
  ] = "http://localhost:8081"
323
328
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
324
329
 
330
+ schema_type: Annotated[
331
+ Annotated[
332
+ Optional[InputConfluentCloudSchemaType],
333
+ PlainValidator(validate_open_enum(False)),
334
+ ],
335
+ pydantic.Field(alias="schemaType"),
336
+ ] = InputConfluentCloudSchemaType.AVRO
337
+ r"""The schema format used to encode and decode event data"""
338
+
325
339
  connection_timeout: Annotated[
326
340
  Optional[float], pydantic.Field(alias="connectionTimeout")
327
341
  ] = 30000
@@ -342,13 +356,9 @@ class InputConfluentCloudKafkaSchemaRegistryAuthentication(BaseModel):
342
356
 
343
357
 
344
358
  class InputConfluentCloudSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
345
- # PLAIN
346
359
  PLAIN = "plain"
347
- # SCRAM-SHA-256
348
360
  SCRAM_SHA_256 = "scram-sha-256"
349
- # SCRAM-SHA-512
350
361
  SCRAM_SHA_512 = "scram-sha-512"
351
- # GSSAPI/Kerberos
352
362
  KERBEROS = "kerberos"
353
363
 
354
364
 
@@ -29,18 +29,14 @@ class InputCriblConnection(BaseModel):
29
29
  class InputCriblMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCriblCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCriblHTTPConnection(BaseModel):
29
29
  class InputCriblHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCriblHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCriblLakeHTTPConnection(BaseModel):
29
29
  class InputCriblLakeHTTPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCriblLakeHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCriblmetricsConnection(BaseModel):
29
29
  class InputCriblmetricsMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCriblmetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCriblTCPConnection(BaseModel):
29
29
  class InputCriblTCPMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCriblTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputCrowdstrikeConnection(BaseModel):
29
29
  class InputCrowdstrikeMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputCrowdstrikeCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -110,11 +106,8 @@ class InputCrowdstrikePq(BaseModel):
110
106
  class InputCrowdstrikeAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""AWS authentication method. Choose Auto to use IAM roles."""
112
108
 
113
- # Auto
114
109
  AUTO = "auto"
115
- # Manual
116
110
  MANUAL = "manual"
117
- # Secret Key pair
118
111
  SECRET = "secret"
119
112
 
120
113
 
@@ -29,18 +29,14 @@ class InputDatadogAgentConnection(BaseModel):
29
29
  class InputDatadogAgentMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputDatadogAgentCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42
 
@@ -29,18 +29,14 @@ class InputDatagenConnection(BaseModel):
29
29
  class InputDatagenMode(str, Enum, metaclass=utils.OpenEnumMeta):
30
30
  r"""With Smart mode, PQ will write events to the filesystem only when it detects backpressure from the processing engine. With Always On mode, PQ will always write events directly to the queue before forwarding them to the processing engine."""
31
31
 
32
- # Smart
33
32
  SMART = "smart"
34
- # Always On
35
33
  ALWAYS = "always"
36
34
 
37
35
 
38
36
  class InputDatagenCompression(str, Enum, metaclass=utils.OpenEnumMeta):
39
37
  r"""Codec to use to compress the persisted data"""
40
38
 
41
- # None
42
39
  NONE = "none"
43
- # Gzip
44
40
  GZIP = "gzip"
45
41
 
46
42