tencentcloud-sdk-python-cwp 3.0.1208__tar.gz → 3.0.1209__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.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/setup.py +1 -1
  3. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/cwp/v20180228/cwp_client.py +26 -1
  5. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/cwp/v20180228/models.py +190 -0
  6. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-cwp-3.0.1209/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-cwp-3.0.1208/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/README.rst +0 -0
  10. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/cwp/__init__.py +0 -0
  12. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/cwp/v20180228/__init__.py +0 -0
  13. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-cwp-3.0.1208 → tencentcloud-sdk-python-cwp-3.0.1209}/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.1208
3
+ Version: 3.0.1209
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.1208"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1209"],
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.1208'
17
+ __version__ = '3.0.1209'
@@ -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`
@@ -10816,6 +10818,29 @@ class CwpClient(AbstractClient):
10816
10818
  raise TencentCloudSDKException(type(e).__name__, str(e))
10817
10819
 
10818
10820
 
10821
+ def ModifyReverseShellRulesAggregation(self, request):
10822
+ """编辑反弹Shell规则(支持多服务器选择)
10823
+
10824
+ :param request: Request instance for ModifyReverseShellRulesAggregation.
10825
+ :type request: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationRequest`
10826
+ :rtype: :class:`tencentcloud.cwp.v20180228.models.ModifyReverseShellRulesAggregationResponse`
10827
+
10828
+ """
10829
+ try:
10830
+ params = request._serialize()
10831
+ headers = request.headers
10832
+ body = self.call("ModifyReverseShellRulesAggregation", params, headers=headers)
10833
+ response = json.loads(body)
10834
+ model = models.ModifyReverseShellRulesAggregationResponse()
10835
+ model._deserialize(response["Response"])
10836
+ return model
10837
+ except Exception as e:
10838
+ if isinstance(e, TencentCloudSDKException):
10839
+ raise
10840
+ else:
10841
+ raise TencentCloudSDKException(type(e).__name__, str(e))
10842
+
10843
+
10819
10844
  def ModifyRiskDnsPolicy(self, request):
10820
10845
  """更改恶意请求策略
10821
10846
 
@@ -72174,6 +72174,196 @@ class ModifyRansomDefenseStrategyStatusResponse(AbstractModel):
72174
72174
  self._RequestId = params.get("RequestId")
72175
72175
 
72176
72176
 
72177
+ class ModifyReverseShellRulesAggregationRequest(AbstractModel):
72178
+ """ModifyReverseShellRulesAggregation请求参数结构体
72179
+
72180
+ """
72181
+
72182
+ def __init__(self):
72183
+ r"""
72184
+ :param _Id: 规则ID(新增时请留空)
72185
+ :type Id: int
72186
+ :param _Uuids: 客户端ID数组
72187
+ :type Uuids: list of str
72188
+ :param _HostIp: 主机IP
72189
+ :type HostIp: str
72190
+ :param _DestIp: 目标IP
72191
+ :type DestIp: str
72192
+ :param _DestPort: 目标端口
72193
+ :type DestPort: str
72194
+ :param _ProcessName: 进程名
72195
+ :type ProcessName: str
72196
+ :param _IsGlobal: 是否全局规则(默认否)
72197
+ :type IsGlobal: int
72198
+ :param _EventId: 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
72199
+ :type EventId: int
72200
+ :param _WhiteType: 加白方式, 0:常规加白 1:正则加白
72201
+ :type WhiteType: int
72202
+ :param _RuleRegexp: 正则表达式
72203
+ :type RuleRegexp: str
72204
+ :param _HandleHistory: 处理历史事件, 0:不处理 1:处理
72205
+ :type HandleHistory: int
72206
+ :param _GroupID: 批次id
72207
+ :type GroupID: str
72208
+ """
72209
+ self._Id = None
72210
+ self._Uuids = None
72211
+ self._HostIp = None
72212
+ self._DestIp = None
72213
+ self._DestPort = None
72214
+ self._ProcessName = None
72215
+ self._IsGlobal = None
72216
+ self._EventId = None
72217
+ self._WhiteType = None
72218
+ self._RuleRegexp = None
72219
+ self._HandleHistory = None
72220
+ self._GroupID = None
72221
+
72222
+ @property
72223
+ def Id(self):
72224
+ return self._Id
72225
+
72226
+ @Id.setter
72227
+ def Id(self, Id):
72228
+ self._Id = Id
72229
+
72230
+ @property
72231
+ def Uuids(self):
72232
+ return self._Uuids
72233
+
72234
+ @Uuids.setter
72235
+ def Uuids(self, Uuids):
72236
+ self._Uuids = Uuids
72237
+
72238
+ @property
72239
+ def HostIp(self):
72240
+ return self._HostIp
72241
+
72242
+ @HostIp.setter
72243
+ def HostIp(self, HostIp):
72244
+ self._HostIp = HostIp
72245
+
72246
+ @property
72247
+ def DestIp(self):
72248
+ return self._DestIp
72249
+
72250
+ @DestIp.setter
72251
+ def DestIp(self, DestIp):
72252
+ self._DestIp = DestIp
72253
+
72254
+ @property
72255
+ def DestPort(self):
72256
+ return self._DestPort
72257
+
72258
+ @DestPort.setter
72259
+ def DestPort(self, DestPort):
72260
+ self._DestPort = DestPort
72261
+
72262
+ @property
72263
+ def ProcessName(self):
72264
+ return self._ProcessName
72265
+
72266
+ @ProcessName.setter
72267
+ def ProcessName(self, ProcessName):
72268
+ self._ProcessName = ProcessName
72269
+
72270
+ @property
72271
+ def IsGlobal(self):
72272
+ return self._IsGlobal
72273
+
72274
+ @IsGlobal.setter
72275
+ def IsGlobal(self, IsGlobal):
72276
+ self._IsGlobal = IsGlobal
72277
+
72278
+ @property
72279
+ def EventId(self):
72280
+ return self._EventId
72281
+
72282
+ @EventId.setter
72283
+ def EventId(self, EventId):
72284
+ self._EventId = EventId
72285
+
72286
+ @property
72287
+ def WhiteType(self):
72288
+ return self._WhiteType
72289
+
72290
+ @WhiteType.setter
72291
+ def WhiteType(self, WhiteType):
72292
+ self._WhiteType = WhiteType
72293
+
72294
+ @property
72295
+ def RuleRegexp(self):
72296
+ return self._RuleRegexp
72297
+
72298
+ @RuleRegexp.setter
72299
+ def RuleRegexp(self, RuleRegexp):
72300
+ self._RuleRegexp = RuleRegexp
72301
+
72302
+ @property
72303
+ def HandleHistory(self):
72304
+ return self._HandleHistory
72305
+
72306
+ @HandleHistory.setter
72307
+ def HandleHistory(self, HandleHistory):
72308
+ self._HandleHistory = HandleHistory
72309
+
72310
+ @property
72311
+ def GroupID(self):
72312
+ return self._GroupID
72313
+
72314
+ @GroupID.setter
72315
+ def GroupID(self, GroupID):
72316
+ self._GroupID = GroupID
72317
+
72318
+
72319
+ def _deserialize(self, params):
72320
+ self._Id = params.get("Id")
72321
+ self._Uuids = params.get("Uuids")
72322
+ self._HostIp = params.get("HostIp")
72323
+ self._DestIp = params.get("DestIp")
72324
+ self._DestPort = params.get("DestPort")
72325
+ self._ProcessName = params.get("ProcessName")
72326
+ self._IsGlobal = params.get("IsGlobal")
72327
+ self._EventId = params.get("EventId")
72328
+ self._WhiteType = params.get("WhiteType")
72329
+ self._RuleRegexp = params.get("RuleRegexp")
72330
+ self._HandleHistory = params.get("HandleHistory")
72331
+ self._GroupID = params.get("GroupID")
72332
+ memeber_set = set(params.keys())
72333
+ for name, value in vars(self).items():
72334
+ property_name = name[1:]
72335
+ if property_name in memeber_set:
72336
+ memeber_set.remove(property_name)
72337
+ if len(memeber_set) > 0:
72338
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
72339
+
72340
+
72341
+
72342
+ class ModifyReverseShellRulesAggregationResponse(AbstractModel):
72343
+ """ModifyReverseShellRulesAggregation返回参数结构体
72344
+
72345
+ """
72346
+
72347
+ def __init__(self):
72348
+ r"""
72349
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
72350
+ :type RequestId: str
72351
+ """
72352
+ self._RequestId = None
72353
+
72354
+ @property
72355
+ def RequestId(self):
72356
+ return self._RequestId
72357
+
72358
+ @RequestId.setter
72359
+ def RequestId(self, RequestId):
72360
+ self._RequestId = RequestId
72361
+
72362
+
72363
+ def _deserialize(self, params):
72364
+ self._RequestId = params.get("RequestId")
72365
+
72366
+
72177
72367
  class ModifyRiskDnsPolicyRequest(AbstractModel):
72178
72368
  """ModifyRiskDnsPolicy请求参数结构体
72179
72369
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.0.1208
3
+ Version: 3.0.1209
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.1209
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1208