cribl-control-plane 0.0.36__py3-none-any.whl → 0.0.37a1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/commits.py +4 -4
- cribl_control_plane/models/__init__.py +189 -487
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/input.py +76 -77
- cribl_control_plane/models/inputgrafana.py +67 -678
- cribl_control_plane/models/inputsyslog.py +37 -406
- cribl_control_plane/models/output.py +77 -75
- cribl_control_plane/models/outputgrafanacloud.py +69 -565
- cribl_control_plane/packs.py +0 -174
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/METADATA +2 -3
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/RECORD +13 -15
- cribl_control_plane/models/getpacksbyidop.py +0 -37
- cribl_control_plane/models/inputwizwebhook.py +0 -393
- {cribl_control_plane-0.0.36.dist-info → cribl_control_plane-0.0.37a1.dist-info}/WHEEL +0 -0
|
@@ -8,13 +8,13 @@ from typing_extensions import NotRequired, TypedDict
|
|
|
8
8
|
|
|
9
9
|
class GitRevertParamsTypedDict(TypedDict):
|
|
10
10
|
commit: str
|
|
11
|
+
message: str
|
|
11
12
|
force: NotRequired[bool]
|
|
12
|
-
message: NotRequired[str]
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class GitRevertParams(BaseModel):
|
|
16
16
|
commit: str
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
message: str
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
force: Optional[bool] = None
|
|
@@ -64,30 +64,31 @@ from .inputwef import InputWef, InputWefTypedDict
|
|
|
64
64
|
from .inputwindowsmetrics import InputWindowsMetrics, InputWindowsMetricsTypedDict
|
|
65
65
|
from .inputwineventlogs import InputWinEventLogs, InputWinEventLogsTypedDict
|
|
66
66
|
from .inputwiz import InputWiz, InputWizTypedDict
|
|
67
|
-
from .inputwizwebhook import InputWizWebhook, InputWizWebhookTypedDict
|
|
68
67
|
from .inputzscalerhec import InputZscalerHec, InputZscalerHecTypedDict
|
|
68
|
+
from cribl_control_plane.utils import get_discriminator
|
|
69
|
+
from pydantic import Discriminator, Tag
|
|
69
70
|
from typing import Union
|
|
70
|
-
from typing_extensions import TypeAliasType
|
|
71
|
+
from typing_extensions import Annotated, TypeAliasType
|
|
71
72
|
|
|
72
73
|
|
|
73
74
|
InputTypedDict = TypeAliasType(
|
|
74
75
|
"InputTypedDict",
|
|
75
76
|
Union[
|
|
76
|
-
InputDatagenTypedDict,
|
|
77
77
|
InputKubeEventsTypedDict,
|
|
78
|
+
InputDatagenTypedDict,
|
|
78
79
|
InputCriblTypedDict,
|
|
79
80
|
InputCriblmetricsTypedDict,
|
|
80
81
|
InputKubeMetricsTypedDict,
|
|
81
82
|
InputCollectionTypedDict,
|
|
82
83
|
InputSystemStateTypedDict,
|
|
84
|
+
InputWindowsMetricsTypedDict,
|
|
83
85
|
InputModelDrivenTelemetryTypedDict,
|
|
84
86
|
InputSystemMetricsTypedDict,
|
|
85
|
-
InputWindowsMetricsTypedDict,
|
|
86
87
|
InputJournalFilesTypedDict,
|
|
87
|
-
|
|
88
|
+
InputKubeLogsTypedDict,
|
|
88
89
|
InputRawUDPTypedDict,
|
|
90
|
+
InputWinEventLogsTypedDict,
|
|
89
91
|
InputExecTypedDict,
|
|
90
|
-
InputKubeLogsTypedDict,
|
|
91
92
|
InputMetricsTypedDict,
|
|
92
93
|
InputSnmpTypedDict,
|
|
93
94
|
InputCriblTCPTypedDict,
|
|
@@ -103,22 +104,23 @@ InputTypedDict = TypeAliasType(
|
|
|
103
104
|
InputOffice365MgmtTypedDict,
|
|
104
105
|
InputFileTypedDict,
|
|
105
106
|
InputSplunkTypedDict,
|
|
106
|
-
InputWefTypedDict,
|
|
107
107
|
InputAppscopeTypedDict,
|
|
108
|
+
InputGrafanaTypedDict,
|
|
109
|
+
InputWefTypedDict,
|
|
108
110
|
InputHTTPRawTypedDict,
|
|
109
|
-
InputWizWebhookTypedDict,
|
|
110
|
-
InputHTTPTypedDict,
|
|
111
111
|
InputCriblLakeHTTPTypedDict,
|
|
112
|
-
|
|
113
|
-
InputSqsTypedDict,
|
|
112
|
+
InputHTTPTypedDict,
|
|
114
113
|
InputZscalerHecTypedDict,
|
|
115
|
-
|
|
114
|
+
InputSyslogTypedDict,
|
|
115
|
+
InputSqsTypedDict,
|
|
116
|
+
InputAzureBlobTypedDict,
|
|
116
117
|
InputConfluentCloudTypedDict,
|
|
118
|
+
InputKinesisTypedDict,
|
|
117
119
|
InputEventhubTypedDict,
|
|
118
120
|
InputKafkaTypedDict,
|
|
119
121
|
InputElasticTypedDict,
|
|
120
|
-
InputOffice365MsgTraceTypedDict,
|
|
121
122
|
InputSplunkHecTypedDict,
|
|
123
|
+
InputOffice365MsgTraceTypedDict,
|
|
122
124
|
InputPrometheusRwTypedDict,
|
|
123
125
|
InputLokiTypedDict,
|
|
124
126
|
InputPrometheusTypedDict,
|
|
@@ -130,73 +132,70 @@ InputTypedDict = TypeAliasType(
|
|
|
130
132
|
InputMskTypedDict,
|
|
131
133
|
InputS3InventoryTypedDict,
|
|
132
134
|
InputSplunkSearchTypedDict,
|
|
133
|
-
InputSyslogTypedDict,
|
|
134
|
-
InputGrafanaTypedDict,
|
|
135
135
|
],
|
|
136
136
|
)
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
Input =
|
|
140
|
-
"Input",
|
|
139
|
+
Input = Annotated[
|
|
141
140
|
Union[
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
InputGrafana,
|
|
141
|
+
Annotated[InputCollection, Tag("collection")],
|
|
142
|
+
Annotated[InputKafka, Tag("kafka")],
|
|
143
|
+
Annotated[InputMsk, Tag("msk")],
|
|
144
|
+
Annotated[InputHTTP, Tag("http")],
|
|
145
|
+
Annotated[InputSplunk, Tag("splunk")],
|
|
146
|
+
Annotated[InputSplunkSearch, Tag("splunk_search")],
|
|
147
|
+
Annotated[InputSplunkHec, Tag("splunk_hec")],
|
|
148
|
+
Annotated[InputAzureBlob, Tag("azure_blob")],
|
|
149
|
+
Annotated[InputElastic, Tag("elastic")],
|
|
150
|
+
Annotated[InputConfluentCloud, Tag("confluent_cloud")],
|
|
151
|
+
Annotated[InputGrafana, Tag("grafana")],
|
|
152
|
+
Annotated[InputLoki, Tag("loki")],
|
|
153
|
+
Annotated[InputPrometheusRw, Tag("prometheus_rw")],
|
|
154
|
+
Annotated[InputPrometheus, Tag("prometheus")],
|
|
155
|
+
Annotated[InputEdgePrometheus, Tag("edge_prometheus")],
|
|
156
|
+
Annotated[InputOffice365Mgmt, Tag("office365_mgmt")],
|
|
157
|
+
Annotated[InputOffice365Service, Tag("office365_service")],
|
|
158
|
+
Annotated[InputOffice365MsgTrace, Tag("office365_msg_trace")],
|
|
159
|
+
Annotated[InputEventhub, Tag("eventhub")],
|
|
160
|
+
Annotated[InputExec, Tag("exec")],
|
|
161
|
+
Annotated[InputFirehose, Tag("firehose")],
|
|
162
|
+
Annotated[InputGooglePubsub, Tag("google_pubsub")],
|
|
163
|
+
Annotated[InputCribl, Tag("cribl")],
|
|
164
|
+
Annotated[InputCriblTCP, Tag("cribl_tcp")],
|
|
165
|
+
Annotated[InputCriblHTTP, Tag("cribl_http")],
|
|
166
|
+
Annotated[InputCriblLakeHTTP, Tag("cribl_lake_http")],
|
|
167
|
+
Annotated[InputTcpjson, Tag("tcpjson")],
|
|
168
|
+
Annotated[InputSystemMetrics, Tag("system_metrics")],
|
|
169
|
+
Annotated[InputSystemState, Tag("system_state")],
|
|
170
|
+
Annotated[InputKubeMetrics, Tag("kube_metrics")],
|
|
171
|
+
Annotated[InputKubeLogs, Tag("kube_logs")],
|
|
172
|
+
Annotated[InputKubeEvents, Tag("kube_events")],
|
|
173
|
+
Annotated[InputWindowsMetrics, Tag("windows_metrics")],
|
|
174
|
+
Annotated[InputCrowdstrike, Tag("crowdstrike")],
|
|
175
|
+
Annotated[InputDatadogAgent, Tag("datadog_agent")],
|
|
176
|
+
Annotated[InputDatagen, Tag("datagen")],
|
|
177
|
+
Annotated[InputHTTPRaw, Tag("http_raw")],
|
|
178
|
+
Annotated[InputKinesis, Tag("kinesis")],
|
|
179
|
+
Annotated[InputCriblmetrics, Tag("criblmetrics")],
|
|
180
|
+
Annotated[InputMetrics, Tag("metrics")],
|
|
181
|
+
Annotated[InputS3, Tag("s3")],
|
|
182
|
+
Annotated[InputS3Inventory, Tag("s3_inventory")],
|
|
183
|
+
Annotated[InputSnmp, Tag("snmp")],
|
|
184
|
+
Annotated[InputOpenTelemetry, Tag("open_telemetry")],
|
|
185
|
+
Annotated[InputModelDrivenTelemetry, Tag("model_driven_telemetry")],
|
|
186
|
+
Annotated[InputSqs, Tag("sqs")],
|
|
187
|
+
Annotated[InputSyslog, Tag("syslog")],
|
|
188
|
+
Annotated[InputFile, Tag("file")],
|
|
189
|
+
Annotated[InputTCP, Tag("tcp")],
|
|
190
|
+
Annotated[InputAppscope, Tag("appscope")],
|
|
191
|
+
Annotated[InputWef, Tag("wef")],
|
|
192
|
+
Annotated[InputWinEventLogs, Tag("win_event_logs")],
|
|
193
|
+
Annotated[InputRawUDP, Tag("raw_udp")],
|
|
194
|
+
Annotated[InputJournalFiles, Tag("journal_files")],
|
|
195
|
+
Annotated[InputWiz, Tag("wiz")],
|
|
196
|
+
Annotated[InputNetflow, Tag("netflow")],
|
|
197
|
+
Annotated[InputSecurityLake, Tag("security_lake")],
|
|
198
|
+
Annotated[InputZscalerHec, Tag("zscaler_hec")],
|
|
201
199
|
],
|
|
202
|
-
)
|
|
200
|
+
Discriminator(lambda m: get_discriminator(m, "type", "type")),
|
|
201
|
+
]
|