tencentcloud-sdk-python-csip 3.1.189__tar.gz → 3.1.193__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.189 → tencentcloud_sdk_python_csip-3.1.193}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/setup.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/v20221121/csip_client.py +5 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/v20221121/csip_client_async.py +5 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/v20221121/models.py +404 -14
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud_sdk_python_csip.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_csip-3.1.193/tencentcloud_sdk_python_csip.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_csip-3.1.189/tencentcloud_sdk_python_csip.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/README.rst +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/setup.cfg +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/v20221121/__init__.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud/csip/v20221121/errorcodes.py +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud_sdk_python_csip.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/tencentcloud_sdk_python_csip.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_csip-3.1.189 → tencentcloud_sdk_python_csip-3.1.193}/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.193
|
|
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.193
|
|
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.193,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Csip SDK for Python',
|
|
@@ -5519,6 +5519,11 @@ class CsipClient(AbstractClient):
|
|
|
5519
5519
|
def DescribeCSCPayInfo(self, request):
|
|
5520
5520
|
r"""查询当前账号的合并版计费信息,包括订单状态、付费模式以及配额等详细信息。
|
|
5521
5521
|
|
|
5522
|
+
补充说明:
|
|
5523
|
+
1. 请求参数 NeedQuotaUsed 默认为 false,此时不采集配额用量,QuotaList 中的 QuotaUsed 恒为 0;需要展示已用量的调用方显式传 true;
|
|
5524
|
+
2. NeedQuotaUsed 为 true 时,若配额用量查询失败,接口仍正常返回订单信息,错误提示保存在 QuotaUsedError 字段,此时 QuotaUsed 恒为 0;
|
|
5525
|
+
3. 可通过公共参数 MemberId 查询集团成员的计费信息。
|
|
5526
|
+
|
|
5522
5527
|
:param request: Request instance for DescribeCSCPayInfo.
|
|
5523
5528
|
:type request: :class:`tencentcloud.csip.v20221121.models.DescribeCSCPayInfoRequest`
|
|
5524
5529
|
:rtype: :class:`tencentcloud.csip.v20221121.models.DescribeCSCPayInfoResponse`
|
|
@@ -4332,6 +4332,11 @@ class CsipClient(AbstractClient):
|
|
|
4332
4332
|
) -> models.DescribeCSCPayInfoResponse:
|
|
4333
4333
|
"""
|
|
4334
4334
|
查询当前账号的合并版计费信息,包括订单状态、付费模式以及配额等详细信息。
|
|
4335
|
+
|
|
4336
|
+
补充说明:
|
|
4337
|
+
1. 请求参数 NeedQuotaUsed 默认为 false,此时不采集配额用量,QuotaList 中的 QuotaUsed 恒为 0;需要展示已用量的调用方显式传 true;
|
|
4338
|
+
2. NeedQuotaUsed 为 true 时,若配额用量查询失败,接口仍正常返回订单信息,错误提示保存在 QuotaUsedError 字段,此时 QuotaUsed 恒为 0;
|
|
4339
|
+
3. 可通过公共参数 MemberId 查询集团成员的计费信息。
|
|
4335
4340
|
"""
|
|
4336
4341
|
|
|
4337
4342
|
kwargs = {}
|
|
@@ -14661,6 +14661,8 @@ class BaselineAggregatedPolicy(AbstractModel):
|
|
|
14661
14661
|
:type CheckAssetType: str
|
|
14662
14662
|
:param _Scanned: <p>该基线类别是否被扫描过</p>
|
|
14663
14663
|
:type Scanned: bool
|
|
14664
|
+
:param _AppID: <p>自定义策略情况下策略的appid</p>
|
|
14665
|
+
:type AppID: int
|
|
14664
14666
|
"""
|
|
14665
14667
|
self._ParentCategoryID = None
|
|
14666
14668
|
self._PolicyID = None
|
|
@@ -14675,6 +14677,7 @@ class BaselineAggregatedPolicy(AbstractModel):
|
|
|
14675
14677
|
self._PolicyType = None
|
|
14676
14678
|
self._CheckAssetType = None
|
|
14677
14679
|
self._Scanned = None
|
|
14680
|
+
self._AppID = None
|
|
14678
14681
|
|
|
14679
14682
|
@property
|
|
14680
14683
|
def ParentCategoryID(self):
|
|
@@ -14819,6 +14822,17 @@ class BaselineAggregatedPolicy(AbstractModel):
|
|
|
14819
14822
|
def Scanned(self, Scanned):
|
|
14820
14823
|
self._Scanned = Scanned
|
|
14821
14824
|
|
|
14825
|
+
@property
|
|
14826
|
+
def AppID(self):
|
|
14827
|
+
r"""<p>自定义策略情况下策略的appid</p>
|
|
14828
|
+
:rtype: int
|
|
14829
|
+
"""
|
|
14830
|
+
return self._AppID
|
|
14831
|
+
|
|
14832
|
+
@AppID.setter
|
|
14833
|
+
def AppID(self, AppID):
|
|
14834
|
+
self._AppID = AppID
|
|
14835
|
+
|
|
14822
14836
|
|
|
14823
14837
|
def _deserialize(self, params):
|
|
14824
14838
|
self._ParentCategoryID = params.get("ParentCategoryID")
|
|
@@ -14844,6 +14858,7 @@ class BaselineAggregatedPolicy(AbstractModel):
|
|
|
14844
14858
|
self._PolicyType = params.get("PolicyType")
|
|
14845
14859
|
self._CheckAssetType = params.get("CheckAssetType")
|
|
14846
14860
|
self._Scanned = params.get("Scanned")
|
|
14861
|
+
self._AppID = params.get("AppID")
|
|
14847
14862
|
memeber_set = set(params.keys())
|
|
14848
14863
|
for name, value in vars(self).items():
|
|
14849
14864
|
property_name = name[1:]
|
|
@@ -16000,6 +16015,8 @@ class BaselineMainTask(AbstractModel):
|
|
|
16000
16015
|
:type ScanFailedCount: int
|
|
16001
16016
|
:param _ScanTotalCount: <p>子任务总数</p>
|
|
16002
16017
|
:type ScanTotalCount: int
|
|
16018
|
+
:param _PolicyList: <p>检测的策略列表</p>
|
|
16019
|
+
:type PolicyList: list of BaselinePolicyBrief
|
|
16003
16020
|
"""
|
|
16004
16021
|
self._JobID = None
|
|
16005
16022
|
self._ID = None
|
|
@@ -16015,6 +16032,7 @@ class BaselineMainTask(AbstractModel):
|
|
|
16015
16032
|
self._ScanSuccessCount = None
|
|
16016
16033
|
self._ScanFailedCount = None
|
|
16017
16034
|
self._ScanTotalCount = None
|
|
16035
|
+
self._PolicyList = None
|
|
16018
16036
|
|
|
16019
16037
|
@property
|
|
16020
16038
|
def JobID(self):
|
|
@@ -16170,6 +16188,17 @@ class BaselineMainTask(AbstractModel):
|
|
|
16170
16188
|
def ScanTotalCount(self, ScanTotalCount):
|
|
16171
16189
|
self._ScanTotalCount = ScanTotalCount
|
|
16172
16190
|
|
|
16191
|
+
@property
|
|
16192
|
+
def PolicyList(self):
|
|
16193
|
+
r"""<p>检测的策略列表</p>
|
|
16194
|
+
:rtype: list of BaselinePolicyBrief
|
|
16195
|
+
"""
|
|
16196
|
+
return self._PolicyList
|
|
16197
|
+
|
|
16198
|
+
@PolicyList.setter
|
|
16199
|
+
def PolicyList(self, PolicyList):
|
|
16200
|
+
self._PolicyList = PolicyList
|
|
16201
|
+
|
|
16173
16202
|
|
|
16174
16203
|
def _deserialize(self, params):
|
|
16175
16204
|
self._JobID = params.get("JobID")
|
|
@@ -16186,6 +16215,12 @@ class BaselineMainTask(AbstractModel):
|
|
|
16186
16215
|
self._ScanSuccessCount = params.get("ScanSuccessCount")
|
|
16187
16216
|
self._ScanFailedCount = params.get("ScanFailedCount")
|
|
16188
16217
|
self._ScanTotalCount = params.get("ScanTotalCount")
|
|
16218
|
+
if params.get("PolicyList") is not None:
|
|
16219
|
+
self._PolicyList = []
|
|
16220
|
+
for item in params.get("PolicyList"):
|
|
16221
|
+
obj = BaselinePolicyBrief()
|
|
16222
|
+
obj._deserialize(item)
|
|
16223
|
+
self._PolicyList.append(obj)
|
|
16189
16224
|
memeber_set = set(params.keys())
|
|
16190
16225
|
for name, value in vars(self).items():
|
|
16191
16226
|
property_name = name[1:]
|
|
@@ -16675,6 +16710,72 @@ class BaselinePolicy(AbstractModel):
|
|
|
16675
16710
|
|
|
16676
16711
|
|
|
16677
16712
|
|
|
16713
|
+
class BaselinePolicyBrief(AbstractModel):
|
|
16714
|
+
r"""基线策略简要信息
|
|
16715
|
+
|
|
16716
|
+
"""
|
|
16717
|
+
|
|
16718
|
+
def __init__(self):
|
|
16719
|
+
r"""
|
|
16720
|
+
:param _ID: <p>基线策略 ID。</p>
|
|
16721
|
+
:type ID: int
|
|
16722
|
+
:param _PolicyName: <p>基线策略名称。</p>
|
|
16723
|
+
:type PolicyName: str
|
|
16724
|
+
:param _IsSystem: <p>是否为系统内置策略。true 是,false 否(用户自定义策略)。</p>
|
|
16725
|
+
:type IsSystem: bool
|
|
16726
|
+
"""
|
|
16727
|
+
self._ID = None
|
|
16728
|
+
self._PolicyName = None
|
|
16729
|
+
self._IsSystem = None
|
|
16730
|
+
|
|
16731
|
+
@property
|
|
16732
|
+
def ID(self):
|
|
16733
|
+
r"""<p>基线策略 ID。</p>
|
|
16734
|
+
:rtype: int
|
|
16735
|
+
"""
|
|
16736
|
+
return self._ID
|
|
16737
|
+
|
|
16738
|
+
@ID.setter
|
|
16739
|
+
def ID(self, ID):
|
|
16740
|
+
self._ID = ID
|
|
16741
|
+
|
|
16742
|
+
@property
|
|
16743
|
+
def PolicyName(self):
|
|
16744
|
+
r"""<p>基线策略名称。</p>
|
|
16745
|
+
:rtype: str
|
|
16746
|
+
"""
|
|
16747
|
+
return self._PolicyName
|
|
16748
|
+
|
|
16749
|
+
@PolicyName.setter
|
|
16750
|
+
def PolicyName(self, PolicyName):
|
|
16751
|
+
self._PolicyName = PolicyName
|
|
16752
|
+
|
|
16753
|
+
@property
|
|
16754
|
+
def IsSystem(self):
|
|
16755
|
+
r"""<p>是否为系统内置策略。true 是,false 否(用户自定义策略)。</p>
|
|
16756
|
+
:rtype: bool
|
|
16757
|
+
"""
|
|
16758
|
+
return self._IsSystem
|
|
16759
|
+
|
|
16760
|
+
@IsSystem.setter
|
|
16761
|
+
def IsSystem(self, IsSystem):
|
|
16762
|
+
self._IsSystem = IsSystem
|
|
16763
|
+
|
|
16764
|
+
|
|
16765
|
+
def _deserialize(self, params):
|
|
16766
|
+
self._ID = params.get("ID")
|
|
16767
|
+
self._PolicyName = params.get("PolicyName")
|
|
16768
|
+
self._IsSystem = params.get("IsSystem")
|
|
16769
|
+
memeber_set = set(params.keys())
|
|
16770
|
+
for name, value in vars(self).items():
|
|
16771
|
+
property_name = name[1:]
|
|
16772
|
+
if property_name in memeber_set:
|
|
16773
|
+
memeber_set.remove(property_name)
|
|
16774
|
+
if len(memeber_set) > 0:
|
|
16775
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16776
|
+
|
|
16777
|
+
|
|
16778
|
+
|
|
16678
16779
|
class BaselinePolicySubCategoryConf(AbstractModel):
|
|
16679
16780
|
r"""子分类维度的检测项命中配置。
|
|
16680
16781
|
|
|
@@ -24315,7 +24416,7 @@ class ClusterListItem(AbstractModel):
|
|
|
24315
24416
|
:type TotalCoresCount: int
|
|
24316
24417
|
:param _DefendCoresCount: <p>已防护核数</p>
|
|
24317
24418
|
:type DefendCoresCount: int
|
|
24318
|
-
:param _AuditLogSwitchStatus: <p
|
|
24419
|
+
:param _AuditLogSwitchStatus: <p>审计日志状态<br>0:已关闭<br>1:已开启<br>2:开启失败(失败原因见 AuditLogFailedInfo)<br>3:关闭失败(失败原因见 AuditLogFailedInfo)<br>4:开启中<br>5:关闭中<br>6:不支持(当前集群类型不支持读取审计状态,如边缘集群)<br>7:未知(集群未接入或接入异常,无法判断审计状态)</p><p>枚举值:</p><ul><li>0: 已关闭</li><li>1: 已开启</li><li>2: 开启失败</li><li>3: 关闭失败</li><li>4: 开启中</li><li>5: 关闭中</li><li>6: 不支持</li><li>7: 未知</li></ul>
|
|
24319
24420
|
:type AuditLogSwitchStatus: int
|
|
24320
24421
|
:param _DefendStatus: <p>防护状态<br>已防护: Defended</p>
|
|
24321
24422
|
:type DefendStatus: str
|
|
@@ -24357,6 +24458,10 @@ class ClusterListItem(AbstractModel):
|
|
|
24357
24458
|
:type RegionNameEn: str
|
|
24358
24459
|
:param _UnboundUltimateNodeCount: <p>未绑定旗舰版的节点数量</p>
|
|
24359
24460
|
:type UnboundUltimateNodeCount: int
|
|
24461
|
+
:param _TagItems: <p>资产标签列表</p>
|
|
24462
|
+
:type TagItems: list of MiniTagItem
|
|
24463
|
+
:param _TagModifyInfo: <p>标签修改信息</p>
|
|
24464
|
+
:type TagModifyInfo: :class:`tencentcloud.csip.v20221121.models.AssetTagModifyAssetItem`
|
|
24360
24465
|
"""
|
|
24361
24466
|
self._AppID = None
|
|
24362
24467
|
self._AssetId = None
|
|
@@ -24397,6 +24502,8 @@ class ClusterListItem(AbstractModel):
|
|
|
24397
24502
|
self._RegionName = None
|
|
24398
24503
|
self._RegionNameEn = None
|
|
24399
24504
|
self._UnboundUltimateNodeCount = None
|
|
24505
|
+
self._TagItems = None
|
|
24506
|
+
self._TagModifyInfo = None
|
|
24400
24507
|
|
|
24401
24508
|
@property
|
|
24402
24509
|
def AppID(self):
|
|
@@ -24638,7 +24745,7 @@ class ClusterListItem(AbstractModel):
|
|
|
24638
24745
|
|
|
24639
24746
|
@property
|
|
24640
24747
|
def AuditLogSwitchStatus(self):
|
|
24641
|
-
r"""<p
|
|
24748
|
+
r"""<p>审计日志状态<br>0:已关闭<br>1:已开启<br>2:开启失败(失败原因见 AuditLogFailedInfo)<br>3:关闭失败(失败原因见 AuditLogFailedInfo)<br>4:开启中<br>5:关闭中<br>6:不支持(当前集群类型不支持读取审计状态,如边缘集群)<br>7:未知(集群未接入或接入异常,无法判断审计状态)</p><p>枚举值:</p><ul><li>0: 已关闭</li><li>1: 已开启</li><li>2: 开启失败</li><li>3: 关闭失败</li><li>4: 开启中</li><li>5: 关闭中</li><li>6: 不支持</li><li>7: 未知</li></ul>
|
|
24642
24749
|
:rtype: int
|
|
24643
24750
|
"""
|
|
24644
24751
|
return self._AuditLogSwitchStatus
|
|
@@ -24875,6 +24982,28 @@ class ClusterListItem(AbstractModel):
|
|
|
24875
24982
|
def UnboundUltimateNodeCount(self, UnboundUltimateNodeCount):
|
|
24876
24983
|
self._UnboundUltimateNodeCount = UnboundUltimateNodeCount
|
|
24877
24984
|
|
|
24985
|
+
@property
|
|
24986
|
+
def TagItems(self):
|
|
24987
|
+
r"""<p>资产标签列表</p>
|
|
24988
|
+
:rtype: list of MiniTagItem
|
|
24989
|
+
"""
|
|
24990
|
+
return self._TagItems
|
|
24991
|
+
|
|
24992
|
+
@TagItems.setter
|
|
24993
|
+
def TagItems(self, TagItems):
|
|
24994
|
+
self._TagItems = TagItems
|
|
24995
|
+
|
|
24996
|
+
@property
|
|
24997
|
+
def TagModifyInfo(self):
|
|
24998
|
+
r"""<p>标签修改信息</p>
|
|
24999
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.AssetTagModifyAssetItem`
|
|
25000
|
+
"""
|
|
25001
|
+
return self._TagModifyInfo
|
|
25002
|
+
|
|
25003
|
+
@TagModifyInfo.setter
|
|
25004
|
+
def TagModifyInfo(self, TagModifyInfo):
|
|
25005
|
+
self._TagModifyInfo = TagModifyInfo
|
|
25006
|
+
|
|
24878
25007
|
|
|
24879
25008
|
def _deserialize(self, params):
|
|
24880
25009
|
self._AppID = params.get("AppID")
|
|
@@ -24921,6 +25050,15 @@ class ClusterListItem(AbstractModel):
|
|
|
24921
25050
|
self._RegionName = params.get("RegionName")
|
|
24922
25051
|
self._RegionNameEn = params.get("RegionNameEn")
|
|
24923
25052
|
self._UnboundUltimateNodeCount = params.get("UnboundUltimateNodeCount")
|
|
25053
|
+
if params.get("TagItems") is not None:
|
|
25054
|
+
self._TagItems = []
|
|
25055
|
+
for item in params.get("TagItems"):
|
|
25056
|
+
obj = MiniTagItem()
|
|
25057
|
+
obj._deserialize(item)
|
|
25058
|
+
self._TagItems.append(obj)
|
|
25059
|
+
if params.get("TagModifyInfo") is not None:
|
|
25060
|
+
self._TagModifyInfo = AssetTagModifyAssetItem()
|
|
25061
|
+
self._TagModifyInfo._deserialize(params.get("TagModifyInfo"))
|
|
24924
25062
|
memeber_set = set(params.keys())
|
|
24925
25063
|
for name, value in vars(self).items():
|
|
24926
25064
|
property_name = name[1:]
|
|
@@ -63577,6 +63715,51 @@ class DescribeCSCPayInfoRequest(AbstractModel):
|
|
|
63577
63715
|
|
|
63578
63716
|
"""
|
|
63579
63717
|
|
|
63718
|
+
def __init__(self):
|
|
63719
|
+
r"""
|
|
63720
|
+
:param _MemberId: <p>集团账号的成员id</p>
|
|
63721
|
+
:type MemberId: list of str
|
|
63722
|
+
:param _NeedQuotaUsed: <p>是否返回配额已使用量。默认为 false:不采集用量,QuotaList 中的 QuotaUsed 恒为 0;需要展示已用量的调用方显式传 true。只关心订单状态、到期时间或配额购买数量的调用方无需传入</p>
|
|
63723
|
+
:type NeedQuotaUsed: bool
|
|
63724
|
+
"""
|
|
63725
|
+
self._MemberId = None
|
|
63726
|
+
self._NeedQuotaUsed = None
|
|
63727
|
+
|
|
63728
|
+
@property
|
|
63729
|
+
def MemberId(self):
|
|
63730
|
+
r"""<p>集团账号的成员id</p>
|
|
63731
|
+
:rtype: list of str
|
|
63732
|
+
"""
|
|
63733
|
+
return self._MemberId
|
|
63734
|
+
|
|
63735
|
+
@MemberId.setter
|
|
63736
|
+
def MemberId(self, MemberId):
|
|
63737
|
+
self._MemberId = MemberId
|
|
63738
|
+
|
|
63739
|
+
@property
|
|
63740
|
+
def NeedQuotaUsed(self):
|
|
63741
|
+
r"""<p>是否返回配额已使用量。默认为 false:不采集用量,QuotaList 中的 QuotaUsed 恒为 0;需要展示已用量的调用方显式传 true。只关心订单状态、到期时间或配额购买数量的调用方无需传入</p>
|
|
63742
|
+
:rtype: bool
|
|
63743
|
+
"""
|
|
63744
|
+
return self._NeedQuotaUsed
|
|
63745
|
+
|
|
63746
|
+
@NeedQuotaUsed.setter
|
|
63747
|
+
def NeedQuotaUsed(self, NeedQuotaUsed):
|
|
63748
|
+
self._NeedQuotaUsed = NeedQuotaUsed
|
|
63749
|
+
|
|
63750
|
+
|
|
63751
|
+
def _deserialize(self, params):
|
|
63752
|
+
self._MemberId = params.get("MemberId")
|
|
63753
|
+
self._NeedQuotaUsed = params.get("NeedQuotaUsed")
|
|
63754
|
+
memeber_set = set(params.keys())
|
|
63755
|
+
for name, value in vars(self).items():
|
|
63756
|
+
property_name = name[1:]
|
|
63757
|
+
if property_name in memeber_set:
|
|
63758
|
+
memeber_set.remove(property_name)
|
|
63759
|
+
if len(memeber_set) > 0:
|
|
63760
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
63761
|
+
|
|
63762
|
+
|
|
63580
63763
|
|
|
63581
63764
|
class DescribeCSCPayInfoResponse(AbstractModel):
|
|
63582
63765
|
r"""DescribeCSCPayInfo返回参数结构体
|
|
@@ -63613,6 +63796,8 @@ class DescribeCSCPayInfoResponse(AbstractModel):
|
|
|
63613
63796
|
:type NewUser: int
|
|
63614
63797
|
:param _QuotaList: <p>用户计费信息,Key为L4</p>
|
|
63615
63798
|
:type QuotaList: list of OrderQuotaInfo
|
|
63799
|
+
:param _QuotaUsedError: <p>配额用量查询失败提示。仅请求参数 NeedQuotaUsed 为 true 时可能非空:此时订单信息仍正常返回,QuotaList 中的 QuotaUsed 恒为 0;查询正常或未请求用量时为空字符串</p>
|
|
63800
|
+
:type QuotaUsedError: str
|
|
63616
63801
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
63617
63802
|
:type RequestId: str
|
|
63618
63803
|
"""
|
|
@@ -63630,6 +63815,7 @@ class DescribeCSCPayInfoResponse(AbstractModel):
|
|
|
63630
63815
|
self._NickName = None
|
|
63631
63816
|
self._NewUser = None
|
|
63632
63817
|
self._QuotaList = None
|
|
63818
|
+
self._QuotaUsedError = None
|
|
63633
63819
|
self._RequestId = None
|
|
63634
63820
|
|
|
63635
63821
|
@property
|
|
@@ -63786,6 +63972,17 @@ class DescribeCSCPayInfoResponse(AbstractModel):
|
|
|
63786
63972
|
def QuotaList(self, QuotaList):
|
|
63787
63973
|
self._QuotaList = QuotaList
|
|
63788
63974
|
|
|
63975
|
+
@property
|
|
63976
|
+
def QuotaUsedError(self):
|
|
63977
|
+
r"""<p>配额用量查询失败提示。仅请求参数 NeedQuotaUsed 为 true 时可能非空:此时订单信息仍正常返回,QuotaList 中的 QuotaUsed 恒为 0;查询正常或未请求用量时为空字符串</p>
|
|
63978
|
+
:rtype: str
|
|
63979
|
+
"""
|
|
63980
|
+
return self._QuotaUsedError
|
|
63981
|
+
|
|
63982
|
+
@QuotaUsedError.setter
|
|
63983
|
+
def QuotaUsedError(self, QuotaUsedError):
|
|
63984
|
+
self._QuotaUsedError = QuotaUsedError
|
|
63985
|
+
|
|
63789
63986
|
@property
|
|
63790
63987
|
def RequestId(self):
|
|
63791
63988
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -63818,6 +64015,7 @@ class DescribeCSCPayInfoResponse(AbstractModel):
|
|
|
63818
64015
|
obj = OrderQuotaInfo()
|
|
63819
64016
|
obj._deserialize(item)
|
|
63820
64017
|
self._QuotaList.append(obj)
|
|
64018
|
+
self._QuotaUsedError = params.get("QuotaUsedError")
|
|
63821
64019
|
self._RequestId = params.get("RequestId")
|
|
63822
64020
|
|
|
63823
64021
|
|
|
@@ -87753,6 +87951,8 @@ class DescribeEDRRuleListRequest(AbstractModel):
|
|
|
87753
87951
|
:type Order: str
|
|
87754
87952
|
:param _By: <p>可选排序列: [ModifyTime]</p>
|
|
87755
87953
|
:type By: str
|
|
87954
|
+
:param _FileOperationRules: <p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
87955
|
+
:type FileOperationRules: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
87756
87956
|
"""
|
|
87757
87957
|
self._MemberId = None
|
|
87758
87958
|
self._Filters = None
|
|
@@ -87760,6 +87960,7 @@ class DescribeEDRRuleListRequest(AbstractModel):
|
|
|
87760
87960
|
self._Offset = None
|
|
87761
87961
|
self._Order = None
|
|
87762
87962
|
self._By = None
|
|
87963
|
+
self._FileOperationRules = None
|
|
87763
87964
|
|
|
87764
87965
|
@property
|
|
87765
87966
|
def MemberId(self):
|
|
@@ -87827,6 +88028,17 @@ class DescribeEDRRuleListRequest(AbstractModel):
|
|
|
87827
88028
|
def By(self, By):
|
|
87828
88029
|
self._By = By
|
|
87829
88030
|
|
|
88031
|
+
@property
|
|
88032
|
+
def FileOperationRules(self):
|
|
88033
|
+
r"""<p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
88034
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
88035
|
+
"""
|
|
88036
|
+
return self._FileOperationRules
|
|
88037
|
+
|
|
88038
|
+
@FileOperationRules.setter
|
|
88039
|
+
def FileOperationRules(self, FileOperationRules):
|
|
88040
|
+
self._FileOperationRules = FileOperationRules
|
|
88041
|
+
|
|
87830
88042
|
|
|
87831
88043
|
def _deserialize(self, params):
|
|
87832
88044
|
self._MemberId = params.get("MemberId")
|
|
@@ -87840,6 +88052,9 @@ class DescribeEDRRuleListRequest(AbstractModel):
|
|
|
87840
88052
|
self._Offset = params.get("Offset")
|
|
87841
88053
|
self._Order = params.get("Order")
|
|
87842
88054
|
self._By = params.get("By")
|
|
88055
|
+
if params.get("FileOperationRules") is not None:
|
|
88056
|
+
self._FileOperationRules = RuleContentFileOperation()
|
|
88057
|
+
self._FileOperationRules._deserialize(params.get("FileOperationRules"))
|
|
87843
88058
|
memeber_set = set(params.keys())
|
|
87844
88059
|
for name, value in vars(self).items():
|
|
87845
88060
|
property_name = name[1:]
|
|
@@ -129818,6 +130033,8 @@ class EDRRule(AbstractModel):
|
|
|
129818
130033
|
:type ConditionMatches: list of ConditionMatch
|
|
129819
130034
|
:param _TagItems: <p>安全中心标签</p>
|
|
129820
130035
|
:type TagItems: list of EDRRuleTagItem
|
|
130036
|
+
:param _FileOperationRules: <p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
130037
|
+
:type FileOperationRules: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
129821
130038
|
"""
|
|
129822
130039
|
self._RuleID = None
|
|
129823
130040
|
self._RuleType = None
|
|
@@ -129856,6 +130073,7 @@ class EDRRule(AbstractModel):
|
|
|
129856
130073
|
self._ExcludeClusterIDs = None
|
|
129857
130074
|
self._ConditionMatches = None
|
|
129858
130075
|
self._TagItems = None
|
|
130076
|
+
self._FileOperationRules = None
|
|
129859
130077
|
|
|
129860
130078
|
@property
|
|
129861
130079
|
def RuleID(self):
|
|
@@ -130264,6 +130482,17 @@ class EDRRule(AbstractModel):
|
|
|
130264
130482
|
def TagItems(self, TagItems):
|
|
130265
130483
|
self._TagItems = TagItems
|
|
130266
130484
|
|
|
130485
|
+
@property
|
|
130486
|
+
def FileOperationRules(self):
|
|
130487
|
+
r"""<p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
130488
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
130489
|
+
"""
|
|
130490
|
+
return self._FileOperationRules
|
|
130491
|
+
|
|
130492
|
+
@FileOperationRules.setter
|
|
130493
|
+
def FileOperationRules(self, FileOperationRules):
|
|
130494
|
+
self._FileOperationRules = FileOperationRules
|
|
130495
|
+
|
|
130267
130496
|
|
|
130268
130497
|
def _deserialize(self, params):
|
|
130269
130498
|
self._RuleID = params.get("RuleID")
|
|
@@ -130317,6 +130546,9 @@ class EDRRule(AbstractModel):
|
|
|
130317
130546
|
obj = EDRRuleTagItem()
|
|
130318
130547
|
obj._deserialize(item)
|
|
130319
130548
|
self._TagItems.append(obj)
|
|
130549
|
+
if params.get("FileOperationRules") is not None:
|
|
130550
|
+
self._FileOperationRules = RuleContentFileOperation()
|
|
130551
|
+
self._FileOperationRules._deserialize(params.get("FileOperationRules"))
|
|
130320
130552
|
memeber_set = set(params.keys())
|
|
130321
130553
|
for name, value in vars(self).items():
|
|
130322
130554
|
property_name = name[1:]
|
|
@@ -133679,11 +133911,14 @@ class ExportEDRRulesRequest(AbstractModel):
|
|
|
133679
133911
|
:type Order: str
|
|
133680
133912
|
:param _By: <p>排序列,ModifyTime</p>
|
|
133681
133913
|
:type By: str
|
|
133914
|
+
:param _FileOperationRules: <p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
133915
|
+
:type FileOperationRules: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
133682
133916
|
"""
|
|
133683
133917
|
self._MemberId = None
|
|
133684
133918
|
self._Filters = None
|
|
133685
133919
|
self._Order = None
|
|
133686
133920
|
self._By = None
|
|
133921
|
+
self._FileOperationRules = None
|
|
133687
133922
|
|
|
133688
133923
|
@property
|
|
133689
133924
|
def MemberId(self):
|
|
@@ -133729,6 +133964,17 @@ class ExportEDRRulesRequest(AbstractModel):
|
|
|
133729
133964
|
def By(self, By):
|
|
133730
133965
|
self._By = By
|
|
133731
133966
|
|
|
133967
|
+
@property
|
|
133968
|
+
def FileOperationRules(self):
|
|
133969
|
+
r"""<p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
133970
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
133971
|
+
"""
|
|
133972
|
+
return self._FileOperationRules
|
|
133973
|
+
|
|
133974
|
+
@FileOperationRules.setter
|
|
133975
|
+
def FileOperationRules(self, FileOperationRules):
|
|
133976
|
+
self._FileOperationRules = FileOperationRules
|
|
133977
|
+
|
|
133732
133978
|
|
|
133733
133979
|
def _deserialize(self, params):
|
|
133734
133980
|
self._MemberId = params.get("MemberId")
|
|
@@ -133740,6 +133986,9 @@ class ExportEDRRulesRequest(AbstractModel):
|
|
|
133740
133986
|
self._Filters.append(obj)
|
|
133741
133987
|
self._Order = params.get("Order")
|
|
133742
133988
|
self._By = params.get("By")
|
|
133989
|
+
if params.get("FileOperationRules") is not None:
|
|
133990
|
+
self._FileOperationRules = RuleContentFileOperation()
|
|
133991
|
+
self._FileOperationRules._deserialize(params.get("FileOperationRules"))
|
|
133743
133992
|
memeber_set = set(params.keys())
|
|
133744
133993
|
for name, value in vars(self).items():
|
|
133745
133994
|
property_name = name[1:]
|
|
@@ -146068,6 +146317,8 @@ class LicenseStatusItem(AbstractModel):
|
|
|
146068
146317
|
:type BeginTime: str
|
|
146069
146318
|
:param _EndTime: <p>最晚到期时间(格式:2006-01-02 15:04:05)</p>
|
|
146070
146319
|
:type EndTime: str
|
|
146320
|
+
:param _OrderType: <p>订单类型</p><p>枚举值:</p><ul><li>PURCHASED: 正式订单</li><li>TRIAL: 试用订单</li></ul>
|
|
146321
|
+
:type OrderType: str
|
|
146071
146322
|
"""
|
|
146072
146323
|
self._ResourceId = None
|
|
146073
146324
|
self._LicenseType = None
|
|
@@ -146078,6 +146329,7 @@ class LicenseStatusItem(AbstractModel):
|
|
|
146078
146329
|
self._RemainNum = None
|
|
146079
146330
|
self._BeginTime = None
|
|
146080
146331
|
self._EndTime = None
|
|
146332
|
+
self._OrderType = None
|
|
146081
146333
|
|
|
146082
146334
|
@property
|
|
146083
146335
|
def ResourceId(self):
|
|
@@ -146178,6 +146430,17 @@ class LicenseStatusItem(AbstractModel):
|
|
|
146178
146430
|
def EndTime(self, EndTime):
|
|
146179
146431
|
self._EndTime = EndTime
|
|
146180
146432
|
|
|
146433
|
+
@property
|
|
146434
|
+
def OrderType(self):
|
|
146435
|
+
r"""<p>订单类型</p><p>枚举值:</p><ul><li>PURCHASED: 正式订单</li><li>TRIAL: 试用订单</li></ul>
|
|
146436
|
+
:rtype: str
|
|
146437
|
+
"""
|
|
146438
|
+
return self._OrderType
|
|
146439
|
+
|
|
146440
|
+
@OrderType.setter
|
|
146441
|
+
def OrderType(self, OrderType):
|
|
146442
|
+
self._OrderType = OrderType
|
|
146443
|
+
|
|
146181
146444
|
|
|
146182
146445
|
def _deserialize(self, params):
|
|
146183
146446
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -146189,6 +146452,7 @@ class LicenseStatusItem(AbstractModel):
|
|
|
146189
146452
|
self._RemainNum = params.get("RemainNum")
|
|
146190
146453
|
self._BeginTime = params.get("BeginTime")
|
|
146191
146454
|
self._EndTime = params.get("EndTime")
|
|
146455
|
+
self._OrderType = params.get("OrderType")
|
|
146192
146456
|
memeber_set = set(params.keys())
|
|
146193
146457
|
for name, value in vars(self).items():
|
|
146194
146458
|
property_name = name[1:]
|
|
@@ -157690,6 +157954,8 @@ class ModifyEDRRuleRequest(AbstractModel):
|
|
|
157690
157954
|
:type ImageIDsWithAppId: list of ImageIDWithAppIdItem
|
|
157691
157955
|
:param _ConditionMatches: <p>容器条件匹配</p>
|
|
157692
157956
|
:type ConditionMatches: list of ConditionMatch
|
|
157957
|
+
:param _FileOperationRules: <p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
157958
|
+
:type FileOperationRules: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
157693
157959
|
"""
|
|
157694
157960
|
self._RuleType = None
|
|
157695
157961
|
self._AlertAction = None
|
|
@@ -157723,6 +157989,7 @@ class ModifyEDRRuleRequest(AbstractModel):
|
|
|
157723
157989
|
self._ExcludeClusterIDsWithAppId = None
|
|
157724
157990
|
self._ImageIDsWithAppId = None
|
|
157725
157991
|
self._ConditionMatches = None
|
|
157992
|
+
self._FileOperationRules = None
|
|
157726
157993
|
|
|
157727
157994
|
@property
|
|
157728
157995
|
def RuleType(self):
|
|
@@ -158076,6 +158343,17 @@ class ModifyEDRRuleRequest(AbstractModel):
|
|
|
158076
158343
|
def ConditionMatches(self, ConditionMatches):
|
|
158077
158344
|
self._ConditionMatches = ConditionMatches
|
|
158078
158345
|
|
|
158346
|
+
@property
|
|
158347
|
+
def FileOperationRules(self):
|
|
158348
|
+
r"""<p>文件操作规则,ContentType=file_operation 时填充(文件路径正则 AND 动作多选或)</p>
|
|
158349
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentFileOperation`
|
|
158350
|
+
"""
|
|
158351
|
+
return self._FileOperationRules
|
|
158352
|
+
|
|
158353
|
+
@FileOperationRules.setter
|
|
158354
|
+
def FileOperationRules(self, FileOperationRules):
|
|
158355
|
+
self._FileOperationRules = FileOperationRules
|
|
158356
|
+
|
|
158079
158357
|
|
|
158080
158358
|
def _deserialize(self, params):
|
|
158081
158359
|
self._RuleType = params.get("RuleType")
|
|
@@ -158146,6 +158424,9 @@ class ModifyEDRRuleRequest(AbstractModel):
|
|
|
158146
158424
|
obj = ConditionMatch()
|
|
158147
158425
|
obj._deserialize(item)
|
|
158148
158426
|
self._ConditionMatches.append(obj)
|
|
158427
|
+
if params.get("FileOperationRules") is not None:
|
|
158428
|
+
self._FileOperationRules = RuleContentFileOperation()
|
|
158429
|
+
self._FileOperationRules._deserialize(params.get("FileOperationRules"))
|
|
158149
158430
|
memeber_set = set(params.keys())
|
|
158150
158431
|
for name, value in vars(self).items():
|
|
158151
158432
|
property_name = name[1:]
|
|
@@ -169195,24 +169476,23 @@ class OrderQuotaInfo(AbstractModel):
|
|
|
169195
169476
|
|
|
169196
169477
|
def __init__(self):
|
|
169197
169478
|
r"""
|
|
169198
|
-
:param _QuotaKey:
|
|
169199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169479
|
+
:param _QuotaKey: <p>配额键</p>
|
|
169200
169480
|
:type QuotaKey: str
|
|
169201
|
-
:param _QuotaNum:
|
|
169202
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169481
|
+
:param _QuotaNum: <p>配额总量</p>
|
|
169203
169482
|
:type QuotaNum: int
|
|
169204
|
-
:param _QuotaUsed:
|
|
169205
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169483
|
+
:param _QuotaUsed: <p>配额已使用量(含共享给其他账号的消耗)。仅请求参数 NeedQuotaUsed 为 true 时采集;未传或为 false 时恒为 0;用量查询失败时恒为 0,错误提示见响应 QuotaUsedError 字段</p>
|
|
169206
169484
|
:type QuotaUsed: int
|
|
169485
|
+
:param _QuotaGranted: <p>赠送配额。仅 CSPM 存在赠送额度,其余计费项为 0</p>
|
|
169486
|
+
:type QuotaGranted: int
|
|
169207
169487
|
"""
|
|
169208
169488
|
self._QuotaKey = None
|
|
169209
169489
|
self._QuotaNum = None
|
|
169210
169490
|
self._QuotaUsed = None
|
|
169491
|
+
self._QuotaGranted = None
|
|
169211
169492
|
|
|
169212
169493
|
@property
|
|
169213
169494
|
def QuotaKey(self):
|
|
169214
|
-
r"""
|
|
169215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169495
|
+
r"""<p>配额键</p>
|
|
169216
169496
|
:rtype: str
|
|
169217
169497
|
"""
|
|
169218
169498
|
return self._QuotaKey
|
|
@@ -169223,8 +169503,7 @@ class OrderQuotaInfo(AbstractModel):
|
|
|
169223
169503
|
|
|
169224
169504
|
@property
|
|
169225
169505
|
def QuotaNum(self):
|
|
169226
|
-
r"""
|
|
169227
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169506
|
+
r"""<p>配额总量</p>
|
|
169228
169507
|
:rtype: int
|
|
169229
169508
|
"""
|
|
169230
169509
|
return self._QuotaNum
|
|
@@ -169235,8 +169514,7 @@ class OrderQuotaInfo(AbstractModel):
|
|
|
169235
169514
|
|
|
169236
169515
|
@property
|
|
169237
169516
|
def QuotaUsed(self):
|
|
169238
|
-
r"""
|
|
169239
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
169517
|
+
r"""<p>配额已使用量(含共享给其他账号的消耗)。仅请求参数 NeedQuotaUsed 为 true 时采集;未传或为 false 时恒为 0;用量查询失败时恒为 0,错误提示见响应 QuotaUsedError 字段</p>
|
|
169240
169518
|
:rtype: int
|
|
169241
169519
|
"""
|
|
169242
169520
|
return self._QuotaUsed
|
|
@@ -169245,11 +169523,23 @@ class OrderQuotaInfo(AbstractModel):
|
|
|
169245
169523
|
def QuotaUsed(self, QuotaUsed):
|
|
169246
169524
|
self._QuotaUsed = QuotaUsed
|
|
169247
169525
|
|
|
169526
|
+
@property
|
|
169527
|
+
def QuotaGranted(self):
|
|
169528
|
+
r"""<p>赠送配额。仅 CSPM 存在赠送额度,其余计费项为 0</p>
|
|
169529
|
+
:rtype: int
|
|
169530
|
+
"""
|
|
169531
|
+
return self._QuotaGranted
|
|
169532
|
+
|
|
169533
|
+
@QuotaGranted.setter
|
|
169534
|
+
def QuotaGranted(self, QuotaGranted):
|
|
169535
|
+
self._QuotaGranted = QuotaGranted
|
|
169536
|
+
|
|
169248
169537
|
|
|
169249
169538
|
def _deserialize(self, params):
|
|
169250
169539
|
self._QuotaKey = params.get("QuotaKey")
|
|
169251
169540
|
self._QuotaNum = params.get("QuotaNum")
|
|
169252
169541
|
self._QuotaUsed = params.get("QuotaUsed")
|
|
169542
|
+
self._QuotaGranted = params.get("QuotaGranted")
|
|
169253
169543
|
memeber_set = set(params.keys())
|
|
169254
169544
|
for name, value in vars(self).items():
|
|
169255
169545
|
property_name = name[1:]
|
|
@@ -174764,6 +175054,91 @@ class RuleContentCmdLine(AbstractModel):
|
|
|
174764
175054
|
|
|
174765
175055
|
|
|
174766
175056
|
|
|
175057
|
+
class RuleContentFileOperation(AbstractModel):
|
|
175058
|
+
r"""EDR文件操作规则(ContentType=file_operation,高危命令聚合降噪新增)
|
|
175059
|
+
|
|
175060
|
+
"""
|
|
175061
|
+
|
|
175062
|
+
def __init__(self):
|
|
175063
|
+
r"""
|
|
175064
|
+
:param _Process: <p>当前进程命令行信息(可选,未配置时该维度不参与匹配)</p>
|
|
175065
|
+
:type Process: :class:`tencentcloud.csip.v20221121.models.RuleContentProcessInfo`
|
|
175066
|
+
:param _ParentProcess: <p>父进程命令行信息(可选,未配置时该维度不参与匹配)</p>
|
|
175067
|
+
:type ParentProcess: :class:`tencentcloud.csip.v20221121.models.RuleContentProcessInfo`
|
|
175068
|
+
:param _FilePath: <p>目标文件路径(正则)</p>
|
|
175069
|
+
:type FilePath: str
|
|
175070
|
+
:param _FileActions: <p>动作列表(多选为或关系):read-读 write-写 rename-重命名 delete-删除 truncate-清空内容</p>
|
|
175071
|
+
:type FileActions: list of str
|
|
175072
|
+
"""
|
|
175073
|
+
self._Process = None
|
|
175074
|
+
self._ParentProcess = None
|
|
175075
|
+
self._FilePath = None
|
|
175076
|
+
self._FileActions = None
|
|
175077
|
+
|
|
175078
|
+
@property
|
|
175079
|
+
def Process(self):
|
|
175080
|
+
r"""<p>当前进程命令行信息(可选,未配置时该维度不参与匹配)</p>
|
|
175081
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentProcessInfo`
|
|
175082
|
+
"""
|
|
175083
|
+
return self._Process
|
|
175084
|
+
|
|
175085
|
+
@Process.setter
|
|
175086
|
+
def Process(self, Process):
|
|
175087
|
+
self._Process = Process
|
|
175088
|
+
|
|
175089
|
+
@property
|
|
175090
|
+
def ParentProcess(self):
|
|
175091
|
+
r"""<p>父进程命令行信息(可选,未配置时该维度不参与匹配)</p>
|
|
175092
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.RuleContentProcessInfo`
|
|
175093
|
+
"""
|
|
175094
|
+
return self._ParentProcess
|
|
175095
|
+
|
|
175096
|
+
@ParentProcess.setter
|
|
175097
|
+
def ParentProcess(self, ParentProcess):
|
|
175098
|
+
self._ParentProcess = ParentProcess
|
|
175099
|
+
|
|
175100
|
+
@property
|
|
175101
|
+
def FilePath(self):
|
|
175102
|
+
r"""<p>目标文件路径(正则)</p>
|
|
175103
|
+
:rtype: str
|
|
175104
|
+
"""
|
|
175105
|
+
return self._FilePath
|
|
175106
|
+
|
|
175107
|
+
@FilePath.setter
|
|
175108
|
+
def FilePath(self, FilePath):
|
|
175109
|
+
self._FilePath = FilePath
|
|
175110
|
+
|
|
175111
|
+
@property
|
|
175112
|
+
def FileActions(self):
|
|
175113
|
+
r"""<p>动作列表(多选为或关系):read-读 write-写 rename-重命名 delete-删除 truncate-清空内容</p>
|
|
175114
|
+
:rtype: list of str
|
|
175115
|
+
"""
|
|
175116
|
+
return self._FileActions
|
|
175117
|
+
|
|
175118
|
+
@FileActions.setter
|
|
175119
|
+
def FileActions(self, FileActions):
|
|
175120
|
+
self._FileActions = FileActions
|
|
175121
|
+
|
|
175122
|
+
|
|
175123
|
+
def _deserialize(self, params):
|
|
175124
|
+
if params.get("Process") is not None:
|
|
175125
|
+
self._Process = RuleContentProcessInfo()
|
|
175126
|
+
self._Process._deserialize(params.get("Process"))
|
|
175127
|
+
if params.get("ParentProcess") is not None:
|
|
175128
|
+
self._ParentProcess = RuleContentProcessInfo()
|
|
175129
|
+
self._ParentProcess._deserialize(params.get("ParentProcess"))
|
|
175130
|
+
self._FilePath = params.get("FilePath")
|
|
175131
|
+
self._FileActions = params.get("FileActions")
|
|
175132
|
+
memeber_set = set(params.keys())
|
|
175133
|
+
for name, value in vars(self).items():
|
|
175134
|
+
property_name = name[1:]
|
|
175135
|
+
if property_name in memeber_set:
|
|
175136
|
+
memeber_set.remove(property_name)
|
|
175137
|
+
if len(memeber_set) > 0:
|
|
175138
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
175139
|
+
|
|
175140
|
+
|
|
175141
|
+
|
|
174767
175142
|
class RuleContentProcessInfo(AbstractModel):
|
|
174768
175143
|
r"""EDR命令行规则单规则
|
|
174769
175144
|
|
|
@@ -195795,11 +196170,14 @@ class WebhookNotifyItem(AbstractModel):
|
|
|
195795
196170
|
:type Levels: list of str
|
|
195796
196171
|
:param _Items: <p>处理状态等</p>
|
|
195797
196172
|
:type Items: list of str
|
|
196173
|
+
:param _Options: <p>可选项</p>
|
|
196174
|
+
:type Options: list of str
|
|
195798
196175
|
"""
|
|
195799
196176
|
self._Module = None
|
|
195800
196177
|
self._SubModule = None
|
|
195801
196178
|
self._Levels = None
|
|
195802
196179
|
self._Items = None
|
|
196180
|
+
self._Options = None
|
|
195803
196181
|
|
|
195804
196182
|
@property
|
|
195805
196183
|
def Module(self):
|
|
@@ -195845,12 +196223,24 @@ class WebhookNotifyItem(AbstractModel):
|
|
|
195845
196223
|
def Items(self, Items):
|
|
195846
196224
|
self._Items = Items
|
|
195847
196225
|
|
|
196226
|
+
@property
|
|
196227
|
+
def Options(self):
|
|
196228
|
+
r"""<p>可选项</p>
|
|
196229
|
+
:rtype: list of str
|
|
196230
|
+
"""
|
|
196231
|
+
return self._Options
|
|
196232
|
+
|
|
196233
|
+
@Options.setter
|
|
196234
|
+
def Options(self, Options):
|
|
196235
|
+
self._Options = Options
|
|
196236
|
+
|
|
195848
196237
|
|
|
195849
196238
|
def _deserialize(self, params):
|
|
195850
196239
|
self._Module = params.get("Module")
|
|
195851
196240
|
self._SubModule = params.get("SubModule")
|
|
195852
196241
|
self._Levels = params.get("Levels")
|
|
195853
196242
|
self._Items = params.get("Items")
|
|
196243
|
+
self._Options = params.get("Options")
|
|
195854
196244
|
memeber_set = set(params.keys())
|
|
195855
196245
|
for name, value in vars(self).items():
|
|
195856
196246
|
property_name = name[1:]
|
|
@@ -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.193
|
|
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.193
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.193
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.189
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|