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,505 @@
|
|
|
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 OutputSentinelOneAiSiemType(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
15
|
+
SENTINEL_ONE_AI_SIEM = "sentinel_one_ai_siem"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class OutputSentinelOneAiSiemRegion(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
19
|
+
r"""The SentinelOne region to send events to. In most cases you can find the region by either looking at your SentinelOne URL or knowing what geographic region your SentinelOne instance is contained in."""
|
|
20
|
+
|
|
21
|
+
US = "US"
|
|
22
|
+
CA = "CA"
|
|
23
|
+
EMEA = "EMEA"
|
|
24
|
+
AP = "AP"
|
|
25
|
+
APS = "APS"
|
|
26
|
+
AU = "AU"
|
|
27
|
+
CUSTOM = "Custom"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class AISIEMEndpointPath(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
31
|
+
r"""Regional endpoint used to send events to, such as /services/collector/event or /services/collector/raw"""
|
|
32
|
+
|
|
33
|
+
ROOT_SERVICES_COLLECTOR_EVENT = "/services/collector/event"
|
|
34
|
+
ROOT_SERVICES_COLLECTOR_RAW = "/services/collector/raw"
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class OutputSentinelOneAiSiemExtraHTTPHeaderTypedDict(TypedDict):
|
|
38
|
+
value: str
|
|
39
|
+
name: NotRequired[str]
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class OutputSentinelOneAiSiemExtraHTTPHeader(BaseModel):
|
|
43
|
+
value: str
|
|
44
|
+
|
|
45
|
+
name: Optional[str] = None
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
class OutputSentinelOneAiSiemFailedRequestLoggingMode(
|
|
49
|
+
str, Enum, metaclass=utils.OpenEnumMeta
|
|
50
|
+
):
|
|
51
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
52
|
+
|
|
53
|
+
PAYLOAD = "payload"
|
|
54
|
+
PAYLOAD_AND_HEADERS = "payloadAndHeaders"
|
|
55
|
+
NONE = "none"
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class OutputSentinelOneAiSiemAuthenticationMethod(
|
|
59
|
+
str, Enum, metaclass=utils.OpenEnumMeta
|
|
60
|
+
):
|
|
61
|
+
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
62
|
+
|
|
63
|
+
MANUAL = "manual"
|
|
64
|
+
SECRET = "secret"
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class OutputSentinelOneAiSiemResponseRetrySettingTypedDict(TypedDict):
|
|
68
|
+
http_status: float
|
|
69
|
+
r"""The HTTP response status code that will trigger retries"""
|
|
70
|
+
initial_backoff: NotRequired[float]
|
|
71
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
72
|
+
backoff_rate: NotRequired[float]
|
|
73
|
+
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."""
|
|
74
|
+
max_backoff: NotRequired[float]
|
|
75
|
+
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)."""
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class OutputSentinelOneAiSiemResponseRetrySetting(BaseModel):
|
|
79
|
+
http_status: Annotated[float, pydantic.Field(alias="httpStatus")]
|
|
80
|
+
r"""The HTTP response status code that will trigger retries"""
|
|
81
|
+
|
|
82
|
+
initial_backoff: Annotated[
|
|
83
|
+
Optional[float], pydantic.Field(alias="initialBackoff")
|
|
84
|
+
] = 1000
|
|
85
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
86
|
+
|
|
87
|
+
backoff_rate: Annotated[Optional[float], pydantic.Field(alias="backoffRate")] = 2
|
|
88
|
+
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."""
|
|
89
|
+
|
|
90
|
+
max_backoff: Annotated[Optional[float], pydantic.Field(alias="maxBackoff")] = 10000
|
|
91
|
+
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)."""
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class OutputSentinelOneAiSiemTimeoutRetrySettingsTypedDict(TypedDict):
|
|
95
|
+
timeout_retry: NotRequired[bool]
|
|
96
|
+
initial_backoff: NotRequired[float]
|
|
97
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
98
|
+
backoff_rate: NotRequired[float]
|
|
99
|
+
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."""
|
|
100
|
+
max_backoff: NotRequired[float]
|
|
101
|
+
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)."""
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class OutputSentinelOneAiSiemTimeoutRetrySettings(BaseModel):
|
|
105
|
+
timeout_retry: Annotated[Optional[bool], pydantic.Field(alias="timeoutRetry")] = (
|
|
106
|
+
False
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
initial_backoff: Annotated[
|
|
110
|
+
Optional[float], pydantic.Field(alias="initialBackoff")
|
|
111
|
+
] = 1000
|
|
112
|
+
r"""How long, in milliseconds, Cribl Stream should wait before initiating backoff. Maximum interval is 600,000 ms (10 minutes)."""
|
|
113
|
+
|
|
114
|
+
backoff_rate: Annotated[Optional[float], pydantic.Field(alias="backoffRate")] = 2
|
|
115
|
+
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."""
|
|
116
|
+
|
|
117
|
+
max_backoff: Annotated[Optional[float], pydantic.Field(alias="maxBackoff")] = 10000
|
|
118
|
+
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)."""
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class OutputSentinelOneAiSiemBackpressureBehavior(
|
|
122
|
+
str, Enum, metaclass=utils.OpenEnumMeta
|
|
123
|
+
):
|
|
124
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
125
|
+
|
|
126
|
+
BLOCK = "block"
|
|
127
|
+
DROP = "drop"
|
|
128
|
+
QUEUE = "queue"
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
class OutputSentinelOneAiSiemCompression(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
132
|
+
r"""Codec to use to compress the persisted data"""
|
|
133
|
+
|
|
134
|
+
NONE = "none"
|
|
135
|
+
GZIP = "gzip"
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class OutputSentinelOneAiSiemQueueFullBehavior(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
139
|
+
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."""
|
|
140
|
+
|
|
141
|
+
BLOCK = "block"
|
|
142
|
+
DROP = "drop"
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
class OutputSentinelOneAiSiemMode(str, Enum, metaclass=utils.OpenEnumMeta):
|
|
146
|
+
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."""
|
|
147
|
+
|
|
148
|
+
ERROR = "error"
|
|
149
|
+
BACKPRESSURE = "backpressure"
|
|
150
|
+
ALWAYS = "always"
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
class OutputSentinelOneAiSiemPqControlsTypedDict(TypedDict):
|
|
154
|
+
pass
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class OutputSentinelOneAiSiemPqControls(BaseModel):
|
|
158
|
+
pass
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
class OutputSentinelOneAiSiemTypedDict(TypedDict):
|
|
162
|
+
id: NotRequired[str]
|
|
163
|
+
r"""Unique ID for this output"""
|
|
164
|
+
type: NotRequired[OutputSentinelOneAiSiemType]
|
|
165
|
+
pipeline: NotRequired[str]
|
|
166
|
+
r"""Pipeline to process data before sending out to this output"""
|
|
167
|
+
system_fields: NotRequired[List[str]]
|
|
168
|
+
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
169
|
+
environment: NotRequired[str]
|
|
170
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
171
|
+
streamtags: NotRequired[List[str]]
|
|
172
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
173
|
+
region: NotRequired[OutputSentinelOneAiSiemRegion]
|
|
174
|
+
r"""The SentinelOne region to send events to. In most cases you can find the region by either looking at your SentinelOne URL or knowing what geographic region your SentinelOne instance is contained in."""
|
|
175
|
+
endpoint: NotRequired[AISIEMEndpointPath]
|
|
176
|
+
r"""Regional endpoint used to send events to, such as /services/collector/event or /services/collector/raw"""
|
|
177
|
+
concurrency: NotRequired[float]
|
|
178
|
+
r"""Maximum number of ongoing requests before blocking"""
|
|
179
|
+
max_payload_size_kb: NotRequired[float]
|
|
180
|
+
r"""Maximum size, in KB, of the request body"""
|
|
181
|
+
max_payload_events: NotRequired[float]
|
|
182
|
+
r"""Maximum number of events to include in the request body. Default is 0 (unlimited)."""
|
|
183
|
+
compress: NotRequired[bool]
|
|
184
|
+
r"""Compress the payload body before sending"""
|
|
185
|
+
reject_unauthorized: NotRequired[bool]
|
|
186
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's).
|
|
187
|
+
Enabled by default. When this setting is also present in TLS Settings (Client Side),
|
|
188
|
+
that value will take precedence.
|
|
189
|
+
"""
|
|
190
|
+
timeout_sec: NotRequired[float]
|
|
191
|
+
r"""Amount of time, in seconds, to wait for a request to complete before canceling it"""
|
|
192
|
+
flush_period_sec: NotRequired[float]
|
|
193
|
+
r"""Maximum time between requests. Small values could cause the payload size to be smaller than the configured Body size limit."""
|
|
194
|
+
extra_http_headers: NotRequired[
|
|
195
|
+
List[OutputSentinelOneAiSiemExtraHTTPHeaderTypedDict]
|
|
196
|
+
]
|
|
197
|
+
r"""Headers to add to all events"""
|
|
198
|
+
failed_request_logging_mode: NotRequired[
|
|
199
|
+
OutputSentinelOneAiSiemFailedRequestLoggingMode
|
|
200
|
+
]
|
|
201
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
202
|
+
safe_headers: NotRequired[List[str]]
|
|
203
|
+
r"""List of headers that are safe to log in plain text"""
|
|
204
|
+
auth_type: NotRequired[OutputSentinelOneAiSiemAuthenticationMethod]
|
|
205
|
+
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
206
|
+
response_retry_settings: NotRequired[
|
|
207
|
+
List[OutputSentinelOneAiSiemResponseRetrySettingTypedDict]
|
|
208
|
+
]
|
|
209
|
+
r"""Automatically retry after unsuccessful response status codes, such as 429 (Too Many Requests) or 503 (Service Unavailable)"""
|
|
210
|
+
timeout_retry_settings: NotRequired[
|
|
211
|
+
OutputSentinelOneAiSiemTimeoutRetrySettingsTypedDict
|
|
212
|
+
]
|
|
213
|
+
response_honor_retry_after_header: NotRequired[bool]
|
|
214
|
+
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."""
|
|
215
|
+
on_backpressure: NotRequired[OutputSentinelOneAiSiemBackpressureBehavior]
|
|
216
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
217
|
+
description: NotRequired[str]
|
|
218
|
+
token: NotRequired[str]
|
|
219
|
+
r"""In the SentinelOne Console select Policy & Settings then select the Singularity AI SIEM section, API Keys will be at the bottom. Under Log Access Keys select a Write token and copy it here"""
|
|
220
|
+
text_secret: NotRequired[str]
|
|
221
|
+
r"""Select or create a stored text secret"""
|
|
222
|
+
base_url: NotRequired[str]
|
|
223
|
+
r"""Base URL of the endpoint used to send events to, such as https://<Your-S1-Tenant>.sentinelone.net. Must begin with http:// or https://, can include a port number, and no trailing slashes. Matches pattern: ^https?://[a-zA-Z0-9.-]+(:[0-9]+)?$."""
|
|
224
|
+
host_expression: NotRequired[str]
|
|
225
|
+
r"""Define serverHost for events using a JavaScript expression. You must enclose text constants in quotes (such as, 'myServer')."""
|
|
226
|
+
source_expression: NotRequired[str]
|
|
227
|
+
r"""Define logFile for events using a JavaScript expression. You must enclose text constants in quotes (such as, 'myLogFile.txt')."""
|
|
228
|
+
source_type_expression: NotRequired[str]
|
|
229
|
+
r"""Define the parser for events using a JavaScript expression. This value helps parse data into AI SIEM. You must enclose text constants in quotes (such as, 'dottedJson'). For custom parsers, substitute 'dottedJson' with your parser's name."""
|
|
230
|
+
data_source_category_expression: NotRequired[str]
|
|
231
|
+
r"""Define the dataSource.category for events using a JavaScript expression. This value helps categorize data and helps enable extra features in SentinelOne AI SIEM. You must enclose text constants in quotes. The default value is 'security'."""
|
|
232
|
+
data_source_name_expression: NotRequired[str]
|
|
233
|
+
r"""Define the dataSource.name for events using a JavaScript expression. This value should reflect the type of data being inserted into AI SIEM. You must enclose text constants in quotes (such as, 'networkActivity' or 'authLogs')."""
|
|
234
|
+
data_source_vendor_expression: NotRequired[str]
|
|
235
|
+
r"""Define the dataSource.vendor for events using a JavaScript expression. This value should reflect the vendor of the data being inserted into AI SIEM. You must enclose text constants in quotes (such as, 'Cisco' or 'Microsoft')."""
|
|
236
|
+
event_type_expression: NotRequired[str]
|
|
237
|
+
r"""Optionally, define the event.type for events using a JavaScript expression. This value acts as a label, grouping events into meaningful categories. You must enclose text constants in quotes (such as, 'Process Creation' or 'Network Connection')."""
|
|
238
|
+
host: NotRequired[str]
|
|
239
|
+
r"""Define the serverHost for events using a JavaScript expression. This value will be passed to AI SIEM. You must enclose text constants in quotes (such as, 'myServerName')."""
|
|
240
|
+
source: NotRequired[str]
|
|
241
|
+
r"""Specify the logFile value to pass as a parameter to SentinelOne AI SIEM. Don't quote this value. The default is cribl."""
|
|
242
|
+
source_type: NotRequired[str]
|
|
243
|
+
r"""Specify the sourcetype parameter for SentinelOne AI SIEM, which determines the parser. Don't quote this value. For custom parsers, substitute hecRawParser with your parser's name. The default is hecRawParser."""
|
|
244
|
+
data_source_category: NotRequired[str]
|
|
245
|
+
r"""Specify the dataSource.category value to pass as a parameter to SentinelOne AI SIEM. This value helps categorize data and enables additional features. Don't quote this value. The default is security."""
|
|
246
|
+
data_source_name: NotRequired[str]
|
|
247
|
+
r"""Specify the dataSource.name value to pass as a parameter to AI SIEM. This value should reflect the type of data being inserted. Don't quote this value. The default is cribl."""
|
|
248
|
+
data_source_vendor: NotRequired[str]
|
|
249
|
+
r"""Specify the dataSource.vendorvalue to pass as a parameter to AI SIEM. This value should reflect the vendor of the data being inserted. Don't quote this value. The default is cribl."""
|
|
250
|
+
event_type: NotRequired[str]
|
|
251
|
+
r"""Specify the event.type value to pass as an optional parameter to AI SIEM. This value acts as a label, grouping events into meaningful categories like Process Creation, File Modification, or Network Connection. Don't quote this value. By default, this field is empty."""
|
|
252
|
+
pq_max_file_size: NotRequired[str]
|
|
253
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
254
|
+
pq_max_size: NotRequired[str]
|
|
255
|
+
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."""
|
|
256
|
+
pq_path: NotRequired[str]
|
|
257
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/<output-id>."""
|
|
258
|
+
pq_compress: NotRequired[OutputSentinelOneAiSiemCompression]
|
|
259
|
+
r"""Codec to use to compress the persisted data"""
|
|
260
|
+
pq_on_backpressure: NotRequired[OutputSentinelOneAiSiemQueueFullBehavior]
|
|
261
|
+
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."""
|
|
262
|
+
pq_mode: NotRequired[OutputSentinelOneAiSiemMode]
|
|
263
|
+
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."""
|
|
264
|
+
pq_controls: NotRequired[OutputSentinelOneAiSiemPqControlsTypedDict]
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
class OutputSentinelOneAiSiem(BaseModel):
|
|
268
|
+
id: Optional[str] = None
|
|
269
|
+
r"""Unique ID for this output"""
|
|
270
|
+
|
|
271
|
+
type: Annotated[
|
|
272
|
+
Optional[OutputSentinelOneAiSiemType], PlainValidator(validate_open_enum(False))
|
|
273
|
+
] = None
|
|
274
|
+
|
|
275
|
+
pipeline: Optional[str] = None
|
|
276
|
+
r"""Pipeline to process data before sending out to this output"""
|
|
277
|
+
|
|
278
|
+
system_fields: Annotated[
|
|
279
|
+
Optional[List[str]], pydantic.Field(alias="systemFields")
|
|
280
|
+
] = None
|
|
281
|
+
r"""Fields to automatically add to events, such as cribl_pipe. Supports wildcards."""
|
|
282
|
+
|
|
283
|
+
environment: Optional[str] = None
|
|
284
|
+
r"""Optionally, enable this config only on a specified Git branch. If empty, will be enabled everywhere."""
|
|
285
|
+
|
|
286
|
+
streamtags: Optional[List[str]] = None
|
|
287
|
+
r"""Tags for filtering and grouping in @{product}"""
|
|
288
|
+
|
|
289
|
+
region: Annotated[
|
|
290
|
+
Optional[OutputSentinelOneAiSiemRegion],
|
|
291
|
+
PlainValidator(validate_open_enum(False)),
|
|
292
|
+
] = OutputSentinelOneAiSiemRegion.US
|
|
293
|
+
r"""The SentinelOne region to send events to. In most cases you can find the region by either looking at your SentinelOne URL or knowing what geographic region your SentinelOne instance is contained in."""
|
|
294
|
+
|
|
295
|
+
endpoint: Annotated[
|
|
296
|
+
Optional[AISIEMEndpointPath], PlainValidator(validate_open_enum(False))
|
|
297
|
+
] = AISIEMEndpointPath.ROOT_SERVICES_COLLECTOR_EVENT
|
|
298
|
+
r"""Regional endpoint used to send events to, such as /services/collector/event or /services/collector/raw"""
|
|
299
|
+
|
|
300
|
+
concurrency: Optional[float] = 5
|
|
301
|
+
r"""Maximum number of ongoing requests before blocking"""
|
|
302
|
+
|
|
303
|
+
max_payload_size_kb: Annotated[
|
|
304
|
+
Optional[float], pydantic.Field(alias="maxPayloadSizeKB")
|
|
305
|
+
] = 5120
|
|
306
|
+
r"""Maximum size, in KB, of the request body"""
|
|
307
|
+
|
|
308
|
+
max_payload_events: Annotated[
|
|
309
|
+
Optional[float], pydantic.Field(alias="maxPayloadEvents")
|
|
310
|
+
] = 0
|
|
311
|
+
r"""Maximum number of events to include in the request body. Default is 0 (unlimited)."""
|
|
312
|
+
|
|
313
|
+
compress: Optional[bool] = True
|
|
314
|
+
r"""Compress the payload body before sending"""
|
|
315
|
+
|
|
316
|
+
reject_unauthorized: Annotated[
|
|
317
|
+
Optional[bool], pydantic.Field(alias="rejectUnauthorized")
|
|
318
|
+
] = True
|
|
319
|
+
r"""Reject certificates not authorized by a CA in the CA certificate path or by another trusted CA (such as the system's).
|
|
320
|
+
Enabled by default. When this setting is also present in TLS Settings (Client Side),
|
|
321
|
+
that value will take precedence.
|
|
322
|
+
"""
|
|
323
|
+
|
|
324
|
+
timeout_sec: Annotated[Optional[float], pydantic.Field(alias="timeoutSec")] = 30
|
|
325
|
+
r"""Amount of time, in seconds, to wait for a request to complete before canceling it"""
|
|
326
|
+
|
|
327
|
+
flush_period_sec: Annotated[
|
|
328
|
+
Optional[float], pydantic.Field(alias="flushPeriodSec")
|
|
329
|
+
] = 5
|
|
330
|
+
r"""Maximum time between requests. Small values could cause the payload size to be smaller than the configured Body size limit."""
|
|
331
|
+
|
|
332
|
+
extra_http_headers: Annotated[
|
|
333
|
+
Optional[List[OutputSentinelOneAiSiemExtraHTTPHeader]],
|
|
334
|
+
pydantic.Field(alias="extraHttpHeaders"),
|
|
335
|
+
] = None
|
|
336
|
+
r"""Headers to add to all events"""
|
|
337
|
+
|
|
338
|
+
failed_request_logging_mode: Annotated[
|
|
339
|
+
Annotated[
|
|
340
|
+
Optional[OutputSentinelOneAiSiemFailedRequestLoggingMode],
|
|
341
|
+
PlainValidator(validate_open_enum(False)),
|
|
342
|
+
],
|
|
343
|
+
pydantic.Field(alias="failedRequestLoggingMode"),
|
|
344
|
+
] = OutputSentinelOneAiSiemFailedRequestLoggingMode.NONE
|
|
345
|
+
r"""Data to log when a request fails. All headers are redacted by default, unless listed as safe headers below."""
|
|
346
|
+
|
|
347
|
+
safe_headers: Annotated[
|
|
348
|
+
Optional[List[str]], pydantic.Field(alias="safeHeaders")
|
|
349
|
+
] = None
|
|
350
|
+
r"""List of headers that are safe to log in plain text"""
|
|
351
|
+
|
|
352
|
+
auth_type: Annotated[
|
|
353
|
+
Annotated[
|
|
354
|
+
Optional[OutputSentinelOneAiSiemAuthenticationMethod],
|
|
355
|
+
PlainValidator(validate_open_enum(False)),
|
|
356
|
+
],
|
|
357
|
+
pydantic.Field(alias="authType"),
|
|
358
|
+
] = OutputSentinelOneAiSiemAuthenticationMethod.MANUAL
|
|
359
|
+
r"""Select Manual to enter an auth token directly, or select Secret to use a text secret to authenticate"""
|
|
360
|
+
|
|
361
|
+
response_retry_settings: Annotated[
|
|
362
|
+
Optional[List[OutputSentinelOneAiSiemResponseRetrySetting]],
|
|
363
|
+
pydantic.Field(alias="responseRetrySettings"),
|
|
364
|
+
] = None
|
|
365
|
+
r"""Automatically retry after unsuccessful response status codes, such as 429 (Too Many Requests) or 503 (Service Unavailable)"""
|
|
366
|
+
|
|
367
|
+
timeout_retry_settings: Annotated[
|
|
368
|
+
Optional[OutputSentinelOneAiSiemTimeoutRetrySettings],
|
|
369
|
+
pydantic.Field(alias="timeoutRetrySettings"),
|
|
370
|
+
] = None
|
|
371
|
+
|
|
372
|
+
response_honor_retry_after_header: Annotated[
|
|
373
|
+
Optional[bool], pydantic.Field(alias="responseHonorRetryAfterHeader")
|
|
374
|
+
] = False
|
|
375
|
+
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."""
|
|
376
|
+
|
|
377
|
+
on_backpressure: Annotated[
|
|
378
|
+
Annotated[
|
|
379
|
+
Optional[OutputSentinelOneAiSiemBackpressureBehavior],
|
|
380
|
+
PlainValidator(validate_open_enum(False)),
|
|
381
|
+
],
|
|
382
|
+
pydantic.Field(alias="onBackpressure"),
|
|
383
|
+
] = OutputSentinelOneAiSiemBackpressureBehavior.BLOCK
|
|
384
|
+
r"""How to handle events when all receivers are exerting backpressure"""
|
|
385
|
+
|
|
386
|
+
description: Optional[str] = None
|
|
387
|
+
|
|
388
|
+
token: Optional[str] = None
|
|
389
|
+
r"""In the SentinelOne Console select Policy & Settings then select the Singularity AI SIEM section, API Keys will be at the bottom. Under Log Access Keys select a Write token and copy it here"""
|
|
390
|
+
|
|
391
|
+
text_secret: Annotated[Optional[str], pydantic.Field(alias="textSecret")] = None
|
|
392
|
+
r"""Select or create a stored text secret"""
|
|
393
|
+
|
|
394
|
+
base_url: Annotated[Optional[str], pydantic.Field(alias="baseUrl")] = (
|
|
395
|
+
"https://<Your-S1-Tenant>.sentinelone.net"
|
|
396
|
+
)
|
|
397
|
+
r"""Base URL of the endpoint used to send events to, such as https://<Your-S1-Tenant>.sentinelone.net. Must begin with http:// or https://, can include a port number, and no trailing slashes. Matches pattern: ^https?://[a-zA-Z0-9.-]+(:[0-9]+)?$."""
|
|
398
|
+
|
|
399
|
+
host_expression: Annotated[
|
|
400
|
+
Optional[str], pydantic.Field(alias="hostExpression")
|
|
401
|
+
] = "__e.host || C.os.hostname()"
|
|
402
|
+
r"""Define serverHost for events using a JavaScript expression. You must enclose text constants in quotes (such as, 'myServer')."""
|
|
403
|
+
|
|
404
|
+
source_expression: Annotated[
|
|
405
|
+
Optional[str], pydantic.Field(alias="sourceExpression")
|
|
406
|
+
] = "__e.source || (__e.__criblMetrics ? 'metrics' : 'cribl')"
|
|
407
|
+
r"""Define logFile for events using a JavaScript expression. You must enclose text constants in quotes (such as, 'myLogFile.txt')."""
|
|
408
|
+
|
|
409
|
+
source_type_expression: Annotated[
|
|
410
|
+
Optional[str], pydantic.Field(alias="sourceTypeExpression")
|
|
411
|
+
] = "__e.sourcetype || 'dottedJson'"
|
|
412
|
+
r"""Define the parser for events using a JavaScript expression. This value helps parse data into AI SIEM. You must enclose text constants in quotes (such as, 'dottedJson'). For custom parsers, substitute 'dottedJson' with your parser's name."""
|
|
413
|
+
|
|
414
|
+
data_source_category_expression: Annotated[
|
|
415
|
+
Optional[str], pydantic.Field(alias="dataSourceCategoryExpression")
|
|
416
|
+
] = "'security'"
|
|
417
|
+
r"""Define the dataSource.category for events using a JavaScript expression. This value helps categorize data and helps enable extra features in SentinelOne AI SIEM. You must enclose text constants in quotes. The default value is 'security'."""
|
|
418
|
+
|
|
419
|
+
data_source_name_expression: Annotated[
|
|
420
|
+
Optional[str], pydantic.Field(alias="dataSourceNameExpression")
|
|
421
|
+
] = "__e.__dataSourceName || 'cribl'"
|
|
422
|
+
r"""Define the dataSource.name for events using a JavaScript expression. This value should reflect the type of data being inserted into AI SIEM. You must enclose text constants in quotes (such as, 'networkActivity' or 'authLogs')."""
|
|
423
|
+
|
|
424
|
+
data_source_vendor_expression: Annotated[
|
|
425
|
+
Optional[str], pydantic.Field(alias="dataSourceVendorExpression")
|
|
426
|
+
] = "__e.__dataSourceVendor || 'cribl'"
|
|
427
|
+
r"""Define the dataSource.vendor for events using a JavaScript expression. This value should reflect the vendor of the data being inserted into AI SIEM. You must enclose text constants in quotes (such as, 'Cisco' or 'Microsoft')."""
|
|
428
|
+
|
|
429
|
+
event_type_expression: Annotated[
|
|
430
|
+
Optional[str], pydantic.Field(alias="eventTypeExpression")
|
|
431
|
+
] = ""
|
|
432
|
+
r"""Optionally, define the event.type for events using a JavaScript expression. This value acts as a label, grouping events into meaningful categories. You must enclose text constants in quotes (such as, 'Process Creation' or 'Network Connection')."""
|
|
433
|
+
|
|
434
|
+
host: Optional[str] = "C.os.hostname()"
|
|
435
|
+
r"""Define the serverHost for events using a JavaScript expression. This value will be passed to AI SIEM. You must enclose text constants in quotes (such as, 'myServerName')."""
|
|
436
|
+
|
|
437
|
+
source: Optional[str] = "cribl"
|
|
438
|
+
r"""Specify the logFile value to pass as a parameter to SentinelOne AI SIEM. Don't quote this value. The default is cribl."""
|
|
439
|
+
|
|
440
|
+
source_type: Annotated[Optional[str], pydantic.Field(alias="sourceType")] = (
|
|
441
|
+
"hecRawParser"
|
|
442
|
+
)
|
|
443
|
+
r"""Specify the sourcetype parameter for SentinelOne AI SIEM, which determines the parser. Don't quote this value. For custom parsers, substitute hecRawParser with your parser's name. The default is hecRawParser."""
|
|
444
|
+
|
|
445
|
+
data_source_category: Annotated[
|
|
446
|
+
Optional[str], pydantic.Field(alias="dataSourceCategory")
|
|
447
|
+
] = "security"
|
|
448
|
+
r"""Specify the dataSource.category value to pass as a parameter to SentinelOne AI SIEM. This value helps categorize data and enables additional features. Don't quote this value. The default is security."""
|
|
449
|
+
|
|
450
|
+
data_source_name: Annotated[
|
|
451
|
+
Optional[str], pydantic.Field(alias="dataSourceName")
|
|
452
|
+
] = "cribl"
|
|
453
|
+
r"""Specify the dataSource.name value to pass as a parameter to AI SIEM. This value should reflect the type of data being inserted. Don't quote this value. The default is cribl."""
|
|
454
|
+
|
|
455
|
+
data_source_vendor: Annotated[
|
|
456
|
+
Optional[str], pydantic.Field(alias="dataSourceVendor")
|
|
457
|
+
] = "cribl"
|
|
458
|
+
r"""Specify the dataSource.vendorvalue to pass as a parameter to AI SIEM. This value should reflect the vendor of the data being inserted. Don't quote this value. The default is cribl."""
|
|
459
|
+
|
|
460
|
+
event_type: Annotated[Optional[str], pydantic.Field(alias="eventType")] = ""
|
|
461
|
+
r"""Specify the event.type value to pass as an optional parameter to AI SIEM. This value acts as a label, grouping events into meaningful categories like Process Creation, File Modification, or Network Connection. Don't quote this value. By default, this field is empty."""
|
|
462
|
+
|
|
463
|
+
pq_max_file_size: Annotated[
|
|
464
|
+
Optional[str], pydantic.Field(alias="pqMaxFileSize")
|
|
465
|
+
] = "1 MB"
|
|
466
|
+
r"""The maximum size to store in each queue file before closing and optionally compressing (KB, MB, etc.)"""
|
|
467
|
+
|
|
468
|
+
pq_max_size: Annotated[Optional[str], pydantic.Field(alias="pqMaxSize")] = "5GB"
|
|
469
|
+
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."""
|
|
470
|
+
|
|
471
|
+
pq_path: Annotated[Optional[str], pydantic.Field(alias="pqPath")] = (
|
|
472
|
+
"$CRIBL_HOME/state/queues"
|
|
473
|
+
)
|
|
474
|
+
r"""The location for the persistent queue files. To this field's value, the system will append: /<worker-id>/<output-id>."""
|
|
475
|
+
|
|
476
|
+
pq_compress: Annotated[
|
|
477
|
+
Annotated[
|
|
478
|
+
Optional[OutputSentinelOneAiSiemCompression],
|
|
479
|
+
PlainValidator(validate_open_enum(False)),
|
|
480
|
+
],
|
|
481
|
+
pydantic.Field(alias="pqCompress"),
|
|
482
|
+
] = OutputSentinelOneAiSiemCompression.NONE
|
|
483
|
+
r"""Codec to use to compress the persisted data"""
|
|
484
|
+
|
|
485
|
+
pq_on_backpressure: Annotated[
|
|
486
|
+
Annotated[
|
|
487
|
+
Optional[OutputSentinelOneAiSiemQueueFullBehavior],
|
|
488
|
+
PlainValidator(validate_open_enum(False)),
|
|
489
|
+
],
|
|
490
|
+
pydantic.Field(alias="pqOnBackpressure"),
|
|
491
|
+
] = OutputSentinelOneAiSiemQueueFullBehavior.BLOCK
|
|
492
|
+
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."""
|
|
493
|
+
|
|
494
|
+
pq_mode: Annotated[
|
|
495
|
+
Annotated[
|
|
496
|
+
Optional[OutputSentinelOneAiSiemMode],
|
|
497
|
+
PlainValidator(validate_open_enum(False)),
|
|
498
|
+
],
|
|
499
|
+
pydantic.Field(alias="pqMode"),
|
|
500
|
+
] = OutputSentinelOneAiSiemMode.ERROR
|
|
501
|
+
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."""
|
|
502
|
+
|
|
503
|
+
pq_controls: Annotated[
|
|
504
|
+
Optional[OutputSentinelOneAiSiemPqControls], pydantic.Field(alias="pqControls")
|
|
505
|
+
] = None
|