tencentcloud-sdk-python-csip 3.1.147__tar.gz → 3.1.150__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_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/setup.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/v20221121/models.py +259 -120
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_csip-3.1.150/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_csip-3.1.147/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/README.rst +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/setup.cfg +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/v20221121/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/v20221121/csip_client.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/v20221121/csip_client_async.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.147 → tencentcloud_sdk_python_csip-3.1.150}/tencentcloud_sdk_python_csip.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.150
|
|
4
4
|
Summary: Tencent Cloud Csip 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.150
|
|
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-csip',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.150,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Csip SDK for Python',
|
|
@@ -8474,7 +8474,7 @@ class AuditLogInfo(AbstractModel):
|
|
|
8474
8474
|
:type DbUser: str
|
|
8475
8475
|
:param _EffectRow: 影响行数
|
|
8476
8476
|
:type EffectRow: int
|
|
8477
|
-
:param _ExecTime:
|
|
8477
|
+
:param _ExecTime: 执行时间,单位:毫秒
|
|
8478
8478
|
:type ExecTime: int
|
|
8479
8479
|
:param _HitRule: 命中规则
|
|
8480
8480
|
:type HitRule: str
|
|
@@ -8727,7 +8727,7 @@ class AuditLogInfo(AbstractModel):
|
|
|
8727
8727
|
|
|
8728
8728
|
@property
|
|
8729
8729
|
def ExecTime(self):
|
|
8730
|
-
r"""
|
|
8730
|
+
r"""执行时间,单位:毫秒
|
|
8731
8731
|
:rtype: int
|
|
8732
8732
|
"""
|
|
8733
8733
|
return self._ExecTime
|
|
@@ -19986,24 +19986,26 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
19986
19986
|
|
|
19987
19987
|
def __init__(self):
|
|
19988
19988
|
r"""
|
|
19989
|
-
:param _StrategyType:
|
|
19989
|
+
:param _StrategyType: <p>策略类型</p>
|
|
19990
19990
|
:type StrategyType: str
|
|
19991
|
-
:param _MemberId:
|
|
19991
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
19992
19992
|
:type MemberId: list of str
|
|
19993
|
-
:param _Name:
|
|
19993
|
+
:param _Name: <p>白名单</p>
|
|
19994
19994
|
:type Name: str
|
|
19995
|
-
:param _Rule:
|
|
19995
|
+
:param _Rule: <p>规则</p>
|
|
19996
19996
|
:type Rule: str
|
|
19997
|
-
:param _AssetId:
|
|
19997
|
+
:param _AssetId: <p>资产id</p>
|
|
19998
19998
|
:type AssetId: str
|
|
19999
|
-
:param _Account:
|
|
19999
|
+
:param _Account: <p>账号</p>
|
|
20000
20000
|
:type Account: str
|
|
20001
|
-
:param _Host:
|
|
20001
|
+
:param _Host: <p>主机</p>
|
|
20002
20002
|
:type Host: str
|
|
20003
|
-
:param _RiskId:
|
|
20003
|
+
:param _RiskId: <p>风险id</p>
|
|
20004
20004
|
:type RiskId: str
|
|
20005
|
-
:param _Remark:
|
|
20005
|
+
:param _Remark: <p>备注</p>
|
|
20006
20006
|
:type Remark: str
|
|
20007
|
+
:param _WhitelistType: <p>白名单的类型</p><p>枚举值:</p><ul><li>static_risk: 静态配置扫描的白名单规则</li><li>audit: 审计白名单规则</li><li>ueba: ueba相关的白名单规则</li></ul>
|
|
20008
|
+
:type WhitelistType: str
|
|
20007
20009
|
"""
|
|
20008
20010
|
self._StrategyType = None
|
|
20009
20011
|
self._MemberId = None
|
|
@@ -20014,10 +20016,11 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20014
20016
|
self._Host = None
|
|
20015
20017
|
self._RiskId = None
|
|
20016
20018
|
self._Remark = None
|
|
20019
|
+
self._WhitelistType = None
|
|
20017
20020
|
|
|
20018
20021
|
@property
|
|
20019
20022
|
def StrategyType(self):
|
|
20020
|
-
r"""
|
|
20023
|
+
r"""<p>策略类型</p>
|
|
20021
20024
|
:rtype: str
|
|
20022
20025
|
"""
|
|
20023
20026
|
return self._StrategyType
|
|
@@ -20028,7 +20031,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20028
20031
|
|
|
20029
20032
|
@property
|
|
20030
20033
|
def MemberId(self):
|
|
20031
|
-
r"""
|
|
20034
|
+
r"""<p>集团账号的成员id</p>
|
|
20032
20035
|
:rtype: list of str
|
|
20033
20036
|
"""
|
|
20034
20037
|
return self._MemberId
|
|
@@ -20039,7 +20042,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20039
20042
|
|
|
20040
20043
|
@property
|
|
20041
20044
|
def Name(self):
|
|
20042
|
-
r"""
|
|
20045
|
+
r"""<p>白名单</p>
|
|
20043
20046
|
:rtype: str
|
|
20044
20047
|
"""
|
|
20045
20048
|
return self._Name
|
|
@@ -20050,7 +20053,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20050
20053
|
|
|
20051
20054
|
@property
|
|
20052
20055
|
def Rule(self):
|
|
20053
|
-
r"""
|
|
20056
|
+
r"""<p>规则</p>
|
|
20054
20057
|
:rtype: str
|
|
20055
20058
|
"""
|
|
20056
20059
|
return self._Rule
|
|
@@ -20061,7 +20064,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20061
20064
|
|
|
20062
20065
|
@property
|
|
20063
20066
|
def AssetId(self):
|
|
20064
|
-
r"""
|
|
20067
|
+
r"""<p>资产id</p>
|
|
20065
20068
|
:rtype: str
|
|
20066
20069
|
"""
|
|
20067
20070
|
return self._AssetId
|
|
@@ -20072,7 +20075,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20072
20075
|
|
|
20073
20076
|
@property
|
|
20074
20077
|
def Account(self):
|
|
20075
|
-
r"""
|
|
20078
|
+
r"""<p>账号</p>
|
|
20076
20079
|
:rtype: str
|
|
20077
20080
|
"""
|
|
20078
20081
|
return self._Account
|
|
@@ -20083,7 +20086,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20083
20086
|
|
|
20084
20087
|
@property
|
|
20085
20088
|
def Host(self):
|
|
20086
|
-
r"""
|
|
20089
|
+
r"""<p>主机</p>
|
|
20087
20090
|
:rtype: str
|
|
20088
20091
|
"""
|
|
20089
20092
|
return self._Host
|
|
@@ -20094,7 +20097,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20094
20097
|
|
|
20095
20098
|
@property
|
|
20096
20099
|
def RiskId(self):
|
|
20097
|
-
r"""
|
|
20100
|
+
r"""<p>风险id</p>
|
|
20098
20101
|
:rtype: str
|
|
20099
20102
|
"""
|
|
20100
20103
|
return self._RiskId
|
|
@@ -20105,7 +20108,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20105
20108
|
|
|
20106
20109
|
@property
|
|
20107
20110
|
def Remark(self):
|
|
20108
|
-
r"""
|
|
20111
|
+
r"""<p>备注</p>
|
|
20109
20112
|
:rtype: str
|
|
20110
20113
|
"""
|
|
20111
20114
|
return self._Remark
|
|
@@ -20114,6 +20117,17 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20114
20117
|
def Remark(self, Remark):
|
|
20115
20118
|
self._Remark = Remark
|
|
20116
20119
|
|
|
20120
|
+
@property
|
|
20121
|
+
def WhitelistType(self):
|
|
20122
|
+
r"""<p>白名单的类型</p><p>枚举值:</p><ul><li>static_risk: 静态配置扫描的白名单规则</li><li>audit: 审计白名单规则</li><li>ueba: ueba相关的白名单规则</li></ul>
|
|
20123
|
+
:rtype: str
|
|
20124
|
+
"""
|
|
20125
|
+
return self._WhitelistType
|
|
20126
|
+
|
|
20127
|
+
@WhitelistType.setter
|
|
20128
|
+
def WhitelistType(self, WhitelistType):
|
|
20129
|
+
self._WhitelistType = WhitelistType
|
|
20130
|
+
|
|
20117
20131
|
|
|
20118
20132
|
def _deserialize(self, params):
|
|
20119
20133
|
self._StrategyType = params.get("StrategyType")
|
|
@@ -20125,6 +20139,7 @@ class CreateDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
20125
20139
|
self._Host = params.get("Host")
|
|
20126
20140
|
self._RiskId = params.get("RiskId")
|
|
20127
20141
|
self._Remark = params.get("Remark")
|
|
20142
|
+
self._WhitelistType = params.get("WhitelistType")
|
|
20128
20143
|
memeber_set = set(params.keys())
|
|
20129
20144
|
for name, value in vars(self).items():
|
|
20130
20145
|
property_name = name[1:]
|
|
@@ -20142,7 +20157,7 @@ class CreateDspmWhitelistStrategyResponse(AbstractModel):
|
|
|
20142
20157
|
|
|
20143
20158
|
def __init__(self):
|
|
20144
20159
|
r"""
|
|
20145
|
-
:param _WhitelistStrategyId:
|
|
20160
|
+
:param _WhitelistStrategyId: <p>白名单id</p>
|
|
20146
20161
|
:type WhitelistStrategyId: str
|
|
20147
20162
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20148
20163
|
:type RequestId: str
|
|
@@ -20152,7 +20167,7 @@ class CreateDspmWhitelistStrategyResponse(AbstractModel):
|
|
|
20152
20167
|
|
|
20153
20168
|
@property
|
|
20154
20169
|
def WhitelistStrategyId(self):
|
|
20155
|
-
r"""
|
|
20170
|
+
r"""<p>白名单id</p>
|
|
20156
20171
|
:rtype: str
|
|
20157
20172
|
"""
|
|
20158
20173
|
return self._WhitelistStrategyId
|
|
@@ -23289,7 +23304,7 @@ class DeleteDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
23289
23304
|
|
|
23290
23305
|
def __init__(self):
|
|
23291
23306
|
r"""
|
|
23292
|
-
:param _MemberId:
|
|
23307
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
23293
23308
|
:type MemberId: list of str
|
|
23294
23309
|
:param _WhitelistStrategyId: 白名单id
|
|
23295
23310
|
:type WhitelistStrategyId: list of str
|
|
@@ -23299,7 +23314,7 @@ class DeleteDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
23299
23314
|
|
|
23300
23315
|
@property
|
|
23301
23316
|
def MemberId(self):
|
|
23302
|
-
r"""
|
|
23317
|
+
r"""<p>集团账号的成员id</p>
|
|
23303
23318
|
:rtype: list of str
|
|
23304
23319
|
"""
|
|
23305
23320
|
return self._MemberId
|
|
@@ -37969,7 +37984,7 @@ class DescribeDspmLogListRequest(AbstractModel):
|
|
|
37969
37984
|
|
|
37970
37985
|
def __init__(self):
|
|
37971
37986
|
r"""
|
|
37972
|
-
:param _MemberId:
|
|
37987
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
37973
37988
|
:type MemberId: list of str
|
|
37974
37989
|
:param _Limit: 限制数目
|
|
37975
37990
|
:type Limit: int
|
|
@@ -38021,7 +38036,7 @@ class DescribeDspmLogListRequest(AbstractModel):
|
|
|
38021
38036
|
:type RowNumMin: int
|
|
38022
38037
|
:param _RowNumMax: 影响行数最大值
|
|
38023
38038
|
:type RowNumMax: int
|
|
38024
|
-
:param _DbTypes:
|
|
38039
|
+
:param _DbTypes: 数据库类型, 支持的值:cdb,mariadb
|
|
38025
38040
|
:type DbTypes: list of str
|
|
38026
38041
|
:param _RetNo: 返回码
|
|
38027
38042
|
:type RetNo: int
|
|
@@ -38078,7 +38093,7 @@ class DescribeDspmLogListRequest(AbstractModel):
|
|
|
38078
38093
|
|
|
38079
38094
|
@property
|
|
38080
38095
|
def MemberId(self):
|
|
38081
|
-
r"""
|
|
38096
|
+
r"""<p>集团账号的成员id</p>
|
|
38082
38097
|
:rtype: list of str
|
|
38083
38098
|
"""
|
|
38084
38099
|
return self._MemberId
|
|
@@ -38364,7 +38379,7 @@ class DescribeDspmLogListRequest(AbstractModel):
|
|
|
38364
38379
|
|
|
38365
38380
|
@property
|
|
38366
38381
|
def DbTypes(self):
|
|
38367
|
-
r"""
|
|
38382
|
+
r"""数据库类型, 支持的值:cdb,mariadb
|
|
38368
38383
|
:rtype: list of str
|
|
38369
38384
|
"""
|
|
38370
38385
|
return self._DbTypes
|
|
@@ -39830,7 +39845,7 @@ class DescribeDspmRiskStrategyGroupRequest(AbstractModel):
|
|
|
39830
39845
|
|
|
39831
39846
|
def __init__(self):
|
|
39832
39847
|
r"""
|
|
39833
|
-
:param _MemberId:
|
|
39848
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
39834
39849
|
:type MemberId: list of str
|
|
39835
39850
|
:param _Filter: 过滤器
|
|
39836
39851
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
@@ -39840,7 +39855,7 @@ class DescribeDspmRiskStrategyGroupRequest(AbstractModel):
|
|
|
39840
39855
|
|
|
39841
39856
|
@property
|
|
39842
39857
|
def MemberId(self):
|
|
39843
|
-
r"""
|
|
39858
|
+
r"""<p>集团账号的成员id</p>
|
|
39844
39859
|
:rtype: list of str
|
|
39845
39860
|
"""
|
|
39846
39861
|
return self._MemberId
|
|
@@ -39946,7 +39961,7 @@ class DescribeDspmRiskStrategyRequest(AbstractModel):
|
|
|
39946
39961
|
|
|
39947
39962
|
def __init__(self):
|
|
39948
39963
|
r"""
|
|
39949
|
-
:param _MemberId:
|
|
39964
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
39950
39965
|
:type MemberId: list of str
|
|
39951
39966
|
:param _Filter: 过滤器
|
|
39952
39967
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
@@ -39956,7 +39971,7 @@ class DescribeDspmRiskStrategyRequest(AbstractModel):
|
|
|
39956
39971
|
|
|
39957
39972
|
@property
|
|
39958
39973
|
def MemberId(self):
|
|
39959
|
-
r"""
|
|
39974
|
+
r"""<p>集团账号的成员id</p>
|
|
39960
39975
|
:rtype: list of str
|
|
39961
39976
|
"""
|
|
39962
39977
|
return self._MemberId
|
|
@@ -40522,7 +40537,7 @@ class DescribeDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
40522
40537
|
|
|
40523
40538
|
def __init__(self):
|
|
40524
40539
|
r"""
|
|
40525
|
-
:param _MemberId:
|
|
40540
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
40526
40541
|
:type MemberId: list of str
|
|
40527
40542
|
:param _Filter: 过滤器
|
|
40528
40543
|
:type Filter: :class:`tencentcloud.csip.v20221121.models.Filter`
|
|
@@ -40532,7 +40547,7 @@ class DescribeDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
40532
40547
|
|
|
40533
40548
|
@property
|
|
40534
40549
|
def MemberId(self):
|
|
40535
|
-
r"""
|
|
40550
|
+
r"""<p>集团账号的成员id</p>
|
|
40536
40551
|
:rtype: list of str
|
|
40537
40552
|
"""
|
|
40538
40553
|
return self._MemberId
|
|
@@ -59683,34 +59698,41 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59683
59698
|
|
|
59684
59699
|
def __init__(self):
|
|
59685
59700
|
r"""
|
|
59686
|
-
:param _StrategyType:
|
|
59701
|
+
:param _StrategyType: <p>策略类型</p>
|
|
59687
59702
|
:type StrategyType: str
|
|
59688
|
-
:param _Name:
|
|
59703
|
+
:param _Name: <p>策略名</p>
|
|
59689
59704
|
:type Name: str
|
|
59690
|
-
:param _StrategyCategory:
|
|
59705
|
+
:param _StrategyCategory: <p>策略类型</p>
|
|
59691
59706
|
:type StrategyCategory: str
|
|
59692
|
-
:param _IsEnabled:
|
|
59707
|
+
:param _IsEnabled: <p>是否启用。0-禁用 1-启用</p>
|
|
59693
59708
|
:type IsEnabled: int
|
|
59694
|
-
:param _RiskLevel:
|
|
59709
|
+
:param _RiskLevel: <p>风险等级。</p>
|
|
59695
59710
|
:type RiskLevel: str
|
|
59696
|
-
:param _Rule:
|
|
59711
|
+
:param _Rule: <p>策略规则</p>
|
|
59697
59712
|
:type Rule: str
|
|
59698
|
-
:param _Remark:
|
|
59713
|
+
:param _Remark: <p>备注</p>
|
|
59699
59714
|
:type Remark: str
|
|
59700
|
-
:param _Description:
|
|
59715
|
+
:param _Description: <p>策略内容</p>
|
|
59701
59716
|
:type Description: str
|
|
59702
|
-
:param _HitCount:
|
|
59717
|
+
:param _HitCount: <p>命中次数</p>
|
|
59703
59718
|
:type HitCount: int
|
|
59704
|
-
:param _RiskType:
|
|
59719
|
+
:param _RiskType: <p>风险类型。risk-风险;alarm-告警。</p>
|
|
59705
59720
|
:type RiskType: str
|
|
59706
|
-
:param _AppId:
|
|
59721
|
+
:param _AppId: <p>资产所属账号app id</p>
|
|
59707
59722
|
:type AppId: int
|
|
59708
|
-
:param _NickName:
|
|
59723
|
+
:param _NickName: <p>账号昵称</p>
|
|
59709
59724
|
:type NickName: str
|
|
59710
|
-
:param _Uin:
|
|
59725
|
+
:param _Uin: <p>资产所属账号uin</p>
|
|
59711
59726
|
:type Uin: str
|
|
59712
|
-
:param _StrategyId:
|
|
59727
|
+
:param _StrategyId: <p>策略id</p>
|
|
59713
59728
|
:type StrategyId: int
|
|
59729
|
+
:param _RuleSource: <p>规则来源</p>
|
|
59730
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
59731
|
+
:type RuleSource: str
|
|
59732
|
+
:param _AssetTypes: <p>支持的资产类型</p>
|
|
59733
|
+
:type AssetTypes: list of str
|
|
59734
|
+
:param _RiskDescription: <p>风险描述</p>
|
|
59735
|
+
:type RiskDescription: str
|
|
59714
59736
|
"""
|
|
59715
59737
|
self._StrategyType = None
|
|
59716
59738
|
self._Name = None
|
|
@@ -59726,10 +59748,13 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59726
59748
|
self._NickName = None
|
|
59727
59749
|
self._Uin = None
|
|
59728
59750
|
self._StrategyId = None
|
|
59751
|
+
self._RuleSource = None
|
|
59752
|
+
self._AssetTypes = None
|
|
59753
|
+
self._RiskDescription = None
|
|
59729
59754
|
|
|
59730
59755
|
@property
|
|
59731
59756
|
def StrategyType(self):
|
|
59732
|
-
r"""
|
|
59757
|
+
r"""<p>策略类型</p>
|
|
59733
59758
|
:rtype: str
|
|
59734
59759
|
"""
|
|
59735
59760
|
return self._StrategyType
|
|
@@ -59740,7 +59765,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59740
59765
|
|
|
59741
59766
|
@property
|
|
59742
59767
|
def Name(self):
|
|
59743
|
-
r"""
|
|
59768
|
+
r"""<p>策略名</p>
|
|
59744
59769
|
:rtype: str
|
|
59745
59770
|
"""
|
|
59746
59771
|
return self._Name
|
|
@@ -59751,7 +59776,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59751
59776
|
|
|
59752
59777
|
@property
|
|
59753
59778
|
def StrategyCategory(self):
|
|
59754
|
-
r"""
|
|
59779
|
+
r"""<p>策略类型</p>
|
|
59755
59780
|
:rtype: str
|
|
59756
59781
|
"""
|
|
59757
59782
|
return self._StrategyCategory
|
|
@@ -59762,7 +59787,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59762
59787
|
|
|
59763
59788
|
@property
|
|
59764
59789
|
def IsEnabled(self):
|
|
59765
|
-
r"""
|
|
59790
|
+
r"""<p>是否启用。0-禁用 1-启用</p>
|
|
59766
59791
|
:rtype: int
|
|
59767
59792
|
"""
|
|
59768
59793
|
return self._IsEnabled
|
|
@@ -59773,7 +59798,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59773
59798
|
|
|
59774
59799
|
@property
|
|
59775
59800
|
def RiskLevel(self):
|
|
59776
|
-
r"""
|
|
59801
|
+
r"""<p>风险等级。</p>
|
|
59777
59802
|
:rtype: str
|
|
59778
59803
|
"""
|
|
59779
59804
|
return self._RiskLevel
|
|
@@ -59784,7 +59809,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59784
59809
|
|
|
59785
59810
|
@property
|
|
59786
59811
|
def Rule(self):
|
|
59787
|
-
r"""
|
|
59812
|
+
r"""<p>策略规则</p>
|
|
59788
59813
|
:rtype: str
|
|
59789
59814
|
"""
|
|
59790
59815
|
return self._Rule
|
|
@@ -59795,7 +59820,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59795
59820
|
|
|
59796
59821
|
@property
|
|
59797
59822
|
def Remark(self):
|
|
59798
|
-
r"""
|
|
59823
|
+
r"""<p>备注</p>
|
|
59799
59824
|
:rtype: str
|
|
59800
59825
|
"""
|
|
59801
59826
|
return self._Remark
|
|
@@ -59806,7 +59831,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59806
59831
|
|
|
59807
59832
|
@property
|
|
59808
59833
|
def Description(self):
|
|
59809
|
-
r"""
|
|
59834
|
+
r"""<p>策略内容</p>
|
|
59810
59835
|
:rtype: str
|
|
59811
59836
|
"""
|
|
59812
59837
|
return self._Description
|
|
@@ -59817,7 +59842,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59817
59842
|
|
|
59818
59843
|
@property
|
|
59819
59844
|
def HitCount(self):
|
|
59820
|
-
r"""
|
|
59845
|
+
r"""<p>命中次数</p>
|
|
59821
59846
|
:rtype: int
|
|
59822
59847
|
"""
|
|
59823
59848
|
return self._HitCount
|
|
@@ -59828,7 +59853,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59828
59853
|
|
|
59829
59854
|
@property
|
|
59830
59855
|
def RiskType(self):
|
|
59831
|
-
r"""
|
|
59856
|
+
r"""<p>风险类型。risk-风险;alarm-告警。</p>
|
|
59832
59857
|
:rtype: str
|
|
59833
59858
|
"""
|
|
59834
59859
|
return self._RiskType
|
|
@@ -59839,7 +59864,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59839
59864
|
|
|
59840
59865
|
@property
|
|
59841
59866
|
def AppId(self):
|
|
59842
|
-
r"""
|
|
59867
|
+
r"""<p>资产所属账号app id</p>
|
|
59843
59868
|
:rtype: int
|
|
59844
59869
|
"""
|
|
59845
59870
|
return self._AppId
|
|
@@ -59850,7 +59875,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59850
59875
|
|
|
59851
59876
|
@property
|
|
59852
59877
|
def NickName(self):
|
|
59853
|
-
r"""
|
|
59878
|
+
r"""<p>账号昵称</p>
|
|
59854
59879
|
:rtype: str
|
|
59855
59880
|
"""
|
|
59856
59881
|
return self._NickName
|
|
@@ -59861,7 +59886,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59861
59886
|
|
|
59862
59887
|
@property
|
|
59863
59888
|
def Uin(self):
|
|
59864
|
-
r"""
|
|
59889
|
+
r"""<p>资产所属账号uin</p>
|
|
59865
59890
|
:rtype: str
|
|
59866
59891
|
"""
|
|
59867
59892
|
return self._Uin
|
|
@@ -59872,7 +59897,7 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59872
59897
|
|
|
59873
59898
|
@property
|
|
59874
59899
|
def StrategyId(self):
|
|
59875
|
-
r"""
|
|
59900
|
+
r"""<p>策略id</p>
|
|
59876
59901
|
:rtype: int
|
|
59877
59902
|
"""
|
|
59878
59903
|
return self._StrategyId
|
|
@@ -59881,6 +59906,40 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59881
59906
|
def StrategyId(self, StrategyId):
|
|
59882
59907
|
self._StrategyId = StrategyId
|
|
59883
59908
|
|
|
59909
|
+
@property
|
|
59910
|
+
def RuleSource(self):
|
|
59911
|
+
r"""<p>规则来源</p>
|
|
59912
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
59913
|
+
:rtype: str
|
|
59914
|
+
"""
|
|
59915
|
+
return self._RuleSource
|
|
59916
|
+
|
|
59917
|
+
@RuleSource.setter
|
|
59918
|
+
def RuleSource(self, RuleSource):
|
|
59919
|
+
self._RuleSource = RuleSource
|
|
59920
|
+
|
|
59921
|
+
@property
|
|
59922
|
+
def AssetTypes(self):
|
|
59923
|
+
r"""<p>支持的资产类型</p>
|
|
59924
|
+
:rtype: list of str
|
|
59925
|
+
"""
|
|
59926
|
+
return self._AssetTypes
|
|
59927
|
+
|
|
59928
|
+
@AssetTypes.setter
|
|
59929
|
+
def AssetTypes(self, AssetTypes):
|
|
59930
|
+
self._AssetTypes = AssetTypes
|
|
59931
|
+
|
|
59932
|
+
@property
|
|
59933
|
+
def RiskDescription(self):
|
|
59934
|
+
r"""<p>风险描述</p>
|
|
59935
|
+
:rtype: str
|
|
59936
|
+
"""
|
|
59937
|
+
return self._RiskDescription
|
|
59938
|
+
|
|
59939
|
+
@RiskDescription.setter
|
|
59940
|
+
def RiskDescription(self, RiskDescription):
|
|
59941
|
+
self._RiskDescription = RiskDescription
|
|
59942
|
+
|
|
59884
59943
|
|
|
59885
59944
|
def _deserialize(self, params):
|
|
59886
59945
|
self._StrategyType = params.get("StrategyType")
|
|
@@ -59897,6 +59956,9 @@ class DspmRiskStrategy(AbstractModel):
|
|
|
59897
59956
|
self._NickName = params.get("NickName")
|
|
59898
59957
|
self._Uin = params.get("Uin")
|
|
59899
59958
|
self._StrategyId = params.get("StrategyId")
|
|
59959
|
+
self._RuleSource = params.get("RuleSource")
|
|
59960
|
+
self._AssetTypes = params.get("AssetTypes")
|
|
59961
|
+
self._RiskDescription = params.get("RiskDescription")
|
|
59900
59962
|
memeber_set = set(params.keys())
|
|
59901
59963
|
for name, value in vars(self).items():
|
|
59902
59964
|
property_name = name[1:]
|
|
@@ -59914,20 +59976,23 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59914
59976
|
|
|
59915
59977
|
def __init__(self):
|
|
59916
59978
|
r"""
|
|
59917
|
-
:param _StrategyType:
|
|
59979
|
+
:param _StrategyType: <p>策略类型</p>
|
|
59918
59980
|
:type StrategyType: str
|
|
59919
|
-
:param _Name:
|
|
59981
|
+
:param _Name: <p>策略名</p>
|
|
59920
59982
|
:type Name: str
|
|
59921
|
-
:param _StrategyCategory:
|
|
59983
|
+
:param _StrategyCategory: <p>策略类型</p>
|
|
59922
59984
|
:type StrategyCategory: str
|
|
59923
|
-
:param _IsEnabled:
|
|
59985
|
+
:param _IsEnabled: <p>是否启用。0-禁用 1-启用</p>
|
|
59924
59986
|
:type IsEnabled: int
|
|
59925
|
-
:param _HitCount:
|
|
59987
|
+
:param _HitCount: <p>命中次数</p>
|
|
59926
59988
|
:type HitCount: int
|
|
59927
|
-
:param _RiskType:
|
|
59989
|
+
:param _RiskType: <p>风险类型。risk-风险;alarm-告警。</p>
|
|
59928
59990
|
:type RiskType: str
|
|
59929
|
-
:param _StrategyList:
|
|
59991
|
+
:param _StrategyList: <p>策略列表</p>
|
|
59930
59992
|
:type StrategyList: list of DspmRiskStrategy
|
|
59993
|
+
:param _RuleSource: <p>规则来源</p>
|
|
59994
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
59995
|
+
:type RuleSource: str
|
|
59931
59996
|
"""
|
|
59932
59997
|
self._StrategyType = None
|
|
59933
59998
|
self._Name = None
|
|
@@ -59936,10 +60001,11 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59936
60001
|
self._HitCount = None
|
|
59937
60002
|
self._RiskType = None
|
|
59938
60003
|
self._StrategyList = None
|
|
60004
|
+
self._RuleSource = None
|
|
59939
60005
|
|
|
59940
60006
|
@property
|
|
59941
60007
|
def StrategyType(self):
|
|
59942
|
-
r"""
|
|
60008
|
+
r"""<p>策略类型</p>
|
|
59943
60009
|
:rtype: str
|
|
59944
60010
|
"""
|
|
59945
60011
|
return self._StrategyType
|
|
@@ -59950,7 +60016,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59950
60016
|
|
|
59951
60017
|
@property
|
|
59952
60018
|
def Name(self):
|
|
59953
|
-
r"""
|
|
60019
|
+
r"""<p>策略名</p>
|
|
59954
60020
|
:rtype: str
|
|
59955
60021
|
"""
|
|
59956
60022
|
return self._Name
|
|
@@ -59961,7 +60027,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59961
60027
|
|
|
59962
60028
|
@property
|
|
59963
60029
|
def StrategyCategory(self):
|
|
59964
|
-
r"""
|
|
60030
|
+
r"""<p>策略类型</p>
|
|
59965
60031
|
:rtype: str
|
|
59966
60032
|
"""
|
|
59967
60033
|
return self._StrategyCategory
|
|
@@ -59972,7 +60038,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59972
60038
|
|
|
59973
60039
|
@property
|
|
59974
60040
|
def IsEnabled(self):
|
|
59975
|
-
r"""
|
|
60041
|
+
r"""<p>是否启用。0-禁用 1-启用</p>
|
|
59976
60042
|
:rtype: int
|
|
59977
60043
|
"""
|
|
59978
60044
|
return self._IsEnabled
|
|
@@ -59983,7 +60049,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59983
60049
|
|
|
59984
60050
|
@property
|
|
59985
60051
|
def HitCount(self):
|
|
59986
|
-
r"""
|
|
60052
|
+
r"""<p>命中次数</p>
|
|
59987
60053
|
:rtype: int
|
|
59988
60054
|
"""
|
|
59989
60055
|
return self._HitCount
|
|
@@ -59994,7 +60060,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
59994
60060
|
|
|
59995
60061
|
@property
|
|
59996
60062
|
def RiskType(self):
|
|
59997
|
-
r"""
|
|
60063
|
+
r"""<p>风险类型。risk-风险;alarm-告警。</p>
|
|
59998
60064
|
:rtype: str
|
|
59999
60065
|
"""
|
|
60000
60066
|
return self._RiskType
|
|
@@ -60005,7 +60071,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
60005
60071
|
|
|
60006
60072
|
@property
|
|
60007
60073
|
def StrategyList(self):
|
|
60008
|
-
r"""
|
|
60074
|
+
r"""<p>策略列表</p>
|
|
60009
60075
|
:rtype: list of DspmRiskStrategy
|
|
60010
60076
|
"""
|
|
60011
60077
|
return self._StrategyList
|
|
@@ -60014,6 +60080,18 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
60014
60080
|
def StrategyList(self, StrategyList):
|
|
60015
60081
|
self._StrategyList = StrategyList
|
|
60016
60082
|
|
|
60083
|
+
@property
|
|
60084
|
+
def RuleSource(self):
|
|
60085
|
+
r"""<p>规则来源</p>
|
|
60086
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
60087
|
+
:rtype: str
|
|
60088
|
+
"""
|
|
60089
|
+
return self._RuleSource
|
|
60090
|
+
|
|
60091
|
+
@RuleSource.setter
|
|
60092
|
+
def RuleSource(self, RuleSource):
|
|
60093
|
+
self._RuleSource = RuleSource
|
|
60094
|
+
|
|
60017
60095
|
|
|
60018
60096
|
def _deserialize(self, params):
|
|
60019
60097
|
self._StrategyType = params.get("StrategyType")
|
|
@@ -60028,6 +60106,7 @@ class DspmRiskStrategyGroup(AbstractModel):
|
|
|
60028
60106
|
obj = DspmRiskStrategy()
|
|
60029
60107
|
obj._deserialize(item)
|
|
60030
60108
|
self._StrategyList.append(obj)
|
|
60109
|
+
self._RuleSource = params.get("RuleSource")
|
|
60031
60110
|
memeber_set = set(params.keys())
|
|
60032
60111
|
for name, value in vars(self).items():
|
|
60033
60112
|
property_name = name[1:]
|
|
@@ -60781,36 +60860,38 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60781
60860
|
|
|
60782
60861
|
def __init__(self):
|
|
60783
60862
|
r"""
|
|
60784
|
-
:param _WhitelistStrategyId:
|
|
60863
|
+
:param _WhitelistStrategyId: <p>白名单策略id</p>
|
|
60785
60864
|
:type WhitelistStrategyId: str
|
|
60786
|
-
:param _StrategyType:
|
|
60865
|
+
:param _StrategyType: <p>策略类型</p>
|
|
60787
60866
|
:type StrategyType: str
|
|
60788
|
-
:param _Name:
|
|
60867
|
+
:param _Name: <p>白名单策略名</p>
|
|
60789
60868
|
:type Name: str
|
|
60790
|
-
:param _StrategyCategory:
|
|
60869
|
+
:param _StrategyCategory: <p>策略类型</p>
|
|
60791
60870
|
:type StrategyCategory: str
|
|
60792
|
-
:param _Rule:
|
|
60871
|
+
:param _Rule: <p>策略规则</p>
|
|
60793
60872
|
:type Rule: str
|
|
60794
|
-
:param _Remark:
|
|
60873
|
+
:param _Remark: <p>备注</p>
|
|
60795
60874
|
:type Remark: str
|
|
60796
|
-
:param _ModifyTime:
|
|
60875
|
+
:param _ModifyTime: <p>修改时间</p>
|
|
60797
60876
|
:type ModifyTime: str
|
|
60798
|
-
:param _AssetId:
|
|
60877
|
+
:param _AssetId: <p>资产id</p>
|
|
60799
60878
|
:type AssetId: str
|
|
60800
|
-
:param _Account:
|
|
60879
|
+
:param _Account: <p>账号</p>
|
|
60801
60880
|
:type Account: str
|
|
60802
|
-
:param _Host:
|
|
60881
|
+
:param _Host: <p>主机</p>
|
|
60803
60882
|
:type Host: str
|
|
60804
|
-
:param _Description:
|
|
60883
|
+
:param _Description: <p>策略规则内容描述</p>
|
|
60805
60884
|
:type Description: str
|
|
60806
|
-
:param _RiskType:
|
|
60885
|
+
:param _RiskType: <p>白名单类型。risk-风险白名单;alarm-告警白名单。</p>
|
|
60807
60886
|
:type RiskType: str
|
|
60808
|
-
:param _AppId:
|
|
60887
|
+
:param _AppId: <p>资产所属账号app id</p>
|
|
60809
60888
|
:type AppId: int
|
|
60810
|
-
:param _NickName:
|
|
60889
|
+
:param _NickName: <p>账号昵称</p>
|
|
60811
60890
|
:type NickName: str
|
|
60812
|
-
:param _Uin:
|
|
60891
|
+
:param _Uin: <p>资产所属账号uin</p>
|
|
60813
60892
|
:type Uin: str
|
|
60893
|
+
:param _WhitelistType: <p>白名单类型</p>
|
|
60894
|
+
:type WhitelistType: str
|
|
60814
60895
|
"""
|
|
60815
60896
|
self._WhitelistStrategyId = None
|
|
60816
60897
|
self._StrategyType = None
|
|
@@ -60827,10 +60908,11 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60827
60908
|
self._AppId = None
|
|
60828
60909
|
self._NickName = None
|
|
60829
60910
|
self._Uin = None
|
|
60911
|
+
self._WhitelistType = None
|
|
60830
60912
|
|
|
60831
60913
|
@property
|
|
60832
60914
|
def WhitelistStrategyId(self):
|
|
60833
|
-
r"""
|
|
60915
|
+
r"""<p>白名单策略id</p>
|
|
60834
60916
|
:rtype: str
|
|
60835
60917
|
"""
|
|
60836
60918
|
return self._WhitelistStrategyId
|
|
@@ -60841,7 +60923,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60841
60923
|
|
|
60842
60924
|
@property
|
|
60843
60925
|
def StrategyType(self):
|
|
60844
|
-
r"""
|
|
60926
|
+
r"""<p>策略类型</p>
|
|
60845
60927
|
:rtype: str
|
|
60846
60928
|
"""
|
|
60847
60929
|
return self._StrategyType
|
|
@@ -60852,7 +60934,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60852
60934
|
|
|
60853
60935
|
@property
|
|
60854
60936
|
def Name(self):
|
|
60855
|
-
r"""
|
|
60937
|
+
r"""<p>白名单策略名</p>
|
|
60856
60938
|
:rtype: str
|
|
60857
60939
|
"""
|
|
60858
60940
|
return self._Name
|
|
@@ -60863,7 +60945,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60863
60945
|
|
|
60864
60946
|
@property
|
|
60865
60947
|
def StrategyCategory(self):
|
|
60866
|
-
r"""
|
|
60948
|
+
r"""<p>策略类型</p>
|
|
60867
60949
|
:rtype: str
|
|
60868
60950
|
"""
|
|
60869
60951
|
return self._StrategyCategory
|
|
@@ -60874,7 +60956,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60874
60956
|
|
|
60875
60957
|
@property
|
|
60876
60958
|
def Rule(self):
|
|
60877
|
-
r"""
|
|
60959
|
+
r"""<p>策略规则</p>
|
|
60878
60960
|
:rtype: str
|
|
60879
60961
|
"""
|
|
60880
60962
|
return self._Rule
|
|
@@ -60885,7 +60967,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60885
60967
|
|
|
60886
60968
|
@property
|
|
60887
60969
|
def Remark(self):
|
|
60888
|
-
r"""
|
|
60970
|
+
r"""<p>备注</p>
|
|
60889
60971
|
:rtype: str
|
|
60890
60972
|
"""
|
|
60891
60973
|
return self._Remark
|
|
@@ -60896,7 +60978,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60896
60978
|
|
|
60897
60979
|
@property
|
|
60898
60980
|
def ModifyTime(self):
|
|
60899
|
-
r"""
|
|
60981
|
+
r"""<p>修改时间</p>
|
|
60900
60982
|
:rtype: str
|
|
60901
60983
|
"""
|
|
60902
60984
|
return self._ModifyTime
|
|
@@ -60907,7 +60989,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60907
60989
|
|
|
60908
60990
|
@property
|
|
60909
60991
|
def AssetId(self):
|
|
60910
|
-
r"""
|
|
60992
|
+
r"""<p>资产id</p>
|
|
60911
60993
|
:rtype: str
|
|
60912
60994
|
"""
|
|
60913
60995
|
return self._AssetId
|
|
@@ -60918,7 +61000,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60918
61000
|
|
|
60919
61001
|
@property
|
|
60920
61002
|
def Account(self):
|
|
60921
|
-
r"""
|
|
61003
|
+
r"""<p>账号</p>
|
|
60922
61004
|
:rtype: str
|
|
60923
61005
|
"""
|
|
60924
61006
|
return self._Account
|
|
@@ -60929,7 +61011,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60929
61011
|
|
|
60930
61012
|
@property
|
|
60931
61013
|
def Host(self):
|
|
60932
|
-
r"""
|
|
61014
|
+
r"""<p>主机</p>
|
|
60933
61015
|
:rtype: str
|
|
60934
61016
|
"""
|
|
60935
61017
|
return self._Host
|
|
@@ -60940,7 +61022,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60940
61022
|
|
|
60941
61023
|
@property
|
|
60942
61024
|
def Description(self):
|
|
60943
|
-
r"""
|
|
61025
|
+
r"""<p>策略规则内容描述</p>
|
|
60944
61026
|
:rtype: str
|
|
60945
61027
|
"""
|
|
60946
61028
|
return self._Description
|
|
@@ -60951,7 +61033,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60951
61033
|
|
|
60952
61034
|
@property
|
|
60953
61035
|
def RiskType(self):
|
|
60954
|
-
r"""
|
|
61036
|
+
r"""<p>白名单类型。risk-风险白名单;alarm-告警白名单。</p>
|
|
60955
61037
|
:rtype: str
|
|
60956
61038
|
"""
|
|
60957
61039
|
return self._RiskType
|
|
@@ -60962,7 +61044,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60962
61044
|
|
|
60963
61045
|
@property
|
|
60964
61046
|
def AppId(self):
|
|
60965
|
-
r"""
|
|
61047
|
+
r"""<p>资产所属账号app id</p>
|
|
60966
61048
|
:rtype: int
|
|
60967
61049
|
"""
|
|
60968
61050
|
return self._AppId
|
|
@@ -60973,7 +61055,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60973
61055
|
|
|
60974
61056
|
@property
|
|
60975
61057
|
def NickName(self):
|
|
60976
|
-
r"""
|
|
61058
|
+
r"""<p>账号昵称</p>
|
|
60977
61059
|
:rtype: str
|
|
60978
61060
|
"""
|
|
60979
61061
|
return self._NickName
|
|
@@ -60984,7 +61066,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60984
61066
|
|
|
60985
61067
|
@property
|
|
60986
61068
|
def Uin(self):
|
|
60987
|
-
r"""
|
|
61069
|
+
r"""<p>资产所属账号uin</p>
|
|
60988
61070
|
:rtype: str
|
|
60989
61071
|
"""
|
|
60990
61072
|
return self._Uin
|
|
@@ -60993,6 +61075,17 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
60993
61075
|
def Uin(self, Uin):
|
|
60994
61076
|
self._Uin = Uin
|
|
60995
61077
|
|
|
61078
|
+
@property
|
|
61079
|
+
def WhitelistType(self):
|
|
61080
|
+
r"""<p>白名单类型</p>
|
|
61081
|
+
:rtype: str
|
|
61082
|
+
"""
|
|
61083
|
+
return self._WhitelistType
|
|
61084
|
+
|
|
61085
|
+
@WhitelistType.setter
|
|
61086
|
+
def WhitelistType(self, WhitelistType):
|
|
61087
|
+
self._WhitelistType = WhitelistType
|
|
61088
|
+
|
|
60996
61089
|
|
|
60997
61090
|
def _deserialize(self, params):
|
|
60998
61091
|
self._WhitelistStrategyId = params.get("WhitelistStrategyId")
|
|
@@ -61010,6 +61103,7 @@ class DspmWhitelistStrategy(AbstractModel):
|
|
|
61010
61103
|
self._AppId = params.get("AppId")
|
|
61011
61104
|
self._NickName = params.get("NickName")
|
|
61012
61105
|
self._Uin = params.get("Uin")
|
|
61106
|
+
self._WhitelistType = params.get("WhitelistType")
|
|
61013
61107
|
memeber_set = set(params.keys())
|
|
61014
61108
|
for name, value in vars(self).items():
|
|
61015
61109
|
property_name = name[1:]
|
|
@@ -72264,18 +72358,24 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72264
72358
|
|
|
72265
72359
|
def __init__(self):
|
|
72266
72360
|
r"""
|
|
72267
|
-
:param _MemberId:
|
|
72361
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
72268
72362
|
:type MemberId: list of str
|
|
72269
|
-
:param _StrategyType:
|
|
72363
|
+
:param _StrategyType: <p>风险策略类型</p>
|
|
72270
72364
|
:type StrategyType: str
|
|
72271
|
-
:param _IsEnabled:
|
|
72365
|
+
:param _IsEnabled: <p>是否启用</p>
|
|
72272
72366
|
:type IsEnabled: int
|
|
72273
|
-
:param _Rule:
|
|
72367
|
+
:param _Rule: <p>策略内容,如:{ ThresholdValue: "100" }</p>
|
|
72274
72368
|
:type Rule: str
|
|
72275
|
-
:param _RiskLevel:
|
|
72369
|
+
:param _RiskLevel: <p>可选值:Info/Low/Medium/High</p>
|
|
72276
72370
|
:type RiskLevel: str
|
|
72277
|
-
:param _StrategyId:
|
|
72371
|
+
:param _StrategyId: <p>策略id</p>
|
|
72278
72372
|
:type StrategyId: list of int non-negative
|
|
72373
|
+
:param _Name: <p>策略名</p>
|
|
72374
|
+
:type Name: str
|
|
72375
|
+
:param _Description: <p>策略描述</p>
|
|
72376
|
+
:type Description: str
|
|
72377
|
+
:param _DbTypes: <p>支持的数据库类型</p>
|
|
72378
|
+
:type DbTypes: str
|
|
72279
72379
|
"""
|
|
72280
72380
|
self._MemberId = None
|
|
72281
72381
|
self._StrategyType = None
|
|
@@ -72283,10 +72383,13 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72283
72383
|
self._Rule = None
|
|
72284
72384
|
self._RiskLevel = None
|
|
72285
72385
|
self._StrategyId = None
|
|
72386
|
+
self._Name = None
|
|
72387
|
+
self._Description = None
|
|
72388
|
+
self._DbTypes = None
|
|
72286
72389
|
|
|
72287
72390
|
@property
|
|
72288
72391
|
def MemberId(self):
|
|
72289
|
-
r"""
|
|
72392
|
+
r"""<p>集团账号的成员id</p>
|
|
72290
72393
|
:rtype: list of str
|
|
72291
72394
|
"""
|
|
72292
72395
|
return self._MemberId
|
|
@@ -72297,7 +72400,7 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72297
72400
|
|
|
72298
72401
|
@property
|
|
72299
72402
|
def StrategyType(self):
|
|
72300
|
-
r"""
|
|
72403
|
+
r"""<p>风险策略类型</p>
|
|
72301
72404
|
:rtype: str
|
|
72302
72405
|
"""
|
|
72303
72406
|
return self._StrategyType
|
|
@@ -72308,7 +72411,7 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72308
72411
|
|
|
72309
72412
|
@property
|
|
72310
72413
|
def IsEnabled(self):
|
|
72311
|
-
r"""
|
|
72414
|
+
r"""<p>是否启用</p>
|
|
72312
72415
|
:rtype: int
|
|
72313
72416
|
"""
|
|
72314
72417
|
return self._IsEnabled
|
|
@@ -72319,7 +72422,7 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72319
72422
|
|
|
72320
72423
|
@property
|
|
72321
72424
|
def Rule(self):
|
|
72322
|
-
r"""
|
|
72425
|
+
r"""<p>策略内容,如:{ ThresholdValue: "100" }</p>
|
|
72323
72426
|
:rtype: str
|
|
72324
72427
|
"""
|
|
72325
72428
|
return self._Rule
|
|
@@ -72330,7 +72433,7 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72330
72433
|
|
|
72331
72434
|
@property
|
|
72332
72435
|
def RiskLevel(self):
|
|
72333
|
-
r"""
|
|
72436
|
+
r"""<p>可选值:Info/Low/Medium/High</p>
|
|
72334
72437
|
:rtype: str
|
|
72335
72438
|
"""
|
|
72336
72439
|
return self._RiskLevel
|
|
@@ -72341,7 +72444,7 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72341
72444
|
|
|
72342
72445
|
@property
|
|
72343
72446
|
def StrategyId(self):
|
|
72344
|
-
r"""
|
|
72447
|
+
r"""<p>策略id</p>
|
|
72345
72448
|
:rtype: list of int non-negative
|
|
72346
72449
|
"""
|
|
72347
72450
|
return self._StrategyId
|
|
@@ -72350,6 +72453,39 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72350
72453
|
def StrategyId(self, StrategyId):
|
|
72351
72454
|
self._StrategyId = StrategyId
|
|
72352
72455
|
|
|
72456
|
+
@property
|
|
72457
|
+
def Name(self):
|
|
72458
|
+
r"""<p>策略名</p>
|
|
72459
|
+
:rtype: str
|
|
72460
|
+
"""
|
|
72461
|
+
return self._Name
|
|
72462
|
+
|
|
72463
|
+
@Name.setter
|
|
72464
|
+
def Name(self, Name):
|
|
72465
|
+
self._Name = Name
|
|
72466
|
+
|
|
72467
|
+
@property
|
|
72468
|
+
def Description(self):
|
|
72469
|
+
r"""<p>策略描述</p>
|
|
72470
|
+
:rtype: str
|
|
72471
|
+
"""
|
|
72472
|
+
return self._Description
|
|
72473
|
+
|
|
72474
|
+
@Description.setter
|
|
72475
|
+
def Description(self, Description):
|
|
72476
|
+
self._Description = Description
|
|
72477
|
+
|
|
72478
|
+
@property
|
|
72479
|
+
def DbTypes(self):
|
|
72480
|
+
r"""<p>支持的数据库类型</p>
|
|
72481
|
+
:rtype: str
|
|
72482
|
+
"""
|
|
72483
|
+
return self._DbTypes
|
|
72484
|
+
|
|
72485
|
+
@DbTypes.setter
|
|
72486
|
+
def DbTypes(self, DbTypes):
|
|
72487
|
+
self._DbTypes = DbTypes
|
|
72488
|
+
|
|
72353
72489
|
|
|
72354
72490
|
def _deserialize(self, params):
|
|
72355
72491
|
self._MemberId = params.get("MemberId")
|
|
@@ -72358,6 +72494,9 @@ class ModifyDspmRiskStrategyRequest(AbstractModel):
|
|
|
72358
72494
|
self._Rule = params.get("Rule")
|
|
72359
72495
|
self._RiskLevel = params.get("RiskLevel")
|
|
72360
72496
|
self._StrategyId = params.get("StrategyId")
|
|
72497
|
+
self._Name = params.get("Name")
|
|
72498
|
+
self._Description = params.get("Description")
|
|
72499
|
+
self._DbTypes = params.get("DbTypes")
|
|
72361
72500
|
memeber_set = set(params.keys())
|
|
72362
72501
|
for name, value in vars(self).items():
|
|
72363
72502
|
property_name = name[1:]
|
|
@@ -72403,7 +72542,7 @@ class ModifyDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
72403
72542
|
|
|
72404
72543
|
def __init__(self):
|
|
72405
72544
|
r"""
|
|
72406
|
-
:param _MemberId:
|
|
72545
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
72407
72546
|
:type MemberId: list of str
|
|
72408
72547
|
:param _WhitelistStrategyId: 白名单id
|
|
72409
72548
|
:type WhitelistStrategyId: str
|
|
@@ -72422,7 +72561,7 @@ class ModifyDspmWhitelistStrategyRequest(AbstractModel):
|
|
|
72422
72561
|
|
|
72423
72562
|
@property
|
|
72424
72563
|
def MemberId(self):
|
|
72425
|
-
r"""
|
|
72564
|
+
r"""<p>集团账号的成员id</p>
|
|
72426
72565
|
:rtype: list of str
|
|
72427
72566
|
"""
|
|
72428
72567
|
return self._MemberId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-csip
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.150
|
|
4
4
|
Summary: Tencent Cloud Csip 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.150
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.150
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.147
|
|
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
|