tencentcloud-sdk-python-ctem 3.0.1424__tar.gz → 3.0.1430__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/ctem/v20231128/ctem_client.py +23 -0
  5. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/ctem/v20231128/models.py +124 -0
  6. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud_sdk_python_ctem.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-ctem-3.0.1430/tencentcloud_sdk_python_ctem.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-ctem-3.0.1424/tencentcloud_sdk_python_ctem.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/README.rst +0 -0
  10. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/ctem/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/ctem/v20231128/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud/ctem/v20231128/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud_sdk_python_ctem.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud_sdk_python_ctem.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ctem-3.0.1424 → tencentcloud-sdk-python-ctem-3.0.1430}/tencentcloud_sdk_python_ctem.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ctem
3
- Version: 3.0.1424
3
+ Version: 3.0.1430
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
@@ -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.0.1424,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1430,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ctem SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1424'
17
+ __version__ = '3.0.1430'
@@ -739,6 +739,29 @@ class CtemClient(AbstractClient):
739
739
  raise TencentCloudSDKException(type(e).__name__, str(e))
740
740
 
741
741
 
742
+ def ModifyLabel(self, request):
743
+ """修改标签
744
+
745
+ :param request: Request instance for ModifyLabel.
746
+ :type request: :class:`tencentcloud.ctem.v20231128.models.ModifyLabelRequest`
747
+ :rtype: :class:`tencentcloud.ctem.v20231128.models.ModifyLabelResponse`
748
+
749
+ """
750
+ try:
751
+ params = request._serialize()
752
+ headers = request.headers
753
+ body = self.call("ModifyLabel", params, headers=headers)
754
+ response = json.loads(body)
755
+ model = models.ModifyLabelResponse()
756
+ model._deserialize(response["Response"])
757
+ return model
758
+ except Exception as e:
759
+ if isinstance(e, TencentCloudSDKException):
760
+ raise
761
+ else:
762
+ raise TencentCloudSDKException(type(e).__name__, str(e))
763
+
764
+
742
765
  def StopJobRecord(self, request):
743
766
  """停止扫描
744
767
 
@@ -13107,6 +13107,130 @@ class ModifyCustomerResponse(AbstractModel):
13107
13107
  self._RequestId = params.get("RequestId")
13108
13108
 
13109
13109
 
13110
+ class ModifyLabelRequest(AbstractModel):
13111
+ """ModifyLabel请求参数结构体
13112
+
13113
+ """
13114
+
13115
+ def __init__(self):
13116
+ r"""
13117
+ :param _Id: 资产或风险主键ID
13118
+ :type Id: int
13119
+ :param _CustomerId: 企业ID,在企业管理页面查看
13120
+ :type CustomerId: int
13121
+ :param _Module: 模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露
13122
+ :type Module: str
13123
+ :param _IsAggregation: 是否聚合数据
13124
+ :type IsAggregation: bool
13125
+ :param _Labels: 标签详情
13126
+ :type Labels: str
13127
+ """
13128
+ self._Id = None
13129
+ self._CustomerId = None
13130
+ self._Module = None
13131
+ self._IsAggregation = None
13132
+ self._Labels = None
13133
+
13134
+ @property
13135
+ def Id(self):
13136
+ """资产或风险主键ID
13137
+ :rtype: int
13138
+ """
13139
+ return self._Id
13140
+
13141
+ @Id.setter
13142
+ def Id(self, Id):
13143
+ self._Id = Id
13144
+
13145
+ @property
13146
+ def CustomerId(self):
13147
+ """企业ID,在企业管理页面查看
13148
+ :rtype: int
13149
+ """
13150
+ return self._CustomerId
13151
+
13152
+ @CustomerId.setter
13153
+ def CustomerId(self, CustomerId):
13154
+ self._CustomerId = CustomerId
13155
+
13156
+ @property
13157
+ def Module(self):
13158
+ """模块,包括:enterprise:企业架构,domain:主域名,sub_domain:子域名,asset:IP资产,port:端口服务,http:HTTP资产,vul:漏洞信息,app:APP,wechat_applet:微信小程序,wechat_official_account:微信公众号,github:Github信息泄露,manage:管理后台暴露,config:目录爆破,dark_web:暗网泄露,net_disk:文库网盘泄露,supply_chain:供应链,weak_password:弱口令,sensitive_info:敏感信息泄露
13159
+ :rtype: str
13160
+ """
13161
+ return self._Module
13162
+
13163
+ @Module.setter
13164
+ def Module(self, Module):
13165
+ self._Module = Module
13166
+
13167
+ @property
13168
+ def IsAggregation(self):
13169
+ """是否聚合数据
13170
+ :rtype: bool
13171
+ """
13172
+ return self._IsAggregation
13173
+
13174
+ @IsAggregation.setter
13175
+ def IsAggregation(self, IsAggregation):
13176
+ self._IsAggregation = IsAggregation
13177
+
13178
+ @property
13179
+ def Labels(self):
13180
+ """标签详情
13181
+ :rtype: str
13182
+ """
13183
+ return self._Labels
13184
+
13185
+ @Labels.setter
13186
+ def Labels(self, Labels):
13187
+ self._Labels = Labels
13188
+
13189
+
13190
+ def _deserialize(self, params):
13191
+ self._Id = params.get("Id")
13192
+ self._CustomerId = params.get("CustomerId")
13193
+ self._Module = params.get("Module")
13194
+ self._IsAggregation = params.get("IsAggregation")
13195
+ self._Labels = params.get("Labels")
13196
+ memeber_set = set(params.keys())
13197
+ for name, value in vars(self).items():
13198
+ property_name = name[1:]
13199
+ if property_name in memeber_set:
13200
+ memeber_set.remove(property_name)
13201
+ if len(memeber_set) > 0:
13202
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13203
+
13204
+
13205
+
13206
+ class ModifyLabelResponse(AbstractModel):
13207
+ """ModifyLabel返回参数结构体
13208
+
13209
+ """
13210
+
13211
+ def __init__(self):
13212
+ r"""
13213
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13214
+ :type RequestId: str
13215
+ """
13216
+ self._RequestId = None
13217
+
13218
+ @property
13219
+ def RequestId(self):
13220
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13221
+ :rtype: str
13222
+ """
13223
+ return self._RequestId
13224
+
13225
+ @RequestId.setter
13226
+ def RequestId(self, RequestId):
13227
+ self._RequestId = RequestId
13228
+
13229
+
13230
+ def _deserialize(self, params):
13231
+ self._RequestId = params.get("RequestId")
13232
+
13233
+
13110
13234
  class StopJobRecordRequest(AbstractModel):
13111
13235
  """StopJobRecord请求参数结构体
13112
13236
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ctem
3
- Version: 3.0.1424
3
+ Version: 3.0.1430
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1430
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1424