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
@@ -29,18 +29,14 @@ class InputSystemStateConnection(BaseModel):
29
29
  class InputSystemStateMode(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 InputSystemStateCompression(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 InputTCPConnection(BaseModel):
29
29
  class InputTCPMode(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 InputTCPCompression(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 InputTcpjsonConnection(BaseModel):
29
29
  class InputTcpjsonMode(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 InputTcpjsonCompression(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 InputWefConnection(BaseModel):
29
29
  class InputWefMode(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 InputWefCompression(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,9 +106,7 @@ class InputWefPq(BaseModel):
110
106
  class InputWefAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMeta):
111
107
  r"""How to authenticate incoming client connections"""
112
108
 
113
- # Client certificate
114
109
  CLIENT_CERT = "clientCert"
115
- # Kerberos
116
110
  KERBEROS = "kerberos"
117
111
 
118
112
 
@@ -29,18 +29,14 @@ class InputWindowsMetricsConnection(BaseModel):
29
29
  class InputWindowsMetricsPqMode(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 InputWindowsMetricsCompression(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
 
@@ -111,26 +107,18 @@ class InputWindowsMetricsPq(BaseModel):
111
107
  class InputWindowsMetricsHostMode(str, Enum, metaclass=utils.OpenEnumMeta):
112
108
  r"""Select level of detail for host metrics"""
113
109
 
114
- # Basic
115
110
  BASIC = "basic"
116
- # All
117
111
  ALL = "all"
118
- # Custom
119
112
  CUSTOM = "custom"
120
- # Disabled
121
113
  DISABLED = "disabled"
122
114
 
123
115
 
124
116
  class InputWindowsMetricsSystemMode(str, Enum, metaclass=utils.OpenEnumMeta):
125
117
  r"""Select the level of details for system metrics"""
126
118
 
127
- # Basic
128
119
  BASIC = "basic"
129
- # All
130
120
  ALL = "all"
131
- # Custom
132
121
  CUSTOM = "custom"
133
- # Disabled
134
122
  DISABLED = "disabled"
135
123
 
136
124
 
@@ -155,13 +143,9 @@ class InputWindowsMetricsSystem(BaseModel):
155
143
  class InputWindowsMetricsCPUMode(str, Enum, metaclass=utils.OpenEnumMeta):
156
144
  r"""Select the level of details for CPU metrics"""
157
145
 
158
- # Basic
159
146
  BASIC = "basic"
160
- # All
161
147
  ALL = "all"
162
- # Custom
163
148
  CUSTOM = "custom"
164
- # Disabled
165
149
  DISABLED = "disabled"
166
150
 
167
151
 
@@ -195,13 +179,9 @@ class InputWindowsMetricsCPU(BaseModel):
195
179
  class InputWindowsMetricsMemoryMode(str, Enum, metaclass=utils.OpenEnumMeta):
196
180
  r"""Select the level of details for memory metrics"""
197
181
 
198
- # Basic
199
182
  BASIC = "basic"
200
- # All
201
183
  ALL = "all"
202
- # Custom
203
184
  CUSTOM = "custom"
204
- # Disabled
205
185
  DISABLED = "disabled"
206
186
 
207
187
 
@@ -226,13 +206,9 @@ class InputWindowsMetricsMemory(BaseModel):
226
206
  class InputWindowsMetricsNetworkMode(str, Enum, metaclass=utils.OpenEnumMeta):
227
207
  r"""Select the level of details for network metrics"""
228
208
 
229
- # Basic
230
209
  BASIC = "basic"
231
- # All
232
210
  ALL = "all"
233
- # Custom
234
211
  CUSTOM = "custom"
235
- # Disabled
236
212
  DISABLED = "disabled"
237
213
 
238
214
 
@@ -269,13 +245,9 @@ class InputWindowsMetricsNetwork(BaseModel):
269
245
  class InputWindowsMetricsDiskMode(str, Enum, metaclass=utils.OpenEnumMeta):
270
246
  r"""Select the level of details for disk metrics"""
271
247
 
272
- # Basic
273
248
  BASIC = "basic"
274
- # All
275
249
  ALL = "all"
276
- # Custom
277
250
  CUSTOM = "custom"
278
- # Disabled
279
251
  DISABLED = "disabled"
280
252
 
281
253
 
@@ -29,18 +29,14 @@ class InputWinEventLogsConnection(BaseModel):
29
29
  class InputWinEventLogsMode(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 InputWinEventLogsCompression(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
 
@@ -111,18 +107,14 @@ class InputWinEventLogsPq(BaseModel):
111
107
  class ReadMode(str, Enum, metaclass=utils.OpenEnumMeta):
112
108
  r"""Read all stored and future event logs, or only future events"""
113
109
 
114
- # Entire log
115
110
  OLDEST = "oldest"
116
- # From last entry
117
111
  NEWEST = "newest"
118
112
 
119
113
 
120
114
  class EventFormat(str, Enum, metaclass=utils.OpenEnumMeta):
121
115
  r"""Format of individual events"""
122
116
 
123
- # JSON
124
117
  JSON = "json"
125
- # XML
126
118
  XML = "xml"
127
119
 
128
120
 
@@ -29,18 +29,14 @@ class InputWizConnection(BaseModel):
29
29
  class InputWizMode(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 InputWizCompression(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
 
@@ -141,11 +137,8 @@ class InputWizMetadatum(BaseModel):
141
137
  class InputWizRetryType(str, Enum, metaclass=utils.OpenEnumMeta):
142
138
  r"""The algorithm to use when performing HTTP retries"""
143
139
 
144
- # Disabled
145
140
  NONE = "none"
146
- # Backoff
147
141
  BACKOFF = "backoff"
148
- # Static
149
142
  STATIC = "static"
150
143
 
151
144
 
@@ -29,18 +29,14 @@ class InputWizWebhookConnection(BaseModel):
29
29
  class InputWizWebhookMode(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 InputWizWebhookCompression(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 InputZscalerHecConnection(BaseModel):
29
29
  class InputZscalerHecMode(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 InputZscalerHecCompression(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
 
@@ -4,14 +4,13 @@ from __future__ import annotations
4
4
  from .jobstatus import JobStatus, JobStatusTypedDict
5
5
  from .runnablejob import RunnableJob, RunnableJobTypedDict
6
6
  from cribl_control_plane.types import BaseModel
7
- from typing import Dict, Optional
7
+ from typing import Optional
8
8
  from typing_extensions import NotRequired, TypedDict
9
9
 
10
10
 
11
11
  class JobInfoTypedDict(TypedDict):
12
12
  args: RunnableJobTypedDict
13
13
  id: str
14
- stats: Dict[str, float]
15
14
  status: JobStatusTypedDict
16
15
  keep: NotRequired[bool]
17
16
 
@@ -21,8 +20,6 @@ class JobInfo(BaseModel):
21
20
 
22
21
  id: str
23
22
 
24
- stats: Dict[str, float]
25
-
26
23
  status: JobStatus
27
24
 
28
25
  keep: Optional[bool] = None
@@ -6,11 +6,11 @@ from typing_extensions import TypedDict
6
6
 
7
7
 
8
8
  class LoginInfoTypedDict(TypedDict):
9
- password: str
10
9
  username: str
10
+ password: str
11
11
 
12
12
 
13
13
  class LoginInfo(BaseModel):
14
- password: str
15
-
16
14
  username: str
15
+
16
+ password: str
@@ -3,10 +3,9 @@
3
3
  from __future__ import annotations
4
4
  from .hbcriblinfo import HBCriblInfo, HBCriblInfoTypedDict
5
5
  from .heartbeatmetadata import HeartbeatMetadata, HeartbeatMetadataTypedDict
6
- from .outpostnodeinfo import OutpostNodeInfo, OutpostNodeInfoTypedDict
7
6
  from cribl_control_plane.types import BaseModel
8
7
  import pydantic
9
- from typing import Dict, List, Optional, Union
8
+ from typing import List, Optional, Union
10
9
  from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict
11
10
 
12
11
 
@@ -20,7 +19,6 @@ class NodeProvidedInfoTags(BaseModel):
20
19
 
21
20
  class NodeProvidedInfoAwsTypedDict(TypedDict):
22
21
  enabled: bool
23
- instance_id: str
24
22
  region: str
25
23
  type: str
26
24
  zone: str
@@ -30,8 +28,6 @@ class NodeProvidedInfoAwsTypedDict(TypedDict):
30
28
  class NodeProvidedInfoAws(BaseModel):
31
29
  enabled: bool
32
30
 
33
- instance_id: Annotated[str, pydantic.Field(alias="instanceId")]
34
-
35
31
  region: str
36
32
 
37
33
  type: str
@@ -129,7 +125,6 @@ class NodeProvidedInfoTypedDict(TypedDict):
129
125
  architecture: str
130
126
  cpus: float
131
127
  cribl: HBCriblInfoTypedDict
132
- env: Dict[str, str]
133
128
  free_disk_space: float
134
129
  hostname: str
135
130
  node: str
@@ -145,7 +140,6 @@ class NodeProvidedInfoTypedDict(TypedDict):
145
140
  local_time: NotRequired[float]
146
141
  metadata: NotRequired[HeartbeatMetadataTypedDict]
147
142
  os: NotRequired[OsTypedDict]
148
- outpost: NotRequired[OutpostNodeInfoTypedDict]
149
143
 
150
144
 
151
145
  class NodeProvidedInfo(BaseModel):
@@ -155,8 +149,6 @@ class NodeProvidedInfo(BaseModel):
155
149
 
156
150
  cribl: HBCriblInfo
157
151
 
158
- env: Dict[str, str]
159
-
160
152
  free_disk_space: Annotated[float, pydantic.Field(alias="freeDiskSpace")]
161
153
 
162
154
  hostname: str
@@ -190,5 +182,3 @@ class NodeProvidedInfo(BaseModel):
190
182
  metadata: Optional[HeartbeatMetadata] = None
191
183
 
192
184
  os: Optional[Os] = None
193
-
194
- outpost: Optional[OutpostNodeInfo] = None
@@ -19,7 +19,6 @@ from .outputcrowdstrikenextgensiem import (
19
19
  OutputCrowdstrikeNextGenSiem,
20
20
  OutputCrowdstrikeNextGenSiemTypedDict,
21
21
  )
22
- from .outputdatabricks import OutputDatabricks, OutputDatabricksTypedDict
23
22
  from .outputdatadog import OutputDatadog, OutputDatadogTypedDict
24
23
  from .outputdataset import OutputDataset, OutputDatasetTypedDict
25
24
  from .outputdefault import OutputDefault, OutputDefaultTypedDict
@@ -82,10 +81,8 @@ from .outputtcpjson import OutputTcpjson, OutputTcpjsonTypedDict
82
81
  from .outputwavefront import OutputWavefront, OutputWavefrontTypedDict
83
82
  from .outputwebhook import OutputWebhook, OutputWebhookTypedDict
84
83
  from .outputxsiam import OutputXsiam, OutputXsiamTypedDict
85
- from cribl_control_plane.utils import get_discriminator
86
- from pydantic import Discriminator, Tag
87
84
  from typing import Union
88
- from typing_extensions import Annotated, TypeAliasType
85
+ from typing_extensions import TypeAliasType
89
86
 
90
87
 
91
88
  OutputTypedDict = TypeAliasType(
@@ -135,11 +132,10 @@ OutputTypedDict = TypeAliasType(
135
132
  OutputServiceNowTypedDict,
136
133
  OutputChronicleTypedDict,
137
134
  OutputDynatraceOtlpTypedDict,
138
- OutputGoogleChronicleTypedDict,
139
135
  OutputElasticTypedDict,
140
- OutputDatadogTypedDict,
136
+ OutputGoogleChronicleTypedDict,
141
137
  OutputCriblLakeTypedDict,
142
- OutputDatabricksTypedDict,
138
+ OutputDatadogTypedDict,
143
139
  OutputPrometheusTypedDict,
144
140
  OutputMskTypedDict,
145
141
  OutputSentinelOneAiSiemTypedDict,
@@ -151,8 +147,8 @@ OutputTypedDict = TypeAliasType(
151
147
  OutputMinioTypedDict,
152
148
  OutputClickHouseTypedDict,
153
149
  OutputSecurityLakeTypedDict,
154
- OutputS3TypedDict,
155
150
  OutputDlS3TypedDict,
151
+ OutputS3TypedDict,
156
152
  OutputWebhookTypedDict,
157
153
  OutputAzureDataExplorerTypedDict,
158
154
  OutputGoogleCloudLoggingTypedDict,
@@ -161,74 +157,73 @@ OutputTypedDict = TypeAliasType(
161
157
  )
162
158
 
163
159
 
164
- Output = Annotated[
160
+ Output = TypeAliasType(
161
+ "Output",
165
162
  Union[
166
- Annotated[OutputDefault, Tag("default")],
167
- Annotated[OutputWebhook, Tag("webhook")],
168
- Annotated[OutputSentinel, Tag("sentinel")],
169
- Annotated[OutputDevnull, Tag("devnull")],
170
- Annotated[OutputSyslog, Tag("syslog")],
171
- Annotated[OutputSplunk, Tag("splunk")],
172
- Annotated[OutputSplunkLb, Tag("splunk_lb")],
173
- Annotated[OutputSplunkHec, Tag("splunk_hec")],
174
- Annotated[OutputTcpjson, Tag("tcpjson")],
175
- Annotated[OutputWavefront, Tag("wavefront")],
176
- Annotated[OutputSignalfx, Tag("signalfx")],
177
- Annotated[OutputFilesystem, Tag("filesystem")],
178
- Annotated[OutputS3, Tag("s3")],
179
- Annotated[OutputAzureBlob, Tag("azure_blob")],
180
- Annotated[OutputAzureDataExplorer, Tag("azure_data_explorer")],
181
- Annotated[OutputAzureLogs, Tag("azure_logs")],
182
- Annotated[OutputKinesis, Tag("kinesis")],
183
- Annotated[OutputHoneycomb, Tag("honeycomb")],
184
- Annotated[OutputAzureEventhub, Tag("azure_eventhub")],
185
- Annotated[OutputGoogleChronicle, Tag("google_chronicle")],
186
- Annotated[OutputGoogleCloudStorage, Tag("google_cloud_storage")],
187
- Annotated[OutputGoogleCloudLogging, Tag("google_cloud_logging")],
188
- Annotated[OutputGooglePubsub, Tag("google_pubsub")],
189
- Annotated[OutputExabeam, Tag("exabeam")],
190
- Annotated[OutputKafka, Tag("kafka")],
191
- Annotated[OutputConfluentCloud, Tag("confluent_cloud")],
192
- Annotated[OutputMsk, Tag("msk")],
193
- Annotated[OutputElastic, Tag("elastic")],
194
- Annotated[OutputElasticCloud, Tag("elastic_cloud")],
195
- Annotated[OutputNewrelic, Tag("newrelic")],
196
- Annotated[OutputNewrelicEvents, Tag("newrelic_events")],
197
- Annotated[OutputInfluxdb, Tag("influxdb")],
198
- Annotated[OutputCloudwatch, Tag("cloudwatch")],
199
- Annotated[OutputMinio, Tag("minio")],
200
- Annotated[OutputStatsd, Tag("statsd")],
201
- Annotated[OutputStatsdExt, Tag("statsd_ext")],
202
- Annotated[OutputGraphite, Tag("graphite")],
203
- Annotated[OutputRouter, Tag("router")],
204
- Annotated[OutputSns, Tag("sns")],
205
- Annotated[OutputSqs, Tag("sqs")],
206
- Annotated[OutputSnmp, Tag("snmp")],
207
- Annotated[OutputSumoLogic, Tag("sumo_logic")],
208
- Annotated[OutputDatadog, Tag("datadog")],
209
- Annotated[OutputGrafanaCloud, Tag("grafana_cloud")],
210
- Annotated[OutputLoki, Tag("loki")],
211
- Annotated[OutputPrometheus, Tag("prometheus")],
212
- Annotated[OutputRing, Tag("ring")],
213
- Annotated[OutputOpenTelemetry, Tag("open_telemetry")],
214
- Annotated[OutputServiceNow, Tag("service_now")],
215
- Annotated[OutputDataset, Tag("dataset")],
216
- Annotated[OutputCriblTCP, Tag("cribl_tcp")],
217
- Annotated[OutputCriblHTTP, Tag("cribl_http")],
218
- Annotated[OutputHumioHec, Tag("humio_hec")],
219
- Annotated[OutputCrowdstrikeNextGenSiem, Tag("crowdstrike_next_gen_siem")],
220
- Annotated[OutputDlS3, Tag("dl_s3")],
221
- Annotated[OutputSecurityLake, Tag("security_lake")],
222
- Annotated[OutputCriblLake, Tag("cribl_lake")],
223
- Annotated[OutputDiskSpool, Tag("disk_spool")],
224
- Annotated[OutputClickHouse, Tag("click_house")],
225
- Annotated[OutputXsiam, Tag("xsiam")],
226
- Annotated[OutputNetflow, Tag("netflow")],
227
- Annotated[OutputDynatraceHTTP, Tag("dynatrace_http")],
228
- Annotated[OutputDynatraceOtlp, Tag("dynatrace_otlp")],
229
- Annotated[OutputSentinelOneAiSiem, Tag("sentinel_one_ai_siem")],
230
- Annotated[OutputChronicle, Tag("chronicle")],
231
- Annotated[OutputDatabricks, Tag("databricks")],
163
+ OutputDevnull,
164
+ OutputDefault,
165
+ OutputRouter,
166
+ OutputSnmp,
167
+ OutputNetflow,
168
+ OutputDiskSpool,
169
+ OutputRing,
170
+ OutputStatsdExt,
171
+ OutputGraphite,
172
+ OutputStatsd,
173
+ OutputGooglePubsub,
174
+ OutputCriblTCP,
175
+ OutputSplunk,
176
+ OutputSns,
177
+ OutputCloudwatch,
178
+ OutputAzureEventhub,
179
+ OutputWavefront,
180
+ OutputSignalfx,
181
+ OutputHoneycomb,
182
+ OutputSumoLogic,
183
+ OutputCrowdstrikeNextGenSiem,
184
+ OutputHumioHec,
185
+ OutputTcpjson,
186
+ OutputElasticCloud,
187
+ OutputKinesis,
188
+ OutputConfluentCloud,
189
+ OutputKafka,
190
+ OutputExabeam,
191
+ OutputNewrelicEvents,
192
+ OutputAzureLogs,
193
+ OutputSplunkLb,
194
+ OutputSyslog,
195
+ OutputSqs,
196
+ OutputNewrelic,
197
+ OutputCriblHTTP,
198
+ OutputXsiam,
199
+ OutputFilesystem,
200
+ OutputDataset,
201
+ OutputLoki,
202
+ OutputSplunkHec,
203
+ OutputDynatraceHTTP,
204
+ OutputServiceNow,
205
+ OutputChronicle,
206
+ OutputDynatraceOtlp,
207
+ OutputElastic,
208
+ OutputGoogleChronicle,
209
+ OutputCriblLake,
210
+ OutputDatadog,
211
+ OutputPrometheus,
212
+ OutputMsk,
213
+ OutputSentinelOneAiSiem,
214
+ OutputSentinel,
215
+ OutputInfluxdb,
216
+ OutputGoogleCloudStorage,
217
+ OutputAzureBlob,
218
+ OutputOpenTelemetry,
219
+ OutputMinio,
220
+ OutputClickHouse,
221
+ OutputSecurityLake,
222
+ OutputDlS3,
223
+ OutputS3,
224
+ OutputWebhook,
225
+ OutputAzureDataExplorer,
226
+ OutputGoogleCloudLogging,
227
+ OutputGrafanaCloud,
232
228
  ],
233
- Discriminator(lambda m: get_discriminator(m, "type", "type")),
234
- ]
229
+ )
@@ -18,29 +18,22 @@ class OutputAzureBlobType(str, Enum):
18
18
  class OutputAzureBlobDataFormat(str, Enum, metaclass=utils.OpenEnumMeta):
19
19
  r"""Format of the output data"""
20
20
 
21
- # JSON
22
21
  JSON = "json"
23
- # Raw
24
22
  RAW = "raw"
25
- # Parquet
26
23
  PARQUET = "parquet"
27
24
 
28
25
 
29
26
  class OutputAzureBlobBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
30
27
  r"""How to handle events when all receivers are exerting backpressure"""
31
28
 
32
- # Block
33
29
  BLOCK = "block"
34
- # Drop
35
30
  DROP = "drop"
36
31
 
37
32
 
38
33
  class OutputAzureBlobDiskSpaceProtection(str, Enum, metaclass=utils.OpenEnumMeta):
39
34
  r"""How to handle events when disk space is below the global 'Min free disk space' limit"""
40
35
 
41
- # Block
42
36
  BLOCK = "block"
43
- # Drop
44
37
  DROP = "drop"
45
38
 
46
39
 
@@ -52,15 +45,10 @@ class OutputAzureBlobAuthenticationMethod(str, Enum, metaclass=utils.OpenEnumMet
52
45
 
53
46
 
54
47
  class BlobAccessTier(str, Enum, metaclass=utils.OpenEnumMeta):
55
- # Default account access tier
56
48
  INFERRED = "Inferred"
57
- # Hot tier
58
49
  HOT = "Hot"
59
- # Cool tier
60
50
  COOL = "Cool"
61
- # Cold tier
62
51
  COLD = "Cold"
63
- # Archive tier
64
52
  ARCHIVE = "Archive"
65
53
 
66
54
 
@@ -74,31 +62,23 @@ class OutputAzureBlobCompression(str, Enum, metaclass=utils.OpenEnumMeta):
74
62
  class OutputAzureBlobCompressionLevel(str, Enum, metaclass=utils.OpenEnumMeta):
75
63
  r"""Compression level to apply before moving files to final destination"""
76
64
 
77
- # Best Speed
78
65
  BEST_SPEED = "best_speed"
79
- # Normal
80
66
  NORMAL = "normal"
81
- # Best Compression
82
67
  BEST_COMPRESSION = "best_compression"
83
68
 
84
69
 
85
70
  class OutputAzureBlobParquetVersion(str, Enum, metaclass=utils.OpenEnumMeta):
86
71
  r"""Determines which data types are supported and how they are represented"""
87
72
 
88
- # 1.0
89
73
  PARQUET_1_0 = "PARQUET_1_0"
90
- # 2.4
91
74
  PARQUET_2_4 = "PARQUET_2_4"
92
- # 2.6
93
75
  PARQUET_2_6 = "PARQUET_2_6"
94
76
 
95
77
 
96
78
  class OutputAzureBlobDataPageVersion(str, Enum, metaclass=utils.OpenEnumMeta):
97
79
  r"""Serialization format of data pages. Note that some reader implementations use Data page V2's attributes to work more efficiently, while others ignore it."""
98
80
 
99
- # V1
100
81
  DATA_PAGE_V1 = "DATA_PAGE_V1"
101
- # V2
102
82
  DATA_PAGE_V2 = "DATA_PAGE_V2"
103
83
 
104
84