cribl-control-plane 0.4.0a6__py3-none-any.whl → 0.4.0a12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +2 -0
- cribl_control_plane/basesdk.py +6 -0
- cribl_control_plane/branches.py +4 -0
- cribl_control_plane/commits.py +14 -0
- cribl_control_plane/commits_files.py +4 -0
- cribl_control_plane/configs_versions.py +2 -0
- cribl_control_plane/destinations.py +10 -0
- cribl_control_plane/destinations_pq.py +4 -0
- cribl_control_plane/groups_sdk.py +12 -0
- cribl_control_plane/health.py +2 -0
- cribl_control_plane/hectokens.py +16 -0
- cribl_control_plane/lakedatasets.py +46 -0
- cribl_control_plane/models/addhectokenrequest.py +7 -1
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +59 -1
- cribl_control_plane/models/outputnetflow.py +7 -0
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/nodes.py +4 -0
- cribl_control_plane/packs.py +12 -0
- cribl_control_plane/pipelines.py +10 -0
- cribl_control_plane/routes_sdk.py +8 -0
- cribl_control_plane/samples.py +4 -0
- cribl_control_plane/sources.py +10 -0
- cribl_control_plane/statuses.py +2 -0
- cribl_control_plane/summaries.py +2 -0
- cribl_control_plane/teams.py +2 -0
- cribl_control_plane/tokens.py +2 -0
- cribl_control_plane/utils/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- cribl_control_plane/versions_configs.py +2 -0
- {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0a12.dist-info}/METADATA +23 -23
- {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0a12.dist-info}/RECORD +34 -34
- {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0a12.dist-info}/WHEEL +0 -0
- {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0a12.dist-info}/licenses/LICENSE +0 -0
|
@@ -118,6 +118,7 @@ class LakeDatasets(BaseSDK):
|
|
|
118
118
|
"json",
|
|
119
119
|
models.CriblLakeDataset,
|
|
120
120
|
),
|
|
121
|
+
allow_empty_value=None,
|
|
121
122
|
timeout_ms=timeout_ms,
|
|
122
123
|
)
|
|
123
124
|
|
|
@@ -269,6 +270,7 @@ class LakeDatasets(BaseSDK):
|
|
|
269
270
|
"json",
|
|
270
271
|
models.CriblLakeDataset,
|
|
271
272
|
),
|
|
273
|
+
allow_empty_value=None,
|
|
272
274
|
timeout_ms=timeout_ms,
|
|
273
275
|
)
|
|
274
276
|
|
|
@@ -316,6 +318,12 @@ class LakeDatasets(BaseSDK):
|
|
|
316
318
|
self,
|
|
317
319
|
*,
|
|
318
320
|
lake_id: str,
|
|
321
|
+
storage_location_id: Optional[str] = None,
|
|
322
|
+
format_: Optional[str] = None,
|
|
323
|
+
exclude_ddss: Optional[bool] = None,
|
|
324
|
+
exclude_deleted: Optional[bool] = None,
|
|
325
|
+
exclude_internal: Optional[bool] = None,
|
|
326
|
+
exclude_byos: Optional[bool] = None,
|
|
319
327
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
320
328
|
server_url: Optional[str] = None,
|
|
321
329
|
timeout_ms: Optional[int] = None,
|
|
@@ -326,6 +334,12 @@ class LakeDatasets(BaseSDK):
|
|
|
326
334
|
Get a list of all Lake Datasets in the specified Lake.
|
|
327
335
|
|
|
328
336
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Datasets to list.
|
|
337
|
+
:param storage_location_id: Filter datasets by storage location ID. Use <code>default</code> for default storage location.
|
|
338
|
+
:param format_: Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets.
|
|
339
|
+
:param exclude_ddss: Exclude DDSS format datasets from the response.
|
|
340
|
+
:param exclude_deleted: Exclude deleted datasets from the response.
|
|
341
|
+
:param exclude_internal: Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response.
|
|
342
|
+
:param exclude_byos: Exclude BYOS (Bring Your Own Storage) datasets from the response.
|
|
329
343
|
:param retries: Override the default retry configuration for this method
|
|
330
344
|
:param server_url: Override the default server URL for this method
|
|
331
345
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -343,6 +357,12 @@ class LakeDatasets(BaseSDK):
|
|
|
343
357
|
|
|
344
358
|
request = models.GetCriblLakeDatasetByLakeIDRequest(
|
|
345
359
|
lake_id=lake_id,
|
|
360
|
+
storage_location_id=storage_location_id,
|
|
361
|
+
format_=format_,
|
|
362
|
+
exclude_ddss=exclude_ddss,
|
|
363
|
+
exclude_deleted=exclude_deleted,
|
|
364
|
+
exclude_internal=exclude_internal,
|
|
365
|
+
exclude_byos=exclude_byos,
|
|
346
366
|
)
|
|
347
367
|
|
|
348
368
|
req = self._build_request(
|
|
@@ -358,6 +378,7 @@ class LakeDatasets(BaseSDK):
|
|
|
358
378
|
accept_header_value="application/json",
|
|
359
379
|
http_headers=http_headers,
|
|
360
380
|
security=self.sdk_configuration.security,
|
|
381
|
+
allow_empty_value=None,
|
|
361
382
|
timeout_ms=timeout_ms,
|
|
362
383
|
)
|
|
363
384
|
|
|
@@ -405,6 +426,12 @@ class LakeDatasets(BaseSDK):
|
|
|
405
426
|
self,
|
|
406
427
|
*,
|
|
407
428
|
lake_id: str,
|
|
429
|
+
storage_location_id: Optional[str] = None,
|
|
430
|
+
format_: Optional[str] = None,
|
|
431
|
+
exclude_ddss: Optional[bool] = None,
|
|
432
|
+
exclude_deleted: Optional[bool] = None,
|
|
433
|
+
exclude_internal: Optional[bool] = None,
|
|
434
|
+
exclude_byos: Optional[bool] = None,
|
|
408
435
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
409
436
|
server_url: Optional[str] = None,
|
|
410
437
|
timeout_ms: Optional[int] = None,
|
|
@@ -415,6 +442,12 @@ class LakeDatasets(BaseSDK):
|
|
|
415
442
|
Get a list of all Lake Datasets in the specified Lake.
|
|
416
443
|
|
|
417
444
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Datasets to list.
|
|
445
|
+
:param storage_location_id: Filter datasets by storage location ID. Use <code>default</code> for default storage location.
|
|
446
|
+
:param format_: Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets.
|
|
447
|
+
:param exclude_ddss: Exclude DDSS format datasets from the response.
|
|
448
|
+
:param exclude_deleted: Exclude deleted datasets from the response.
|
|
449
|
+
:param exclude_internal: Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response.
|
|
450
|
+
:param exclude_byos: Exclude BYOS (Bring Your Own Storage) datasets from the response.
|
|
418
451
|
:param retries: Override the default retry configuration for this method
|
|
419
452
|
:param server_url: Override the default server URL for this method
|
|
420
453
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -432,6 +465,12 @@ class LakeDatasets(BaseSDK):
|
|
|
432
465
|
|
|
433
466
|
request = models.GetCriblLakeDatasetByLakeIDRequest(
|
|
434
467
|
lake_id=lake_id,
|
|
468
|
+
storage_location_id=storage_location_id,
|
|
469
|
+
format_=format_,
|
|
470
|
+
exclude_ddss=exclude_ddss,
|
|
471
|
+
exclude_deleted=exclude_deleted,
|
|
472
|
+
exclude_internal=exclude_internal,
|
|
473
|
+
exclude_byos=exclude_byos,
|
|
435
474
|
)
|
|
436
475
|
|
|
437
476
|
req = self._build_request_async(
|
|
@@ -447,6 +486,7 @@ class LakeDatasets(BaseSDK):
|
|
|
447
486
|
accept_header_value="application/json",
|
|
448
487
|
http_headers=http_headers,
|
|
449
488
|
security=self.sdk_configuration.security,
|
|
489
|
+
allow_empty_value=None,
|
|
450
490
|
timeout_ms=timeout_ms,
|
|
451
491
|
)
|
|
452
492
|
|
|
@@ -539,6 +579,7 @@ class LakeDatasets(BaseSDK):
|
|
|
539
579
|
accept_header_value="application/json",
|
|
540
580
|
http_headers=http_headers,
|
|
541
581
|
security=self.sdk_configuration.security,
|
|
582
|
+
allow_empty_value=None,
|
|
542
583
|
timeout_ms=timeout_ms,
|
|
543
584
|
)
|
|
544
585
|
|
|
@@ -631,6 +672,7 @@ class LakeDatasets(BaseSDK):
|
|
|
631
672
|
accept_header_value="application/json",
|
|
632
673
|
http_headers=http_headers,
|
|
633
674
|
security=self.sdk_configuration.security,
|
|
675
|
+
allow_empty_value=None,
|
|
634
676
|
timeout_ms=timeout_ms,
|
|
635
677
|
)
|
|
636
678
|
|
|
@@ -723,6 +765,7 @@ class LakeDatasets(BaseSDK):
|
|
|
723
765
|
accept_header_value="application/json",
|
|
724
766
|
http_headers=http_headers,
|
|
725
767
|
security=self.sdk_configuration.security,
|
|
768
|
+
allow_empty_value=None,
|
|
726
769
|
timeout_ms=timeout_ms,
|
|
727
770
|
)
|
|
728
771
|
|
|
@@ -815,6 +858,7 @@ class LakeDatasets(BaseSDK):
|
|
|
815
858
|
accept_header_value="application/json",
|
|
816
859
|
http_headers=http_headers,
|
|
817
860
|
security=self.sdk_configuration.security,
|
|
861
|
+
allow_empty_value=None,
|
|
818
862
|
timeout_ms=timeout_ms,
|
|
819
863
|
)
|
|
820
864
|
|
|
@@ -969,6 +1013,7 @@ class LakeDatasets(BaseSDK):
|
|
|
969
1013
|
"json",
|
|
970
1014
|
models.CriblLakeDatasetUpdate,
|
|
971
1015
|
),
|
|
1016
|
+
allow_empty_value=None,
|
|
972
1017
|
timeout_ms=timeout_ms,
|
|
973
1018
|
)
|
|
974
1019
|
|
|
@@ -1123,6 +1168,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1123
1168
|
"json",
|
|
1124
1169
|
models.CriblLakeDatasetUpdate,
|
|
1125
1170
|
),
|
|
1171
|
+
allow_empty_value=None,
|
|
1126
1172
|
timeout_ms=timeout_ms,
|
|
1127
1173
|
)
|
|
1128
1174
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
+
import pydantic
|
|
5
6
|
from typing import List, Optional
|
|
6
|
-
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class AddHecTokenRequestMetadatumTypedDict(TypedDict):
|
|
@@ -19,6 +20,7 @@ class AddHecTokenRequestMetadatum(BaseModel):
|
|
|
19
20
|
|
|
20
21
|
class AddHecTokenRequestTypedDict(TypedDict):
|
|
21
22
|
token: str
|
|
23
|
+
allowed_indexes_at_token: NotRequired[List[str]]
|
|
22
24
|
description: NotRequired[str]
|
|
23
25
|
enabled: NotRequired[bool]
|
|
24
26
|
metadata: NotRequired[List[AddHecTokenRequestMetadatumTypedDict]]
|
|
@@ -27,6 +29,10 @@ class AddHecTokenRequestTypedDict(TypedDict):
|
|
|
27
29
|
class AddHecTokenRequest(BaseModel):
|
|
28
30
|
token: str
|
|
29
31
|
|
|
32
|
+
allowed_indexes_at_token: Annotated[
|
|
33
|
+
Optional[List[str]], pydantic.Field(alias="allowedIndexesAtToken")
|
|
34
|
+
] = None
|
|
35
|
+
|
|
30
36
|
description: Optional[str] = None
|
|
31
37
|
|
|
32
38
|
enabled: Optional[bool] = None
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from .cribllakedataset import CriblLakeDataset, CriblLakeDatasetTypedDict
|
|
5
5
|
from cribl_control_plane.types import BaseModel
|
|
6
|
-
from cribl_control_plane.utils import
|
|
6
|
+
from cribl_control_plane.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
QueryParamMetadata,
|
|
10
|
+
)
|
|
7
11
|
import pydantic
|
|
8
12
|
from typing import List, Optional
|
|
9
13
|
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
@@ -12,6 +16,18 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
|
|
12
16
|
class GetCriblLakeDatasetByLakeIDRequestTypedDict(TypedDict):
|
|
13
17
|
lake_id: str
|
|
14
18
|
r"""The <code>id</code> of the Lake that contains the Lake Datasets to list."""
|
|
19
|
+
storage_location_id: NotRequired[str]
|
|
20
|
+
r"""Filter datasets by storage location ID. Use <code>default</code> for default storage location."""
|
|
21
|
+
format_: NotRequired[str]
|
|
22
|
+
r"""Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets."""
|
|
23
|
+
exclude_ddss: NotRequired[bool]
|
|
24
|
+
r"""Exclude DDSS format datasets from the response."""
|
|
25
|
+
exclude_deleted: NotRequired[bool]
|
|
26
|
+
r"""Exclude deleted datasets from the response."""
|
|
27
|
+
exclude_internal: NotRequired[bool]
|
|
28
|
+
r"""Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response."""
|
|
29
|
+
exclude_byos: NotRequired[bool]
|
|
30
|
+
r"""Exclude BYOS (Bring Your Own Storage) datasets from the response."""
|
|
15
31
|
|
|
16
32
|
|
|
17
33
|
class GetCriblLakeDatasetByLakeIDRequest(BaseModel):
|
|
@@ -22,6 +38,48 @@ class GetCriblLakeDatasetByLakeIDRequest(BaseModel):
|
|
|
22
38
|
]
|
|
23
39
|
r"""The <code>id</code> of the Lake that contains the Lake Datasets to list."""
|
|
24
40
|
|
|
41
|
+
storage_location_id: Annotated[
|
|
42
|
+
Optional[str],
|
|
43
|
+
pydantic.Field(alias="storageLocationId"),
|
|
44
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
45
|
+
] = None
|
|
46
|
+
r"""Filter datasets by storage location ID. Use <code>default</code> for default storage location."""
|
|
47
|
+
|
|
48
|
+
format_: Annotated[
|
|
49
|
+
Optional[str],
|
|
50
|
+
pydantic.Field(alias="format"),
|
|
51
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
52
|
+
] = None
|
|
53
|
+
r"""Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets."""
|
|
54
|
+
|
|
55
|
+
exclude_ddss: Annotated[
|
|
56
|
+
Optional[bool],
|
|
57
|
+
pydantic.Field(alias="excludeDDSS"),
|
|
58
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
59
|
+
] = None
|
|
60
|
+
r"""Exclude DDSS format datasets from the response."""
|
|
61
|
+
|
|
62
|
+
exclude_deleted: Annotated[
|
|
63
|
+
Optional[bool],
|
|
64
|
+
pydantic.Field(alias="excludeDeleted"),
|
|
65
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
66
|
+
] = None
|
|
67
|
+
r"""Exclude deleted datasets from the response."""
|
|
68
|
+
|
|
69
|
+
exclude_internal: Annotated[
|
|
70
|
+
Optional[bool],
|
|
71
|
+
pydantic.Field(alias="excludeInternal"),
|
|
72
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
73
|
+
] = None
|
|
74
|
+
r"""Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response."""
|
|
75
|
+
|
|
76
|
+
exclude_byos: Annotated[
|
|
77
|
+
Optional[bool],
|
|
78
|
+
pydantic.Field(alias="excludeBYOS"),
|
|
79
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
80
|
+
] = None
|
|
81
|
+
r"""Exclude BYOS (Bring Your Own Storage) datasets from the response."""
|
|
82
|
+
|
|
25
83
|
|
|
26
84
|
class GetCriblLakeDatasetByLakeIDResponseTypedDict(TypedDict):
|
|
27
85
|
r"""a list of CriblLakeDataset objects"""
|
|
@@ -43,6 +43,8 @@ class OutputNetflowTypedDict(TypedDict):
|
|
|
43
43
|
r"""Tags for filtering and grouping in @{product}"""
|
|
44
44
|
dns_resolve_period_sec: NotRequired[float]
|
|
45
45
|
r"""How often to resolve the destination hostname to an IP address. Ignored if all destinations are IP addresses. A value of 0 means every datagram sent will incur a DNS lookup."""
|
|
46
|
+
enable_ip_spoofing: NotRequired[bool]
|
|
47
|
+
r"""Send NetFlow traffic using the original event's Source IP and port. To enable this, you must install the external `udp-sender` helper binary at `/usr/bin/udp-sender` on all Worker Nodes and grant it the `CAP_NET_RAW` capability."""
|
|
46
48
|
description: NotRequired[str]
|
|
47
49
|
|
|
48
50
|
|
|
@@ -74,4 +76,9 @@ class OutputNetflow(BaseModel):
|
|
|
74
76
|
] = 0
|
|
75
77
|
r"""How often to resolve the destination hostname to an IP address. Ignored if all destinations are IP addresses. A value of 0 means every datagram sent will incur a DNS lookup."""
|
|
76
78
|
|
|
79
|
+
enable_ip_spoofing: Annotated[
|
|
80
|
+
Optional[bool], pydantic.Field(alias="enableIpSpoofing")
|
|
81
|
+
] = False
|
|
82
|
+
r"""Send NetFlow traffic using the original event's Source IP and port. To enable this, you must install the external `udp-sender` helper binary at `/usr/bin/udp-sender` on all Worker Nodes and grant it the `CAP_NET_RAW` capability."""
|
|
83
|
+
|
|
77
84
|
description: Optional[str] = None
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from cribl_control_plane.types import BaseModel
|
|
5
|
+
import pydantic
|
|
5
6
|
from typing import List, Optional
|
|
6
|
-
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
class UpdateHecTokenRequestMetadatumTypedDict(TypedDict):
|
|
@@ -18,12 +19,17 @@ class UpdateHecTokenRequestMetadatum(BaseModel):
|
|
|
18
19
|
|
|
19
20
|
|
|
20
21
|
class UpdateHecTokenRequestTypedDict(TypedDict):
|
|
22
|
+
allowed_indexes_at_token: NotRequired[List[str]]
|
|
21
23
|
description: NotRequired[str]
|
|
22
24
|
enabled: NotRequired[bool]
|
|
23
25
|
metadata: NotRequired[List[UpdateHecTokenRequestMetadatumTypedDict]]
|
|
24
26
|
|
|
25
27
|
|
|
26
28
|
class UpdateHecTokenRequest(BaseModel):
|
|
29
|
+
allowed_indexes_at_token: Annotated[
|
|
30
|
+
Optional[List[str]], pydantic.Field(alias="allowedIndexesAtToken")
|
|
31
|
+
] = None
|
|
32
|
+
|
|
27
33
|
description: Optional[str] = None
|
|
28
34
|
|
|
29
35
|
enabled: Optional[bool] = None
|
cribl_control_plane/nodes.py
CHANGED
|
@@ -85,6 +85,7 @@ class Nodes(BaseSDK):
|
|
|
85
85
|
accept_header_value="application/json",
|
|
86
86
|
http_headers=http_headers,
|
|
87
87
|
security=self.sdk_configuration.security,
|
|
88
|
+
allow_empty_value=None,
|
|
88
89
|
timeout_ms=timeout_ms,
|
|
89
90
|
)
|
|
90
91
|
|
|
@@ -189,6 +190,7 @@ class Nodes(BaseSDK):
|
|
|
189
190
|
accept_header_value="application/json",
|
|
190
191
|
http_headers=http_headers,
|
|
191
192
|
security=self.sdk_configuration.security,
|
|
193
|
+
allow_empty_value=None,
|
|
192
194
|
timeout_ms=timeout_ms,
|
|
193
195
|
)
|
|
194
196
|
|
|
@@ -278,6 +280,7 @@ class Nodes(BaseSDK):
|
|
|
278
280
|
accept_header_value="application/json",
|
|
279
281
|
http_headers=http_headers,
|
|
280
282
|
security=self.sdk_configuration.security,
|
|
283
|
+
allow_empty_value=None,
|
|
281
284
|
timeout_ms=timeout_ms,
|
|
282
285
|
)
|
|
283
286
|
|
|
@@ -367,6 +370,7 @@ class Nodes(BaseSDK):
|
|
|
367
370
|
accept_header_value="application/json",
|
|
368
371
|
http_headers=http_headers,
|
|
369
372
|
security=self.sdk_configuration.security,
|
|
373
|
+
allow_empty_value=None,
|
|
370
374
|
timeout_ms=timeout_ms,
|
|
371
375
|
)
|
|
372
376
|
|
cribl_control_plane/packs.py
CHANGED
|
@@ -64,6 +64,7 @@ class Packs(BaseSDK):
|
|
|
64
64
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
65
65
|
request, False, False, "json", models.PackRequestBodyUnion
|
|
66
66
|
),
|
|
67
|
+
allow_empty_value=None,
|
|
67
68
|
timeout_ms=timeout_ms,
|
|
68
69
|
)
|
|
69
70
|
|
|
@@ -156,6 +157,7 @@ class Packs(BaseSDK):
|
|
|
156
157
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
157
158
|
request, False, False, "json", models.PackRequestBodyUnion
|
|
158
159
|
),
|
|
160
|
+
allow_empty_value=None,
|
|
159
161
|
timeout_ms=timeout_ms,
|
|
160
162
|
)
|
|
161
163
|
|
|
@@ -243,6 +245,7 @@ class Packs(BaseSDK):
|
|
|
243
245
|
accept_header_value="application/json",
|
|
244
246
|
http_headers=http_headers,
|
|
245
247
|
security=self.sdk_configuration.security,
|
|
248
|
+
allow_empty_value=None,
|
|
246
249
|
timeout_ms=timeout_ms,
|
|
247
250
|
)
|
|
248
251
|
|
|
@@ -330,6 +333,7 @@ class Packs(BaseSDK):
|
|
|
330
333
|
accept_header_value="application/json",
|
|
331
334
|
http_headers=http_headers,
|
|
332
335
|
security=self.sdk_configuration.security,
|
|
336
|
+
allow_empty_value=None,
|
|
333
337
|
timeout_ms=timeout_ms,
|
|
334
338
|
)
|
|
335
339
|
|
|
@@ -427,6 +431,7 @@ class Packs(BaseSDK):
|
|
|
427
431
|
"raw",
|
|
428
432
|
Union[bytes, IO[bytes], io.BufferedReader],
|
|
429
433
|
),
|
|
434
|
+
allow_empty_value=None,
|
|
430
435
|
timeout_ms=timeout_ms,
|
|
431
436
|
)
|
|
432
437
|
|
|
@@ -524,6 +529,7 @@ class Packs(BaseSDK):
|
|
|
524
529
|
"raw",
|
|
525
530
|
Union[bytes, IO[bytes], io.BufferedReader],
|
|
526
531
|
),
|
|
532
|
+
allow_empty_value=None,
|
|
527
533
|
timeout_ms=timeout_ms,
|
|
528
534
|
)
|
|
529
535
|
|
|
@@ -611,6 +617,7 @@ class Packs(BaseSDK):
|
|
|
611
617
|
accept_header_value="application/json",
|
|
612
618
|
http_headers=http_headers,
|
|
613
619
|
security=self.sdk_configuration.security,
|
|
620
|
+
allow_empty_value=None,
|
|
614
621
|
timeout_ms=timeout_ms,
|
|
615
622
|
)
|
|
616
623
|
|
|
@@ -698,6 +705,7 @@ class Packs(BaseSDK):
|
|
|
698
705
|
accept_header_value="application/json",
|
|
699
706
|
http_headers=http_headers,
|
|
700
707
|
security=self.sdk_configuration.security,
|
|
708
|
+
allow_empty_value=None,
|
|
701
709
|
timeout_ms=timeout_ms,
|
|
702
710
|
)
|
|
703
711
|
|
|
@@ -785,6 +793,7 @@ class Packs(BaseSDK):
|
|
|
785
793
|
accept_header_value="application/json",
|
|
786
794
|
http_headers=http_headers,
|
|
787
795
|
security=self.sdk_configuration.security,
|
|
796
|
+
allow_empty_value=None,
|
|
788
797
|
timeout_ms=timeout_ms,
|
|
789
798
|
)
|
|
790
799
|
|
|
@@ -872,6 +881,7 @@ class Packs(BaseSDK):
|
|
|
872
881
|
accept_header_value="application/json",
|
|
873
882
|
http_headers=http_headers,
|
|
874
883
|
security=self.sdk_configuration.security,
|
|
884
|
+
allow_empty_value=None,
|
|
875
885
|
timeout_ms=timeout_ms,
|
|
876
886
|
)
|
|
877
887
|
|
|
@@ -980,6 +990,7 @@ class Packs(BaseSDK):
|
|
|
980
990
|
"json",
|
|
981
991
|
models.PackUpgradeRequest,
|
|
982
992
|
),
|
|
993
|
+
allow_empty_value=None,
|
|
983
994
|
timeout_ms=timeout_ms,
|
|
984
995
|
)
|
|
985
996
|
|
|
@@ -1088,6 +1099,7 @@ class Packs(BaseSDK):
|
|
|
1088
1099
|
"json",
|
|
1089
1100
|
models.PackUpgradeRequest,
|
|
1090
1101
|
),
|
|
1102
|
+
allow_empty_value=None,
|
|
1091
1103
|
timeout_ms=timeout_ms,
|
|
1092
1104
|
)
|
|
1093
1105
|
|
cribl_control_plane/pipelines.py
CHANGED
|
@@ -51,6 +51,7 @@ class Pipelines(BaseSDK):
|
|
|
51
51
|
accept_header_value="application/json",
|
|
52
52
|
http_headers=http_headers,
|
|
53
53
|
security=self.sdk_configuration.security,
|
|
54
|
+
allow_empty_value=None,
|
|
54
55
|
timeout_ms=timeout_ms,
|
|
55
56
|
)
|
|
56
57
|
|
|
@@ -131,6 +132,7 @@ class Pipelines(BaseSDK):
|
|
|
131
132
|
accept_header_value="application/json",
|
|
132
133
|
http_headers=http_headers,
|
|
133
134
|
security=self.sdk_configuration.security,
|
|
135
|
+
allow_empty_value=None,
|
|
134
136
|
timeout_ms=timeout_ms,
|
|
135
137
|
)
|
|
136
138
|
|
|
@@ -224,6 +226,7 @@ class Pipelines(BaseSDK):
|
|
|
224
226
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
225
227
|
request, False, False, "json", models.Pipeline
|
|
226
228
|
),
|
|
229
|
+
allow_empty_value=None,
|
|
227
230
|
timeout_ms=timeout_ms,
|
|
228
231
|
)
|
|
229
232
|
|
|
@@ -317,6 +320,7 @@ class Pipelines(BaseSDK):
|
|
|
317
320
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
318
321
|
request, False, False, "json", models.Pipeline
|
|
319
322
|
),
|
|
323
|
+
allow_empty_value=None,
|
|
320
324
|
timeout_ms=timeout_ms,
|
|
321
325
|
)
|
|
322
326
|
|
|
@@ -404,6 +408,7 @@ class Pipelines(BaseSDK):
|
|
|
404
408
|
accept_header_value="application/json",
|
|
405
409
|
http_headers=http_headers,
|
|
406
410
|
security=self.sdk_configuration.security,
|
|
411
|
+
allow_empty_value=None,
|
|
407
412
|
timeout_ms=timeout_ms,
|
|
408
413
|
)
|
|
409
414
|
|
|
@@ -491,6 +496,7 @@ class Pipelines(BaseSDK):
|
|
|
491
496
|
accept_header_value="application/json",
|
|
492
497
|
http_headers=http_headers,
|
|
493
498
|
security=self.sdk_configuration.security,
|
|
499
|
+
allow_empty_value=None,
|
|
494
500
|
timeout_ms=timeout_ms,
|
|
495
501
|
)
|
|
496
502
|
|
|
@@ -589,6 +595,7 @@ class Pipelines(BaseSDK):
|
|
|
589
595
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
590
596
|
request.pipeline, False, False, "json", models.Pipeline
|
|
591
597
|
),
|
|
598
|
+
allow_empty_value=None,
|
|
592
599
|
timeout_ms=timeout_ms,
|
|
593
600
|
)
|
|
594
601
|
|
|
@@ -687,6 +694,7 @@ class Pipelines(BaseSDK):
|
|
|
687
694
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
688
695
|
request.pipeline, False, False, "json", models.Pipeline
|
|
689
696
|
),
|
|
697
|
+
allow_empty_value=None,
|
|
690
698
|
timeout_ms=timeout_ms,
|
|
691
699
|
)
|
|
692
700
|
|
|
@@ -774,6 +782,7 @@ class Pipelines(BaseSDK):
|
|
|
774
782
|
accept_header_value="application/json",
|
|
775
783
|
http_headers=http_headers,
|
|
776
784
|
security=self.sdk_configuration.security,
|
|
785
|
+
allow_empty_value=None,
|
|
777
786
|
timeout_ms=timeout_ms,
|
|
778
787
|
)
|
|
779
788
|
|
|
@@ -861,6 +870,7 @@ class Pipelines(BaseSDK):
|
|
|
861
870
|
accept_header_value="application/json",
|
|
862
871
|
http_headers=http_headers,
|
|
863
872
|
security=self.sdk_configuration.security,
|
|
873
|
+
allow_empty_value=None,
|
|
864
874
|
timeout_ms=timeout_ms,
|
|
865
875
|
)
|
|
866
876
|
|
|
@@ -51,6 +51,7 @@ class RoutesSDK(BaseSDK):
|
|
|
51
51
|
accept_header_value="application/json",
|
|
52
52
|
http_headers=http_headers,
|
|
53
53
|
security=self.sdk_configuration.security,
|
|
54
|
+
allow_empty_value=None,
|
|
54
55
|
timeout_ms=timeout_ms,
|
|
55
56
|
)
|
|
56
57
|
|
|
@@ -131,6 +132,7 @@ class RoutesSDK(BaseSDK):
|
|
|
131
132
|
accept_header_value="application/json",
|
|
132
133
|
http_headers=http_headers,
|
|
133
134
|
security=self.sdk_configuration.security,
|
|
135
|
+
allow_empty_value=None,
|
|
134
136
|
timeout_ms=timeout_ms,
|
|
135
137
|
)
|
|
136
138
|
|
|
@@ -218,6 +220,7 @@ class RoutesSDK(BaseSDK):
|
|
|
218
220
|
accept_header_value="application/json",
|
|
219
221
|
http_headers=http_headers,
|
|
220
222
|
security=self.sdk_configuration.security,
|
|
223
|
+
allow_empty_value=None,
|
|
221
224
|
timeout_ms=timeout_ms,
|
|
222
225
|
)
|
|
223
226
|
|
|
@@ -305,6 +308,7 @@ class RoutesSDK(BaseSDK):
|
|
|
305
308
|
accept_header_value="application/json",
|
|
306
309
|
http_headers=http_headers,
|
|
307
310
|
security=self.sdk_configuration.security,
|
|
311
|
+
allow_empty_value=None,
|
|
308
312
|
timeout_ms=timeout_ms,
|
|
309
313
|
)
|
|
310
314
|
|
|
@@ -419,6 +423,7 @@ class RoutesSDK(BaseSDK):
|
|
|
419
423
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
420
424
|
request.routes, False, False, "json", models.Routes
|
|
421
425
|
),
|
|
426
|
+
allow_empty_value=None,
|
|
422
427
|
timeout_ms=timeout_ms,
|
|
423
428
|
)
|
|
424
429
|
|
|
@@ -533,6 +538,7 @@ class RoutesSDK(BaseSDK):
|
|
|
533
538
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
534
539
|
request.routes, False, False, "json", models.Routes
|
|
535
540
|
),
|
|
541
|
+
allow_empty_value=None,
|
|
536
542
|
timeout_ms=timeout_ms,
|
|
537
543
|
)
|
|
538
544
|
|
|
@@ -626,6 +632,7 @@ class RoutesSDK(BaseSDK):
|
|
|
626
632
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
627
633
|
request.request_body, False, False, "json", List[models.RouteConf]
|
|
628
634
|
),
|
|
635
|
+
allow_empty_value=None,
|
|
629
636
|
timeout_ms=timeout_ms,
|
|
630
637
|
)
|
|
631
638
|
|
|
@@ -721,6 +728,7 @@ class RoutesSDK(BaseSDK):
|
|
|
721
728
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
722
729
|
request.request_body, False, False, "json", List[models.RouteConf]
|
|
723
730
|
),
|
|
731
|
+
allow_empty_value=None,
|
|
724
732
|
timeout_ms=timeout_ms,
|
|
725
733
|
)
|
|
726
734
|
|
cribl_control_plane/samples.py
CHANGED
|
@@ -56,6 +56,7 @@ class Samples(BaseSDK):
|
|
|
56
56
|
accept_header_value="application/json",
|
|
57
57
|
http_headers=http_headers,
|
|
58
58
|
security=self.sdk_configuration.security,
|
|
59
|
+
allow_empty_value=None,
|
|
59
60
|
timeout_ms=timeout_ms,
|
|
60
61
|
)
|
|
61
62
|
|
|
@@ -145,6 +146,7 @@ class Samples(BaseSDK):
|
|
|
145
146
|
accept_header_value="application/json",
|
|
146
147
|
http_headers=http_headers,
|
|
147
148
|
security=self.sdk_configuration.security,
|
|
149
|
+
allow_empty_value=None,
|
|
148
150
|
timeout_ms=timeout_ms,
|
|
149
151
|
)
|
|
150
152
|
|
|
@@ -246,6 +248,7 @@ class Samples(BaseSDK):
|
|
|
246
248
|
"json",
|
|
247
249
|
models.OutputTestRequest,
|
|
248
250
|
),
|
|
251
|
+
allow_empty_value=None,
|
|
249
252
|
timeout_ms=timeout_ms,
|
|
250
253
|
)
|
|
251
254
|
|
|
@@ -347,6 +350,7 @@ class Samples(BaseSDK):
|
|
|
347
350
|
"json",
|
|
348
351
|
models.OutputTestRequest,
|
|
349
352
|
),
|
|
353
|
+
allow_empty_value=None,
|
|
350
354
|
timeout_ms=timeout_ms,
|
|
351
355
|
)
|
|
352
356
|
|
cribl_control_plane/sources.py
CHANGED
|
@@ -65,6 +65,7 @@ class Sources(BaseSDK):
|
|
|
65
65
|
accept_header_value="application/json",
|
|
66
66
|
http_headers=http_headers,
|
|
67
67
|
security=self.sdk_configuration.security,
|
|
68
|
+
allow_empty_value=None,
|
|
68
69
|
timeout_ms=timeout_ms,
|
|
69
70
|
)
|
|
70
71
|
|
|
@@ -145,6 +146,7 @@ class Sources(BaseSDK):
|
|
|
145
146
|
accept_header_value="application/json",
|
|
146
147
|
http_headers=http_headers,
|
|
147
148
|
security=self.sdk_configuration.security,
|
|
149
|
+
allow_empty_value=None,
|
|
148
150
|
timeout_ms=timeout_ms,
|
|
149
151
|
)
|
|
150
152
|
|
|
@@ -235,6 +237,7 @@ class Sources(BaseSDK):
|
|
|
235
237
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
236
238
|
request, False, False, "json", models.Input
|
|
237
239
|
),
|
|
240
|
+
allow_empty_value=None,
|
|
238
241
|
timeout_ms=timeout_ms,
|
|
239
242
|
)
|
|
240
243
|
|
|
@@ -325,6 +328,7 @@ class Sources(BaseSDK):
|
|
|
325
328
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
326
329
|
request, False, False, "json", models.Input
|
|
327
330
|
),
|
|
331
|
+
allow_empty_value=None,
|
|
328
332
|
timeout_ms=timeout_ms,
|
|
329
333
|
)
|
|
330
334
|
|
|
@@ -412,6 +416,7 @@ class Sources(BaseSDK):
|
|
|
412
416
|
accept_header_value="application/json",
|
|
413
417
|
http_headers=http_headers,
|
|
414
418
|
security=self.sdk_configuration.security,
|
|
419
|
+
allow_empty_value=None,
|
|
415
420
|
timeout_ms=timeout_ms,
|
|
416
421
|
)
|
|
417
422
|
|
|
@@ -499,6 +504,7 @@ class Sources(BaseSDK):
|
|
|
499
504
|
accept_header_value="application/json",
|
|
500
505
|
http_headers=http_headers,
|
|
501
506
|
security=self.sdk_configuration.security,
|
|
507
|
+
allow_empty_value=None,
|
|
502
508
|
timeout_ms=timeout_ms,
|
|
503
509
|
)
|
|
504
510
|
|
|
@@ -592,6 +598,7 @@ class Sources(BaseSDK):
|
|
|
592
598
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
593
599
|
request.input, False, False, "json", models.Input
|
|
594
600
|
),
|
|
601
|
+
allow_empty_value=None,
|
|
595
602
|
timeout_ms=timeout_ms,
|
|
596
603
|
)
|
|
597
604
|
|
|
@@ -685,6 +692,7 @@ class Sources(BaseSDK):
|
|
|
685
692
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
686
693
|
request.input, False, False, "json", models.Input
|
|
687
694
|
),
|
|
695
|
+
allow_empty_value=None,
|
|
688
696
|
timeout_ms=timeout_ms,
|
|
689
697
|
)
|
|
690
698
|
|
|
@@ -772,6 +780,7 @@ class Sources(BaseSDK):
|
|
|
772
780
|
accept_header_value="application/json",
|
|
773
781
|
http_headers=http_headers,
|
|
774
782
|
security=self.sdk_configuration.security,
|
|
783
|
+
allow_empty_value=None,
|
|
775
784
|
timeout_ms=timeout_ms,
|
|
776
785
|
)
|
|
777
786
|
|
|
@@ -859,6 +868,7 @@ class Sources(BaseSDK):
|
|
|
859
868
|
accept_header_value="application/json",
|
|
860
869
|
http_headers=http_headers,
|
|
861
870
|
security=self.sdk_configuration.security,
|
|
871
|
+
allow_empty_value=None,
|
|
862
872
|
timeout_ms=timeout_ms,
|
|
863
873
|
)
|
|
864
874
|
|