cribl-control-plane 0.0.28__py3-none-any.whl → 0.0.30__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +3 -3
- cribl_control_plane/acl.py +30 -20
- cribl_control_plane/branches.py +4 -8
- cribl_control_plane/configs_versions.py +22 -16
- cribl_control_plane/groups_sdk.py +464 -428
- cribl_control_plane/models/__init__.py +204 -177
- cribl_control_plane/models/{createproductsgroupsbyproductop.py → createconfiggroupbyproductop.py} +10 -10
- cribl_control_plane/models/currentbranchresult.py +13 -0
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +53 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +78 -0
- cribl_control_plane/models/{getproductsgroupsaclteamsbyproductandidop.py → getconfiggroupaclteamsbyproductandidop.py} +15 -15
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +65 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +52 -0
- cribl_control_plane/models/{getsummaryworkersop.py → getmasterworkerentryop.py} +4 -4
- cribl_control_plane/models/gitcommitsummary.py +3 -3
- cribl_control_plane/models/gitstatusresult.py +0 -3
- cribl_control_plane/models/input.py +30 -30
- cribl_control_plane/models/inputcribllakehttp.py +63 -0
- cribl_control_plane/models/inputcrowdstrike.py +7 -0
- cribl_control_plane/models/inputs3.py +7 -0
- cribl_control_plane/models/inputs3inventory.py +7 -0
- cribl_control_plane/models/inputsecuritylake.py +7 -0
- cribl_control_plane/models/{getproductsgroupsbyproductop.py → listconfiggroupbyproductop.py} +12 -12
- cribl_control_plane/models/{getworkersop.py → listmasterworkerentryop.py} +4 -4
- cribl_control_plane/models/{updategroupsbyidop.py → updateconfiggroupbyproductandidop.py} +22 -6
- cribl_control_plane/models/{updategroupsdeploybyidop.py → updateconfiggroupdeploybyproductandidop.py} +22 -6
- cribl_control_plane/nodes.py +70 -62
- cribl_control_plane/teams.py +20 -20
- {cribl_control_plane-0.0.28.dist-info → cribl_control_plane-0.0.30.dist-info}/METADATA +8 -8
- {cribl_control_plane-0.0.28.dist-info → cribl_control_plane-0.0.30.dist-info}/RECORD +31 -31
- cribl_control_plane/models/deletegroupsbyidop.py +0 -37
- cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
- cribl_control_plane/models/getgroupsbyidop.py +0 -49
- cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
- cribl_control_plane/models/getversioncurrentbranchop.py +0 -23
- {cribl_control_plane-0.0.28.dist-info → cribl_control_plane-0.0.30.dist-info}/WHEEL +0 -0
cribl_control_plane/_version.py
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "cribl-control-plane"
|
|
6
|
-
__version__: str = "0.0.
|
|
7
|
-
__openapi_doc_version__: str = "4.14.0-alpha.
|
|
6
|
+
__version__: str = "0.0.30"
|
|
7
|
+
__openapi_doc_version__: str = "4.14.0-alpha.1755543348575-fc1d9ba2"
|
|
8
8
|
__gen_version__: str = "2.684.0"
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.0.
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.0.30 2.684.0 4.14.0-alpha.1755543348575-fc1d9ba2 cribl-control-plane"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
cribl_control_plane/acl.py
CHANGED
|
@@ -25,19 +25,21 @@ class ACL(BaseSDK):
|
|
|
25
25
|
def get(
|
|
26
26
|
self,
|
|
27
27
|
*,
|
|
28
|
+
product: models.GetConfigGroupACLByProductAndIDProduct,
|
|
28
29
|
id: str,
|
|
29
|
-
type_: Optional[models.
|
|
30
|
+
type_: Optional[models.GetConfigGroupACLByProductAndIDType] = None,
|
|
30
31
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
31
32
|
server_url: Optional[str] = None,
|
|
32
33
|
timeout_ms: Optional[int] = None,
|
|
33
34
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
34
|
-
) -> models.
|
|
35
|
-
r"""
|
|
35
|
+
) -> models.GetConfigGroupACLByProductAndIDResponse:
|
|
36
|
+
r"""Get the Access Control List for a Worker Group or Edge Fleet
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
Get the Access Control List (ACL) for the specified Worker Group or Edge Fleet.
|
|
38
39
|
|
|
39
|
-
:param
|
|
40
|
-
:param
|
|
40
|
+
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
41
|
+
:param id: The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for.
|
|
42
|
+
:param type: Filter for limiting the response to ACL entries for the specified RBAC resource type.
|
|
41
43
|
:param retries: Override the default retry configuration for this method
|
|
42
44
|
:param server_url: Override the default server URL for this method
|
|
43
45
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -53,14 +55,15 @@ class ACL(BaseSDK):
|
|
|
53
55
|
else:
|
|
54
56
|
base_url = self._get_url(base_url, url_variables)
|
|
55
57
|
|
|
56
|
-
request = models.
|
|
58
|
+
request = models.GetConfigGroupACLByProductAndIDRequest(
|
|
59
|
+
product=product,
|
|
57
60
|
id=id,
|
|
58
61
|
type=type_,
|
|
59
62
|
)
|
|
60
63
|
|
|
61
64
|
req = self._build_request(
|
|
62
65
|
method="GET",
|
|
63
|
-
path="/
|
|
66
|
+
path="/products/{product}/groups/{id}/acl",
|
|
64
67
|
base_url=base_url,
|
|
65
68
|
url_variables=url_variables,
|
|
66
69
|
request=request,
|
|
@@ -86,7 +89,7 @@ class ACL(BaseSDK):
|
|
|
86
89
|
hook_ctx=HookContext(
|
|
87
90
|
config=self.sdk_configuration,
|
|
88
91
|
base_url=base_url or "",
|
|
89
|
-
operation_id="
|
|
92
|
+
operation_id="getConfigGroupAclByProductAndId",
|
|
90
93
|
oauth2_scopes=[],
|
|
91
94
|
security_source=get_security_from_env(
|
|
92
95
|
self.sdk_configuration.security, models.Security
|
|
@@ -99,7 +102,9 @@ class ACL(BaseSDK):
|
|
|
99
102
|
|
|
100
103
|
response_data: Any = None
|
|
101
104
|
if utils.match_response(http_res, "200", "application/json"):
|
|
102
|
-
return unmarshal_json_response(
|
|
105
|
+
return unmarshal_json_response(
|
|
106
|
+
models.GetConfigGroupACLByProductAndIDResponse, http_res
|
|
107
|
+
)
|
|
103
108
|
if utils.match_response(http_res, "500", "application/json"):
|
|
104
109
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
105
110
|
raise errors.Error(response_data, http_res)
|
|
@@ -115,19 +120,21 @@ class ACL(BaseSDK):
|
|
|
115
120
|
async def get_async(
|
|
116
121
|
self,
|
|
117
122
|
*,
|
|
123
|
+
product: models.GetConfigGroupACLByProductAndIDProduct,
|
|
118
124
|
id: str,
|
|
119
|
-
type_: Optional[models.
|
|
125
|
+
type_: Optional[models.GetConfigGroupACLByProductAndIDType] = None,
|
|
120
126
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
121
127
|
server_url: Optional[str] = None,
|
|
122
128
|
timeout_ms: Optional[int] = None,
|
|
123
129
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
124
|
-
) -> models.
|
|
125
|
-
r"""
|
|
130
|
+
) -> models.GetConfigGroupACLByProductAndIDResponse:
|
|
131
|
+
r"""Get the Access Control List for a Worker Group or Edge Fleet
|
|
126
132
|
|
|
127
|
-
|
|
133
|
+
Get the Access Control List (ACL) for the specified Worker Group or Edge Fleet.
|
|
128
134
|
|
|
129
|
-
:param
|
|
130
|
-
:param
|
|
135
|
+
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
136
|
+
:param id: The <code>id</code> of the Worker Group or Edge Fleet to get the ACL for.
|
|
137
|
+
:param type: Filter for limiting the response to ACL entries for the specified RBAC resource type.
|
|
131
138
|
:param retries: Override the default retry configuration for this method
|
|
132
139
|
:param server_url: Override the default server URL for this method
|
|
133
140
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -143,14 +150,15 @@ class ACL(BaseSDK):
|
|
|
143
150
|
else:
|
|
144
151
|
base_url = self._get_url(base_url, url_variables)
|
|
145
152
|
|
|
146
|
-
request = models.
|
|
153
|
+
request = models.GetConfigGroupACLByProductAndIDRequest(
|
|
154
|
+
product=product,
|
|
147
155
|
id=id,
|
|
148
156
|
type=type_,
|
|
149
157
|
)
|
|
150
158
|
|
|
151
159
|
req = self._build_request_async(
|
|
152
160
|
method="GET",
|
|
153
|
-
path="/
|
|
161
|
+
path="/products/{product}/groups/{id}/acl",
|
|
154
162
|
base_url=base_url,
|
|
155
163
|
url_variables=url_variables,
|
|
156
164
|
request=request,
|
|
@@ -176,7 +184,7 @@ class ACL(BaseSDK):
|
|
|
176
184
|
hook_ctx=HookContext(
|
|
177
185
|
config=self.sdk_configuration,
|
|
178
186
|
base_url=base_url or "",
|
|
179
|
-
operation_id="
|
|
187
|
+
operation_id="getConfigGroupAclByProductAndId",
|
|
180
188
|
oauth2_scopes=[],
|
|
181
189
|
security_source=get_security_from_env(
|
|
182
190
|
self.sdk_configuration.security, models.Security
|
|
@@ -189,7 +197,9 @@ class ACL(BaseSDK):
|
|
|
189
197
|
|
|
190
198
|
response_data: Any = None
|
|
191
199
|
if utils.match_response(http_res, "200", "application/json"):
|
|
192
|
-
return unmarshal_json_response(
|
|
200
|
+
return unmarshal_json_response(
|
|
201
|
+
models.GetConfigGroupACLByProductAndIDResponse, http_res
|
|
202
|
+
)
|
|
193
203
|
if utils.match_response(http_res, "500", "application/json"):
|
|
194
204
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
195
205
|
raise errors.Error(response_data, http_res)
|
cribl_control_plane/branches.py
CHANGED
|
@@ -177,7 +177,7 @@ class Branches(BaseSDK):
|
|
|
177
177
|
server_url: Optional[str] = None,
|
|
178
178
|
timeout_ms: Optional[int] = None,
|
|
179
179
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
180
|
-
) -> models.
|
|
180
|
+
) -> models.CurrentBranchResult:
|
|
181
181
|
r"""Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
182
182
|
|
|
183
183
|
returns git branch that the config is checked out to, if any
|
|
@@ -237,9 +237,7 @@ class Branches(BaseSDK):
|
|
|
237
237
|
|
|
238
238
|
response_data: Any = None
|
|
239
239
|
if utils.match_response(http_res, "200", "application/json"):
|
|
240
|
-
return unmarshal_json_response(
|
|
241
|
-
models.GetVersionCurrentBranchResponse, http_res
|
|
242
|
-
)
|
|
240
|
+
return unmarshal_json_response(models.CurrentBranchResult, http_res)
|
|
243
241
|
if utils.match_response(http_res, "500", "application/json"):
|
|
244
242
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
245
243
|
raise errors.Error(response_data, http_res)
|
|
@@ -259,7 +257,7 @@ class Branches(BaseSDK):
|
|
|
259
257
|
server_url: Optional[str] = None,
|
|
260
258
|
timeout_ms: Optional[int] = None,
|
|
261
259
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
262
|
-
) -> models.
|
|
260
|
+
) -> models.CurrentBranchResult:
|
|
263
261
|
r"""Retrieve the name of the Git branch that the Cribl configuration is checked out to
|
|
264
262
|
|
|
265
263
|
returns git branch that the config is checked out to, if any
|
|
@@ -319,9 +317,7 @@ class Branches(BaseSDK):
|
|
|
319
317
|
|
|
320
318
|
response_data: Any = None
|
|
321
319
|
if utils.match_response(http_res, "200", "application/json"):
|
|
322
|
-
return unmarshal_json_response(
|
|
323
|
-
models.GetVersionCurrentBranchResponse, http_res
|
|
324
|
-
)
|
|
320
|
+
return unmarshal_json_response(models.CurrentBranchResult, http_res)
|
|
325
321
|
if utils.match_response(http_res, "500", "application/json"):
|
|
326
322
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
327
323
|
raise errors.Error(response_data, http_res)
|
|
@@ -13,17 +13,19 @@ class ConfigsVersions(BaseSDK):
|
|
|
13
13
|
def get(
|
|
14
14
|
self,
|
|
15
15
|
*,
|
|
16
|
+
product: models.GetConfigGroupConfigVersionByProductAndIDProduct,
|
|
16
17
|
id: str,
|
|
17
18
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
18
19
|
server_url: Optional[str] = None,
|
|
19
20
|
timeout_ms: Optional[int] = None,
|
|
20
21
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
21
|
-
) -> models.
|
|
22
|
-
r"""
|
|
22
|
+
) -> models.GetConfigGroupConfigVersionByProductAndIDResponse:
|
|
23
|
+
r"""Get the configuration version for a Worker Group or Edge Fleet
|
|
23
24
|
|
|
24
|
-
Get
|
|
25
|
+
Get the configuration version for the specified Worker Group or Edge Fleet.
|
|
25
26
|
|
|
26
|
-
:param
|
|
27
|
+
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
28
|
+
:param id: The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for.
|
|
27
29
|
:param retries: Override the default retry configuration for this method
|
|
28
30
|
:param server_url: Override the default server URL for this method
|
|
29
31
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -39,13 +41,14 @@ class ConfigsVersions(BaseSDK):
|
|
|
39
41
|
else:
|
|
40
42
|
base_url = self._get_url(base_url, url_variables)
|
|
41
43
|
|
|
42
|
-
request = models.
|
|
44
|
+
request = models.GetConfigGroupConfigVersionByProductAndIDRequest(
|
|
45
|
+
product=product,
|
|
43
46
|
id=id,
|
|
44
47
|
)
|
|
45
48
|
|
|
46
49
|
req = self._build_request(
|
|
47
50
|
method="GET",
|
|
48
|
-
path="/
|
|
51
|
+
path="/products/{product}/groups/{id}/configVersion",
|
|
49
52
|
base_url=base_url,
|
|
50
53
|
url_variables=url_variables,
|
|
51
54
|
request=request,
|
|
@@ -71,7 +74,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
71
74
|
hook_ctx=HookContext(
|
|
72
75
|
config=self.sdk_configuration,
|
|
73
76
|
base_url=base_url or "",
|
|
74
|
-
operation_id="
|
|
77
|
+
operation_id="getConfigGroupConfigVersionByProductAndId",
|
|
75
78
|
oauth2_scopes=[],
|
|
76
79
|
security_source=get_security_from_env(
|
|
77
80
|
self.sdk_configuration.security, models.Security
|
|
@@ -85,7 +88,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
85
88
|
response_data: Any = None
|
|
86
89
|
if utils.match_response(http_res, "200", "application/json"):
|
|
87
90
|
return unmarshal_json_response(
|
|
88
|
-
models.
|
|
91
|
+
models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
|
|
89
92
|
)
|
|
90
93
|
if utils.match_response(http_res, "500", "application/json"):
|
|
91
94
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
@@ -102,17 +105,19 @@ class ConfigsVersions(BaseSDK):
|
|
|
102
105
|
async def get_async(
|
|
103
106
|
self,
|
|
104
107
|
*,
|
|
108
|
+
product: models.GetConfigGroupConfigVersionByProductAndIDProduct,
|
|
105
109
|
id: str,
|
|
106
110
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
107
111
|
server_url: Optional[str] = None,
|
|
108
112
|
timeout_ms: Optional[int] = None,
|
|
109
113
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
110
|
-
) -> models.
|
|
111
|
-
r"""
|
|
114
|
+
) -> models.GetConfigGroupConfigVersionByProductAndIDResponse:
|
|
115
|
+
r"""Get the configuration version for a Worker Group or Edge Fleet
|
|
112
116
|
|
|
113
|
-
Get
|
|
117
|
+
Get the configuration version for the specified Worker Group or Edge Fleet.
|
|
114
118
|
|
|
115
|
-
:param
|
|
119
|
+
:param product: Name of the Cribl product to get the Worker Groups or Edge Fleets for.
|
|
120
|
+
:param id: The <code>id</code> of the Worker Group or Edge Fleet to get the configuration version for.
|
|
116
121
|
:param retries: Override the default retry configuration for this method
|
|
117
122
|
:param server_url: Override the default server URL for this method
|
|
118
123
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -128,13 +133,14 @@ class ConfigsVersions(BaseSDK):
|
|
|
128
133
|
else:
|
|
129
134
|
base_url = self._get_url(base_url, url_variables)
|
|
130
135
|
|
|
131
|
-
request = models.
|
|
136
|
+
request = models.GetConfigGroupConfigVersionByProductAndIDRequest(
|
|
137
|
+
product=product,
|
|
132
138
|
id=id,
|
|
133
139
|
)
|
|
134
140
|
|
|
135
141
|
req = self._build_request_async(
|
|
136
142
|
method="GET",
|
|
137
|
-
path="/
|
|
143
|
+
path="/products/{product}/groups/{id}/configVersion",
|
|
138
144
|
base_url=base_url,
|
|
139
145
|
url_variables=url_variables,
|
|
140
146
|
request=request,
|
|
@@ -160,7 +166,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
160
166
|
hook_ctx=HookContext(
|
|
161
167
|
config=self.sdk_configuration,
|
|
162
168
|
base_url=base_url or "",
|
|
163
|
-
operation_id="
|
|
169
|
+
operation_id="getConfigGroupConfigVersionByProductAndId",
|
|
164
170
|
oauth2_scopes=[],
|
|
165
171
|
security_source=get_security_from_env(
|
|
166
172
|
self.sdk_configuration.security, models.Security
|
|
@@ -174,7 +180,7 @@ class ConfigsVersions(BaseSDK):
|
|
|
174
180
|
response_data: Any = None
|
|
175
181
|
if utils.match_response(http_res, "200", "application/json"):
|
|
176
182
|
return unmarshal_json_response(
|
|
177
|
-
models.
|
|
183
|
+
models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
|
|
178
184
|
)
|
|
179
185
|
if utils.match_response(http_res, "500", "application/json"):
|
|
180
186
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|