tencentcloud-sdk-python-cwp 3.0.1202__tar.gz → 3.0.1218__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-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/cwp/v20180228/cwp_client.py +29 -2
  5. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/cwp/v20180228/models.py +312 -0
  6. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cwp-3.0.1218/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cwp-3.0.1202/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/cwp/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/cwp/v20180228/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cwp-3.0.1202 → tencentcloud-sdk-python-cwp-3.0.1218}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.0.1202
3
+ Version: 3.0.1218
4
4
  Summary: Tencent Cloud Cwp 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-cwp',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1202"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1218"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Cwp 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.1202'
17
+ __version__ = '3.0.1218'
@@ -326,7 +326,9 @@ class CwpClient(AbstractClient):
326
326
 
327
327
 
328
328
  def CreateCloudProtectServiceOrderRecord(self, request):
329
- """云护航服务使用完成后,该接口可以确认收货
329
+ """云护航计费产品已下线
330
+
331
+ 云护航服务使用完成后,该接口可以确认收货
330
332
 
331
333
  :param request: Request instance for CreateCloudProtectServiceOrderRecord.
332
334
  :type request: :class:`tencentcloud.cwp.v20180228.models.CreateCloudProtectServiceOrderRecordRequest`
@@ -4032,7 +4034,9 @@ class CwpClient(AbstractClient):
4032
4034
 
4033
4035
 
4034
4036
  def DescribeCloudProtectServiceOrderList(self, request):
4035
- """查询云护航服务订单列表
4037
+ """云护航计费产品已下线
4038
+
4039
+ 查询云护航服务订单列表
4036
4040
 
4037
4041
  :param request: Request instance for DescribeCloudProtectServiceOrderList.
4038
4042
  :type request: :class:`tencentcloud.cwp.v20180228.models.DescribeCloudProtectServiceOrderListRequest`
@@ -10816,6 +10820,29 @@ class CwpClient(AbstractClient):
10816
10820
  raise TencentCloudSDKException(type(e).__name__, str(e))
10817
10821
 
10818
10822
 
10823
+ def ModifyReverseShellRulesAggregation(self, request):
10824
+ """编辑反弹Shell规则(支持多服务器选择)
10825
+
10826
+ :param request: Request instance for ModifyReverseShellRulesAggregation.
10827
+ :type request: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationRequest`
10828
+ :rtype: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationResponse`
10829
+
10830
+ """
10831
+ try:
10832
+ params = request._serialize()
10833
+ headers = request.headers
10834
+ body = self.call("ModifyReverseShellRulesAggregation", params, headers=headers)
10835
+ response = json.loads(body)
10836
+ model = models.ModifyReverseShellRulesAggregationResponse()
10837
+ model._deserialize(response["Response"])
10838
+ return model
10839
+ except Exception as e:
10840
+ if isinstance(e, TencentCloudSDKException):
10841
+ raise
10842
+ else:
10843
+ raise TencentCloudSDKException(type(e).__name__, str(e))
10844
+
10845
+
10819
10846
  def ModifyRiskDnsPolicy(self, request):
10820
10847
  """更改恶意请求策略
10821
10848
 
@@ -13281,11 +13281,15 @@ class CanFixVulInfo(AbstractModel):
13281
13281
  :param _FixTag: 修复提示tag
13282
13282
  注意:此字段可能返回 null,表示取不到有效值。
13283
13283
  :type FixTag: list of str
13284
+ :param _VulCategory: 漏洞分类1 web cms漏洞,2应用漏洞,4linux软件漏洞,5windows系统漏洞
13285
+ 注意:此字段可能返回 null,表示取不到有效值。
13286
+ :type VulCategory: int
13284
13287
  """
13285
13288
  self._VulId = None
13286
13289
  self._VulName = None
13287
13290
  self._HostList = None
13288
13291
  self._FixTag = None
13292
+ self._VulCategory = None
13289
13293
 
13290
13294
  @property
13291
13295
  def VulId(self):
@@ -13319,6 +13323,14 @@ class CanFixVulInfo(AbstractModel):
13319
13323
  def FixTag(self, FixTag):
13320
13324
  self._FixTag = FixTag
13321
13325
 
13326
+ @property
13327
+ def VulCategory(self):
13328
+ return self._VulCategory
13329
+
13330
+ @VulCategory.setter
13331
+ def VulCategory(self, VulCategory):
13332
+ self._VulCategory = VulCategory
13333
+
13322
13334
 
13323
13335
  def _deserialize(self, params):
13324
13336
  self._VulId = params.get("VulId")
@@ -13330,6 +13342,7 @@ class CanFixVulInfo(AbstractModel):
13330
13342
  obj._deserialize(item)
13331
13343
  self._HostList.append(obj)
13332
13344
  self._FixTag = params.get("FixTag")
13345
+ self._VulCategory = params.get("VulCategory")
13333
13346
  memeber_set = set(params.keys())
13334
13347
  for name, value in vars(self).items():
13335
13348
  property_name = name[1:]
@@ -15369,6 +15382,8 @@ class CreateMalwareWhiteListRequest(AbstractModel):
15369
15382
  :type Md5List: list of str
15370
15383
  :param _EventId: 木马事件ID
15371
15384
  :type EventId: int
15385
+ :param _IsHandleHistoryEvents: 对历史待处理执行加白操作;0是不处理,1是处理
15386
+ :type IsHandleHistoryEvents: int
15372
15387
  """
15373
15388
  self._Mode = None
15374
15389
  self._QuuidList = None
@@ -15379,6 +15394,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
15379
15394
  self._FileExtension = None
15380
15395
  self._Md5List = None
15381
15396
  self._EventId = None
15397
+ self._IsHandleHistoryEvents = None
15382
15398
 
15383
15399
  @property
15384
15400
  def Mode(self):
@@ -15452,6 +15468,14 @@ class CreateMalwareWhiteListRequest(AbstractModel):
15452
15468
  def EventId(self, EventId):
15453
15469
  self._EventId = EventId
15454
15470
 
15471
+ @property
15472
+ def IsHandleHistoryEvents(self):
15473
+ return self._IsHandleHistoryEvents
15474
+
15475
+ @IsHandleHistoryEvents.setter
15476
+ def IsHandleHistoryEvents(self, IsHandleHistoryEvents):
15477
+ self._IsHandleHistoryEvents = IsHandleHistoryEvents
15478
+
15455
15479
 
15456
15480
  def _deserialize(self, params):
15457
15481
  self._Mode = params.get("Mode")
@@ -15463,6 +15487,7 @@ class CreateMalwareWhiteListRequest(AbstractModel):
15463
15487
  self._FileExtension = params.get("FileExtension")
15464
15488
  self._Md5List = params.get("Md5List")
15465
15489
  self._EventId = params.get("EventId")
15490
+ self._IsHandleHistoryEvents = params.get("IsHandleHistoryEvents")
15466
15491
  memeber_set = set(params.keys())
15467
15492
  for name, value in vars(self).items():
15468
15493
  property_name = name[1:]
@@ -16281,9 +16306,12 @@ class CreateVulFixTaskQuuids(AbstractModel):
16281
16306
  :type VulId: int
16282
16307
  :param _Quuids: 需要修复漏洞的主机,所有主机必须有VulId的这个漏洞且是待修复状态。
16283
16308
  :type Quuids: list of str
16309
+ :param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
16310
+ :type FixMethod: int
16284
16311
  """
16285
16312
  self._VulId = None
16286
16313
  self._Quuids = None
16314
+ self._FixMethod = None
16287
16315
 
16288
16316
  @property
16289
16317
  def VulId(self):
@@ -16301,10 +16329,19 @@ class CreateVulFixTaskQuuids(AbstractModel):
16301
16329
  def Quuids(self, Quuids):
16302
16330
  self._Quuids = Quuids
16303
16331
 
16332
+ @property
16333
+ def FixMethod(self):
16334
+ return self._FixMethod
16335
+
16336
+ @FixMethod.setter
16337
+ def FixMethod(self, FixMethod):
16338
+ self._FixMethod = FixMethod
16339
+
16304
16340
 
16305
16341
  def _deserialize(self, params):
16306
16342
  self._VulId = params.get("VulId")
16307
16343
  self._Quuids = params.get("Quuids")
16344
+ self._FixMethod = params.get("FixMethod")
16308
16345
  memeber_set = set(params.keys())
16309
16346
  for name, value in vars(self).items():
16310
16347
  property_name = name[1:]
@@ -45648,6 +45685,8 @@ class DescribeScanVulSettingResponse(AbstractModel):
45648
45685
  :type ClickTimeout: int
45649
45686
  :param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
45650
45687
  :type Uuids: list of str
45688
+ :param _ScanMethod: 0版本比对,2版本比对+poc
45689
+ :type ScanMethod: int
45651
45690
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45652
45691
  :type RequestId: str
45653
45692
  """
@@ -45661,6 +45700,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
45661
45700
  self._EndTime = None
45662
45701
  self._ClickTimeout = None
45663
45702
  self._Uuids = None
45703
+ self._ScanMethod = None
45664
45704
  self._RequestId = None
45665
45705
 
45666
45706
  @property
@@ -45743,6 +45783,14 @@ class DescribeScanVulSettingResponse(AbstractModel):
45743
45783
  def Uuids(self, Uuids):
45744
45784
  self._Uuids = Uuids
45745
45785
 
45786
+ @property
45787
+ def ScanMethod(self):
45788
+ return self._ScanMethod
45789
+
45790
+ @ScanMethod.setter
45791
+ def ScanMethod(self, ScanMethod):
45792
+ self._ScanMethod = ScanMethod
45793
+
45746
45794
  @property
45747
45795
  def RequestId(self):
45748
45796
  return self._RequestId
@@ -45763,6 +45811,7 @@ class DescribeScanVulSettingResponse(AbstractModel):
45763
45811
  self._EndTime = params.get("EndTime")
45764
45812
  self._ClickTimeout = params.get("ClickTimeout")
45765
45813
  self._Uuids = params.get("Uuids")
45814
+ self._ScanMethod = params.get("ScanMethod")
45766
45815
  self._RequestId = params.get("RequestId")
45767
45816
 
45768
45817
 
@@ -52038,6 +52087,8 @@ class DescribeWarningHostConfigResponse(AbstractModel):
52038
52087
  :param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
52039
52088
  注意:此字段可能返回 null,表示取不到有效值。
52040
52089
  :type ItemLabelIds: list of str
52090
+ :param _ExcludedQuuids: 需排除的机器列表
52091
+ :type ExcludedQuuids: list of str
52041
52092
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
52042
52093
  :type RequestId: str
52043
52094
  """
@@ -52046,6 +52097,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
52046
52097
  self._Quuids = None
52047
52098
  self._TotalCount = None
52048
52099
  self._ItemLabelIds = None
52100
+ self._ExcludedQuuids = None
52049
52101
  self._RequestId = None
52050
52102
 
52051
52103
  @property
@@ -52088,6 +52140,14 @@ class DescribeWarningHostConfigResponse(AbstractModel):
52088
52140
  def ItemLabelIds(self, ItemLabelIds):
52089
52141
  self._ItemLabelIds = ItemLabelIds
52090
52142
 
52143
+ @property
52144
+ def ExcludedQuuids(self):
52145
+ return self._ExcludedQuuids
52146
+
52147
+ @ExcludedQuuids.setter
52148
+ def ExcludedQuuids(self, ExcludedQuuids):
52149
+ self._ExcludedQuuids = ExcludedQuuids
52150
+
52091
52151
  @property
52092
52152
  def RequestId(self):
52093
52153
  return self._RequestId
@@ -52103,6 +52163,7 @@ class DescribeWarningHostConfigResponse(AbstractModel):
52103
52163
  self._Quuids = params.get("Quuids")
52104
52164
  self._TotalCount = params.get("TotalCount")
52105
52165
  self._ItemLabelIds = params.get("ItemLabelIds")
52166
+ self._ExcludedQuuids = params.get("ExcludedQuuids")
52106
52167
  self._RequestId = params.get("RequestId")
52107
52168
 
52108
52169
 
@@ -72174,6 +72235,196 @@ class ModifyRansomDefenseStrategyStatusResponse(AbstractModel):
72174
72235
  self._RequestId = params.get("RequestId")
72175
72236
 
72176
72237
 
72238
+ class ModifyReverseShellRulesAggregationRequest(AbstractModel):
72239
+ """ModifyReverseShellRulesAggregation请求参数结构体
72240
+
72241
+ """
72242
+
72243
+ def __init__(self):
72244
+ r"""
72245
+ :param _Id: 规则ID(新增时请留空)
72246
+ :type Id: int
72247
+ :param _Uuids: 客户端ID数组
72248
+ :type Uuids: list of str
72249
+ :param _HostIp: 主机IP
72250
+ :type HostIp: str
72251
+ :param _DestIp: 目标IP
72252
+ :type DestIp: str
72253
+ :param _DestPort: 目标端口
72254
+ :type DestPort: str
72255
+ :param _ProcessName: 进程名
72256
+ :type ProcessName: str
72257
+ :param _IsGlobal: 是否全局规则(默认否)
72258
+ :type IsGlobal: int
72259
+ :param _EventId: 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
72260
+ :type EventId: int
72261
+ :param _WhiteType: 加白方式, 0:常规加白 1:正则加白
72262
+ :type WhiteType: int
72263
+ :param _RuleRegexp: 正则表达式
72264
+ :type RuleRegexp: str
72265
+ :param _HandleHistory: 处理历史事件, 0:不处理 1:处理
72266
+ :type HandleHistory: int
72267
+ :param _GroupID: 批次id
72268
+ :type GroupID: str
72269
+ """
72270
+ self._Id = None
72271
+ self._Uuids = None
72272
+ self._HostIp = None
72273
+ self._DestIp = None
72274
+ self._DestPort = None
72275
+ self._ProcessName = None
72276
+ self._IsGlobal = None
72277
+ self._EventId = None
72278
+ self._WhiteType = None
72279
+ self._RuleRegexp = None
72280
+ self._HandleHistory = None
72281
+ self._GroupID = None
72282
+
72283
+ @property
72284
+ def Id(self):
72285
+ return self._Id
72286
+
72287
+ @Id.setter
72288
+ def Id(self, Id):
72289
+ self._Id = Id
72290
+
72291
+ @property
72292
+ def Uuids(self):
72293
+ return self._Uuids
72294
+
72295
+ @Uuids.setter
72296
+ def Uuids(self, Uuids):
72297
+ self._Uuids = Uuids
72298
+
72299
+ @property
72300
+ def HostIp(self):
72301
+ return self._HostIp
72302
+
72303
+ @HostIp.setter
72304
+ def HostIp(self, HostIp):
72305
+ self._HostIp = HostIp
72306
+
72307
+ @property
72308
+ def DestIp(self):
72309
+ return self._DestIp
72310
+
72311
+ @DestIp.setter
72312
+ def DestIp(self, DestIp):
72313
+ self._DestIp = DestIp
72314
+
72315
+ @property
72316
+ def DestPort(self):
72317
+ return self._DestPort
72318
+
72319
+ @DestPort.setter
72320
+ def DestPort(self, DestPort):
72321
+ self._DestPort = DestPort
72322
+
72323
+ @property
72324
+ def ProcessName(self):
72325
+ return self._ProcessName
72326
+
72327
+ @ProcessName.setter
72328
+ def ProcessName(self, ProcessName):
72329
+ self._ProcessName = ProcessName
72330
+
72331
+ @property
72332
+ def IsGlobal(self):
72333
+ return self._IsGlobal
72334
+
72335
+ @IsGlobal.setter
72336
+ def IsGlobal(self, IsGlobal):
72337
+ self._IsGlobal = IsGlobal
72338
+
72339
+ @property
72340
+ def EventId(self):
72341
+ return self._EventId
72342
+
72343
+ @EventId.setter
72344
+ def EventId(self, EventId):
72345
+ self._EventId = EventId
72346
+
72347
+ @property
72348
+ def WhiteType(self):
72349
+ return self._WhiteType
72350
+
72351
+ @WhiteType.setter
72352
+ def WhiteType(self, WhiteType):
72353
+ self._WhiteType = WhiteType
72354
+
72355
+ @property
72356
+ def RuleRegexp(self):
72357
+ return self._RuleRegexp
72358
+
72359
+ @RuleRegexp.setter
72360
+ def RuleRegexp(self, RuleRegexp):
72361
+ self._RuleRegexp = RuleRegexp
72362
+
72363
+ @property
72364
+ def HandleHistory(self):
72365
+ return self._HandleHistory
72366
+
72367
+ @HandleHistory.setter
72368
+ def HandleHistory(self, HandleHistory):
72369
+ self._HandleHistory = HandleHistory
72370
+
72371
+ @property
72372
+ def GroupID(self):
72373
+ return self._GroupID
72374
+
72375
+ @GroupID.setter
72376
+ def GroupID(self, GroupID):
72377
+ self._GroupID = GroupID
72378
+
72379
+
72380
+ def _deserialize(self, params):
72381
+ self._Id = params.get("Id")
72382
+ self._Uuids = params.get("Uuids")
72383
+ self._HostIp = params.get("HostIp")
72384
+ self._DestIp = params.get("DestIp")
72385
+ self._DestPort = params.get("DestPort")
72386
+ self._ProcessName = params.get("ProcessName")
72387
+ self._IsGlobal = params.get("IsGlobal")
72388
+ self._EventId = params.get("EventId")
72389
+ self._WhiteType = params.get("WhiteType")
72390
+ self._RuleRegexp = params.get("RuleRegexp")
72391
+ self._HandleHistory = params.get("HandleHistory")
72392
+ self._GroupID = params.get("GroupID")
72393
+ memeber_set = set(params.keys())
72394
+ for name, value in vars(self).items():
72395
+ property_name = name[1:]
72396
+ if property_name in memeber_set:
72397
+ memeber_set.remove(property_name)
72398
+ if len(memeber_set) > 0:
72399
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
72400
+
72401
+
72402
+
72403
+ class ModifyReverseShellRulesAggregationResponse(AbstractModel):
72404
+ """ModifyReverseShellRulesAggregation返回参数结构体
72405
+
72406
+ """
72407
+
72408
+ def __init__(self):
72409
+ r"""
72410
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
72411
+ :type RequestId: str
72412
+ """
72413
+ self._RequestId = None
72414
+
72415
+ @property
72416
+ def RequestId(self):
72417
+ return self._RequestId
72418
+
72419
+ @RequestId.setter
72420
+ def RequestId(self, RequestId):
72421
+ self._RequestId = RequestId
72422
+
72423
+
72424
+ def _deserialize(self, params):
72425
+ self._RequestId = params.get("RequestId")
72426
+
72427
+
72177
72428
  class ModifyRiskDnsPolicyRequest(AbstractModel):
72178
72429
  """ModifyRiskDnsPolicy请求参数结构体
72179
72430
 
@@ -72754,12 +73005,15 @@ class ModifyWarningHostConfigRequest(AbstractModel):
72754
73005
  :type Quuids: list of str
72755
73006
  :param _ItemLabelIds: 项目或标签的id列表,自选主机时为空
72756
73007
  :type ItemLabelIds: list of str
73008
+ :param _ExcludedQuuids: 需排除的机器列表
73009
+ :type ExcludedQuuids: list of str
72757
73010
  """
72758
73011
  self._Type = None
72759
73012
  self._HostRange = None
72760
73013
  self._ItemLabels = None
72761
73014
  self._Quuids = None
72762
73015
  self._ItemLabelIds = None
73016
+ self._ExcludedQuuids = None
72763
73017
 
72764
73018
  @property
72765
73019
  def Type(self):
@@ -72801,6 +73055,14 @@ class ModifyWarningHostConfigRequest(AbstractModel):
72801
73055
  def ItemLabelIds(self, ItemLabelIds):
72802
73056
  self._ItemLabelIds = ItemLabelIds
72803
73057
 
73058
+ @property
73059
+ def ExcludedQuuids(self):
73060
+ return self._ExcludedQuuids
73061
+
73062
+ @ExcludedQuuids.setter
73063
+ def ExcludedQuuids(self, ExcludedQuuids):
73064
+ self._ExcludedQuuids = ExcludedQuuids
73065
+
72804
73066
 
72805
73067
  def _deserialize(self, params):
72806
73068
  self._Type = params.get("Type")
@@ -72808,6 +73070,7 @@ class ModifyWarningHostConfigRequest(AbstractModel):
72808
73070
  self._ItemLabels = params.get("ItemLabels")
72809
73071
  self._Quuids = params.get("Quuids")
72810
73072
  self._ItemLabelIds = params.get("ItemLabelIds")
73073
+ self._ExcludedQuuids = params.get("ExcludedQuuids")
72811
73074
  memeber_set = set(params.keys())
72812
73075
  for name, value in vars(self).items():
72813
73076
  property_name = name[1:]
@@ -72931,6 +73194,8 @@ class ModifyWebHookPolicyRequest(AbstractModel):
72931
73194
  :type IsDisabled: int
72932
73195
  :param _Quuids: 主机列表
72933
73196
  :type Quuids: list of str
73197
+ :param _ExcludedQuuids: 需排除的机器列表
73198
+ :type ExcludedQuuids: list of str
72934
73199
  """
72935
73200
  self._Id = None
72936
73201
  self._Name = None
@@ -72941,6 +73206,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
72941
73206
  self._CustomFields = None
72942
73207
  self._IsDisabled = None
72943
73208
  self._Quuids = None
73209
+ self._ExcludedQuuids = None
72944
73210
 
72945
73211
  @property
72946
73212
  def Id(self):
@@ -73014,6 +73280,14 @@ class ModifyWebHookPolicyRequest(AbstractModel):
73014
73280
  def Quuids(self, Quuids):
73015
73281
  self._Quuids = Quuids
73016
73282
 
73283
+ @property
73284
+ def ExcludedQuuids(self):
73285
+ return self._ExcludedQuuids
73286
+
73287
+ @ExcludedQuuids.setter
73288
+ def ExcludedQuuids(self, ExcludedQuuids):
73289
+ self._ExcludedQuuids = ExcludedQuuids
73290
+
73017
73291
 
73018
73292
  def _deserialize(self, params):
73019
73293
  self._Id = params.get("Id")
@@ -73045,6 +73319,7 @@ class ModifyWebHookPolicyRequest(AbstractModel):
73045
73319
  self._CustomFields.append(obj)
73046
73320
  self._IsDisabled = params.get("IsDisabled")
73047
73321
  self._Quuids = params.get("Quuids")
73322
+ self._ExcludedQuuids = params.get("ExcludedQuuids")
73048
73323
  memeber_set = set(params.keys())
73049
73324
  for name, value in vars(self).items():
73050
73325
  property_name = name[1:]
@@ -81309,6 +81584,8 @@ class ScanVulRequest(AbstractModel):
81309
81584
  :type TimeoutPeriod: int
81310
81585
  :param _VulIds: 需要扫描的漏洞id
81311
81586
  :type VulIds: list of int non-negative
81587
+ :param _ScanMethod: 0版本比对,2版本比对+poc
81588
+ :type ScanMethod: int
81312
81589
  """
81313
81590
  self._VulLevels = None
81314
81591
  self._HostType = None
@@ -81317,6 +81594,7 @@ class ScanVulRequest(AbstractModel):
81317
81594
  self._VulEmergency = None
81318
81595
  self._TimeoutPeriod = None
81319
81596
  self._VulIds = None
81597
+ self._ScanMethod = None
81320
81598
 
81321
81599
  @property
81322
81600
  def VulLevels(self):
@@ -81374,6 +81652,14 @@ class ScanVulRequest(AbstractModel):
81374
81652
  def VulIds(self, VulIds):
81375
81653
  self._VulIds = VulIds
81376
81654
 
81655
+ @property
81656
+ def ScanMethod(self):
81657
+ return self._ScanMethod
81658
+
81659
+ @ScanMethod.setter
81660
+ def ScanMethod(self, ScanMethod):
81661
+ self._ScanMethod = ScanMethod
81662
+
81377
81663
 
81378
81664
  def _deserialize(self, params):
81379
81665
  self._VulLevels = params.get("VulLevels")
@@ -81383,6 +81669,7 @@ class ScanVulRequest(AbstractModel):
81383
81669
  self._VulEmergency = params.get("VulEmergency")
81384
81670
  self._TimeoutPeriod = params.get("TimeoutPeriod")
81385
81671
  self._VulIds = params.get("VulIds")
81672
+ self._ScanMethod = params.get("ScanMethod")
81386
81673
  memeber_set = set(params.keys())
81387
81674
  for name, value in vars(self).items():
81388
81675
  property_name = name[1:]
@@ -81456,6 +81743,8 @@ class ScanVulSettingRequest(AbstractModel):
81456
81743
  :type EnableScan: int
81457
81744
  :param _Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
81458
81745
  :type Uuids: list of str
81746
+ :param _ScanMethod: 0版本比对,2版本比对+poc
81747
+ :type ScanMethod: int
81459
81748
  """
81460
81749
  self._TimerInterval = None
81461
81750
  self._VulCategories = None
@@ -81466,6 +81755,7 @@ class ScanVulSettingRequest(AbstractModel):
81466
81755
  self._EndTime = None
81467
81756
  self._EnableScan = None
81468
81757
  self._Uuids = None
81758
+ self._ScanMethod = None
81469
81759
 
81470
81760
  @property
81471
81761
  def TimerInterval(self):
@@ -81539,6 +81829,14 @@ class ScanVulSettingRequest(AbstractModel):
81539
81829
  def Uuids(self, Uuids):
81540
81830
  self._Uuids = Uuids
81541
81831
 
81832
+ @property
81833
+ def ScanMethod(self):
81834
+ return self._ScanMethod
81835
+
81836
+ @ScanMethod.setter
81837
+ def ScanMethod(self, ScanMethod):
81838
+ self._ScanMethod = ScanMethod
81839
+
81542
81840
 
81543
81841
  def _deserialize(self, params):
81544
81842
  self._TimerInterval = params.get("TimerInterval")
@@ -81550,6 +81848,7 @@ class ScanVulSettingRequest(AbstractModel):
81550
81848
  self._EndTime = params.get("EndTime")
81551
81849
  self._EnableScan = params.get("EnableScan")
81552
81850
  self._Uuids = params.get("Uuids")
81851
+ self._ScanMethod = params.get("ScanMethod")
81553
81852
  memeber_set = set(params.keys())
81554
81853
  for name, value in vars(self).items():
81555
81854
  property_name = name[1:]
@@ -88015,6 +88314,9 @@ class VulFixStatusInfo(AbstractModel):
88015
88314
  :param _FixSuccessCnt: 修复成功的数量
88016
88315
  注意:此字段可能返回 null,表示取不到有效值。
88017
88316
  :type FixSuccessCnt: int
88317
+ :param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
88318
+ 注意:此字段可能返回 null,表示取不到有效值。
88319
+ :type FixMethod: int
88018
88320
  """
88019
88321
  self._VulId = None
88020
88322
  self._VulName = None
@@ -88022,6 +88324,7 @@ class VulFixStatusInfo(AbstractModel):
88022
88324
  self._HostList = None
88023
88325
  self._FailCnt = None
88024
88326
  self._FixSuccessCnt = None
88327
+ self._FixMethod = None
88025
88328
 
88026
88329
  @property
88027
88330
  def VulId(self):
@@ -88071,6 +88374,14 @@ class VulFixStatusInfo(AbstractModel):
88071
88374
  def FixSuccessCnt(self, FixSuccessCnt):
88072
88375
  self._FixSuccessCnt = FixSuccessCnt
88073
88376
 
88377
+ @property
88378
+ def FixMethod(self):
88379
+ return self._FixMethod
88380
+
88381
+ @FixMethod.setter
88382
+ def FixMethod(self, FixMethod):
88383
+ self._FixMethod = FixMethod
88384
+
88074
88385
 
88075
88386
  def _deserialize(self, params):
88076
88387
  self._VulId = params.get("VulId")
@@ -88084,6 +88395,7 @@ class VulFixStatusInfo(AbstractModel):
88084
88395
  self._HostList.append(obj)
88085
88396
  self._FailCnt = params.get("FailCnt")
88086
88397
  self._FixSuccessCnt = params.get("FixSuccessCnt")
88398
+ self._FixMethod = params.get("FixMethod")
88087
88399
  memeber_set = set(params.keys())
88088
88400
  for name, value in vars(self).items():
88089
88401
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.0.1202
3
+ Version: 3.0.1218
4
4
  Summary: Tencent Cloud Cwp 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==3.0.1218
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1202