tencentcloud-sdk-python-waf 3.1.67__py2.py3-none-any.whl → 3.1.70__py2.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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.67'
17
+ __version__ = '3.1.70'
@@ -26050,23 +26050,29 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26050
26050
 
26051
26051
  def __init__(self):
26052
26052
  r"""
26053
- :param _ServiceId: 服务id,使用哪一套防护策略,就需要传哪一套服务id,模型会检测该服务id下的所有规则
26053
+ :param _ServiceId: <p>服务id,使用哪一套防护策略,就需要传哪一套服务id,模型会检测该服务id下的所有规则</p>
26054
26054
  :type ServiceId: str
26055
- :param _Content: 要审核的内容
26055
+ :param _Content: <p>要审核的内容</p>
26056
26056
  :type Content: :class:`tencentcloud.waf.v20180125.models.ApiGuardContent`
26057
- :param _UserId: 标识用户的id,限速使用,不填,则限速会不生效
26057
+ :param _UserId: <p>标识用户的id,限速使用,不填,则限速会不生效</p>
26058
26058
  :type UserId: str
26059
- :param _SessionId: 会话id
26059
+ :param _SessionId: <p>会话id</p>
26060
26060
  :type SessionId: str
26061
+ :param _ToolName: <p>工具名称</p>
26062
+ :type ToolName: str
26063
+ :param _ToolArgs: <p>工具执行的参数</p>
26064
+ :type ToolArgs: str
26061
26065
  """
26062
26066
  self._ServiceId = None
26063
26067
  self._Content = None
26064
26068
  self._UserId = None
26065
26069
  self._SessionId = None
26070
+ self._ToolName = None
26071
+ self._ToolArgs = None
26066
26072
 
26067
26073
  @property
26068
26074
  def ServiceId(self):
26069
- r""" 服务id,使用哪一套防护策略,就需要传哪一套服务id,模型会检测该服务id下的所有规则
26075
+ r"""<p>服务id,使用哪一套防护策略,就需要传哪一套服务id,模型会检测该服务id下的所有规则</p>
26070
26076
  :rtype: str
26071
26077
  """
26072
26078
  return self._ServiceId
@@ -26077,7 +26083,7 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26077
26083
 
26078
26084
  @property
26079
26085
  def Content(self):
26080
- r"""要审核的内容
26086
+ r"""<p>要审核的内容</p>
26081
26087
  :rtype: :class:`tencentcloud.waf.v20180125.models.ApiGuardContent`
26082
26088
  """
26083
26089
  return self._Content
@@ -26088,7 +26094,7 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26088
26094
 
26089
26095
  @property
26090
26096
  def UserId(self):
26091
- r"""标识用户的id,限速使用,不填,则限速会不生效
26097
+ r"""<p>标识用户的id,限速使用,不填,则限速会不生效</p>
26092
26098
  :rtype: str
26093
26099
  """
26094
26100
  return self._UserId
@@ -26099,7 +26105,7 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26099
26105
 
26100
26106
  @property
26101
26107
  def SessionId(self):
26102
- r"""会话id
26108
+ r"""<p>会话id</p>
26103
26109
  :rtype: str
26104
26110
  """
26105
26111
  return self._SessionId
@@ -26108,6 +26114,28 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26108
26114
  def SessionId(self, SessionId):
26109
26115
  self._SessionId = SessionId
26110
26116
 
26117
+ @property
26118
+ def ToolName(self):
26119
+ r"""<p>工具名称</p>
26120
+ :rtype: str
26121
+ """
26122
+ return self._ToolName
26123
+
26124
+ @ToolName.setter
26125
+ def ToolName(self, ToolName):
26126
+ self._ToolName = ToolName
26127
+
26128
+ @property
26129
+ def ToolArgs(self):
26130
+ r"""<p>工具执行的参数</p>
26131
+ :rtype: str
26132
+ """
26133
+ return self._ToolArgs
26134
+
26135
+ @ToolArgs.setter
26136
+ def ToolArgs(self, ToolArgs):
26137
+ self._ToolArgs = ToolArgs
26138
+
26111
26139
 
26112
26140
  def _deserialize(self, params):
26113
26141
  self._ServiceId = params.get("ServiceId")
@@ -26116,6 +26144,8 @@ class DescribeQClawContentSecCheckRequest(AbstractModel):
26116
26144
  self._Content._deserialize(params.get("Content"))
26117
26145
  self._UserId = params.get("UserId")
26118
26146
  self._SessionId = params.get("SessionId")
26147
+ self._ToolName = params.get("ToolName")
26148
+ self._ToolArgs = params.get("ToolArgs")
26119
26149
  memeber_set = set(params.keys())
26120
26150
  for name, value in vars(self).items():
26121
26151
  property_name = name[1:]
@@ -26133,7 +26163,7 @@ class DescribeQClawContentSecCheckResponse(AbstractModel):
26133
26163
 
26134
26164
  def __init__(self):
26135
26165
  r"""
26136
- :param _Data: 检测结果
26166
+ :param _Data: <p>检测结果</p>
26137
26167
  :type Data: :class:`tencentcloud.waf.v20180125.models.LLMRisks`
26138
26168
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
26139
26169
  :type RequestId: str
@@ -26143,7 +26173,7 @@ class DescribeQClawContentSecCheckResponse(AbstractModel):
26143
26173
 
26144
26174
  @property
26145
26175
  def Data(self):
26146
- r"""检测结果
26176
+ r"""<p>检测结果</p>
26147
26177
  :rtype: :class:`tencentcloud.waf.v20180125.models.LLMRisks`
26148
26178
  """
26149
26179
  return self._Data
@@ -37229,21 +37259,21 @@ class LLMDetectResult(AbstractModel):
37229
37259
 
37230
37260
  def __init__(self):
37231
37261
  r"""
37232
- :param _SensitiveResult: 仅输出侧:涉敏信息
37262
+ :param _SensitiveResult: <p>仅输出侧:涉敏信息</p>
37233
37263
  :type SensitiveResult: list of LLMSensitiveValueLevel
37234
- :param _KeyWordsResult: 输入输出均检测:关键词库命中信息
37264
+ :param _KeyWordsResult: <p>输入输出均检测:关键词库命中信息</p>
37235
37265
  :type KeyWordsResult: list of KeyWordInfo
37236
- :param _DataCategoryResult: 输入输出均检测:数据分类分级结果
37266
+ :param _DataCategoryResult: <p>输入输出均检测:数据分类分级结果</p>
37237
37267
  :type DataCategoryResult: list of str
37238
- :param _PromptInjectionResult: 仅输入侧检出:prompt检测的结果
37268
+ :param _PromptInjectionResult: <p>仅输入侧检出:prompt检测的结果</p>
37239
37269
  :type PromptInjectionResult: :class:`tencentcloud.waf.v20180125.models.PromptDetectResult`
37240
- :param _RuleId: 命中的规则ID
37270
+ :param _RuleId: <p>命中的规则ID</p>
37241
37271
  :type RuleId: str
37242
- :param _RuleName: 命中的规则名称
37272
+ :param _RuleName: <p>命中的规则名称</p>
37243
37273
  :type RuleName: str
37244
- :param _Action: 规则动作
37274
+ :param _Action: <p>规则动作</p>
37245
37275
  :type Action: str
37246
- :param _Payload: 攻击payload
37276
+ :param _Payload: <p>攻击payload</p>
37247
37277
  :type Payload: str
37248
37278
  """
37249
37279
  self._SensitiveResult = None
@@ -37257,7 +37287,7 @@ class LLMDetectResult(AbstractModel):
37257
37287
 
37258
37288
  @property
37259
37289
  def SensitiveResult(self):
37260
- r""" 仅输出侧:涉敏信息
37290
+ r"""<p>仅输出侧:涉敏信息</p>
37261
37291
  :rtype: list of LLMSensitiveValueLevel
37262
37292
  """
37263
37293
  return self._SensitiveResult
@@ -37268,7 +37298,7 @@ class LLMDetectResult(AbstractModel):
37268
37298
 
37269
37299
  @property
37270
37300
  def KeyWordsResult(self):
37271
- r""" 输入输出均检测:关键词库命中信息
37301
+ r"""<p>输入输出均检测:关键词库命中信息</p>
37272
37302
  :rtype: list of KeyWordInfo
37273
37303
  """
37274
37304
  return self._KeyWordsResult
@@ -37279,7 +37309,7 @@ class LLMDetectResult(AbstractModel):
37279
37309
 
37280
37310
  @property
37281
37311
  def DataCategoryResult(self):
37282
- r"""输入输出均检测:数据分类分级结果
37312
+ r"""<p>输入输出均检测:数据分类分级结果</p>
37283
37313
  :rtype: list of str
37284
37314
  """
37285
37315
  return self._DataCategoryResult
@@ -37290,7 +37320,7 @@ class LLMDetectResult(AbstractModel):
37290
37320
 
37291
37321
  @property
37292
37322
  def PromptInjectionResult(self):
37293
- r""" 仅输入侧检出:prompt检测的结果
37323
+ r"""<p>仅输入侧检出:prompt检测的结果</p>
37294
37324
  :rtype: :class:`tencentcloud.waf.v20180125.models.PromptDetectResult`
37295
37325
  """
37296
37326
  return self._PromptInjectionResult
@@ -37301,7 +37331,7 @@ class LLMDetectResult(AbstractModel):
37301
37331
 
37302
37332
  @property
37303
37333
  def RuleId(self):
37304
- r"""命中的规则ID
37334
+ r"""<p>命中的规则ID</p>
37305
37335
  :rtype: str
37306
37336
  """
37307
37337
  return self._RuleId
@@ -37312,7 +37342,7 @@ class LLMDetectResult(AbstractModel):
37312
37342
 
37313
37343
  @property
37314
37344
  def RuleName(self):
37315
- r"""命中的规则名称
37345
+ r"""<p>命中的规则名称</p>
37316
37346
  :rtype: str
37317
37347
  """
37318
37348
  return self._RuleName
@@ -37323,7 +37353,7 @@ class LLMDetectResult(AbstractModel):
37323
37353
 
37324
37354
  @property
37325
37355
  def Action(self):
37326
- r"""规则动作
37356
+ r"""<p>规则动作</p>
37327
37357
  :rtype: str
37328
37358
  """
37329
37359
  return self._Action
@@ -37334,7 +37364,7 @@ class LLMDetectResult(AbstractModel):
37334
37364
 
37335
37365
  @property
37336
37366
  def Payload(self):
37337
- r"""攻击payload
37367
+ r"""<p>攻击payload</p>
37338
37368
  :rtype: str
37339
37369
  """
37340
37370
  return self._Payload
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.1.67
3
+ Version: 3.1.70
4
4
  Summary: Tencent Cloud Waf 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.67
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.70
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=J1Yijg0UCtH6jLgllYn_2YvB6IoS3mS-GIubu0Vwu_A,629
1
+ tencentcloud/__init__.py,sha256=GFToA2jhrBZajBuy6h3zgH41rHmKb9c4ADFQ8vGOEAA,629
2
2
  tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/waf/v20180125/errorcodes.py,sha256=UkhYvGqoXDSJFCwjs1QyHx8c-NERMBXvnBiiGo4hVEs,10692
5
- tencentcloud/waf/v20180125/models.py,sha256=wc5jnf0fV8rHIfh9sU3VdxR_BbDEhqBNn0h_TlFM2hw,1645515
5
+ tencentcloud/waf/v20180125/models.py,sha256=OQKUsWkS7Q4KZBcLNnAOfn4Nq0hDk1jY4VGy4K0w9AM,1646457
6
6
  tencentcloud/waf/v20180125/waf_client.py,sha256=hzo7svk3QkI5vZDMwB-stbtDwlJDs_K4HuhNZZCVNDA,185376
7
7
  tencentcloud/waf/v20180125/waf_client_async.py,sha256=gP5BM4esjp5qPVGzDBvlWoyh-pvrtzB2MmMmq0FbomM,124263
8
- tencentcloud_sdk_python_waf-3.1.67.dist-info/METADATA,sha256=KaL1rZaNpCMLDxTTSpzcHPYrSjaPfV4pvxyxat5roN4,1495
9
- tencentcloud_sdk_python_waf-3.1.67.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_waf-3.1.67.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_waf-3.1.67.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_waf-3.1.70.dist-info/METADATA,sha256=KpYoQlT5EiBZR557XuRUeMoiZld90XtXtufZMbjchfo,1495
9
+ tencentcloud_sdk_python_waf-3.1.70.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_waf-3.1.70.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_waf-3.1.70.dist-info/RECORD,,