scc-firewall-manager-sdk 1.15.268__py3-none-any.whl → 1.15.385__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 scc-firewall-manager-sdk might be problematic. Click here for more details.

Files changed (22) hide show
  1. scc_firewall_manager_sdk/__init__.py +4 -1
  2. scc_firewall_manager_sdk/api/__init__.py +1 -0
  3. scc_firewall_manager_sdk/api/connectors_api.py +0 -301
  4. scc_firewall_manager_sdk/api/device_health_aggregations_api.py +6 -6
  5. scc_firewall_manager_sdk/api/events_api.py +358 -0
  6. scc_firewall_manager_sdk/api/interface_health_aggregations_api.py +6 -6
  7. scc_firewall_manager_sdk/api/msp_device_upgrades_api.py +247 -0
  8. scc_firewall_manager_sdk/api/msp_tenant_management_api.py +29 -0
  9. scc_firewall_manager_sdk/api_client.py +1 -1
  10. scc_firewall_manager_sdk/configuration.py +1 -1
  11. scc_firewall_manager_sdk/models/__init__.py +2 -0
  12. scc_firewall_manager_sdk/models/device_upgrade_status_dto.py +4 -30
  13. scc_firewall_manager_sdk/models/enable_cd_fmc_for_tenant_request.py +88 -0
  14. scc_firewall_manager_sdk/models/msp_managed_device.py +7 -1
  15. scc_firewall_manager_sdk/models/msp_managed_device_distinct_attribute_values.py +5 -1
  16. scc_firewall_manager_sdk/models/msp_upgrade_run_dto.py +6 -4
  17. scc_firewall_manager_sdk/models/msp_upgrade_runs_attribute_values.py +114 -0
  18. scc_firewall_manager_sdk/models/tenant_settings.py +3 -1
  19. {scc_firewall_manager_sdk-1.15.268.dist-info → scc_firewall_manager_sdk-1.15.385.dist-info}/METADATA +1 -1
  20. {scc_firewall_manager_sdk-1.15.268.dist-info → scc_firewall_manager_sdk-1.15.385.dist-info}/RECORD +22 -19
  21. {scc_firewall_manager_sdk-1.15.268.dist-info → scc_firewall_manager_sdk-1.15.385.dist-info}/WHEEL +0 -0
  22. {scc_firewall_manager_sdk-1.15.268.dist-info → scc_firewall_manager_sdk-1.15.385.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "1.15.268"
18
+ __version__ = "1.15.385"
19
19
 
20
20
  # import apis into sdk package
21
21
  from scc_firewall_manager_sdk.api.ai_assistant_api import AIAssistantApi
@@ -31,6 +31,7 @@ from scc_firewall_manager_sdk.api.connectors_api import ConnectorsApi
31
31
  from scc_firewall_manager_sdk.api.device_health_api import DeviceHealthApi
32
32
  from scc_firewall_manager_sdk.api.device_health_aggregations_api import DeviceHealthAggregationsApi
33
33
  from scc_firewall_manager_sdk.api.device_upgrades_api import DeviceUpgradesApi
34
+ from scc_firewall_manager_sdk.api.events_api import EventsApi
34
35
  from scc_firewall_manager_sdk.api.interface_health_aggregations_api import InterfaceHealthAggregationsApi
35
36
  from scc_firewall_manager_sdk.api.inventory_api import InventoryApi
36
37
  from scc_firewall_manager_sdk.api.msp_device_upgrades_api import MSPDeviceUpgradesApi
@@ -149,6 +150,7 @@ from scc_firewall_manager_sdk.models.domain_settings import DomainSettings
149
150
  from scc_firewall_manager_sdk.models.duo_admin_panel_create_or_update_input import DuoAdminPanelCreateOrUpdateInput
150
151
  from scc_firewall_manager_sdk.models.duplex_type import DuplexType
151
152
  from scc_firewall_manager_sdk.models.duplicate_group_dto import DuplicateGroupDto
153
+ from scc_firewall_manager_sdk.models.enable_cd_fmc_for_tenant_request import EnableCdFmcForTenantRequest
152
154
  from scc_firewall_manager_sdk.models.entity import Entity
153
155
  from scc_firewall_manager_sdk.models.entity_type import EntityType
154
156
  from scc_firewall_manager_sdk.models.ether_channel_interface_create_input import EtherChannelInterfaceCreateInput
@@ -233,6 +235,7 @@ from scc_firewall_manager_sdk.models.msp_managed_tenant import MspManagedTenant
233
235
  from scc_firewall_manager_sdk.models.msp_managed_tenant_page import MspManagedTenantPage
234
236
  from scc_firewall_manager_sdk.models.msp_upgrade_run_dto import MspUpgradeRunDto
235
237
  from scc_firewall_manager_sdk.models.msp_upgrade_run_dto_page import MspUpgradeRunDtoPage
238
+ from scc_firewall_manager_sdk.models.msp_upgrade_runs_attribute_values import MspUpgradeRunsAttributeValues
236
239
  from scc_firewall_manager_sdk.models.network import Network
237
240
  from scc_firewall_manager_sdk.models.network_object_content import NetworkObjectContent
238
241
  from scc_firewall_manager_sdk.models.os import OS
@@ -14,6 +14,7 @@ from scc_firewall_manager_sdk.api.connectors_api import ConnectorsApi
14
14
  from scc_firewall_manager_sdk.api.device_health_api import DeviceHealthApi
15
15
  from scc_firewall_manager_sdk.api.device_health_aggregations_api import DeviceHealthAggregationsApi
16
16
  from scc_firewall_manager_sdk.api.device_upgrades_api import DeviceUpgradesApi
17
+ from scc_firewall_manager_sdk.api.events_api import EventsApi
17
18
  from scc_firewall_manager_sdk.api.interface_health_aggregations_api import InterfaceHealthAggregationsApi
18
19
  from scc_firewall_manager_sdk.api.inventory_api import InventoryApi
19
20
  from scc_firewall_manager_sdk.api.msp_device_upgrades_api import MSPDeviceUpgradesApi
@@ -21,7 +21,6 @@ from pydantic import Field, StrictStr
21
21
  from typing import List, Optional
22
22
  from typing_extensions import Annotated
23
23
  from scc_firewall_manager_sdk.models.cdo_transaction import CdoTransaction
24
- from scc_firewall_manager_sdk.models.page import Page
25
24
  from scc_firewall_manager_sdk.models.sdc import Sdc
26
25
  from scc_firewall_manager_sdk.models.sdc_create_input import SdcCreateInput
27
26
  from scc_firewall_manager_sdk.models.sdc_page import SdcPage
@@ -1195,306 +1194,6 @@ class ConnectorsApi:
1195
1194
 
1196
1195
 
1197
1196
 
1198
- @validate_call
1199
- def get_search_reports(
1200
- self,
1201
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1202
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
1203
- q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1204
- _request_timeout: Union[
1205
- None,
1206
- Annotated[StrictFloat, Field(gt=0)],
1207
- Tuple[
1208
- Annotated[StrictFloat, Field(gt=0)],
1209
- Annotated[StrictFloat, Field(gt=0)]
1210
- ]
1211
- ] = None,
1212
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1213
- _content_type: Optional[StrictStr] = None,
1214
- _headers: Optional[Dict[StrictStr, Any]] = None,
1215
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1216
- ) -> Page:
1217
- """Get event search reports
1218
-
1219
- Get a list of reports containing the results of event log searches executed using the Report feature in the Event Logging page.
1220
-
1221
- :param limit: The number of results to retrieve.
1222
- :type limit: str
1223
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
1224
- :type offset: str
1225
- :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1226
- :type q: str
1227
- :param _request_timeout: timeout setting for this request. If one
1228
- number provided, it will be total request
1229
- timeout. It can also be a pair (tuple) of
1230
- (connection, read) timeouts.
1231
- :type _request_timeout: int, tuple(int, int), optional
1232
- :param _request_auth: set to override the auth_settings for an a single
1233
- request; this effectively ignores the
1234
- authentication in the spec for a single request.
1235
- :type _request_auth: dict, optional
1236
- :param _content_type: force content-type for the request.
1237
- :type _content_type: str, Optional
1238
- :param _headers: set to override the headers for a single
1239
- request; this effectively ignores the headers
1240
- in the spec for a single request.
1241
- :type _headers: dict, optional
1242
- :param _host_index: set to override the host_index for a single
1243
- request; this effectively ignores the host_index
1244
- in the spec for a single request.
1245
- :type _host_index: int, optional
1246
- :return: Returns the result object.
1247
- """ # noqa: E501
1248
-
1249
- _param = self._get_search_reports_serialize(
1250
- limit=limit,
1251
- offset=offset,
1252
- q=q,
1253
- _request_auth=_request_auth,
1254
- _content_type=_content_type,
1255
- _headers=_headers,
1256
- _host_index=_host_index
1257
- )
1258
-
1259
- _response_types_map: Dict[str, Optional[str]] = {
1260
- '200': "Page",
1261
- '401': "AuthenticationError",
1262
- '500': "CommonApiError",
1263
- }
1264
- response_data = self.api_client.call_api(
1265
- *_param,
1266
- _request_timeout=_request_timeout
1267
- )
1268
- response_data.read()
1269
- return self.api_client.response_deserialize(
1270
- response_data=response_data,
1271
- response_types_map=_response_types_map,
1272
- ).data
1273
-
1274
-
1275
- @validate_call
1276
- def get_search_reports_with_http_info(
1277
- self,
1278
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1279
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
1280
- q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1281
- _request_timeout: Union[
1282
- None,
1283
- Annotated[StrictFloat, Field(gt=0)],
1284
- Tuple[
1285
- Annotated[StrictFloat, Field(gt=0)],
1286
- Annotated[StrictFloat, Field(gt=0)]
1287
- ]
1288
- ] = None,
1289
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1290
- _content_type: Optional[StrictStr] = None,
1291
- _headers: Optional[Dict[StrictStr, Any]] = None,
1292
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1293
- ) -> ApiResponse[Page]:
1294
- """Get event search reports
1295
-
1296
- Get a list of reports containing the results of event log searches executed using the Report feature in the Event Logging page.
1297
-
1298
- :param limit: The number of results to retrieve.
1299
- :type limit: str
1300
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
1301
- :type offset: str
1302
- :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1303
- :type q: str
1304
- :param _request_timeout: timeout setting for this request. If one
1305
- number provided, it will be total request
1306
- timeout. It can also be a pair (tuple) of
1307
- (connection, read) timeouts.
1308
- :type _request_timeout: int, tuple(int, int), optional
1309
- :param _request_auth: set to override the auth_settings for an a single
1310
- request; this effectively ignores the
1311
- authentication in the spec for a single request.
1312
- :type _request_auth: dict, optional
1313
- :param _content_type: force content-type for the request.
1314
- :type _content_type: str, Optional
1315
- :param _headers: set to override the headers for a single
1316
- request; this effectively ignores the headers
1317
- in the spec for a single request.
1318
- :type _headers: dict, optional
1319
- :param _host_index: set to override the host_index for a single
1320
- request; this effectively ignores the host_index
1321
- in the spec for a single request.
1322
- :type _host_index: int, optional
1323
- :return: Returns the result object.
1324
- """ # noqa: E501
1325
-
1326
- _param = self._get_search_reports_serialize(
1327
- limit=limit,
1328
- offset=offset,
1329
- q=q,
1330
- _request_auth=_request_auth,
1331
- _content_type=_content_type,
1332
- _headers=_headers,
1333
- _host_index=_host_index
1334
- )
1335
-
1336
- _response_types_map: Dict[str, Optional[str]] = {
1337
- '200': "Page",
1338
- '401': "AuthenticationError",
1339
- '500': "CommonApiError",
1340
- }
1341
- response_data = self.api_client.call_api(
1342
- *_param,
1343
- _request_timeout=_request_timeout
1344
- )
1345
- response_data.read()
1346
- return self.api_client.response_deserialize(
1347
- response_data=response_data,
1348
- response_types_map=_response_types_map,
1349
- )
1350
-
1351
-
1352
- @validate_call
1353
- def get_search_reports_without_preload_content(
1354
- self,
1355
- limit: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The number of results to retrieve.")] = None,
1356
- offset: Annotated[Optional[Annotated[str, Field(strict=True)]], Field(description="The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.")] = None,
1357
- q: Annotated[Optional[StrictStr], Field(description="The query to execute. Use the Lucene Query Syntax to construct your query.")] = None,
1358
- _request_timeout: Union[
1359
- None,
1360
- Annotated[StrictFloat, Field(gt=0)],
1361
- Tuple[
1362
- Annotated[StrictFloat, Field(gt=0)],
1363
- Annotated[StrictFloat, Field(gt=0)]
1364
- ]
1365
- ] = None,
1366
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1367
- _content_type: Optional[StrictStr] = None,
1368
- _headers: Optional[Dict[StrictStr, Any]] = None,
1369
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1370
- ) -> RESTResponseType:
1371
- """Get event search reports
1372
-
1373
- Get a list of reports containing the results of event log searches executed using the Report feature in the Event Logging page.
1374
-
1375
- :param limit: The number of results to retrieve.
1376
- :type limit: str
1377
- :param offset: The offset of the results retrieved. The Security Cloud Control API uses the offset field to determine the index of the first result retrieved, and will retrieve `limit` results from the offset specified.
1378
- :type offset: str
1379
- :param q: The query to execute. Use the Lucene Query Syntax to construct your query.
1380
- :type q: str
1381
- :param _request_timeout: timeout setting for this request. If one
1382
- number provided, it will be total request
1383
- timeout. It can also be a pair (tuple) of
1384
- (connection, read) timeouts.
1385
- :type _request_timeout: int, tuple(int, int), optional
1386
- :param _request_auth: set to override the auth_settings for an a single
1387
- request; this effectively ignores the
1388
- authentication in the spec for a single request.
1389
- :type _request_auth: dict, optional
1390
- :param _content_type: force content-type for the request.
1391
- :type _content_type: str, Optional
1392
- :param _headers: set to override the headers for a single
1393
- request; this effectively ignores the headers
1394
- in the spec for a single request.
1395
- :type _headers: dict, optional
1396
- :param _host_index: set to override the host_index for a single
1397
- request; this effectively ignores the host_index
1398
- in the spec for a single request.
1399
- :type _host_index: int, optional
1400
- :return: Returns the result object.
1401
- """ # noqa: E501
1402
-
1403
- _param = self._get_search_reports_serialize(
1404
- limit=limit,
1405
- offset=offset,
1406
- q=q,
1407
- _request_auth=_request_auth,
1408
- _content_type=_content_type,
1409
- _headers=_headers,
1410
- _host_index=_host_index
1411
- )
1412
-
1413
- _response_types_map: Dict[str, Optional[str]] = {
1414
- '200': "Page",
1415
- '401': "AuthenticationError",
1416
- '500': "CommonApiError",
1417
- }
1418
- response_data = self.api_client.call_api(
1419
- *_param,
1420
- _request_timeout=_request_timeout
1421
- )
1422
- return response_data.response
1423
-
1424
-
1425
- def _get_search_reports_serialize(
1426
- self,
1427
- limit,
1428
- offset,
1429
- q,
1430
- _request_auth,
1431
- _content_type,
1432
- _headers,
1433
- _host_index,
1434
- ) -> RequestSerialized:
1435
-
1436
- _host = None
1437
-
1438
- _collection_formats: Dict[str, str] = {
1439
- }
1440
-
1441
- _path_params: Dict[str, str] = {}
1442
- _query_params: List[Tuple[str, str]] = []
1443
- _header_params: Dict[str, Optional[str]] = _headers or {}
1444
- _form_params: List[Tuple[str, str]] = []
1445
- _files: Dict[str, str] = {}
1446
- _body_params: Optional[bytes] = None
1447
-
1448
- # process the path parameters
1449
- # process the query parameters
1450
- if limit is not None:
1451
-
1452
- _query_params.append(('limit', limit))
1453
-
1454
- if offset is not None:
1455
-
1456
- _query_params.append(('offset', offset))
1457
-
1458
- if q is not None:
1459
-
1460
- _query_params.append(('q', q))
1461
-
1462
- # process the header parameters
1463
- # process the form parameters
1464
- # process the body parameter
1465
-
1466
-
1467
- # set the HTTP header `Accept`
1468
- _header_params['Accept'] = self.api_client.select_header_accept(
1469
- [
1470
- 'application/json'
1471
- ]
1472
- )
1473
-
1474
-
1475
- # authentication setting
1476
- _auth_settings: List[str] = [
1477
- 'bearerAuth'
1478
- ]
1479
-
1480
- return self.api_client.param_serialize(
1481
- method='GET',
1482
- resource_path='/v1/events/reports',
1483
- path_params=_path_params,
1484
- query_params=_query_params,
1485
- header_params=_header_params,
1486
- body=_body_params,
1487
- post_params=_form_params,
1488
- files=_files,
1489
- auth_settings=_auth_settings,
1490
- collection_formats=_collection_formats,
1491
- _host=_host,
1492
- _request_auth=_request_auth
1493
- )
1494
-
1495
-
1496
-
1497
-
1498
1197
  @validate_call
1499
1198
  def modify_sdc(
1500
1199
  self,
@@ -48,7 +48,7 @@ class DeviceHealthAggregationsApi:
48
48
  threshold: Annotated[StrictStr, Field(description="The metric threshold (e.g. CRITICAL).")],
49
49
  aggregation_period: Annotated[Optional[StrictStr], Field(description="The aggregation period of the metrics returned.")] = None,
50
50
  managed_tenant_uid: Annotated[Optional[StrictStr], Field(description="A managed tenant UUID to filter list, if applicable.")] = None,
51
- q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.")] = None,
51
+ q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.")] = None,
52
52
  _request_timeout: Union[
53
53
  None,
54
54
  Annotated[StrictFloat, Field(gt=0)],
@@ -74,7 +74,7 @@ class DeviceHealthAggregationsApi:
74
74
  :type aggregation_period: str
75
75
  :param managed_tenant_uid: A managed tenant UUID to filter list, if applicable.
76
76
  :type managed_tenant_uid: str
77
- :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.
77
+ :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.
78
78
  :type q: str
79
79
  :param _request_timeout: timeout setting for this request. If one
80
80
  number provided, it will be total request
@@ -136,7 +136,7 @@ class DeviceHealthAggregationsApi:
136
136
  threshold: Annotated[StrictStr, Field(description="The metric threshold (e.g. CRITICAL).")],
137
137
  aggregation_period: Annotated[Optional[StrictStr], Field(description="The aggregation period of the metrics returned.")] = None,
138
138
  managed_tenant_uid: Annotated[Optional[StrictStr], Field(description="A managed tenant UUID to filter list, if applicable.")] = None,
139
- q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.")] = None,
139
+ q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.")] = None,
140
140
  _request_timeout: Union[
141
141
  None,
142
142
  Annotated[StrictFloat, Field(gt=0)],
@@ -162,7 +162,7 @@ class DeviceHealthAggregationsApi:
162
162
  :type aggregation_period: str
163
163
  :param managed_tenant_uid: A managed tenant UUID to filter list, if applicable.
164
164
  :type managed_tenant_uid: str
165
- :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.
165
+ :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.
166
166
  :type q: str
167
167
  :param _request_timeout: timeout setting for this request. If one
168
168
  number provided, it will be total request
@@ -224,7 +224,7 @@ class DeviceHealthAggregationsApi:
224
224
  threshold: Annotated[StrictStr, Field(description="The metric threshold (e.g. CRITICAL).")],
225
225
  aggregation_period: Annotated[Optional[StrictStr], Field(description="The aggregation period of the metrics returned.")] = None,
226
226
  managed_tenant_uid: Annotated[Optional[StrictStr], Field(description="A managed tenant UUID to filter list, if applicable.")] = None,
227
- q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.")] = None,
227
+ q: Annotated[Optional[StrictStr], Field(description="Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.")] = None,
228
228
  _request_timeout: Union[
229
229
  None,
230
230
  Annotated[StrictFloat, Field(gt=0)],
@@ -250,7 +250,7 @@ class DeviceHealthAggregationsApi:
250
250
  :type aggregation_period: str
251
251
  :param managed_tenant_uid: A managed tenant UUID to filter list, if applicable.
252
252
  :type managed_tenant_uid: str
253
- :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) are supported for filtering.
253
+ :param q: Lucene-style query filter. Only prefix queries (e.g. field:value*) and wildcard queries (e.g. field:*value or field:*value*) are supported for filtering.
254
254
  :type q: str
255
255
  :param _request_timeout: timeout setting for this request. If one
256
256
  number provided, it will be total request