tencentcloud-sdk-python-ctem 3.1.107__tar.gz → 3.1.134__tar.gz
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.
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/setup.py +1 -1
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/v20231128/models.py +253 -32
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud_sdk_python_ctem.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ctem-3.1.134/tencentcloud_sdk_python_ctem.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ctem-3.1.107/tencentcloud_sdk_python_ctem.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/README.rst +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/__init__.py +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/v20231128/__init__.py +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/v20231128/ctem_client.py +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/v20231128/ctem_client_async.py +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud/ctem/v20231128/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud_sdk_python_ctem.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud_sdk_python_ctem.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ctem-3.1.107 → tencentcloud_sdk_python_ctem-3.1.134}/tencentcloud_sdk_python_ctem.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ctem
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.134
|
|
4
4
|
Summary: Tencent Cloud Ctem SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ctem',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.134,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ctem SDK for Python',
|
|
@@ -480,6 +480,8 @@ class CreateCustomerRequest(AbstractModel):
|
|
|
480
480
|
:type HighRiskAck: bool
|
|
481
481
|
:param _ScanRateAckChecklist: <p>知情同意勾选清单,用于审计回放</p>
|
|
482
482
|
:type ScanRateAckChecklist: list of str
|
|
483
|
+
:param _ScanPriority: <p>扫描优先级配置</p>
|
|
484
|
+
:type ScanPriority: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
483
485
|
"""
|
|
484
486
|
self._Name = None
|
|
485
487
|
self._ScanType = None
|
|
@@ -502,6 +504,7 @@ class CreateCustomerRequest(AbstractModel):
|
|
|
502
504
|
self._SingleIPTaskLimit = None
|
|
503
505
|
self._HighRiskAck = None
|
|
504
506
|
self._ScanRateAckChecklist = None
|
|
507
|
+
self._ScanPriority = None
|
|
505
508
|
|
|
506
509
|
@property
|
|
507
510
|
def Name(self):
|
|
@@ -734,6 +737,17 @@ class CreateCustomerRequest(AbstractModel):
|
|
|
734
737
|
def ScanRateAckChecklist(self, ScanRateAckChecklist):
|
|
735
738
|
self._ScanRateAckChecklist = ScanRateAckChecklist
|
|
736
739
|
|
|
740
|
+
@property
|
|
741
|
+
def ScanPriority(self):
|
|
742
|
+
r"""<p>扫描优先级配置</p>
|
|
743
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
744
|
+
"""
|
|
745
|
+
return self._ScanPriority
|
|
746
|
+
|
|
747
|
+
@ScanPriority.setter
|
|
748
|
+
def ScanPriority(self, ScanPriority):
|
|
749
|
+
self._ScanPriority = ScanPriority
|
|
750
|
+
|
|
737
751
|
|
|
738
752
|
def _deserialize(self, params):
|
|
739
753
|
self._Name = params.get("Name")
|
|
@@ -757,6 +771,9 @@ class CreateCustomerRequest(AbstractModel):
|
|
|
757
771
|
self._SingleIPTaskLimit = params.get("SingleIPTaskLimit")
|
|
758
772
|
self._HighRiskAck = params.get("HighRiskAck")
|
|
759
773
|
self._ScanRateAckChecklist = params.get("ScanRateAckChecklist")
|
|
774
|
+
if params.get("ScanPriority") is not None:
|
|
775
|
+
self._ScanPriority = ScanPriorityReq()
|
|
776
|
+
self._ScanPriority._deserialize(params.get("ScanPriority"))
|
|
760
777
|
memeber_set = set(params.keys())
|
|
761
778
|
for name, value in vars(self).items():
|
|
762
779
|
property_name = name[1:]
|
|
@@ -1462,6 +1479,8 @@ class CreateJobRecordRequest(AbstractModel):
|
|
|
1462
1479
|
:type HighRiskAck: bool
|
|
1463
1480
|
:param _ScanRateAckChecklist: <p>知情同意勾选清单,用于审计回放</p>
|
|
1464
1481
|
:type ScanRateAckChecklist: list of str
|
|
1482
|
+
:param _ScanPriority: <p>扫描优先级配置</p>
|
|
1483
|
+
:type ScanPriority: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
1465
1484
|
"""
|
|
1466
1485
|
self._CustomerId = None
|
|
1467
1486
|
self._TaskType = None
|
|
@@ -1472,6 +1491,7 @@ class CreateJobRecordRequest(AbstractModel):
|
|
|
1472
1491
|
self._SingleIPTaskLimit = None
|
|
1473
1492
|
self._HighRiskAck = None
|
|
1474
1493
|
self._ScanRateAckChecklist = None
|
|
1494
|
+
self._ScanPriority = None
|
|
1475
1495
|
|
|
1476
1496
|
@property
|
|
1477
1497
|
def CustomerId(self):
|
|
@@ -1572,6 +1592,17 @@ class CreateJobRecordRequest(AbstractModel):
|
|
|
1572
1592
|
def ScanRateAckChecklist(self, ScanRateAckChecklist):
|
|
1573
1593
|
self._ScanRateAckChecklist = ScanRateAckChecklist
|
|
1574
1594
|
|
|
1595
|
+
@property
|
|
1596
|
+
def ScanPriority(self):
|
|
1597
|
+
r"""<p>扫描优先级配置</p>
|
|
1598
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
1599
|
+
"""
|
|
1600
|
+
return self._ScanPriority
|
|
1601
|
+
|
|
1602
|
+
@ScanPriority.setter
|
|
1603
|
+
def ScanPriority(self, ScanPriority):
|
|
1604
|
+
self._ScanPriority = ScanPriority
|
|
1605
|
+
|
|
1575
1606
|
|
|
1576
1607
|
def _deserialize(self, params):
|
|
1577
1608
|
self._CustomerId = params.get("CustomerId")
|
|
@@ -1583,6 +1614,9 @@ class CreateJobRecordRequest(AbstractModel):
|
|
|
1583
1614
|
self._SingleIPTaskLimit = params.get("SingleIPTaskLimit")
|
|
1584
1615
|
self._HighRiskAck = params.get("HighRiskAck")
|
|
1585
1616
|
self._ScanRateAckChecklist = params.get("ScanRateAckChecklist")
|
|
1617
|
+
if params.get("ScanPriority") is not None:
|
|
1618
|
+
self._ScanPriority = ScanPriorityReq()
|
|
1619
|
+
self._ScanPriority._deserialize(params.get("ScanPriority"))
|
|
1586
1620
|
memeber_set = set(params.keys())
|
|
1587
1621
|
for name, value in vars(self).items():
|
|
1588
1622
|
property_name = name[1:]
|
|
@@ -3012,6 +3046,9 @@ class Customer(AbstractModel):
|
|
|
3012
3046
|
:type SingleIPTaskLimit: int
|
|
3013
3047
|
:param _PortScanQps: <p>端口扫描 QPS,默认 100,下限 10,保守值 200,上限 5000</p>
|
|
3014
3048
|
:type PortScanQps: int
|
|
3049
|
+
:param _ScanPriority: <p>扫描优先级配置</p>
|
|
3050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3051
|
+
:type ScanPriority: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityDisplay`
|
|
3015
3052
|
"""
|
|
3016
3053
|
self._Id = None
|
|
3017
3054
|
self._Name = None
|
|
@@ -3038,6 +3075,7 @@ class Customer(AbstractModel):
|
|
|
3038
3075
|
self._EnableGroupMemberDiscovered = None
|
|
3039
3076
|
self._SingleIPTaskLimit = None
|
|
3040
3077
|
self._PortScanQps = None
|
|
3078
|
+
self._ScanPriority = None
|
|
3041
3079
|
|
|
3042
3080
|
@property
|
|
3043
3081
|
def Id(self):
|
|
@@ -3315,6 +3353,18 @@ class Customer(AbstractModel):
|
|
|
3315
3353
|
def PortScanQps(self, PortScanQps):
|
|
3316
3354
|
self._PortScanQps = PortScanQps
|
|
3317
3355
|
|
|
3356
|
+
@property
|
|
3357
|
+
def ScanPriority(self):
|
|
3358
|
+
r"""<p>扫描优先级配置</p>
|
|
3359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3360
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityDisplay`
|
|
3361
|
+
"""
|
|
3362
|
+
return self._ScanPriority
|
|
3363
|
+
|
|
3364
|
+
@ScanPriority.setter
|
|
3365
|
+
def ScanPriority(self, ScanPriority):
|
|
3366
|
+
self._ScanPriority = ScanPriority
|
|
3367
|
+
|
|
3318
3368
|
|
|
3319
3369
|
def _deserialize(self, params):
|
|
3320
3370
|
self._Id = params.get("Id")
|
|
@@ -3342,6 +3392,9 @@ class Customer(AbstractModel):
|
|
|
3342
3392
|
self._EnableGroupMemberDiscovered = params.get("EnableGroupMemberDiscovered")
|
|
3343
3393
|
self._SingleIPTaskLimit = params.get("SingleIPTaskLimit")
|
|
3344
3394
|
self._PortScanQps = params.get("PortScanQps")
|
|
3395
|
+
if params.get("ScanPriority") is not None:
|
|
3396
|
+
self._ScanPriority = ScanPriorityDisplay()
|
|
3397
|
+
self._ScanPriority._deserialize(params.get("ScanPriority"))
|
|
3345
3398
|
memeber_set = set(params.keys())
|
|
3346
3399
|
for name, value in vars(self).items():
|
|
3347
3400
|
property_name = name[1:]
|
|
@@ -5509,7 +5562,7 @@ class DescribeCustomersRequest(AbstractModel):
|
|
|
5509
5562
|
:type Offset: int
|
|
5510
5563
|
:param _Filters: 查询数组
|
|
5511
5564
|
:type Filters: list of Filter
|
|
5512
|
-
:param _Keyword:
|
|
5565
|
+
:param _Keyword: <p>企业名称模糊搜索</p>
|
|
5513
5566
|
:type Keyword: str
|
|
5514
5567
|
"""
|
|
5515
5568
|
self._Limit = None
|
|
@@ -5552,7 +5605,7 @@ class DescribeCustomersRequest(AbstractModel):
|
|
|
5552
5605
|
|
|
5553
5606
|
@property
|
|
5554
5607
|
def Keyword(self):
|
|
5555
|
-
r"""
|
|
5608
|
+
r"""<p>企业名称模糊搜索</p>
|
|
5556
5609
|
:rtype: str
|
|
5557
5610
|
"""
|
|
5558
5611
|
return self._Keyword
|
|
@@ -5589,9 +5642,9 @@ class DescribeCustomersResponse(AbstractModel):
|
|
|
5589
5642
|
|
|
5590
5643
|
def __init__(self):
|
|
5591
5644
|
r"""
|
|
5592
|
-
:param _Total:
|
|
5645
|
+
:param _Total: <p>总数</p>
|
|
5593
5646
|
:type Total: int
|
|
5594
|
-
:param _List:
|
|
5647
|
+
:param _List: <p>企业列表</p>
|
|
5595
5648
|
:type List: list of Customer
|
|
5596
5649
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5597
5650
|
:type RequestId: str
|
|
@@ -5602,7 +5655,7 @@ class DescribeCustomersResponse(AbstractModel):
|
|
|
5602
5655
|
|
|
5603
5656
|
@property
|
|
5604
5657
|
def Total(self):
|
|
5605
|
-
r"""
|
|
5658
|
+
r"""<p>总数</p>
|
|
5606
5659
|
:rtype: int
|
|
5607
5660
|
"""
|
|
5608
5661
|
return self._Total
|
|
@@ -5613,7 +5666,7 @@ class DescribeCustomersResponse(AbstractModel):
|
|
|
5613
5666
|
|
|
5614
5667
|
@property
|
|
5615
5668
|
def List(self):
|
|
5616
|
-
r"""
|
|
5669
|
+
r"""<p>企业列表</p>
|
|
5617
5670
|
:rtype: list of Customer
|
|
5618
5671
|
"""
|
|
5619
5672
|
return self._List
|
|
@@ -15369,32 +15422,38 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15369
15422
|
|
|
15370
15423
|
def __init__(self):
|
|
15371
15424
|
r"""
|
|
15372
|
-
:param _Id:
|
|
15425
|
+
:param _Id: <p>主键ID</p>
|
|
15373
15426
|
:type Id: int
|
|
15374
|
-
:param _DisplayToolCommon:
|
|
15427
|
+
:param _DisplayToolCommon: <p>公共字段</p>
|
|
15375
15428
|
:type DisplayToolCommon: :class:`tencentcloud.ctem.v20231128.models.DisplayToolCommon`
|
|
15376
|
-
:param _Name:
|
|
15429
|
+
:param _Name: <p>事件名称</p>
|
|
15377
15430
|
:type Name: str
|
|
15378
|
-
:param _Description:
|
|
15431
|
+
:param _Description: <p>事件描述</p>
|
|
15379
15432
|
:type Description: str
|
|
15380
|
-
:param _Source:
|
|
15433
|
+
:param _Source: <p>数据源</p>
|
|
15381
15434
|
:type Source: str
|
|
15382
|
-
:param _RiskLevel:
|
|
15435
|
+
:param _RiskLevel: <p>风险等级:1-低危 2-中危 3-高危 4-严重 5-误报</p>
|
|
15383
15436
|
:type RiskLevel: int
|
|
15384
|
-
:param _HubName:
|
|
15437
|
+
:param _HubName: <p>仓库名称</p>
|
|
15385
15438
|
:type HubName: str
|
|
15386
|
-
:param _Url:
|
|
15439
|
+
:param _Url: <p>链接</p>
|
|
15387
15440
|
:type Url: str
|
|
15388
|
-
:param _Screenshot:
|
|
15441
|
+
:param _Screenshot: <p>截图</p>
|
|
15389
15442
|
:type Screenshot: str
|
|
15390
|
-
:param _Suggestion:
|
|
15443
|
+
:param _Suggestion: <p>建议</p>
|
|
15391
15444
|
:type Suggestion: str
|
|
15392
|
-
:param _Keyword:
|
|
15445
|
+
:param _Keyword: <p>关键词</p>
|
|
15393
15446
|
:type Keyword: str
|
|
15394
|
-
:param _HandlingStatus:
|
|
15447
|
+
:param _HandlingStatus: <p>处置状态</p><p>枚举值:</p><ul><li>0: 待处理</li><li>1: 处理中</li><li>2: 已处理</li><li>3: 误报</li></ul>
|
|
15395
15448
|
:type HandlingStatus: int
|
|
15396
|
-
:param _Remark:
|
|
15449
|
+
:param _Remark: <p>备注</p>
|
|
15397
15450
|
:type Remark: str
|
|
15451
|
+
:param _RepoNamespace: <p>仓库命名空间</p>
|
|
15452
|
+
:type RepoNamespace: str
|
|
15453
|
+
:param _RepoName: <p>仓库名称</p>
|
|
15454
|
+
:type RepoName: str
|
|
15455
|
+
:param _AuthorName: <p>作者名称</p>
|
|
15456
|
+
:type AuthorName: str
|
|
15398
15457
|
"""
|
|
15399
15458
|
self._Id = None
|
|
15400
15459
|
self._DisplayToolCommon = None
|
|
@@ -15409,10 +15468,13 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15409
15468
|
self._Keyword = None
|
|
15410
15469
|
self._HandlingStatus = None
|
|
15411
15470
|
self._Remark = None
|
|
15471
|
+
self._RepoNamespace = None
|
|
15472
|
+
self._RepoName = None
|
|
15473
|
+
self._AuthorName = None
|
|
15412
15474
|
|
|
15413
15475
|
@property
|
|
15414
15476
|
def Id(self):
|
|
15415
|
-
r"""
|
|
15477
|
+
r"""<p>主键ID</p>
|
|
15416
15478
|
:rtype: int
|
|
15417
15479
|
"""
|
|
15418
15480
|
return self._Id
|
|
@@ -15423,7 +15485,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15423
15485
|
|
|
15424
15486
|
@property
|
|
15425
15487
|
def DisplayToolCommon(self):
|
|
15426
|
-
r"""
|
|
15488
|
+
r"""<p>公共字段</p>
|
|
15427
15489
|
:rtype: :class:`tencentcloud.ctem.v20231128.models.DisplayToolCommon`
|
|
15428
15490
|
"""
|
|
15429
15491
|
return self._DisplayToolCommon
|
|
@@ -15434,7 +15496,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15434
15496
|
|
|
15435
15497
|
@property
|
|
15436
15498
|
def Name(self):
|
|
15437
|
-
r"""
|
|
15499
|
+
r"""<p>事件名称</p>
|
|
15438
15500
|
:rtype: str
|
|
15439
15501
|
"""
|
|
15440
15502
|
return self._Name
|
|
@@ -15445,7 +15507,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15445
15507
|
|
|
15446
15508
|
@property
|
|
15447
15509
|
def Description(self):
|
|
15448
|
-
r"""
|
|
15510
|
+
r"""<p>事件描述</p>
|
|
15449
15511
|
:rtype: str
|
|
15450
15512
|
"""
|
|
15451
15513
|
return self._Description
|
|
@@ -15456,7 +15518,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15456
15518
|
|
|
15457
15519
|
@property
|
|
15458
15520
|
def Source(self):
|
|
15459
|
-
r"""
|
|
15521
|
+
r"""<p>数据源</p>
|
|
15460
15522
|
:rtype: str
|
|
15461
15523
|
"""
|
|
15462
15524
|
return self._Source
|
|
@@ -15467,7 +15529,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15467
15529
|
|
|
15468
15530
|
@property
|
|
15469
15531
|
def RiskLevel(self):
|
|
15470
|
-
r"""
|
|
15532
|
+
r"""<p>风险等级:1-低危 2-中危 3-高危 4-严重 5-误报</p>
|
|
15471
15533
|
:rtype: int
|
|
15472
15534
|
"""
|
|
15473
15535
|
return self._RiskLevel
|
|
@@ -15478,7 +15540,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15478
15540
|
|
|
15479
15541
|
@property
|
|
15480
15542
|
def HubName(self):
|
|
15481
|
-
r"""
|
|
15543
|
+
r"""<p>仓库名称</p>
|
|
15482
15544
|
:rtype: str
|
|
15483
15545
|
"""
|
|
15484
15546
|
return self._HubName
|
|
@@ -15489,7 +15551,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15489
15551
|
|
|
15490
15552
|
@property
|
|
15491
15553
|
def Url(self):
|
|
15492
|
-
r"""
|
|
15554
|
+
r"""<p>链接</p>
|
|
15493
15555
|
:rtype: str
|
|
15494
15556
|
"""
|
|
15495
15557
|
return self._Url
|
|
@@ -15500,7 +15562,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15500
15562
|
|
|
15501
15563
|
@property
|
|
15502
15564
|
def Screenshot(self):
|
|
15503
|
-
r"""
|
|
15565
|
+
r"""<p>截图</p>
|
|
15504
15566
|
:rtype: str
|
|
15505
15567
|
"""
|
|
15506
15568
|
return self._Screenshot
|
|
@@ -15511,7 +15573,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15511
15573
|
|
|
15512
15574
|
@property
|
|
15513
15575
|
def Suggestion(self):
|
|
15514
|
-
r"""
|
|
15576
|
+
r"""<p>建议</p>
|
|
15515
15577
|
:rtype: str
|
|
15516
15578
|
"""
|
|
15517
15579
|
return self._Suggestion
|
|
@@ -15522,7 +15584,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15522
15584
|
|
|
15523
15585
|
@property
|
|
15524
15586
|
def Keyword(self):
|
|
15525
|
-
r"""
|
|
15587
|
+
r"""<p>关键词</p>
|
|
15526
15588
|
:rtype: str
|
|
15527
15589
|
"""
|
|
15528
15590
|
return self._Keyword
|
|
@@ -15533,7 +15595,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15533
15595
|
|
|
15534
15596
|
@property
|
|
15535
15597
|
def HandlingStatus(self):
|
|
15536
|
-
r"""
|
|
15598
|
+
r"""<p>处置状态</p><p>枚举值:</p><ul><li>0: 待处理</li><li>1: 处理中</li><li>2: 已处理</li><li>3: 误报</li></ul>
|
|
15537
15599
|
:rtype: int
|
|
15538
15600
|
"""
|
|
15539
15601
|
return self._HandlingStatus
|
|
@@ -15544,7 +15606,7 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15544
15606
|
|
|
15545
15607
|
@property
|
|
15546
15608
|
def Remark(self):
|
|
15547
|
-
r"""
|
|
15609
|
+
r"""<p>备注</p>
|
|
15548
15610
|
:rtype: str
|
|
15549
15611
|
"""
|
|
15550
15612
|
return self._Remark
|
|
@@ -15553,6 +15615,39 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15553
15615
|
def Remark(self, Remark):
|
|
15554
15616
|
self._Remark = Remark
|
|
15555
15617
|
|
|
15618
|
+
@property
|
|
15619
|
+
def RepoNamespace(self):
|
|
15620
|
+
r"""<p>仓库命名空间</p>
|
|
15621
|
+
:rtype: str
|
|
15622
|
+
"""
|
|
15623
|
+
return self._RepoNamespace
|
|
15624
|
+
|
|
15625
|
+
@RepoNamespace.setter
|
|
15626
|
+
def RepoNamespace(self, RepoNamespace):
|
|
15627
|
+
self._RepoNamespace = RepoNamespace
|
|
15628
|
+
|
|
15629
|
+
@property
|
|
15630
|
+
def RepoName(self):
|
|
15631
|
+
r"""<p>仓库名称</p>
|
|
15632
|
+
:rtype: str
|
|
15633
|
+
"""
|
|
15634
|
+
return self._RepoName
|
|
15635
|
+
|
|
15636
|
+
@RepoName.setter
|
|
15637
|
+
def RepoName(self, RepoName):
|
|
15638
|
+
self._RepoName = RepoName
|
|
15639
|
+
|
|
15640
|
+
@property
|
|
15641
|
+
def AuthorName(self):
|
|
15642
|
+
r"""<p>作者名称</p>
|
|
15643
|
+
:rtype: str
|
|
15644
|
+
"""
|
|
15645
|
+
return self._AuthorName
|
|
15646
|
+
|
|
15647
|
+
@AuthorName.setter
|
|
15648
|
+
def AuthorName(self, AuthorName):
|
|
15649
|
+
self._AuthorName = AuthorName
|
|
15650
|
+
|
|
15556
15651
|
|
|
15557
15652
|
def _deserialize(self, params):
|
|
15558
15653
|
self._Id = params.get("Id")
|
|
@@ -15570,6 +15665,9 @@ class DisplayLeakageCode(AbstractModel):
|
|
|
15570
15665
|
self._Keyword = params.get("Keyword")
|
|
15571
15666
|
self._HandlingStatus = params.get("HandlingStatus")
|
|
15572
15667
|
self._Remark = params.get("Remark")
|
|
15668
|
+
self._RepoNamespace = params.get("RepoNamespace")
|
|
15669
|
+
self._RepoName = params.get("RepoName")
|
|
15670
|
+
self._AuthorName = params.get("AuthorName")
|
|
15573
15671
|
memeber_set = set(params.keys())
|
|
15574
15672
|
for name, value in vars(self).items():
|
|
15575
15673
|
property_name = name[1:]
|
|
@@ -18921,6 +19019,8 @@ class ModifyCustomerRequest(AbstractModel):
|
|
|
18921
19019
|
:type HighRiskAck: bool
|
|
18922
19020
|
:param _ScanRateAckChecklist: <p>知情同意勾选清单,用于审计回放</p>
|
|
18923
19021
|
:type ScanRateAckChecklist: list of str
|
|
19022
|
+
:param _ScanPriority: <p>扫描优先级配置</p>
|
|
19023
|
+
:type ScanPriority: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
18924
19024
|
"""
|
|
18925
19025
|
self._Name = None
|
|
18926
19026
|
self._Percent = None
|
|
@@ -18943,6 +19043,7 @@ class ModifyCustomerRequest(AbstractModel):
|
|
|
18943
19043
|
self._SingleIPTaskLimit = None
|
|
18944
19044
|
self._HighRiskAck = None
|
|
18945
19045
|
self._ScanRateAckChecklist = None
|
|
19046
|
+
self._ScanPriority = None
|
|
18946
19047
|
|
|
18947
19048
|
@property
|
|
18948
19049
|
def Name(self):
|
|
@@ -19175,6 +19276,17 @@ class ModifyCustomerRequest(AbstractModel):
|
|
|
19175
19276
|
def ScanRateAckChecklist(self, ScanRateAckChecklist):
|
|
19176
19277
|
self._ScanRateAckChecklist = ScanRateAckChecklist
|
|
19177
19278
|
|
|
19279
|
+
@property
|
|
19280
|
+
def ScanPriority(self):
|
|
19281
|
+
r"""<p>扫描优先级配置</p>
|
|
19282
|
+
:rtype: :class:`tencentcloud.ctem.v20231128.models.ScanPriorityReq`
|
|
19283
|
+
"""
|
|
19284
|
+
return self._ScanPriority
|
|
19285
|
+
|
|
19286
|
+
@ScanPriority.setter
|
|
19287
|
+
def ScanPriority(self, ScanPriority):
|
|
19288
|
+
self._ScanPriority = ScanPriority
|
|
19289
|
+
|
|
19178
19290
|
|
|
19179
19291
|
def _deserialize(self, params):
|
|
19180
19292
|
self._Name = params.get("Name")
|
|
@@ -19198,6 +19310,9 @@ class ModifyCustomerRequest(AbstractModel):
|
|
|
19198
19310
|
self._SingleIPTaskLimit = params.get("SingleIPTaskLimit")
|
|
19199
19311
|
self._HighRiskAck = params.get("HighRiskAck")
|
|
19200
19312
|
self._ScanRateAckChecklist = params.get("ScanRateAckChecklist")
|
|
19313
|
+
if params.get("ScanPriority") is not None:
|
|
19314
|
+
self._ScanPriority = ScanPriorityReq()
|
|
19315
|
+
self._ScanPriority._deserialize(params.get("ScanPriority"))
|
|
19201
19316
|
memeber_set = set(params.keys())
|
|
19202
19317
|
for name, value in vars(self).items():
|
|
19203
19318
|
property_name = name[1:]
|
|
@@ -19484,6 +19599,112 @@ class ModifySeedStatusResponse(AbstractModel):
|
|
|
19484
19599
|
self._RequestId = params.get("RequestId")
|
|
19485
19600
|
|
|
19486
19601
|
|
|
19602
|
+
class ScanPriorityDisplay(AbstractModel):
|
|
19603
|
+
r"""优先级出参
|
|
19604
|
+
|
|
19605
|
+
"""
|
|
19606
|
+
|
|
19607
|
+
def __init__(self):
|
|
19608
|
+
r"""
|
|
19609
|
+
:param _OnlyScanNewAsset: <p>只对新增资产进行漏洞扫描</p>
|
|
19610
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19611
|
+
:type OnlyScanNewAsset: bool
|
|
19612
|
+
:param _PriorityRules: <p>启用的优先级规则(有序):new_asset,high_risk_port,admin_panel,high_risk_fingerprint</p>
|
|
19613
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19614
|
+
:type PriorityRules: list of str
|
|
19615
|
+
"""
|
|
19616
|
+
self._OnlyScanNewAsset = None
|
|
19617
|
+
self._PriorityRules = None
|
|
19618
|
+
|
|
19619
|
+
@property
|
|
19620
|
+
def OnlyScanNewAsset(self):
|
|
19621
|
+
r"""<p>只对新增资产进行漏洞扫描</p>
|
|
19622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19623
|
+
:rtype: bool
|
|
19624
|
+
"""
|
|
19625
|
+
return self._OnlyScanNewAsset
|
|
19626
|
+
|
|
19627
|
+
@OnlyScanNewAsset.setter
|
|
19628
|
+
def OnlyScanNewAsset(self, OnlyScanNewAsset):
|
|
19629
|
+
self._OnlyScanNewAsset = OnlyScanNewAsset
|
|
19630
|
+
|
|
19631
|
+
@property
|
|
19632
|
+
def PriorityRules(self):
|
|
19633
|
+
r"""<p>启用的优先级规则(有序):new_asset,high_risk_port,admin_panel,high_risk_fingerprint</p>
|
|
19634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19635
|
+
:rtype: list of str
|
|
19636
|
+
"""
|
|
19637
|
+
return self._PriorityRules
|
|
19638
|
+
|
|
19639
|
+
@PriorityRules.setter
|
|
19640
|
+
def PriorityRules(self, PriorityRules):
|
|
19641
|
+
self._PriorityRules = PriorityRules
|
|
19642
|
+
|
|
19643
|
+
|
|
19644
|
+
def _deserialize(self, params):
|
|
19645
|
+
self._OnlyScanNewAsset = params.get("OnlyScanNewAsset")
|
|
19646
|
+
self._PriorityRules = params.get("PriorityRules")
|
|
19647
|
+
memeber_set = set(params.keys())
|
|
19648
|
+
for name, value in vars(self).items():
|
|
19649
|
+
property_name = name[1:]
|
|
19650
|
+
if property_name in memeber_set:
|
|
19651
|
+
memeber_set.remove(property_name)
|
|
19652
|
+
if len(memeber_set) > 0:
|
|
19653
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19654
|
+
|
|
19655
|
+
|
|
19656
|
+
|
|
19657
|
+
class ScanPriorityReq(AbstractModel):
|
|
19658
|
+
r"""优先级入参
|
|
19659
|
+
|
|
19660
|
+
"""
|
|
19661
|
+
|
|
19662
|
+
def __init__(self):
|
|
19663
|
+
r"""
|
|
19664
|
+
:param _OnlyScanNewAsset: <p>只对新增资产进行漏洞扫描</p>
|
|
19665
|
+
:type OnlyScanNewAsset: bool
|
|
19666
|
+
:param _PriorityRules: <p>启用的优先级规则(有序):new_asset,high_risk_port,admin_panel,high_risk_fingerprint</p>
|
|
19667
|
+
:type PriorityRules: list of str
|
|
19668
|
+
"""
|
|
19669
|
+
self._OnlyScanNewAsset = None
|
|
19670
|
+
self._PriorityRules = None
|
|
19671
|
+
|
|
19672
|
+
@property
|
|
19673
|
+
def OnlyScanNewAsset(self):
|
|
19674
|
+
r"""<p>只对新增资产进行漏洞扫描</p>
|
|
19675
|
+
:rtype: bool
|
|
19676
|
+
"""
|
|
19677
|
+
return self._OnlyScanNewAsset
|
|
19678
|
+
|
|
19679
|
+
@OnlyScanNewAsset.setter
|
|
19680
|
+
def OnlyScanNewAsset(self, OnlyScanNewAsset):
|
|
19681
|
+
self._OnlyScanNewAsset = OnlyScanNewAsset
|
|
19682
|
+
|
|
19683
|
+
@property
|
|
19684
|
+
def PriorityRules(self):
|
|
19685
|
+
r"""<p>启用的优先级规则(有序):new_asset,high_risk_port,admin_panel,high_risk_fingerprint</p>
|
|
19686
|
+
:rtype: list of str
|
|
19687
|
+
"""
|
|
19688
|
+
return self._PriorityRules
|
|
19689
|
+
|
|
19690
|
+
@PriorityRules.setter
|
|
19691
|
+
def PriorityRules(self, PriorityRules):
|
|
19692
|
+
self._PriorityRules = PriorityRules
|
|
19693
|
+
|
|
19694
|
+
|
|
19695
|
+
def _deserialize(self, params):
|
|
19696
|
+
self._OnlyScanNewAsset = params.get("OnlyScanNewAsset")
|
|
19697
|
+
self._PriorityRules = params.get("PriorityRules")
|
|
19698
|
+
memeber_set = set(params.keys())
|
|
19699
|
+
for name, value in vars(self).items():
|
|
19700
|
+
property_name = name[1:]
|
|
19701
|
+
if property_name in memeber_set:
|
|
19702
|
+
memeber_set.remove(property_name)
|
|
19703
|
+
if len(memeber_set) > 0:
|
|
19704
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
19705
|
+
|
|
19706
|
+
|
|
19707
|
+
|
|
19487
19708
|
class StopJobRecordRequest(AbstractModel):
|
|
19488
19709
|
r"""StopJobRecord请求参数结构体
|
|
19489
19710
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ctem
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.134
|
|
4
4
|
Summary: Tencent Cloud Ctem SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.134
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.107
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|