tencentcloud-sdk-python-cwp 3.0.876__tar.gz → 3.0.897__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-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/cwp/v20180228/cwp_client.py +69 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/cwp/v20180228/models.py +242 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/setup.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.876 → tencentcloud-sdk-python-cwp-3.0.897}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
|
@@ -3111,6 +3111,52 @@ class CwpClient(AbstractClient):
|
|
|
3111
3111
|
raise TencentCloudSDKException(e.message, e.message)
|
|
3112
3112
|
|
|
3113
3113
|
|
|
3114
|
+
def DescribeLogStorageConfig(self, request):
|
|
3115
|
+
"""获取日志存储配置
|
|
3116
|
+
|
|
3117
|
+
:param request: Request instance for DescribeLogStorageConfig.
|
|
3118
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeLogStorageConfigRequest`
|
|
3119
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeLogStorageConfigResponse`
|
|
3120
|
+
|
|
3121
|
+
"""
|
|
3122
|
+
try:
|
|
3123
|
+
params = request._serialize()
|
|
3124
|
+
headers = request.headers
|
|
3125
|
+
body = self.call("DescribeLogStorageConfig", params, headers=headers)
|
|
3126
|
+
response = json.loads(body)
|
|
3127
|
+
model = models.DescribeLogStorageConfigResponse()
|
|
3128
|
+
model._deserialize(response["Response"])
|
|
3129
|
+
return model
|
|
3130
|
+
except Exception as e:
|
|
3131
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3132
|
+
raise
|
|
3133
|
+
else:
|
|
3134
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
3135
|
+
|
|
3136
|
+
|
|
3137
|
+
def DescribeLogStorageRecord(self, request):
|
|
3138
|
+
"""获取日志存储量记录
|
|
3139
|
+
|
|
3140
|
+
:param request: Request instance for DescribeLogStorageRecord.
|
|
3141
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.DescribeLogStorageRecordRequest`
|
|
3142
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.DescribeLogStorageRecordResponse`
|
|
3143
|
+
|
|
3144
|
+
"""
|
|
3145
|
+
try:
|
|
3146
|
+
params = request._serialize()
|
|
3147
|
+
headers = request.headers
|
|
3148
|
+
body = self.call("DescribeLogStorageRecord", params, headers=headers)
|
|
3149
|
+
response = json.loads(body)
|
|
3150
|
+
model = models.DescribeLogStorageRecordResponse()
|
|
3151
|
+
model._deserialize(response["Response"])
|
|
3152
|
+
return model
|
|
3153
|
+
except Exception as e:
|
|
3154
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3155
|
+
raise
|
|
3156
|
+
else:
|
|
3157
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
3158
|
+
|
|
3159
|
+
|
|
3114
3160
|
def DescribeLogStorageStatistic(self, request):
|
|
3115
3161
|
"""获取日志检索容量使用统计
|
|
3116
3162
|
|
|
@@ -5735,6 +5781,29 @@ class CwpClient(AbstractClient):
|
|
|
5735
5781
|
raise TencentCloudSDKException(e.message, e.message)
|
|
5736
5782
|
|
|
5737
5783
|
|
|
5784
|
+
def ModifyLogStorageConfig(self, request):
|
|
5785
|
+
"""修改日志存储配置
|
|
5786
|
+
|
|
5787
|
+
:param request: Request instance for ModifyLogStorageConfig.
|
|
5788
|
+
:type request: :class:`tencentcloud.cwp.v20180228.models.ModifyLogStorageConfigRequest`
|
|
5789
|
+
:rtype: :class:`tencentcloud.cwp.v20180228.models.ModifyLogStorageConfigResponse`
|
|
5790
|
+
|
|
5791
|
+
"""
|
|
5792
|
+
try:
|
|
5793
|
+
params = request._serialize()
|
|
5794
|
+
headers = request.headers
|
|
5795
|
+
body = self.call("ModifyLogStorageConfig", params, headers=headers)
|
|
5796
|
+
response = json.loads(body)
|
|
5797
|
+
model = models.ModifyLogStorageConfigResponse()
|
|
5798
|
+
model._deserialize(response["Response"])
|
|
5799
|
+
return model
|
|
5800
|
+
except Exception as e:
|
|
5801
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5802
|
+
raise
|
|
5803
|
+
else:
|
|
5804
|
+
raise TencentCloudSDKException(e.message, e.message)
|
|
5805
|
+
|
|
5806
|
+
|
|
5738
5807
|
def ModifyMachineRemark(self, request):
|
|
5739
5808
|
"""修改主机备注信息
|
|
5740
5809
|
|
|
@@ -6598,16 +6598,20 @@ class DescribeAlarmIncidentNodesRequest(AbstractModel):
|
|
|
6598
6598
|
:type AlarmVid: str
|
|
6599
6599
|
:param AlarmTime: 告警时间
|
|
6600
6600
|
:type AlarmTime: int
|
|
6601
|
+
:param TableId: 告警来源表ID
|
|
6602
|
+
:type TableId: int
|
|
6601
6603
|
"""
|
|
6602
6604
|
self.Uuid = None
|
|
6603
6605
|
self.AlarmVid = None
|
|
6604
6606
|
self.AlarmTime = None
|
|
6607
|
+
self.TableId = None
|
|
6605
6608
|
|
|
6606
6609
|
|
|
6607
6610
|
def _deserialize(self, params):
|
|
6608
6611
|
self.Uuid = params.get("Uuid")
|
|
6609
6612
|
self.AlarmVid = params.get("AlarmVid")
|
|
6610
6613
|
self.AlarmTime = params.get("AlarmTime")
|
|
6614
|
+
self.TableId = params.get("TableId")
|
|
6611
6615
|
memeber_set = set(params.keys())
|
|
6612
6616
|
for name, value in vars(self).items():
|
|
6613
6617
|
if name in memeber_set:
|
|
@@ -12153,12 +12157,15 @@ class DescribeEmergencyVulListRequest(AbstractModel):
|
|
|
12153
12157
|
:type Order: str
|
|
12154
12158
|
:param By: 排序字段 PublishDate LastScanTime HostCount
|
|
12155
12159
|
:type By: str
|
|
12160
|
+
:param HotspotAttack: 是否热点漏洞
|
|
12161
|
+
:type HotspotAttack: bool
|
|
12156
12162
|
"""
|
|
12157
12163
|
self.Limit = None
|
|
12158
12164
|
self.Offset = None
|
|
12159
12165
|
self.Filters = None
|
|
12160
12166
|
self.Order = None
|
|
12161
12167
|
self.By = None
|
|
12168
|
+
self.HotspotAttack = None
|
|
12162
12169
|
|
|
12163
12170
|
|
|
12164
12171
|
def _deserialize(self, params):
|
|
@@ -12172,6 +12179,7 @@ class DescribeEmergencyVulListRequest(AbstractModel):
|
|
|
12172
12179
|
self.Filters.append(obj)
|
|
12173
12180
|
self.Order = params.get("Order")
|
|
12174
12181
|
self.By = params.get("By")
|
|
12182
|
+
self.HotspotAttack = params.get("HotspotAttack")
|
|
12175
12183
|
memeber_set = set(params.keys())
|
|
12176
12184
|
for name, value in vars(self).items():
|
|
12177
12185
|
if name in memeber_set:
|
|
@@ -13469,6 +13477,8 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
|
13469
13477
|
:type AutoRepurchaseSwitch: bool
|
|
13470
13478
|
:param AutoRepurchaseRenewSwitch: 自动加购订单是否自动续费 ,true 开启, false 关闭
|
|
13471
13479
|
:type AutoRepurchaseRenewSwitch: bool
|
|
13480
|
+
:param DestroyOrderNum: 已销毁订单数
|
|
13481
|
+
:type DestroyOrderNum: int
|
|
13472
13482
|
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13473
13483
|
:type RequestId: str
|
|
13474
13484
|
"""
|
|
@@ -13489,6 +13499,7 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
|
13489
13499
|
self.AvailableLHLicenseCnt = None
|
|
13490
13500
|
self.AutoRepurchaseSwitch = None
|
|
13491
13501
|
self.AutoRepurchaseRenewSwitch = None
|
|
13502
|
+
self.DestroyOrderNum = None
|
|
13492
13503
|
self.RequestId = None
|
|
13493
13504
|
|
|
13494
13505
|
|
|
@@ -13510,6 +13521,7 @@ class DescribeLicenseGeneralResponse(AbstractModel):
|
|
|
13510
13521
|
self.AvailableLHLicenseCnt = params.get("AvailableLHLicenseCnt")
|
|
13511
13522
|
self.AutoRepurchaseSwitch = params.get("AutoRepurchaseSwitch")
|
|
13512
13523
|
self.AutoRepurchaseRenewSwitch = params.get("AutoRepurchaseRenewSwitch")
|
|
13524
|
+
self.DestroyOrderNum = params.get("DestroyOrderNum")
|
|
13513
13525
|
self.RequestId = params.get("RequestId")
|
|
13514
13526
|
|
|
13515
13527
|
|
|
@@ -13597,6 +13609,77 @@ class DescribeLicenseListResponse(AbstractModel):
|
|
|
13597
13609
|
self.RequestId = params.get("RequestId")
|
|
13598
13610
|
|
|
13599
13611
|
|
|
13612
|
+
class DescribeLogStorageConfigRequest(AbstractModel):
|
|
13613
|
+
"""DescribeLogStorageConfig请求参数结构体
|
|
13614
|
+
|
|
13615
|
+
"""
|
|
13616
|
+
|
|
13617
|
+
|
|
13618
|
+
class DescribeLogStorageConfigResponse(AbstractModel):
|
|
13619
|
+
"""DescribeLogStorageConfig返回参数结构体
|
|
13620
|
+
|
|
13621
|
+
"""
|
|
13622
|
+
|
|
13623
|
+
def __init__(self):
|
|
13624
|
+
r"""
|
|
13625
|
+
:param Type: 存储类型,string数组
|
|
13626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13627
|
+
:type Type: list of str
|
|
13628
|
+
:param Period: 日志存储天数,3640表示不限
|
|
13629
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13630
|
+
:type Period: int
|
|
13631
|
+
:param PeriodModifyCount: 本月Period的修改次数
|
|
13632
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13633
|
+
:type PeriodModifyCount: int
|
|
13634
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13635
|
+
:type RequestId: str
|
|
13636
|
+
"""
|
|
13637
|
+
self.Type = None
|
|
13638
|
+
self.Period = None
|
|
13639
|
+
self.PeriodModifyCount = None
|
|
13640
|
+
self.RequestId = None
|
|
13641
|
+
|
|
13642
|
+
|
|
13643
|
+
def _deserialize(self, params):
|
|
13644
|
+
self.Type = params.get("Type")
|
|
13645
|
+
self.Period = params.get("Period")
|
|
13646
|
+
self.PeriodModifyCount = params.get("PeriodModifyCount")
|
|
13647
|
+
self.RequestId = params.get("RequestId")
|
|
13648
|
+
|
|
13649
|
+
|
|
13650
|
+
class DescribeLogStorageRecordRequest(AbstractModel):
|
|
13651
|
+
"""DescribeLogStorageRecord请求参数结构体
|
|
13652
|
+
|
|
13653
|
+
"""
|
|
13654
|
+
|
|
13655
|
+
|
|
13656
|
+
class DescribeLogStorageRecordResponse(AbstractModel):
|
|
13657
|
+
"""DescribeLogStorageRecord返回参数结构体
|
|
13658
|
+
|
|
13659
|
+
"""
|
|
13660
|
+
|
|
13661
|
+
def __init__(self):
|
|
13662
|
+
r"""
|
|
13663
|
+
:param Records: 存储量记录
|
|
13664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13665
|
+
:type Records: list of LogStorageRecord
|
|
13666
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
13667
|
+
:type RequestId: str
|
|
13668
|
+
"""
|
|
13669
|
+
self.Records = None
|
|
13670
|
+
self.RequestId = None
|
|
13671
|
+
|
|
13672
|
+
|
|
13673
|
+
def _deserialize(self, params):
|
|
13674
|
+
if params.get("Records") is not None:
|
|
13675
|
+
self.Records = []
|
|
13676
|
+
for item in params.get("Records"):
|
|
13677
|
+
obj = LogStorageRecord()
|
|
13678
|
+
obj._deserialize(item)
|
|
13679
|
+
self.Records.append(obj)
|
|
13680
|
+
self.RequestId = params.get("RequestId")
|
|
13681
|
+
|
|
13682
|
+
|
|
13600
13683
|
class DescribeLogStorageStatisticRequest(AbstractModel):
|
|
13601
13684
|
"""DescribeLogStorageStatistic请求参数结构体
|
|
13602
13685
|
|
|
@@ -17743,6 +17826,11 @@ class DescribeVulListRequest(AbstractModel):
|
|
|
17743
17826
|
<li>VulCategory- string - 是否必填:否 - 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞</li>
|
|
17744
17827
|
<li>IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持</li>
|
|
17745
17828
|
<li>Labels- string- 是否必填:否 - 标签搜索</li>
|
|
17829
|
+
<li>IsSupportAutoFix- string- 是否必填:否 - 是否支持自动修复 0:不支持 1:支持</li>
|
|
17830
|
+
<li>CvssScore- string- 是否必填:否 - CvssScore大于多少</li>
|
|
17831
|
+
<li>AttackLevel- string- 是否必填:否 - 攻击热度大于多少</li>
|
|
17832
|
+
|
|
17833
|
+
|
|
17746
17834
|
:type Filters: list of Filters
|
|
17747
17835
|
:param By: 可选排序字段 Level,LastTime,HostCount
|
|
17748
17836
|
:type By: str
|
|
@@ -18491,6 +18579,15 @@ class EmergencyVul(AbstractModel):
|
|
|
18491
18579
|
:param DefenseAttackCount: 已防御的攻击次数
|
|
18492
18580
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
18493
18581
|
:type DefenseAttackCount: int
|
|
18582
|
+
:param Method: 检测规则 0 - 版本比对, 1 - POC验证
|
|
18583
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18584
|
+
:type Method: int
|
|
18585
|
+
:param AttackLevel: 攻击热度级别
|
|
18586
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18587
|
+
:type AttackLevel: int
|
|
18588
|
+
:param DefenseState: 是否有漏洞主机开启漏洞防御
|
|
18589
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
18590
|
+
:type DefenseState: bool
|
|
18494
18591
|
"""
|
|
18495
18592
|
self.VulId = None
|
|
18496
18593
|
self.Level = None
|
|
@@ -18506,6 +18603,9 @@ class EmergencyVul(AbstractModel):
|
|
|
18506
18603
|
self.HostCount = None
|
|
18507
18604
|
self.IsSupportDefense = None
|
|
18508
18605
|
self.DefenseAttackCount = None
|
|
18606
|
+
self.Method = None
|
|
18607
|
+
self.AttackLevel = None
|
|
18608
|
+
self.DefenseState = None
|
|
18509
18609
|
|
|
18510
18610
|
|
|
18511
18611
|
def _deserialize(self, params):
|
|
@@ -18523,6 +18623,9 @@ class EmergencyVul(AbstractModel):
|
|
|
18523
18623
|
self.HostCount = params.get("HostCount")
|
|
18524
18624
|
self.IsSupportDefense = params.get("IsSupportDefense")
|
|
18525
18625
|
self.DefenseAttackCount = params.get("DefenseAttackCount")
|
|
18626
|
+
self.Method = params.get("Method")
|
|
18627
|
+
self.AttackLevel = params.get("AttackLevel")
|
|
18628
|
+
self.DefenseState = params.get("DefenseState")
|
|
18526
18629
|
memeber_set = set(params.keys())
|
|
18527
18630
|
for name, value in vars(self).items():
|
|
18528
18631
|
if name in memeber_set:
|
|
@@ -21264,16 +21367,27 @@ class LicenseBindTaskDetail(AbstractModel):
|
|
|
21264
21367
|
:type ErrMsg: str
|
|
21265
21368
|
:param Status: 0 执行中, 1 成功,2失败
|
|
21266
21369
|
:type Status: int
|
|
21370
|
+
:param FixMessage: 修复建议
|
|
21371
|
+
:type FixMessage: str
|
|
21372
|
+
:param MachineExtraInfo: 机器额外信息
|
|
21373
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21374
|
+
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
|
21267
21375
|
"""
|
|
21268
21376
|
self.Quuid = None
|
|
21269
21377
|
self.ErrMsg = None
|
|
21270
21378
|
self.Status = None
|
|
21379
|
+
self.FixMessage = None
|
|
21380
|
+
self.MachineExtraInfo = None
|
|
21271
21381
|
|
|
21272
21382
|
|
|
21273
21383
|
def _deserialize(self, params):
|
|
21274
21384
|
self.Quuid = params.get("Quuid")
|
|
21275
21385
|
self.ErrMsg = params.get("ErrMsg")
|
|
21276
21386
|
self.Status = params.get("Status")
|
|
21387
|
+
self.FixMessage = params.get("FixMessage")
|
|
21388
|
+
if params.get("MachineExtraInfo") is not None:
|
|
21389
|
+
self.MachineExtraInfo = MachineExtraInfo()
|
|
21390
|
+
self.MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
21277
21391
|
memeber_set = set(params.keys())
|
|
21278
21392
|
for name, value in vars(self).items():
|
|
21279
21393
|
if name in memeber_set:
|
|
@@ -21438,6 +21552,41 @@ class LicenseUnBindRsp(AbstractModel):
|
|
|
21438
21552
|
|
|
21439
21553
|
|
|
21440
21554
|
|
|
21555
|
+
class LogStorageRecord(AbstractModel):
|
|
21556
|
+
"""日志存储量记录
|
|
21557
|
+
|
|
21558
|
+
"""
|
|
21559
|
+
|
|
21560
|
+
def __init__(self):
|
|
21561
|
+
r"""
|
|
21562
|
+
:param Month: 年月份
|
|
21563
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21564
|
+
:type Month: str
|
|
21565
|
+
:param UsedSize: 存储量,字节
|
|
21566
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21567
|
+
:type UsedSize: int
|
|
21568
|
+
:param InquireSize: 总量,字节
|
|
21569
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21570
|
+
:type InquireSize: int
|
|
21571
|
+
"""
|
|
21572
|
+
self.Month = None
|
|
21573
|
+
self.UsedSize = None
|
|
21574
|
+
self.InquireSize = None
|
|
21575
|
+
|
|
21576
|
+
|
|
21577
|
+
def _deserialize(self, params):
|
|
21578
|
+
self.Month = params.get("Month")
|
|
21579
|
+
self.UsedSize = params.get("UsedSize")
|
|
21580
|
+
self.InquireSize = params.get("InquireSize")
|
|
21581
|
+
memeber_set = set(params.keys())
|
|
21582
|
+
for name, value in vars(self).items():
|
|
21583
|
+
if name in memeber_set:
|
|
21584
|
+
memeber_set.remove(name)
|
|
21585
|
+
if len(memeber_set) > 0:
|
|
21586
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21587
|
+
|
|
21588
|
+
|
|
21589
|
+
|
|
21441
21590
|
class LoginWhiteCombinedInfo(AbstractModel):
|
|
21442
21591
|
"""异地登录合并后白名单
|
|
21443
21592
|
|
|
@@ -21474,6 +21623,8 @@ class LoginWhiteCombinedInfo(AbstractModel):
|
|
|
21474
21623
|
:type ModifyTime: str
|
|
21475
21624
|
:param Uuid: 服务器Uuid
|
|
21476
21625
|
:type Uuid: str
|
|
21626
|
+
:param Locations: 登陆地
|
|
21627
|
+
:type Locations: str
|
|
21477
21628
|
"""
|
|
21478
21629
|
self.Places = None
|
|
21479
21630
|
self.UserName = None
|
|
@@ -21489,6 +21640,7 @@ class LoginWhiteCombinedInfo(AbstractModel):
|
|
|
21489
21640
|
self.CreateTime = None
|
|
21490
21641
|
self.ModifyTime = None
|
|
21491
21642
|
self.Uuid = None
|
|
21643
|
+
self.Locations = None
|
|
21492
21644
|
|
|
21493
21645
|
|
|
21494
21646
|
def _deserialize(self, params):
|
|
@@ -21511,6 +21663,7 @@ class LoginWhiteCombinedInfo(AbstractModel):
|
|
|
21511
21663
|
self.CreateTime = params.get("CreateTime")
|
|
21512
21664
|
self.ModifyTime = params.get("ModifyTime")
|
|
21513
21665
|
self.Uuid = params.get("Uuid")
|
|
21666
|
+
self.Locations = params.get("Locations")
|
|
21514
21667
|
memeber_set = set(params.keys())
|
|
21515
21668
|
for name, value in vars(self).items():
|
|
21516
21669
|
if name in memeber_set:
|
|
@@ -22766,6 +22919,55 @@ class ModifyLicenseUnBindsResponse(AbstractModel):
|
|
|
22766
22919
|
self.RequestId = params.get("RequestId")
|
|
22767
22920
|
|
|
22768
22921
|
|
|
22922
|
+
class ModifyLogStorageConfigRequest(AbstractModel):
|
|
22923
|
+
"""ModifyLogStorageConfig请求参数结构体
|
|
22924
|
+
|
|
22925
|
+
"""
|
|
22926
|
+
|
|
22927
|
+
def __init__(self):
|
|
22928
|
+
r"""
|
|
22929
|
+
:param IsModifyPeriod: 是否修改有效期
|
|
22930
|
+
:type IsModifyPeriod: bool
|
|
22931
|
+
:param Type: 存储类型,string数组
|
|
22932
|
+
:type Type: list of str
|
|
22933
|
+
:param Period: 日志存储天数,3640表示不限
|
|
22934
|
+
:type Period: int
|
|
22935
|
+
"""
|
|
22936
|
+
self.IsModifyPeriod = None
|
|
22937
|
+
self.Type = None
|
|
22938
|
+
self.Period = None
|
|
22939
|
+
|
|
22940
|
+
|
|
22941
|
+
def _deserialize(self, params):
|
|
22942
|
+
self.IsModifyPeriod = params.get("IsModifyPeriod")
|
|
22943
|
+
self.Type = params.get("Type")
|
|
22944
|
+
self.Period = params.get("Period")
|
|
22945
|
+
memeber_set = set(params.keys())
|
|
22946
|
+
for name, value in vars(self).items():
|
|
22947
|
+
if name in memeber_set:
|
|
22948
|
+
memeber_set.remove(name)
|
|
22949
|
+
if len(memeber_set) > 0:
|
|
22950
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22951
|
+
|
|
22952
|
+
|
|
22953
|
+
|
|
22954
|
+
class ModifyLogStorageConfigResponse(AbstractModel):
|
|
22955
|
+
"""ModifyLogStorageConfig返回参数结构体
|
|
22956
|
+
|
|
22957
|
+
"""
|
|
22958
|
+
|
|
22959
|
+
def __init__(self):
|
|
22960
|
+
r"""
|
|
22961
|
+
:param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
22962
|
+
:type RequestId: str
|
|
22963
|
+
"""
|
|
22964
|
+
self.RequestId = None
|
|
22965
|
+
|
|
22966
|
+
|
|
22967
|
+
def _deserialize(self, params):
|
|
22968
|
+
self.RequestId = params.get("RequestId")
|
|
22969
|
+
|
|
22970
|
+
|
|
22769
22971
|
class ModifyMachineRemarkRequest(AbstractModel):
|
|
22770
22972
|
"""ModifyMachineRemark请求参数结构体
|
|
22771
22973
|
|
|
@@ -23656,6 +23858,18 @@ class ProtectDirInfo(AbstractModel):
|
|
|
23656
23858
|
:type ProtectException: int
|
|
23657
23859
|
:param AutoRestoreSwitchStatus: 自动恢复开关 (Filters 过滤Quuid 时 返回) 默认0
|
|
23658
23860
|
:type AutoRestoreSwitchStatus: int
|
|
23861
|
+
:param FirstProtectTime: 首次开启防护时间
|
|
23862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23863
|
+
:type FirstProtectTime: str
|
|
23864
|
+
:param LatestProtectTime: 最近开启防护时间
|
|
23865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23866
|
+
:type LatestProtectTime: str
|
|
23867
|
+
:param ProtectFileType: 防护文件类型
|
|
23868
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23869
|
+
:type ProtectFileType: str
|
|
23870
|
+
:param ProtectFilesCount: 防护文件总数
|
|
23871
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23872
|
+
:type ProtectFilesCount: int
|
|
23659
23873
|
"""
|
|
23660
23874
|
self.DirName = None
|
|
23661
23875
|
self.DirPath = None
|
|
@@ -23666,6 +23880,10 @@ class ProtectDirInfo(AbstractModel):
|
|
|
23666
23880
|
self.ProtectStatus = None
|
|
23667
23881
|
self.ProtectException = None
|
|
23668
23882
|
self.AutoRestoreSwitchStatus = None
|
|
23883
|
+
self.FirstProtectTime = None
|
|
23884
|
+
self.LatestProtectTime = None
|
|
23885
|
+
self.ProtectFileType = None
|
|
23886
|
+
self.ProtectFilesCount = None
|
|
23669
23887
|
|
|
23670
23888
|
|
|
23671
23889
|
def _deserialize(self, params):
|
|
@@ -23678,6 +23896,10 @@ class ProtectDirInfo(AbstractModel):
|
|
|
23678
23896
|
self.ProtectStatus = params.get("ProtectStatus")
|
|
23679
23897
|
self.ProtectException = params.get("ProtectException")
|
|
23680
23898
|
self.AutoRestoreSwitchStatus = params.get("AutoRestoreSwitchStatus")
|
|
23899
|
+
self.FirstProtectTime = params.get("FirstProtectTime")
|
|
23900
|
+
self.LatestProtectTime = params.get("LatestProtectTime")
|
|
23901
|
+
self.ProtectFileType = params.get("ProtectFileType")
|
|
23902
|
+
self.ProtectFilesCount = params.get("ProtectFilesCount")
|
|
23681
23903
|
memeber_set = set(params.keys())
|
|
23682
23904
|
for name, value in vars(self).items():
|
|
23683
23905
|
if name in memeber_set:
|
|
@@ -23794,6 +24016,9 @@ class ProtectEventLists(AbstractModel):
|
|
|
23794
24016
|
:param MachineExtraInfo: 主机额外信息
|
|
23795
24017
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
23796
24018
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
|
24019
|
+
:param Quuid: 机器实例uuid
|
|
24020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24021
|
+
:type Quuid: str
|
|
23797
24022
|
"""
|
|
23798
24023
|
self.HostName = None
|
|
23799
24024
|
self.HostIp = None
|
|
@@ -23805,6 +24030,7 @@ class ProtectEventLists(AbstractModel):
|
|
|
23805
24030
|
self.Id = None
|
|
23806
24031
|
self.FileType = None
|
|
23807
24032
|
self.MachineExtraInfo = None
|
|
24033
|
+
self.Quuid = None
|
|
23808
24034
|
|
|
23809
24035
|
|
|
23810
24036
|
def _deserialize(self, params):
|
|
@@ -23820,6 +24046,7 @@ class ProtectEventLists(AbstractModel):
|
|
|
23820
24046
|
if params.get("MachineExtraInfo") is not None:
|
|
23821
24047
|
self.MachineExtraInfo = MachineExtraInfo()
|
|
23822
24048
|
self.MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
24049
|
+
self.Quuid = params.get("Quuid")
|
|
23823
24050
|
memeber_set = set(params.keys())
|
|
23824
24051
|
for name, value in vars(self).items():
|
|
23825
24052
|
if name in memeber_set:
|
|
@@ -26597,6 +26824,15 @@ class VulInfoList(AbstractModel):
|
|
|
26597
26824
|
:param VulCategory: 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
|
|
26598
26825
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
26599
26826
|
:type VulCategory: int
|
|
26827
|
+
:param AttackLevel: 攻击热度级别
|
|
26828
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26829
|
+
:type AttackLevel: int
|
|
26830
|
+
:param FixNoNeedRestart: 漏洞修复后是否需要重启
|
|
26831
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26832
|
+
:type FixNoNeedRestart: bool
|
|
26833
|
+
:param Method: 检测方式0 - 版本比对, 1 - POC验证
|
|
26834
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26835
|
+
:type Method: int
|
|
26600
26836
|
"""
|
|
26601
26837
|
self.Ids = None
|
|
26602
26838
|
self.Name = None
|
|
@@ -26621,6 +26857,9 @@ class VulInfoList(AbstractModel):
|
|
|
26621
26857
|
self.DefenseAttackCount = None
|
|
26622
26858
|
self.FirstAppearTime = None
|
|
26623
26859
|
self.VulCategory = None
|
|
26860
|
+
self.AttackLevel = None
|
|
26861
|
+
self.FixNoNeedRestart = None
|
|
26862
|
+
self.Method = None
|
|
26624
26863
|
|
|
26625
26864
|
|
|
26626
26865
|
def _deserialize(self, params):
|
|
@@ -26647,6 +26886,9 @@ class VulInfoList(AbstractModel):
|
|
|
26647
26886
|
self.DefenseAttackCount = params.get("DefenseAttackCount")
|
|
26648
26887
|
self.FirstAppearTime = params.get("FirstAppearTime")
|
|
26649
26888
|
self.VulCategory = params.get("VulCategory")
|
|
26889
|
+
self.AttackLevel = params.get("AttackLevel")
|
|
26890
|
+
self.FixNoNeedRestart = params.get("FixNoNeedRestart")
|
|
26891
|
+
self.Method = params.get("Method")
|
|
26650
26892
|
memeber_set = set(params.keys())
|
|
26651
26893
|
for name, value in vars(self).items():
|
|
26652
26894
|
if name in memeber_set:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|