cribl-control-plane 0.0.13__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/__init__.py +17 -0
- cribl_control_plane/_hooks/__init__.py +5 -0
- cribl_control_plane/_hooks/clientcredentials.py +211 -0
- cribl_control_plane/_hooks/registration.py +13 -0
- cribl_control_plane/_hooks/sdkhooks.py +81 -0
- cribl_control_plane/_hooks/types.py +112 -0
- cribl_control_plane/_version.py +15 -0
- cribl_control_plane/auth_sdk.py +184 -0
- cribl_control_plane/basesdk.py +358 -0
- cribl_control_plane/errors/__init__.py +60 -0
- cribl_control_plane/errors/apierror.py +38 -0
- cribl_control_plane/errors/criblcontrolplaneerror.py +26 -0
- cribl_control_plane/errors/error.py +24 -0
- cribl_control_plane/errors/healthstatus_error.py +38 -0
- cribl_control_plane/errors/no_response_error.py +13 -0
- cribl_control_plane/errors/responsevalidationerror.py +25 -0
- cribl_control_plane/health.py +166 -0
- cribl_control_plane/httpclient.py +126 -0
- cribl_control_plane/models/__init__.py +7305 -0
- cribl_control_plane/models/addhectokenrequest.py +34 -0
- cribl_control_plane/models/authtoken.py +13 -0
- cribl_control_plane/models/createinputhectokenbyidop.py +45 -0
- cribl_control_plane/models/createinputop.py +24 -0
- cribl_control_plane/models/createoutputop.py +24 -0
- cribl_control_plane/models/createoutputtestbyidop.py +46 -0
- cribl_control_plane/models/criblevent.py +14 -0
- cribl_control_plane/models/deleteinputbyidop.py +37 -0
- cribl_control_plane/models/deleteoutputbyidop.py +37 -0
- cribl_control_plane/models/deleteoutputpqbyidop.py +36 -0
- cribl_control_plane/models/getinputbyidop.py +37 -0
- cribl_control_plane/models/getoutputbyidop.py +37 -0
- cribl_control_plane/models/getoutputpqbyidop.py +36 -0
- cribl_control_plane/models/getoutputsamplesbyidop.py +37 -0
- cribl_control_plane/models/healthstatus.py +36 -0
- cribl_control_plane/models/input.py +199 -0
- cribl_control_plane/models/inputappscope.py +448 -0
- cribl_control_plane/models/inputazureblob.py +308 -0
- cribl_control_plane/models/inputcollection.py +208 -0
- cribl_control_plane/models/inputconfluentcloud.py +585 -0
- cribl_control_plane/models/inputcribl.py +165 -0
- cribl_control_plane/models/inputcriblhttp.py +341 -0
- cribl_control_plane/models/inputcribllakehttp.py +342 -0
- cribl_control_plane/models/inputcriblmetrics.py +175 -0
- cribl_control_plane/models/inputcribltcp.py +299 -0
- cribl_control_plane/models/inputcrowdstrike.py +410 -0
- cribl_control_plane/models/inputdatadogagent.py +364 -0
- cribl_control_plane/models/inputdatagen.py +180 -0
- cribl_control_plane/models/inputedgeprometheus.py +551 -0
- cribl_control_plane/models/inputelastic.py +494 -0
- cribl_control_plane/models/inputeventhub.py +360 -0
- cribl_control_plane/models/inputexec.py +213 -0
- cribl_control_plane/models/inputfile.py +259 -0
- cribl_control_plane/models/inputfirehose.py +341 -0
- cribl_control_plane/models/inputgooglepubsub.py +247 -0
- cribl_control_plane/models/inputgrafana_union.py +1247 -0
- cribl_control_plane/models/inputhttp.py +403 -0
- cribl_control_plane/models/inputhttpraw.py +407 -0
- cribl_control_plane/models/inputjournalfiles.py +208 -0
- cribl_control_plane/models/inputkafka.py +581 -0
- cribl_control_plane/models/inputkinesis.py +363 -0
- cribl_control_plane/models/inputkubeevents.py +182 -0
- cribl_control_plane/models/inputkubelogs.py +256 -0
- cribl_control_plane/models/inputkubemetrics.py +233 -0
- cribl_control_plane/models/inputloki.py +468 -0
- cribl_control_plane/models/inputmetrics.py +290 -0
- cribl_control_plane/models/inputmodeldriventelemetry.py +274 -0
- cribl_control_plane/models/inputmsk.py +654 -0
- cribl_control_plane/models/inputnetflow.py +224 -0
- cribl_control_plane/models/inputoffice365mgmt.py +384 -0
- cribl_control_plane/models/inputoffice365msgtrace.py +449 -0
- cribl_control_plane/models/inputoffice365service.py +377 -0
- cribl_control_plane/models/inputopentelemetry.py +516 -0
- cribl_control_plane/models/inputprometheus.py +464 -0
- cribl_control_plane/models/inputprometheusrw.py +470 -0
- cribl_control_plane/models/inputrawudp.py +207 -0
- cribl_control_plane/models/inputs3.py +416 -0
- cribl_control_plane/models/inputs3inventory.py +440 -0
- cribl_control_plane/models/inputsecuritylake.py +425 -0
- cribl_control_plane/models/inputsnmp.py +274 -0
- cribl_control_plane/models/inputsplunk.py +387 -0
- cribl_control_plane/models/inputsplunkhec.py +478 -0
- cribl_control_plane/models/inputsplunksearch.py +537 -0
- cribl_control_plane/models/inputsqs.py +320 -0
- cribl_control_plane/models/inputsyslog_union.py +759 -0
- cribl_control_plane/models/inputsystemmetrics.py +533 -0
- cribl_control_plane/models/inputsystemstate.py +417 -0
- cribl_control_plane/models/inputtcp.py +359 -0
- cribl_control_plane/models/inputtcpjson.py +334 -0
- cribl_control_plane/models/inputwef.py +498 -0
- cribl_control_plane/models/inputwindowsmetrics.py +457 -0
- cribl_control_plane/models/inputwineventlogs.py +222 -0
- cribl_control_plane/models/inputwiz.py +334 -0
- cribl_control_plane/models/inputzscalerhec.py +439 -0
- cribl_control_plane/models/listinputop.py +24 -0
- cribl_control_plane/models/listoutputop.py +24 -0
- cribl_control_plane/models/logininfo.py +16 -0
- cribl_control_plane/models/output.py +229 -0
- cribl_control_plane/models/outputazureblob.py +471 -0
- cribl_control_plane/models/outputazuredataexplorer.py +660 -0
- cribl_control_plane/models/outputazureeventhub.py +321 -0
- cribl_control_plane/models/outputazurelogs.py +386 -0
- cribl_control_plane/models/outputclickhouse.py +650 -0
- cribl_control_plane/models/outputcloudwatch.py +273 -0
- cribl_control_plane/models/outputconfluentcloud.py +591 -0
- cribl_control_plane/models/outputcriblhttp.py +494 -0
- cribl_control_plane/models/outputcribllake.py +396 -0
- cribl_control_plane/models/outputcribltcp.py +387 -0
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +410 -0
- cribl_control_plane/models/outputdatadog.py +472 -0
- cribl_control_plane/models/outputdataset.py +437 -0
- cribl_control_plane/models/outputdefault.py +55 -0
- cribl_control_plane/models/outputdevnull.py +50 -0
- cribl_control_plane/models/outputdiskspool.py +89 -0
- cribl_control_plane/models/outputdls3.py +560 -0
- cribl_control_plane/models/outputdynatracehttp.py +454 -0
- cribl_control_plane/models/outputdynatraceotlp.py +486 -0
- cribl_control_plane/models/outputelastic.py +494 -0
- cribl_control_plane/models/outputelasticcloud.py +407 -0
- cribl_control_plane/models/outputexabeam.py +297 -0
- cribl_control_plane/models/outputfilesystem.py +357 -0
- cribl_control_plane/models/outputgooglechronicle.py +486 -0
- cribl_control_plane/models/outputgooglecloudlogging.py +557 -0
- cribl_control_plane/models/outputgooglecloudstorage.py +499 -0
- cribl_control_plane/models/outputgooglepubsub.py +274 -0
- cribl_control_plane/models/outputgrafanacloud_union.py +1024 -0
- cribl_control_plane/models/outputgraphite.py +225 -0
- cribl_control_plane/models/outputhoneycomb.py +369 -0
- cribl_control_plane/models/outputhumiohec.py +389 -0
- cribl_control_plane/models/outputinfluxdb.py +523 -0
- cribl_control_plane/models/outputkafka.py +581 -0
- cribl_control_plane/models/outputkinesis.py +312 -0
- cribl_control_plane/models/outputloki.py +425 -0
- cribl_control_plane/models/outputminio.py +512 -0
- cribl_control_plane/models/outputmsk.py +654 -0
- cribl_control_plane/models/outputnetflow.py +80 -0
- cribl_control_plane/models/outputnewrelic.py +424 -0
- cribl_control_plane/models/outputnewrelicevents.py +401 -0
- cribl_control_plane/models/outputopentelemetry.py +669 -0
- cribl_control_plane/models/outputprometheus.py +485 -0
- cribl_control_plane/models/outputring.py +121 -0
- cribl_control_plane/models/outputrouter.py +83 -0
- cribl_control_plane/models/outputs3.py +556 -0
- cribl_control_plane/models/outputsamplesresponse.py +14 -0
- cribl_control_plane/models/outputsecuritylake.py +505 -0
- cribl_control_plane/models/outputsentinel.py +488 -0
- cribl_control_plane/models/outputsentineloneaisiem.py +505 -0
- cribl_control_plane/models/outputservicenow.py +543 -0
- cribl_control_plane/models/outputsignalfx.py +369 -0
- cribl_control_plane/models/outputsnmp.py +80 -0
- cribl_control_plane/models/outputsns.py +274 -0
- cribl_control_plane/models/outputsplunk.py +383 -0
- cribl_control_plane/models/outputsplunkhec.py +434 -0
- cribl_control_plane/models/outputsplunklb.py +558 -0
- cribl_control_plane/models/outputsqs.py +328 -0
- cribl_control_plane/models/outputstatsd.py +224 -0
- cribl_control_plane/models/outputstatsdext.py +225 -0
- cribl_control_plane/models/outputsumologic.py +378 -0
- cribl_control_plane/models/outputsyslog.py +415 -0
- cribl_control_plane/models/outputtcpjson.py +413 -0
- cribl_control_plane/models/outputtestrequest.py +15 -0
- cribl_control_plane/models/outputtestresponse.py +29 -0
- cribl_control_plane/models/outputwavefront.py +369 -0
- cribl_control_plane/models/outputwebhook.py +689 -0
- cribl_control_plane/models/outputxsiam.py +415 -0
- cribl_control_plane/models/schemeclientoauth.py +24 -0
- cribl_control_plane/models/security.py +36 -0
- cribl_control_plane/models/updatehectokenrequest.py +31 -0
- cribl_control_plane/models/updateinputbyidop.py +44 -0
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +52 -0
- cribl_control_plane/models/updateoutputbyidop.py +44 -0
- cribl_control_plane/outputs.py +1615 -0
- cribl_control_plane/py.typed +1 -0
- cribl_control_plane/sdk.py +164 -0
- cribl_control_plane/sdkconfiguration.py +36 -0
- cribl_control_plane/sources.py +1355 -0
- cribl_control_plane/types/__init__.py +21 -0
- cribl_control_plane/types/basemodel.py +39 -0
- cribl_control_plane/utils/__init__.py +187 -0
- cribl_control_plane/utils/annotations.py +55 -0
- cribl_control_plane/utils/datetimes.py +23 -0
- cribl_control_plane/utils/enums.py +74 -0
- cribl_control_plane/utils/eventstreaming.py +238 -0
- cribl_control_plane/utils/forms.py +223 -0
- cribl_control_plane/utils/headers.py +136 -0
- cribl_control_plane/utils/logger.py +27 -0
- cribl_control_plane/utils/metadata.py +118 -0
- cribl_control_plane/utils/queryparams.py +205 -0
- cribl_control_plane/utils/requestbodies.py +66 -0
- cribl_control_plane/utils/retries.py +217 -0
- cribl_control_plane/utils/security.py +207 -0
- cribl_control_plane/utils/serializers.py +249 -0
- cribl_control_plane/utils/unmarshal_json_response.py +24 -0
- cribl_control_plane/utils/url.py +155 -0
- cribl_control_plane/utils/values.py +137 -0
- cribl_control_plane-0.0.13.dist-info/METADATA +489 -0
- cribl_control_plane-0.0.13.dist-info/RECORD +197 -0
- cribl_control_plane-0.0.13.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,669 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from cribl_control_plane import utils
|
|
5
|
+
from cribl_control_plane.types import BaseModel
|
|
6
|
+
from cribl_control_plane.utils import validate_open_enum
|
|
7
|
+
from enum import Enum
|
|
8
|
+
import pydantic
|
|
9
|
+
from pydantic.functional_validators import PlainValidator
|
|
10
|
+
from typing import List, Optional
|
|
11
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class OutputOpenTelemetryType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
15
|
+
OPEN_TELEMETRY = "open_telemetry"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class OutputOpenTelemetryProtocol(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
r"""Select a transport option for OpenTelemetry"""
|
|
20
|
+
|
|
21
|
+
GRPC = "grpc"
|
|
22
|
+
HTTP = "http"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class OutputOpenTelemetryOTLPVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
26
|
+
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
27
|
+
|
|
28
|
+
ZERO_DOT_10_DOT_0 = "0.10.0"
|
|
29
|
+
ONE_DOT_3_DOT_1 = "1.3.1"
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class OutputOpenTelemetryCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
33
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
34
|
+
|
|
35
|
+
NONE = "none"
|
|
36
|
+
DEFLATE = "deflate"
|
|
37
|
+
GZIP = "gzip"
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class OutputOpenTelemetryHTTPCompressCompression(
|
|
41
|
+
str, Enum, metaclass=utils.OpenEnumMeta
|
|
42
|
+
):
|
|
43
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
44
|
+
|
|
45
|
+
NONE = "none"
|
|
46
|
+
GZIP = "gzip"
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class OutputOpenTelemetryAuthenticationType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
50
|
+
r"""OpenTelemetry authentication type"""
|
|
51
|
+
|
|
52
|
+
NONE = "none"
|
|
53
|
+
BASIC = "basic"
|
|
54
|
+
CREDENTIALS_SECRET = "credentialsSecret"
|
|
55
|
+
TOKEN = "token"
|
|
56
|
+
TEXT_SECRET = "textSecret"
|
|
57
|
+
OAUTH = "oauth"
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class OutputOpenTelemetryMetadatumTypedDict(TypedDict):
|
|
61
|
+
value: str
|
|
62
|
+
key: NotRequired[str]
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class OutputOpenTelemetryMetadatum(BaseModel):
|
|
66
|
+
value: str
|
|
67
|
+
|
|
68
|
+
key: Optional[str] = ""
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class OutputOpenTelemetryFailedRequestLoggingMode(
|
|
72
|
+
str, Enum, metaclass=utils.OpenEnumMeta
|
|
73
|
+
):
|
|
74
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
75
|
+
|
|
76
|
+
PAYLOAD = "payload"
|
|
77
|
+
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
78
|
+
NONE = "none"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class OutputOpenTelemetryBackpressureBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
82
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
83
|
+
|
|
84
|
+
BLOCK = "block"
|
|
85
|
+
DROP = "drop"
|
|
86
|
+
QUEUE = "queue"
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class OutputOpenTelemetryOauthParamTypedDict(TypedDict):
|
|
90
|
+
name: str
|
|
91
|
+
r"""OAuth parameter name"""
|
|
92
|
+
value: str
|
|
93
|
+
r"""OAuth parameter value"""
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class OutputOpenTelemetryOauthParam(BaseModel):
|
|
97
|
+
name: str
|
|
98
|
+
r"""OAuth parameter name"""
|
|
99
|
+
|
|
100
|
+
value: str
|
|
101
|
+
r"""OAuth parameter value"""
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class OutputOpenTelemetryOauthHeaderTypedDict(TypedDict):
|
|
105
|
+
name: str
|
|
106
|
+
r"""OAuth header name"""
|
|
107
|
+
value: str
|
|
108
|
+
r"""OAuth header value"""
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class OutputOpenTelemetryOauthHeader(BaseModel):
|
|
112
|
+
name: str
|
|
113
|
+
r"""OAuth header name"""
|
|
114
|
+
|
|
115
|
+
value: str
|
|
116
|
+
r"""OAuth header value"""
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
class OutputOpenTelemetryExtraHTTPHeaderTypedDict(TypedDict):
|
|
120
|
+
value: str
|
|
121
|
+
name: NotRequired[str]
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
class OutputOpenTelemetryExtraHTTPHeader(BaseModel):
|
|
125
|
+
value: str
|
|
126
|
+
|
|
127
|
+
name: Optional[str] = None
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
class OutputOpenTelemetryResponseRetrySettingTypedDict(TypedDict):
|
|
131
|
+
http_status: float
|
|
132
|
+
r"""The HTTP response status code that will trigger retries"""
|
|
133
|
+
initial_backoff: NotRequired[float]
|
|
134
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
135
|
+
backoff_rate: NotRequired[float]
|
|
136
|
+
r"""Base for exponential backoff. A value of 2 (default) means Cribl Stream will retry after 2 seconds, then 4 seconds, then 8 seconds, etc."""
|
|
137
|
+
max_backoff: NotRequired[float]
|
|
138
|
+
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class OutputOpenTelemetryResponseRetrySetting(BaseModel):
|
|
142
|
+
http_status: Annotated[float, pydantic.Field(alias="httpStatus")]
|
|
143
|
+
r"""The HTTP response status code that will trigger retries"""
|
|
144
|
+
|
|
145
|
+
initial_backoff: Annotated[
|
|
146
|
+
Optional[float], pydantic.Field(alias="initialBackoff")
|
|
147
|
+
] = 1000
|
|
148
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
149
|
+
|
|
150
|
+
backoff_rate: Annotated[Optional[float], pydantic.Field(alias="backoffRate")] = 2
|
|
151
|
+
r"""Base for exponential backoff. A value of 2 (default) means Cribl Stream will retry after 2 seconds, then 4 seconds, then 8 seconds, etc."""
|
|
152
|
+
|
|
153
|
+
max_backoff: Annotated[Optional[float], pydantic.Field(alias="maxBackoff")] = 10000
|
|
154
|
+
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class OutputOpenTelemetryTimeoutRetrySettingsTypedDict(TypedDict):
|
|
158
|
+
timeout_retry: NotRequired[bool]
|
|
159
|
+
initial_backoff: NotRequired[float]
|
|
160
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
161
|
+
backoff_rate: NotRequired[float]
|
|
162
|
+
r"""Base for exponential backoff. A value of 2 (default) means Cribl Stream will retry after 2 seconds, then 4 seconds, then 8 seconds, etc."""
|
|
163
|
+
max_backoff: NotRequired[float]
|
|
164
|
+
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
class OutputOpenTelemetryTimeoutRetrySettings(BaseModel):
|
|
168
|
+
timeout_retry: Annotated[Optional[bool], pydantic.Field(alias="timeoutRetry")] = (
|
|
169
|
+
False
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
initial_backoff: Annotated[
|
|
173
|
+
Optional[float], pydantic.Field(alias="initialBackoff")
|
|
174
|
+
] = 1000
|
|
175
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
176
|
+
|
|
177
|
+
backoff_rate: Annotated[Optional[float], pydantic.Field(alias="backoffRate")] = 2
|
|
178
|
+
r"""Base for exponential backoff. A value of 2 (default) means Cribl Stream will retry after 2 seconds, then 4 seconds, then 8 seconds, etc."""
|
|
179
|
+
|
|
180
|
+
max_backoff: Annotated[Optional[float], pydantic.Field(alias="maxBackoff")] = 10000
|
|
181
|
+
r"""The maximum backoff interval, in milliseconds, Cribl Stream should apply. Default (and minimum) is 10,000 ms (10 seconds); maximum is 180,000 ms (180 seconds)."""
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
class OutputOpenTelemetryMinimumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
185
|
+
TL_SV1 = "TLSv1"
|
|
186
|
+
TL_SV1_1 = "TLSv1.1"
|
|
187
|
+
TL_SV1_2 = "TLSv1.2"
|
|
188
|
+
TL_SV1_3 = "TLSv1.3"
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
class OutputOpenTelemetryMaximumTLSVersion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
192
|
+
TL_SV1 = "TLSv1"
|
|
193
|
+
TL_SV1_1 = "TLSv1.1"
|
|
194
|
+
TL_SV1_2 = "TLSv1.2"
|
|
195
|
+
TL_SV1_3 = "TLSv1.3"
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
class OutputOpenTelemetryTLSSettingsClientSideTypedDict(TypedDict):
|
|
199
|
+
disabled: NotRequired[bool]
|
|
200
|
+
reject_unauthorized: NotRequired[bool]
|
|
201
|
+
r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
|
|
202
|
+
trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
|
|
203
|
+
"""
|
|
204
|
+
certificate_name: NotRequired[str]
|
|
205
|
+
r"""The name of the predefined certificate"""
|
|
206
|
+
ca_path: NotRequired[str]
|
|
207
|
+
r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
|
|
208
|
+
priv_key_path: NotRequired[str]
|
|
209
|
+
r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
|
|
210
|
+
cert_path: NotRequired[str]
|
|
211
|
+
r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
212
|
+
passphrase: NotRequired[str]
|
|
213
|
+
r"""Passphrase to use to decrypt private key"""
|
|
214
|
+
min_version: NotRequired[OutputOpenTelemetryMinimumTLSVersion]
|
|
215
|
+
max_version: NotRequired[OutputOpenTelemetryMaximumTLSVersion]
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class OutputOpenTelemetryTLSSettingsClientSide(BaseModel):
|
|
219
|
+
disabled: Optional[bool] = True
|
|
220
|
+
|
|
221
|
+
reject_unauthorized: Annotated[
|
|
222
|
+
Optional[bool], pydantic.Field(alias="rejectUnauthorized")
|
|
223
|
+
] = True
|
|
224
|
+
r"""Reject certificates that are not authorized by a CA in the CA certificate path, or by another
|
|
225
|
+
trusted CA (such as the system's). Defaults to Enabled. Overrides the toggle from Advanced Settings, when also present.
|
|
226
|
+
"""
|
|
227
|
+
|
|
228
|
+
certificate_name: Annotated[
|
|
229
|
+
Optional[str], pydantic.Field(alias="certificateName")
|
|
230
|
+
] = None
|
|
231
|
+
r"""The name of the predefined certificate"""
|
|
232
|
+
|
|
233
|
+
ca_path: Annotated[Optional[str], pydantic.Field(alias="caPath")] = None
|
|
234
|
+
r"""Path on client in which to find CA certificates to verify the server's cert. PEM format. Can reference $ENV_VARS."""
|
|
235
|
+
|
|
236
|
+
priv_key_path: Annotated[Optional[str], pydantic.Field(alias="privKeyPath")] = None
|
|
237
|
+
r"""Path on client in which to find the private key to use. PEM format. Can reference $ENV_VARS."""
|
|
238
|
+
|
|
239
|
+
cert_path: Annotated[Optional[str], pydantic.Field(alias="certPath")] = None
|
|
240
|
+
r"""Path on client in which to find certificates to use. PEM format. Can reference $ENV_VARS."""
|
|
241
|
+
|
|
242
|
+
passphrase: Optional[str] = None
|
|
243
|
+
r"""Passphrase to use to decrypt private key"""
|
|
244
|
+
|
|
245
|
+
min_version: Annotated[
|
|
246
|
+
Annotated[
|
|
247
|
+
Optional[OutputOpenTelemetryMinimumTLSVersion],
|
|
248
|
+
PlainValidator(validate_open_enum(False)),
|
|
249
|
+
],
|
|
250
|
+
pydantic.Field(alias="minVersion"),
|
|
251
|
+
] = None
|
|
252
|
+
|
|
253
|
+
max_version: Annotated[
|
|
254
|
+
Annotated[
|
|
255
|
+
Optional[OutputOpenTelemetryMaximumTLSVersion],
|
|
256
|
+
PlainValidator(validate_open_enum(False)),
|
|
257
|
+
],
|
|
258
|
+
pydantic.Field(alias="maxVersion"),
|
|
259
|
+
] = None
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class OutputOpenTelemetryPqCompressCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
263
|
+
r"""Codec to use to compress the persisted data"""
|
|
264
|
+
|
|
265
|
+
NONE = "none"
|
|
266
|
+
GZIP = "gzip"
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
class OutputOpenTelemetryQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
270
|
+
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
271
|
+
|
|
272
|
+
BLOCK = "block"
|
|
273
|
+
DROP = "drop"
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class OutputOpenTelemetryMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
277
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
278
|
+
|
|
279
|
+
ERROR = "error"
|
|
280
|
+
BACKPRESSURE = "backpressure"
|
|
281
|
+
ALWAYS = "always"
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
class OutputOpenTelemetryPqControlsTypedDict(TypedDict):
|
|
285
|
+
pass
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
class OutputOpenTelemetryPqControls(BaseModel):
|
|
289
|
+
pass
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
class OutputOpenTelemetryTypedDict(TypedDict):
|
|
293
|
+
type: OutputOpenTelemetryType
|
|
294
|
+
endpoint: str
|
|
295
|
+
r"""The endpoint where OTel events will be sent. Enter any valid URL or an IP address (IPv4 or IPv6; enclose IPv6 addresses in square brackets). Unspecified ports will default to 4317, unless the endpoint is an HTTPS-based URL or TLS is enabled, in which case 443 will be used."""
|
|
296
|
+
id: NotRequired[str]
|
|
297
|
+
r"""Unique ID for this output"""
|
|
298
|
+
pipeline: NotRequired[str]
|
|
299
|
+
r"""Pipeline to process data before sending out to this output"""
|
|
300
|
+
system_fields: NotRequired[List[str]]
|
|
301
|
+
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
302
|
+
environment: NotRequired[str]
|
|
303
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
304
|
+
streamtags: NotRequired[List[str]]
|
|
305
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
306
|
+
protocol: NotRequired[OutputOpenTelemetryProtocol]
|
|
307
|
+
r"""Select a transport option for OpenTelemetry"""
|
|
308
|
+
otlp_version: NotRequired[OutputOpenTelemetryOTLPVersion]
|
|
309
|
+
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
310
|
+
compress: NotRequired[OutputOpenTelemetryCompressCompression]
|
|
311
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
312
|
+
http_compress: NotRequired[OutputOpenTelemetryHTTPCompressCompression]
|
|
313
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
314
|
+
auth_type: NotRequired[OutputOpenTelemetryAuthenticationType]
|
|
315
|
+
r"""OpenTelemetry authentication type"""
|
|
316
|
+
http_traces_endpoint_override: NotRequired[str]
|
|
317
|
+
r"""If you want to send traces to the default `{endpoint}/v1/traces` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
318
|
+
http_metrics_endpoint_override: NotRequired[str]
|
|
319
|
+
r"""If you want to send metrics to the default `{endpoint}/v1/metrics` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
320
|
+
http_logs_endpoint_override: NotRequired[str]
|
|
321
|
+
r"""If you want to send logs to the default `{endpoint}/v1/logs` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
322
|
+
metadata: NotRequired[List[OutputOpenTelemetryMetadatumTypedDict]]
|
|
323
|
+
r"""List of key-value pairs to send with each gRPC request. Value supports JavaScript expressions that are evaluated just once, when the destination gets started. To pass credentials as metadata, use 'C.Secret'."""
|
|
324
|
+
concurrency: NotRequired[float]
|
|
325
|
+
r"""Maximum number of ongoing requests before blocking"""
|
|
326
|
+
max_payload_size_kb: NotRequired[float]
|
|
327
|
+
r"""Maximum size, in KB, of the request body"""
|
|
328
|
+
timeout_sec: NotRequired[float]
|
|
329
|
+
r"""Amount of time, in seconds, to wait for a request to complete before canceling it"""
|
|
330
|
+
flush_period_sec: NotRequired[float]
|
|
331
|
+
r"""Maximum time between requests. Small values could cause the payload size to be smaller than the configured Body size limit."""
|
|
332
|
+
failed_request_logging_mode: NotRequired[
|
|
333
|
+
OutputOpenTelemetryFailedRequestLoggingMode
|
|
334
|
+
]
|
|
335
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
336
|
+
connection_timeout: NotRequired[float]
|
|
337
|
+
r"""Amount of time (milliseconds) to wait for the connection to establish before retrying"""
|
|
338
|
+
keep_alive_time: NotRequired[float]
|
|
339
|
+
r"""How often the sender should ping the peer to keep the connection open"""
|
|
340
|
+
keep_alive: NotRequired[bool]
|
|
341
|
+
r"""Disable to close the connection immediately after sending the outgoing request"""
|
|
342
|
+
on_backpressure: NotRequired[OutputOpenTelemetryBackpressureBehavior]
|
|
343
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
344
|
+
description: NotRequired[str]
|
|
345
|
+
username: NotRequired[str]
|
|
346
|
+
password: NotRequired[str]
|
|
347
|
+
token: NotRequired[str]
|
|
348
|
+
r"""Bearer token to include in the authorization header"""
|
|
349
|
+
credentials_secret: NotRequired[str]
|
|
350
|
+
r"""Select or create a secret that references your credentials"""
|
|
351
|
+
text_secret: NotRequired[str]
|
|
352
|
+
r"""Select or create a stored text secret"""
|
|
353
|
+
login_url: NotRequired[str]
|
|
354
|
+
r"""URL for OAuth"""
|
|
355
|
+
secret_param_name: NotRequired[str]
|
|
356
|
+
r"""Secret parameter name to pass in request body"""
|
|
357
|
+
secret: NotRequired[str]
|
|
358
|
+
r"""Secret parameter value to pass in request body"""
|
|
359
|
+
token_attribute_name: NotRequired[str]
|
|
360
|
+
r"""Name of the auth token attribute in the OAuth response. Can be top-level (e.g., 'token'); or nested, using a period (e.g., 'data.token')."""
|
|
361
|
+
auth_header_expr: NotRequired[str]
|
|
362
|
+
r"""JavaScript expression to compute the Authorization header value to pass in requests. The value `${token}` is used to reference the token obtained from authentication, e.g.: `Bearer ${token}`."""
|
|
363
|
+
token_timeout_secs: NotRequired[float]
|
|
364
|
+
r"""How often the OAuth token should be refreshed."""
|
|
365
|
+
oauth_params: NotRequired[List[OutputOpenTelemetryOauthParamTypedDict]]
|
|
366
|
+
r"""Additional parameters to send in the OAuth login request. @{product} will combine the secret with these parameters, and will send the URL-encoded result in a POST request to the endpoint specified in the 'Login URL'. We'll automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
367
|
+
oauth_headers: NotRequired[List[OutputOpenTelemetryOauthHeaderTypedDict]]
|
|
368
|
+
r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
369
|
+
reject_unauthorized: NotRequired[bool]
|
|
370
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's).
|
|
371
|
+
Enabled by default. When this setting is also present in TLS Settings (Client Side),
|
|
372
|
+
that value will take precedence.
|
|
373
|
+
"""
|
|
374
|
+
use_round_robin_dns: NotRequired[bool]
|
|
375
|
+
r"""Enable round-robin DNS lookup. When a DNS server returns multiple addresses, @{product} will cycle through them in the order returned. For optimal performance, consider enabling this setting for non-load balanced destinations."""
|
|
376
|
+
extra_http_headers: NotRequired[List[OutputOpenTelemetryExtraHTTPHeaderTypedDict]]
|
|
377
|
+
r"""Headers to add to all events"""
|
|
378
|
+
safe_headers: NotRequired[List[str]]
|
|
379
|
+
r"""List of headers that are safe to log in plain text"""
|
|
380
|
+
response_retry_settings: NotRequired[
|
|
381
|
+
List[OutputOpenTelemetryResponseRetrySettingTypedDict]
|
|
382
|
+
]
|
|
383
|
+
r"""Automatically retry after unsuccessful response status codes, such as 429 (Too Many Requests) or 503 (Service Unavailable)"""
|
|
384
|
+
timeout_retry_settings: NotRequired[
|
|
385
|
+
OutputOpenTelemetryTimeoutRetrySettingsTypedDict
|
|
386
|
+
]
|
|
387
|
+
response_honor_retry_after_header: NotRequired[bool]
|
|
388
|
+
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
389
|
+
tls: NotRequired[OutputOpenTelemetryTLSSettingsClientSideTypedDict]
|
|
390
|
+
pq_max_file_size: NotRequired[str]
|
|
391
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
392
|
+
pq_max_size: NotRequired[str]
|
|
393
|
+
r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
|
|
394
|
+
pq_path: NotRequired[str]
|
|
395
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/<output-id>."""
|
|
396
|
+
pq_compress: NotRequired[OutputOpenTelemetryPqCompressCompression]
|
|
397
|
+
r"""Codec to use to compress the persisted data"""
|
|
398
|
+
pq_on_backpressure: NotRequired[OutputOpenTelemetryQueueFullBehavior]
|
|
399
|
+
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
400
|
+
pq_mode: NotRequired[OutputOpenTelemetryMode]
|
|
401
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
402
|
+
pq_controls: NotRequired[OutputOpenTelemetryPqControlsTypedDict]
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
class OutputOpenTelemetry(BaseModel):
|
|
406
|
+
type: Annotated[OutputOpenTelemetryType, PlainValidator(validate_open_enum(False))]
|
|
407
|
+
|
|
408
|
+
endpoint: str
|
|
409
|
+
r"""The endpoint where OTel events will be sent. Enter any valid URL or an IP address (IPv4 or IPv6; enclose IPv6 addresses in square brackets). Unspecified ports will default to 4317, unless the endpoint is an HTTPS-based URL or TLS is enabled, in which case 443 will be used."""
|
|
410
|
+
|
|
411
|
+
id: Optional[str] = None
|
|
412
|
+
r"""Unique ID for this output"""
|
|
413
|
+
|
|
414
|
+
pipeline: Optional[str] = None
|
|
415
|
+
r"""Pipeline to process data before sending out to this output"""
|
|
416
|
+
|
|
417
|
+
system_fields: Annotated[
|
|
418
|
+
Optional[List[str]], pydantic.Field(alias="systemFields")
|
|
419
|
+
] = None
|
|
420
|
+
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
421
|
+
|
|
422
|
+
environment: Optional[str] = None
|
|
423
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
424
|
+
|
|
425
|
+
streamtags: Optional[List[str]] = None
|
|
426
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
427
|
+
|
|
428
|
+
protocol: Annotated[
|
|
429
|
+
Optional[OutputOpenTelemetryProtocol], PlainValidator(validate_open_enum(False))
|
|
430
|
+
] = OutputOpenTelemetryProtocol.GRPC
|
|
431
|
+
r"""Select a transport option for OpenTelemetry"""
|
|
432
|
+
|
|
433
|
+
otlp_version: Annotated[
|
|
434
|
+
Annotated[
|
|
435
|
+
Optional[OutputOpenTelemetryOTLPVersion],
|
|
436
|
+
PlainValidator(validate_open_enum(False)),
|
|
437
|
+
],
|
|
438
|
+
pydantic.Field(alias="otlpVersion"),
|
|
439
|
+
] = OutputOpenTelemetryOTLPVersion.ZERO_DOT_10_DOT_0
|
|
440
|
+
r"""The version of OTLP Protobuf definitions to use when structuring data to send"""
|
|
441
|
+
|
|
442
|
+
compress: Annotated[
|
|
443
|
+
Optional[OutputOpenTelemetryCompressCompression],
|
|
444
|
+
PlainValidator(validate_open_enum(False)),
|
|
445
|
+
] = OutputOpenTelemetryCompressCompression.GZIP
|
|
446
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
447
|
+
|
|
448
|
+
http_compress: Annotated[
|
|
449
|
+
Annotated[
|
|
450
|
+
Optional[OutputOpenTelemetryHTTPCompressCompression],
|
|
451
|
+
PlainValidator(validate_open_enum(False)),
|
|
452
|
+
],
|
|
453
|
+
pydantic.Field(alias="httpCompress"),
|
|
454
|
+
] = OutputOpenTelemetryHTTPCompressCompression.GZIP
|
|
455
|
+
r"""Type of compression to apply to messages sent to the OpenTelemetry endpoint"""
|
|
456
|
+
|
|
457
|
+
auth_type: Annotated[
|
|
458
|
+
Annotated[
|
|
459
|
+
Optional[OutputOpenTelemetryAuthenticationType],
|
|
460
|
+
PlainValidator(validate_open_enum(False)),
|
|
461
|
+
],
|
|
462
|
+
pydantic.Field(alias="authType"),
|
|
463
|
+
] = OutputOpenTelemetryAuthenticationType.NONE
|
|
464
|
+
r"""OpenTelemetry authentication type"""
|
|
465
|
+
|
|
466
|
+
http_traces_endpoint_override: Annotated[
|
|
467
|
+
Optional[str], pydantic.Field(alias="httpTracesEndpointOverride")
|
|
468
|
+
] = None
|
|
469
|
+
r"""If you want to send traces to the default `{endpoint}/v1/traces` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
470
|
+
|
|
471
|
+
http_metrics_endpoint_override: Annotated[
|
|
472
|
+
Optional[str], pydantic.Field(alias="httpMetricsEndpointOverride")
|
|
473
|
+
] = None
|
|
474
|
+
r"""If you want to send metrics to the default `{endpoint}/v1/metrics` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
475
|
+
|
|
476
|
+
http_logs_endpoint_override: Annotated[
|
|
477
|
+
Optional[str], pydantic.Field(alias="httpLogsEndpointOverride")
|
|
478
|
+
] = None
|
|
479
|
+
r"""If you want to send logs to the default `{endpoint}/v1/logs` endpoint, leave this field empty; otherwise, specify the desired endpoint"""
|
|
480
|
+
|
|
481
|
+
metadata: Optional[List[OutputOpenTelemetryMetadatum]] = None
|
|
482
|
+
r"""List of key-value pairs to send with each gRPC request. Value supports JavaScript expressions that are evaluated just once, when the destination gets started. To pass credentials as metadata, use 'C.Secret'."""
|
|
483
|
+
|
|
484
|
+
concurrency: Optional[float] = 5
|
|
485
|
+
r"""Maximum number of ongoing requests before blocking"""
|
|
486
|
+
|
|
487
|
+
max_payload_size_kb: Annotated[
|
|
488
|
+
Optional[float], pydantic.Field(alias="maxPayloadSizeKB")
|
|
489
|
+
] = 4096
|
|
490
|
+
r"""Maximum size, in KB, of the request body"""
|
|
491
|
+
|
|
492
|
+
timeout_sec: Annotated[Optional[float], pydantic.Field(alias="timeoutSec")] = 30
|
|
493
|
+
r"""Amount of time, in seconds, to wait for a request to complete before canceling it"""
|
|
494
|
+
|
|
495
|
+
flush_period_sec: Annotated[
|
|
496
|
+
Optional[float], pydantic.Field(alias="flushPeriodSec")
|
|
497
|
+
] = 1
|
|
498
|
+
r"""Maximum time between requests. Small values could cause the payload size to be smaller than the configured Body size limit."""
|
|
499
|
+
|
|
500
|
+
failed_request_logging_mode: Annotated[
|
|
501
|
+
Annotated[
|
|
502
|
+
Optional[OutputOpenTelemetryFailedRequestLoggingMode],
|
|
503
|
+
PlainValidator(validate_open_enum(False)),
|
|
504
|
+
],
|
|
505
|
+
pydantic.Field(alias="failedRequestLoggingMode"),
|
|
506
|
+
] = OutputOpenTelemetryFailedRequestLoggingMode.NONE
|
|
507
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
508
|
+
|
|
509
|
+
connection_timeout: Annotated[
|
|
510
|
+
Optional[float], pydantic.Field(alias="connectionTimeout")
|
|
511
|
+
] = 10000
|
|
512
|
+
r"""Amount of time (milliseconds) to wait for the connection to establish before retrying"""
|
|
513
|
+
|
|
514
|
+
keep_alive_time: Annotated[
|
|
515
|
+
Optional[float], pydantic.Field(alias="keepAliveTime")
|
|
516
|
+
] = 30
|
|
517
|
+
r"""How often the sender should ping the peer to keep the connection open"""
|
|
518
|
+
|
|
519
|
+
keep_alive: Annotated[Optional[bool], pydantic.Field(alias="keepAlive")] = True
|
|
520
|
+
r"""Disable to close the connection immediately after sending the outgoing request"""
|
|
521
|
+
|
|
522
|
+
on_backpressure: Annotated[
|
|
523
|
+
Annotated[
|
|
524
|
+
Optional[OutputOpenTelemetryBackpressureBehavior],
|
|
525
|
+
PlainValidator(validate_open_enum(False)),
|
|
526
|
+
],
|
|
527
|
+
pydantic.Field(alias="onBackpressure"),
|
|
528
|
+
] = OutputOpenTelemetryBackpressureBehavior.BLOCK
|
|
529
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
530
|
+
|
|
531
|
+
description: Optional[str] = None
|
|
532
|
+
|
|
533
|
+
username: Optional[str] = None
|
|
534
|
+
|
|
535
|
+
password: Optional[str] = None
|
|
536
|
+
|
|
537
|
+
token: Optional[str] = None
|
|
538
|
+
r"""Bearer token to include in the authorization header"""
|
|
539
|
+
|
|
540
|
+
credentials_secret: Annotated[
|
|
541
|
+
Optional[str], pydantic.Field(alias="credentialsSecret")
|
|
542
|
+
] = None
|
|
543
|
+
r"""Select or create a secret that references your credentials"""
|
|
544
|
+
|
|
545
|
+
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
546
|
+
r"""Select or create a stored text secret"""
|
|
547
|
+
|
|
548
|
+
login_url: Annotated[Optional[str], pydantic.Field(alias="loginUrl")] = None
|
|
549
|
+
r"""URL for OAuth"""
|
|
550
|
+
|
|
551
|
+
secret_param_name: Annotated[
|
|
552
|
+
Optional[str], pydantic.Field(alias="secretParamName")
|
|
553
|
+
] = None
|
|
554
|
+
r"""Secret parameter name to pass in request body"""
|
|
555
|
+
|
|
556
|
+
secret: Optional[str] = None
|
|
557
|
+
r"""Secret parameter value to pass in request body"""
|
|
558
|
+
|
|
559
|
+
token_attribute_name: Annotated[
|
|
560
|
+
Optional[str], pydantic.Field(alias="tokenAttributeName")
|
|
561
|
+
] = None
|
|
562
|
+
r"""Name of the auth token attribute in the OAuth response. Can be top-level (e.g., 'token'); or nested, using a period (e.g., 'data.token')."""
|
|
563
|
+
|
|
564
|
+
auth_header_expr: Annotated[
|
|
565
|
+
Optional[str], pydantic.Field(alias="authHeaderExpr")
|
|
566
|
+
] = "`Bearer ${token}`"
|
|
567
|
+
r"""JavaScript expression to compute the Authorization header value to pass in requests. The value `${token}` is used to reference the token obtained from authentication, e.g.: `Bearer ${token}`."""
|
|
568
|
+
|
|
569
|
+
token_timeout_secs: Annotated[
|
|
570
|
+
Optional[float], pydantic.Field(alias="tokenTimeoutSecs")
|
|
571
|
+
] = 3600
|
|
572
|
+
r"""How often the OAuth token should be refreshed."""
|
|
573
|
+
|
|
574
|
+
oauth_params: Annotated[
|
|
575
|
+
Optional[List[OutputOpenTelemetryOauthParam]],
|
|
576
|
+
pydantic.Field(alias="oauthParams"),
|
|
577
|
+
] = None
|
|
578
|
+
r"""Additional parameters to send in the OAuth login request. @{product} will combine the secret with these parameters, and will send the URL-encoded result in a POST request to the endpoint specified in the 'Login URL'. We'll automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
579
|
+
|
|
580
|
+
oauth_headers: Annotated[
|
|
581
|
+
Optional[List[OutputOpenTelemetryOauthHeader]],
|
|
582
|
+
pydantic.Field(alias="oauthHeaders"),
|
|
583
|
+
] = None
|
|
584
|
+
r"""Additional headers to send in the OAuth login request. @{product} will automatically add the content-type header 'application/x-www-form-urlencoded' when sending this request."""
|
|
585
|
+
|
|
586
|
+
reject_unauthorized: Annotated[
|
|
587
|
+
Optional[bool], pydantic.Field(alias="rejectUnauthorized")
|
|
588
|
+
] = True
|
|
589
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's).
|
|
590
|
+
Enabled by default. When this setting is also present in TLS Settings (Client Side),
|
|
591
|
+
that value will take precedence.
|
|
592
|
+
"""
|
|
593
|
+
|
|
594
|
+
use_round_robin_dns: Annotated[
|
|
595
|
+
Optional[bool], pydantic.Field(alias="useRoundRobinDns")
|
|
596
|
+
] = False
|
|
597
|
+
r"""Enable round-robin DNS lookup. When a DNS server returns multiple addresses, @{product} will cycle through them in the order returned. For optimal performance, consider enabling this setting for non-load balanced destinations."""
|
|
598
|
+
|
|
599
|
+
extra_http_headers: Annotated[
|
|
600
|
+
Optional[List[OutputOpenTelemetryExtraHTTPHeader]],
|
|
601
|
+
pydantic.Field(alias="extraHttpHeaders"),
|
|
602
|
+
] = None
|
|
603
|
+
r"""Headers to add to all events"""
|
|
604
|
+
|
|
605
|
+
safe_headers: Annotated[
|
|
606
|
+
Optional[List[str]], pydantic.Field(alias="safeHeaders")
|
|
607
|
+
] = None
|
|
608
|
+
r"""List of headers that are safe to log in plain text"""
|
|
609
|
+
|
|
610
|
+
response_retry_settings: Annotated[
|
|
611
|
+
Optional[List[OutputOpenTelemetryResponseRetrySetting]],
|
|
612
|
+
pydantic.Field(alias="responseRetrySettings"),
|
|
613
|
+
] = None
|
|
614
|
+
r"""Automatically retry after unsuccessful response status codes, such as 429 (Too Many Requests) or 503 (Service Unavailable)"""
|
|
615
|
+
|
|
616
|
+
timeout_retry_settings: Annotated[
|
|
617
|
+
Optional[OutputOpenTelemetryTimeoutRetrySettings],
|
|
618
|
+
pydantic.Field(alias="timeoutRetrySettings"),
|
|
619
|
+
] = None
|
|
620
|
+
|
|
621
|
+
response_honor_retry_after_header: Annotated[
|
|
622
|
+
Optional[bool], pydantic.Field(alias="responseHonorRetryAfterHeader")
|
|
623
|
+
] = False
|
|
624
|
+
r"""Honor any Retry-After header that specifies a delay (in seconds) no longer than 180 seconds after the retry request. @{product} limits the delay to 180 seconds, even if the Retry-After header specifies a longer delay. When enabled, takes precedence over user-configured retry options. When disabled, all Retry-After headers are ignored."""
|
|
625
|
+
|
|
626
|
+
tls: Optional[OutputOpenTelemetryTLSSettingsClientSide] = None
|
|
627
|
+
|
|
628
|
+
pq_max_file_size: Annotated[
|
|
629
|
+
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
630
|
+
] = "1 MB"
|
|
631
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
632
|
+
|
|
633
|
+
pq_max_size: Annotated[Optional[str], pydantic.Field(alias="pqMaxSize")] = "5GB"
|
|
634
|
+
r"""The maximum disk space that the queue can consume (as an average per Worker Process) before queueing stops. Enter a numeral with units of KB, MB, etc."""
|
|
635
|
+
|
|
636
|
+
pq_path: Annotated[Optional[str], pydantic.Field(alias="pqPath")] = (
|
|
637
|
+
"$CRIBL_HOME/state/queues"
|
|
638
|
+
)
|
|
639
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/<output-id>."""
|
|
640
|
+
|
|
641
|
+
pq_compress: Annotated[
|
|
642
|
+
Annotated[
|
|
643
|
+
Optional[OutputOpenTelemetryPqCompressCompression],
|
|
644
|
+
PlainValidator(validate_open_enum(False)),
|
|
645
|
+
],
|
|
646
|
+
pydantic.Field(alias="pqCompress"),
|
|
647
|
+
] = OutputOpenTelemetryPqCompressCompression.NONE
|
|
648
|
+
r"""Codec to use to compress the persisted data"""
|
|
649
|
+
|
|
650
|
+
pq_on_backpressure: Annotated[
|
|
651
|
+
Annotated[
|
|
652
|
+
Optional[OutputOpenTelemetryQueueFullBehavior],
|
|
653
|
+
PlainValidator(validate_open_enum(False)),
|
|
654
|
+
],
|
|
655
|
+
pydantic.Field(alias="pqOnBackpressure"),
|
|
656
|
+
] = OutputOpenTelemetryQueueFullBehavior.BLOCK
|
|
657
|
+
r"""How to handle events when the queue is exerting backpressure (full capacity or low disk). 'Block' is the same behavior as non-PQ blocking. 'Drop new data' throws away incoming data, while leaving the contents of the PQ unchanged."""
|
|
658
|
+
|
|
659
|
+
pq_mode: Annotated[
|
|
660
|
+
Annotated[
|
|
661
|
+
Optional[OutputOpenTelemetryMode], PlainValidator(validate_open_enum(False))
|
|
662
|
+
],
|
|
663
|
+
pydantic.Field(alias="pqMode"),
|
|
664
|
+
] = OutputOpenTelemetryMode.ERROR
|
|
665
|
+
r"""In Error mode, PQ writes events to the filesystem if the Destination is unavailable. In Backpressure mode, PQ writes events to the filesystem when it detects backpressure from the Destination. In Always On mode, PQ always writes events to the filesystem."""
|
|
666
|
+
|
|
667
|
+
pq_controls: Annotated[
|
|
668
|
+
Optional[OutputOpenTelemetryPqControls], pydantic.Field(alias="pqControls")
|
|
669
|
+
] = None
|