cribl-control-plane 0.2.1__py3-none-any.whl → 0.2.1rc2__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 +3 -5
  2. cribl_control_plane/errors/__init__.py +8 -5
  3. cribl_control_plane/errors/{healthstatus_error.py → healthserverstatus_error.py} +10 -9
  4. cribl_control_plane/groups_sdk.py +52 -28
  5. cribl_control_plane/health.py +22 -16
  6. cribl_control_plane/models/__init__.py +103 -50
  7. cribl_control_plane/models/authtoken.py +5 -1
  8. cribl_control_plane/models/configgroup.py +35 -6
  9. cribl_control_plane/models/createconfiggroupbyproductop.py +6 -5
  10. cribl_control_plane/models/createroutesappendbyidop.py +2 -2
  11. cribl_control_plane/models/createversionundoop.py +3 -3
  12. cribl_control_plane/models/deleteoutputpqbyidop.py +2 -2
  13. cribl_control_plane/models/distributedsummary.py +6 -0
  14. cribl_control_plane/models/groupcreaterequest.py +152 -0
  15. cribl_control_plane/models/hbcriblinfo.py +14 -3
  16. cribl_control_plane/models/{healthstatus.py → healthserverstatus.py} +7 -7
  17. cribl_control_plane/models/heartbeatmetadata.py +3 -0
  18. cribl_control_plane/models/input.py +65 -63
  19. cribl_control_plane/models/inputappscope.py +4 -0
  20. cribl_control_plane/models/inputazureblob.py +4 -0
  21. cribl_control_plane/models/inputcollection.py +4 -0
  22. cribl_control_plane/models/inputconfluentcloud.py +8 -18
  23. cribl_control_plane/models/inputcribl.py +4 -0
  24. cribl_control_plane/models/inputcriblhttp.py +4 -0
  25. cribl_control_plane/models/inputcribllakehttp.py +4 -0
  26. cribl_control_plane/models/inputcriblmetrics.py +4 -0
  27. cribl_control_plane/models/inputcribltcp.py +4 -0
  28. cribl_control_plane/models/inputcrowdstrike.py +7 -0
  29. cribl_control_plane/models/inputdatadogagent.py +4 -0
  30. cribl_control_plane/models/inputdatagen.py +4 -0
  31. cribl_control_plane/models/inputedgeprometheus.py +12 -0
  32. cribl_control_plane/models/inputelastic.py +11 -0
  33. cribl_control_plane/models/inputeventhub.py +6 -0
  34. cribl_control_plane/models/inputexec.py +4 -0
  35. cribl_control_plane/models/inputfile.py +6 -0
  36. cribl_control_plane/models/inputfirehose.py +4 -0
  37. cribl_control_plane/models/inputgooglepubsub.py +7 -0
  38. cribl_control_plane/models/inputgrafana.py +8 -0
  39. cribl_control_plane/models/inputhttp.py +4 -0
  40. cribl_control_plane/models/inputhttpraw.py +4 -0
  41. cribl_control_plane/models/inputjournalfiles.py +4 -0
  42. cribl_control_plane/models/inputkafka.py +8 -17
  43. cribl_control_plane/models/inputkinesis.py +15 -0
  44. cribl_control_plane/models/inputkubeevents.py +4 -0
  45. cribl_control_plane/models/inputkubelogs.py +4 -0
  46. cribl_control_plane/models/inputkubemetrics.py +4 -0
  47. cribl_control_plane/models/inputloki.py +4 -0
  48. cribl_control_plane/models/inputmetrics.py +4 -0
  49. cribl_control_plane/models/inputmodeldriventelemetry.py +4 -0
  50. cribl_control_plane/models/inputmsk.py +7 -17
  51. cribl_control_plane/models/inputnetflow.py +4 -0
  52. cribl_control_plane/models/inputoffice365mgmt.py +11 -0
  53. cribl_control_plane/models/inputoffice365msgtrace.py +11 -0
  54. cribl_control_plane/models/inputoffice365service.py +11 -0
  55. cribl_control_plane/models/inputopentelemetry.py +8 -0
  56. cribl_control_plane/models/inputprometheus.py +10 -0
  57. cribl_control_plane/models/inputprometheusrw.py +4 -0
  58. cribl_control_plane/models/inputrawudp.py +4 -0
  59. cribl_control_plane/models/inputs3.py +7 -0
  60. cribl_control_plane/models/inputs3inventory.py +7 -0
  61. cribl_control_plane/models/inputsecuritylake.py +7 -0
  62. cribl_control_plane/models/inputsnmp.py +11 -0
  63. cribl_control_plane/models/inputsplunk.py +9 -0
  64. cribl_control_plane/models/inputsplunkhec.py +4 -0
  65. cribl_control_plane/models/inputsplunksearch.py +7 -0
  66. cribl_control_plane/models/inputsqs.py +9 -0
  67. cribl_control_plane/models/inputsyslog.py +8 -0
  68. cribl_control_plane/models/inputsystemmetrics.py +32 -0
  69. cribl_control_plane/models/inputsystemstate.py +4 -0
  70. cribl_control_plane/models/inputtcp.py +4 -0
  71. cribl_control_plane/models/inputtcpjson.py +4 -0
  72. cribl_control_plane/models/inputwef.py +6 -0
  73. cribl_control_plane/models/inputwindowsmetrics.py +28 -0
  74. cribl_control_plane/models/inputwineventlogs.py +8 -0
  75. cribl_control_plane/models/inputwiz.py +7 -0
  76. cribl_control_plane/models/inputwizwebhook.py +4 -0
  77. cribl_control_plane/models/inputzscalerhec.py +4 -0
  78. cribl_control_plane/models/jobinfo.py +4 -1
  79. cribl_control_plane/models/logininfo.py +3 -3
  80. cribl_control_plane/models/nodeprovidedinfo.py +11 -1
  81. cribl_control_plane/models/outpostnodeinfo.py +16 -0
  82. cribl_control_plane/models/output.py +77 -72
  83. cribl_control_plane/models/outputazureblob.py +20 -0
  84. cribl_control_plane/models/outputazuredataexplorer.py +28 -0
  85. cribl_control_plane/models/outputazureeventhub.py +17 -0
  86. cribl_control_plane/models/outputazurelogs.py +13 -0
  87. cribl_control_plane/models/outputchronicle.py +13 -0
  88. cribl_control_plane/models/outputclickhouse.py +17 -0
  89. cribl_control_plane/models/outputcloudwatch.py +13 -0
  90. cribl_control_plane/models/outputconfluentcloud.py +24 -18
  91. cribl_control_plane/models/outputcriblhttp.py +15 -0
  92. cribl_control_plane/models/outputcribllake.py +21 -0
  93. cribl_control_plane/models/outputcribltcp.py +12 -0
  94. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +15 -0
  95. cribl_control_plane/models/outputdatabricks.py +411 -0
  96. cribl_control_plane/models/outputdatadog.py +30 -0
  97. cribl_control_plane/models/outputdataset.py +23 -0
  98. cribl_control_plane/models/outputdls3.py +35 -0
  99. cribl_control_plane/models/outputdynatracehttp.py +22 -0
  100. cribl_control_plane/models/outputdynatraceotlp.py +22 -0
  101. cribl_control_plane/models/outputelastic.py +18 -0
  102. cribl_control_plane/models/outputelasticcloud.py +13 -0
  103. cribl_control_plane/models/outputexabeam.py +14 -0
  104. cribl_control_plane/models/outputfilesystem.py +15 -0
  105. cribl_control_plane/models/outputgooglechronicle.py +21 -0
  106. cribl_control_plane/models/outputgooglecloudlogging.py +19 -0
  107. cribl_control_plane/models/outputgooglecloudstorage.py +28 -0
  108. cribl_control_plane/models/outputgooglepubsub.py +13 -0
  109. cribl_control_plane/models/outputgrafanacloud.py +50 -0
  110. cribl_control_plane/models/outputgraphite.py +12 -0
  111. cribl_control_plane/models/outputhoneycomb.py +13 -0
  112. cribl_control_plane/models/outputhumiohec.py +15 -0
  113. cribl_control_plane/models/outputinfluxdb.py +19 -0
  114. cribl_control_plane/models/outputkafka.py +24 -17
  115. cribl_control_plane/models/outputkinesis.py +15 -0
  116. cribl_control_plane/models/outputloki.py +20 -0
  117. cribl_control_plane/models/outputminio.py +28 -0
  118. cribl_control_plane/models/outputmsk.py +23 -17
  119. cribl_control_plane/models/outputnewrelic.py +16 -0
  120. cribl_control_plane/models/outputnewrelicevents.py +16 -0
  121. cribl_control_plane/models/outputopentelemetry.py +22 -0
  122. cribl_control_plane/models/outputprometheus.py +13 -0
  123. cribl_control_plane/models/outputring.py +2 -0
  124. cribl_control_plane/models/outputs3.py +35 -0
  125. cribl_control_plane/models/outputsecuritylake.py +29 -0
  126. cribl_control_plane/models/outputsentinel.py +15 -0
  127. cribl_control_plane/models/outputsentineloneaisiem.py +13 -0
  128. cribl_control_plane/models/outputservicenow.py +21 -0
  129. cribl_control_plane/models/outputsignalfx.py +13 -0
  130. cribl_control_plane/models/outputsns.py +13 -0
  131. cribl_control_plane/models/outputsplunk.py +15 -0
  132. cribl_control_plane/models/outputsplunkhec.py +13 -0
  133. cribl_control_plane/models/outputsplunklb.py +15 -0
  134. cribl_control_plane/models/outputsqs.py +15 -0
  135. cribl_control_plane/models/outputstatsd.py +12 -0
  136. cribl_control_plane/models/outputstatsdext.py +12 -0
  137. cribl_control_plane/models/outputsumologic.py +15 -0
  138. cribl_control_plane/models/outputsyslog.py +24 -0
  139. cribl_control_plane/models/outputtcpjson.py +12 -0
  140. cribl_control_plane/models/outputwavefront.py +13 -0
  141. cribl_control_plane/models/outputwebhook.py +23 -0
  142. cribl_control_plane/models/outputxsiam.py +13 -0
  143. cribl_control_plane/models/packinfo.py +8 -5
  144. cribl_control_plane/models/packinstallinfo.py +8 -5
  145. cribl_control_plane/models/routeconf.py +3 -4
  146. cribl_control_plane/models/runnablejobcollection.py +4 -0
  147. cribl_control_plane/models/updatepacksop.py +25 -0
  148. cribl_control_plane/models/{routecloneconf.py → uploadpackresponse.py} +4 -4
  149. cribl_control_plane/packs.py +202 -7
  150. cribl_control_plane/routes_sdk.py +6 -6
  151. cribl_control_plane/tokens.py +23 -15
  152. {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/METADATA +37 -5
  153. {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/RECORD +154 -153
  154. cribl_control_plane/models/appmode.py +0 -14
  155. cribl_control_plane/models/error.py +0 -16
  156. cribl_control_plane/models/gethealthinfoop.py +0 -17
  157. {cribl_control_plane-0.2.1.dist-info → cribl_control_plane-0.2.1rc2.dist-info}/WHEEL +0 -0
@@ -20,7 +20,7 @@ class DeleteOutputPqByIDRequest(BaseModel):
20
20
 
21
21
 
22
22
  class DeleteOutputPqByIDResponseTypedDict(TypedDict):
23
- r"""a list of string objects"""
23
+ r"""A list of job ids for the background job that clears the persistent queue"""
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 string objects"""
31
+ r"""A list of job ids for the background job that clears the persistent queue"""
32
32
 
33
33
  count: Optional[int] = None
34
34
  r"""number of items present in the items array"""
@@ -9,7 +9,9 @@ from typing_extensions import Annotated, TypedDict
9
9
  class DistributedSummaryGroupsTypedDict(TypedDict):
10
10
  count: float
11
11
  destinations: float
12
+ packs: float
12
13
  pipelines: float
14
+ quick_connects: float
13
15
  routes: float
14
16
  sources: float
15
17
 
@@ -19,8 +21,12 @@ class DistributedSummaryGroups(BaseModel):
19
21
 
20
22
  destinations: float
21
23
 
24
+ packs: float
25
+
22
26
  pipelines: float
23
27
 
28
+ quick_connects: Annotated[float, pydantic.Field(alias="quickConnects")]
29
+
24
30
  routes: float
25
31
 
26
32
  sources: float
@@ -0,0 +1,152 @@
1
+ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
+
3
+ from __future__ import annotations
4
+ from .commit import Commit, CommitTypedDict
5
+ from .configgroupcloud import ConfigGroupCloud, ConfigGroupCloudTypedDict
6
+ from .configgrouplookups import ConfigGroupLookups, ConfigGroupLookupsTypedDict
7
+ from cribl_control_plane import utils
8
+ from cribl_control_plane.types import BaseModel
9
+ from cribl_control_plane.utils import validate_open_enum
10
+ from enum import Enum
11
+ import pydantic
12
+ from pydantic.functional_validators import PlainValidator
13
+ from typing import List, Optional
14
+ from typing_extensions import Annotated, NotRequired, TypedDict
15
+
16
+
17
+ class GroupCreateRequestEstimatedIngestRate(int, Enum, metaclass=utils.OpenEnumMeta):
18
+ r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
19
+
20
+ # 12 MB/sec
21
+ RATE12_MB_PER_SEC = 1024
22
+ # 24 MB/sec
23
+ RATE24_MB_PER_SEC = 2048
24
+ # 36 MB/sec
25
+ RATE36_MB_PER_SEC = 3072
26
+ # 48 MB/sec
27
+ RATE48_MB_PER_SEC = 4096
28
+ # 60 MB/sec
29
+ RATE60_MB_PER_SEC = 5120
30
+ # 84 MB/sec
31
+ RATE84_MB_PER_SEC = 7168
32
+ # 120 MB/sec
33
+ RATE120_MB_PER_SEC = 10240
34
+ # 156 MB/sec
35
+ RATE156_MB_PER_SEC = 13312
36
+ # 180 MB/sec
37
+ RATE180_MB_PER_SEC = 15360
38
+
39
+
40
+ class GroupCreateRequestGitTypedDict(TypedDict):
41
+ commit: NotRequired[str]
42
+ local_changes: NotRequired[float]
43
+ log: NotRequired[List[CommitTypedDict]]
44
+
45
+
46
+ class GroupCreateRequestGit(BaseModel):
47
+ commit: Optional[str] = None
48
+
49
+ local_changes: Annotated[Optional[float], pydantic.Field(alias="localChanges")] = (
50
+ None
51
+ )
52
+
53
+ log: Optional[List[Commit]] = None
54
+
55
+
56
+ class GroupCreateRequestType(str, Enum, metaclass=utils.OpenEnumMeta):
57
+ LAKE_ACCESS = "lake_access"
58
+
59
+
60
+ class GroupCreateRequestTypedDict(TypedDict):
61
+ id: str
62
+ cloud: NotRequired[ConfigGroupCloudTypedDict]
63
+ deploying_worker_count: NotRequired[float]
64
+ description: NotRequired[str]
65
+ estimated_ingest_rate: NotRequired[GroupCreateRequestEstimatedIngestRate]
66
+ r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
67
+ git: NotRequired[GroupCreateRequestGitTypedDict]
68
+ incompatible_worker_count: NotRequired[float]
69
+ inherits: NotRequired[str]
70
+ is_fleet: NotRequired[bool]
71
+ is_search: NotRequired[bool]
72
+ lookup_deployments: NotRequired[List[ConfigGroupLookupsTypedDict]]
73
+ max_worker_age: NotRequired[str]
74
+ name: NotRequired[str]
75
+ on_prem: NotRequired[bool]
76
+ provisioned: NotRequired[bool]
77
+ source_group_id: NotRequired[str]
78
+ streamtags: NotRequired[List[str]]
79
+ tags: NotRequired[str]
80
+ type: NotRequired[GroupCreateRequestType]
81
+ upgrade_version: NotRequired[str]
82
+ worker_count: NotRequired[float]
83
+ worker_remote_access: NotRequired[bool]
84
+
85
+
86
+ class GroupCreateRequest(BaseModel):
87
+ id: str
88
+
89
+ cloud: Optional[ConfigGroupCloud] = None
90
+
91
+ deploying_worker_count: Annotated[
92
+ Optional[float], pydantic.Field(alias="deployingWorkerCount")
93
+ ] = None
94
+
95
+ description: Optional[str] = None
96
+
97
+ estimated_ingest_rate: Annotated[
98
+ Annotated[
99
+ Optional[GroupCreateRequestEstimatedIngestRate],
100
+ PlainValidator(validate_open_enum(True)),
101
+ ],
102
+ pydantic.Field(alias="estimatedIngestRate"),
103
+ ] = None
104
+ r"""Maximum expected volume of data ingested by the @{group}. (This setting is available only on @{group}s consisting of Cribl-managed Cribl.Cloud @{node}s.)"""
105
+
106
+ git: Optional[GroupCreateRequestGit] = None
107
+
108
+ incompatible_worker_count: Annotated[
109
+ Optional[float], pydantic.Field(alias="incompatibleWorkerCount")
110
+ ] = None
111
+
112
+ inherits: Optional[str] = None
113
+
114
+ is_fleet: Annotated[Optional[bool], pydantic.Field(alias="isFleet")] = None
115
+
116
+ is_search: Annotated[Optional[bool], pydantic.Field(alias="isSearch")] = None
117
+
118
+ lookup_deployments: Annotated[
119
+ Optional[List[ConfigGroupLookups]], pydantic.Field(alias="lookupDeployments")
120
+ ] = None
121
+
122
+ max_worker_age: Annotated[Optional[str], pydantic.Field(alias="maxWorkerAge")] = (
123
+ None
124
+ )
125
+
126
+ name: Optional[str] = None
127
+
128
+ on_prem: Annotated[Optional[bool], pydantic.Field(alias="onPrem")] = None
129
+
130
+ provisioned: Optional[bool] = None
131
+
132
+ source_group_id: Annotated[Optional[str], pydantic.Field(alias="sourceGroupId")] = (
133
+ None
134
+ )
135
+
136
+ streamtags: Optional[List[str]] = None
137
+
138
+ tags: Optional[str] = None
139
+
140
+ type: Annotated[
141
+ Optional[GroupCreateRequestType], PlainValidator(validate_open_enum(False))
142
+ ] = None
143
+
144
+ upgrade_version: Annotated[
145
+ Optional[str], pydantic.Field(alias="upgradeVersion")
146
+ ] = None
147
+
148
+ worker_count: Annotated[Optional[float], pydantic.Field(alias="workerCount")] = None
149
+
150
+ worker_remote_access: Annotated[
151
+ Optional[bool], pydantic.Field(alias="workerRemoteAccess")
152
+ ] = None
@@ -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 .appmode import AppMode
5
4
  from .hbleaderinfo import HBLeaderInfo, HBLeaderInfoTypedDict
6
5
  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
9
10
  import pydantic
10
11
  from pydantic.functional_validators import PlainValidator
11
12
  from typing import List, Optional
@@ -36,9 +37,19 @@ class Config(BaseModel):
36
37
  version: Optional[str] = None
37
38
 
38
39
 
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
+
39
50
  class HBCriblInfoTypedDict(TypedDict):
40
51
  config: ConfigTypedDict
41
- dist_mode: AppMode
52
+ dist_mode: DistMode
42
53
  group: str
43
54
  guid: str
44
55
  start_time: float
@@ -58,7 +69,7 @@ class HBCriblInfo(BaseModel):
58
69
  config: Config
59
70
 
60
71
  dist_mode: Annotated[
61
- Annotated[AppMode, PlainValidator(validate_open_enum(False))],
72
+ Annotated[DistMode, PlainValidator(validate_open_enum(False))],
62
73
  pydantic.Field(alias="distMode"),
63
74
  ]
64
75
 
@@ -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
- PRIMARY = "primary"
16
15
  STANDBY = "standby"
16
+ PRIMARY = "primary"
17
17
 
18
18
 
19
19
  class Status(str, Enum, metaclass=utils.OpenEnumMeta):
20
- HEALTHY = "healthy"
21
20
  SHUTTING_DOWN = "shutting down"
21
+ HEALTHY = "healthy"
22
22
  STANDBY = "standby"
23
23
 
24
24
 
25
- class HealthStatusTypedDict(TypedDict):
26
- status: Status
25
+ class HealthServerStatusTypedDict(TypedDict):
27
26
  start_time: float
27
+ status: Status
28
28
  role: NotRequired[Role]
29
29
 
30
30
 
31
- class HealthStatus(BaseModel):
32
- status: Annotated[Status, PlainValidator(validate_open_enum(False))]
33
-
31
+ class HealthServerStatus(BaseModel):
34
32
  start_time: Annotated[float, pydantic.Field(alias="startTime")]
35
33
 
34
+ status: Annotated[Status, PlainValidator(validate_open_enum(False))]
35
+
36
36
  role: Annotated[Optional[Role], PlainValidator(validate_open_enum(False))] = None
@@ -17,6 +17,7 @@ class HeartbeatMetadataTags(BaseModel):
17
17
 
18
18
  class HeartbeatMetadataAwsTypedDict(TypedDict):
19
19
  enabled: bool
20
+ instance_id: str
20
21
  region: str
21
22
  type: str
22
23
  zone: str
@@ -26,6 +27,8 @@ class HeartbeatMetadataAwsTypedDict(TypedDict):
26
27
  class HeartbeatMetadataAws(BaseModel):
27
28
  enabled: bool
28
29
 
30
+ instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
31
+
29
32
  region: str
30
33
 
31
34
  type: str
@@ -66,8 +66,10 @@ 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
69
71
  from typing import Union
70
- from typing_extensions import TypeAliasType
72
+ from typing_extensions import Annotated, TypeAliasType
71
73
 
72
74
 
73
75
  InputTypedDict = TypeAliasType(
@@ -136,67 +138,67 @@ InputTypedDict = TypeAliasType(
136
138
  )
137
139
 
138
140
 
139
- Input = TypeAliasType(
140
- "Input",
141
+ Input = Annotated[
141
142
  Union[
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,
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")],
201
202
  ],
202
- )
203
+ Discriminator(lambda m: get_discriminator(m, "type", "type")),
204
+ ]
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputAppscopeCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCollectionCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputConfluentCloudCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -187,13 +191,6 @@ class InputConfluentCloudTLSSettingsClientSide(BaseModel):
187
191
  ] = None
188
192
 
189
193
 
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
-
197
194
  class InputConfluentCloudAuthTypedDict(TypedDict):
198
195
  r"""Credentials to use when authenticating with the schema registry using basic HTTP authentication"""
199
196
 
@@ -304,8 +301,6 @@ class InputConfluentCloudKafkaSchemaRegistryAuthenticationTypedDict(TypedDict):
304
301
  disabled: NotRequired[bool]
305
302
  schema_registry_url: NotRequired[str]
306
303
  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"""
309
304
  connection_timeout: NotRequired[float]
310
305
  r"""Maximum time to wait for a Schema Registry connection to complete successfully"""
311
306
  request_timeout: NotRequired[float]
@@ -327,15 +322,6 @@ class InputConfluentCloudKafkaSchemaRegistryAuthentication(BaseModel):
327
322
  ] = "http://localhost:8081"
328
323
  r"""URL for accessing the Confluent Schema Registry. Example: http://localhost:8081. To connect over TLS, use https instead of http."""
329
324
 
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
-
339
325
  connection_timeout: Annotated[
340
326
  Optional[float], pydantic.Field(alias="connectionTimeout")
341
327
  ] = 30000
@@ -356,9 +342,13 @@ class InputConfluentCloudKafkaSchemaRegistryAuthentication(BaseModel):
356
342
 
357
343
 
358
344
  class InputConfluentCloudSASLMechanism(str, Enum, metaclass=utils.OpenEnumMeta):
345
+ # PLAIN
359
346
  PLAIN = "plain"
347
+ # SCRAM-SHA-256
360
348
  SCRAM_SHA_256 = "scram-sha-256"
349
+ # SCRAM-SHA-512
361
350
  SCRAM_SHA_512 = "scram-sha-512"
351
+ # GSSAPI/Kerberos
362
352
  KERBEROS = "kerberos"
363
353
 
364
354
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCriblCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCriblHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCriblLakeHTTPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCriblmetricsCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46
 
@@ -29,14 +29,18 @@ 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
32
33
  SMART = "smart"
34
+ # Always On
33
35
  ALWAYS = "always"
34
36
 
35
37
 
36
38
  class InputCriblTCPCompression(str, Enum, metaclass=utils.OpenEnumMeta):
37
39
  r"""Codec to use to compress the persisted data"""
38
40
 
41
+ # None
39
42
  NONE = "none"
43
+ # Gzip
40
44
  GZIP = "gzip"
41
45
 
42
46