tencentcloud-sdk-cwp 3.0.662 → 3.0.664
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +96 -0
- data/lib/v20180228/models.rb +389 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b4865fb64f890efd942cf6596da773ff560b203
|
4
|
+
data.tar.gz: f58fadc6aaa37ebe2207199e6fc48f8bcf3f440c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38bc214df4fd028f3a8cc992bbceac9ab2f3d0ee7feb255a4ad1ab64110cfc4005580ad73843c7d0fb38fa54086f26d2407f163310fe282704d18f06fb1cad99
|
7
|
+
data.tar.gz: 4306fbe640804507a658ac9cced9febb17a529b4b79f4a1a87b9b3ef1592d00ea16d6c033ae3f090e793162a69b8aaf05430498497739abe56bd6f9a2ef1883d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.664
|
data/lib/v20180228/client.rb
CHANGED
@@ -1640,6 +1640,30 @@ module TencentCloud
|
|
1640
1640
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1641
1641
|
end
|
1642
1642
|
|
1643
|
+
# 按分页形式展示网络攻击检测事件列表
|
1644
|
+
|
1645
|
+
# @param request: Request instance for DescribeAttackEvents.
|
1646
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAttackEventsRequest`
|
1647
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAttackEventsResponse`
|
1648
|
+
def DescribeAttackEvents(request)
|
1649
|
+
body = send_request('DescribeAttackEvents', request.serialize)
|
1650
|
+
response = JSON.parse(body)
|
1651
|
+
if response['Response'].key?('Error') == false
|
1652
|
+
model = DescribeAttackEventsResponse.new
|
1653
|
+
model.deserialize(response['Response'])
|
1654
|
+
model
|
1655
|
+
else
|
1656
|
+
code = response['Response']['Error']['Code']
|
1657
|
+
message = response['Response']['Error']['Message']
|
1658
|
+
reqid = response['Response']['RequestId']
|
1659
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1660
|
+
end
|
1661
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1662
|
+
raise e
|
1663
|
+
rescue StandardError => e
|
1664
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1665
|
+
end
|
1666
|
+
|
1643
1667
|
# 网络攻击日志详情
|
1644
1668
|
|
1645
1669
|
# @param request: Request instance for DescribeAttackLogInfo.
|
@@ -3464,6 +3488,30 @@ module TencentCloud
|
|
3464
3488
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3465
3489
|
end
|
3466
3490
|
|
3491
|
+
# 查询主机入侵检测事件统计
|
3492
|
+
|
3493
|
+
# @param request: Request instance for DescribeMachineRiskCnt.
|
3494
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeMachineRiskCntRequest`
|
3495
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeMachineRiskCntResponse`
|
3496
|
+
def DescribeMachineRiskCnt(request)
|
3497
|
+
body = send_request('DescribeMachineRiskCnt', request.serialize)
|
3498
|
+
response = JSON.parse(body)
|
3499
|
+
if response['Response'].key?('Error') == false
|
3500
|
+
model = DescribeMachineRiskCntResponse.new
|
3501
|
+
model.deserialize(response['Response'])
|
3502
|
+
model
|
3503
|
+
else
|
3504
|
+
code = response['Response']['Error']['Code']
|
3505
|
+
message = response['Response']['Error']['Message']
|
3506
|
+
reqid = response['Response']['RequestId']
|
3507
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3508
|
+
end
|
3509
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3510
|
+
raise e
|
3511
|
+
rescue StandardError => e
|
3512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3513
|
+
end
|
3514
|
+
|
3467
3515
|
# 本接口 (DescribeMachines) 用于获取区域主机列表。
|
3468
3516
|
|
3469
3517
|
# @param request: Request instance for DescribeMachines.
|
@@ -4256,6 +4304,30 @@ module TencentCloud
|
|
4256
4304
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4257
4305
|
end
|
4258
4306
|
|
4307
|
+
# 安全播报列表页
|
4308
|
+
|
4309
|
+
# @param request: Request instance for DescribeSecurityBroadcasts.
|
4310
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityBroadcastsRequest`
|
4311
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityBroadcastsResponse`
|
4312
|
+
def DescribeSecurityBroadcasts(request)
|
4313
|
+
body = send_request('DescribeSecurityBroadcasts', request.serialize)
|
4314
|
+
response = JSON.parse(body)
|
4315
|
+
if response['Response'].key?('Error') == false
|
4316
|
+
model = DescribeSecurityBroadcastsResponse.new
|
4317
|
+
model.deserialize(response['Response'])
|
4318
|
+
model
|
4319
|
+
else
|
4320
|
+
code = response['Response']['Error']['Code']
|
4321
|
+
message = response['Response']['Error']['Message']
|
4322
|
+
reqid = response['Response']['RequestId']
|
4323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4324
|
+
end
|
4325
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4326
|
+
raise e
|
4327
|
+
rescue StandardError => e
|
4328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4329
|
+
end
|
4330
|
+
|
4259
4331
|
# 本接口 (DescribeSecurityDynamics) 用于获取安全事件动态消息数据。
|
4260
4332
|
|
4261
4333
|
# @param request: Request instance for DescribeSecurityDynamics.
|
@@ -5984,6 +6056,30 @@ module TencentCloud
|
|
5984
6056
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5985
6057
|
end
|
5986
6058
|
|
6059
|
+
# 编辑《主机安全-按量计费》授权订单
|
6060
|
+
|
6061
|
+
# @param request: Request instance for ModifyLicenseOrder.
|
6062
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseOrderRequest`
|
6063
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyLicenseOrderResponse`
|
6064
|
+
def ModifyLicenseOrder(request)
|
6065
|
+
body = send_request('ModifyLicenseOrder', request.serialize)
|
6066
|
+
response = JSON.parse(body)
|
6067
|
+
if response['Response'].key?('Error') == false
|
6068
|
+
model = ModifyLicenseOrderResponse.new
|
6069
|
+
model.deserialize(response['Response'])
|
6070
|
+
model
|
6071
|
+
else
|
6072
|
+
code = response['Response']['Error']['Code']
|
6073
|
+
message = response['Response']['Error']['Message']
|
6074
|
+
reqid = response['Response']['RequestId']
|
6075
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
6076
|
+
end
|
6077
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
6078
|
+
raise e
|
6079
|
+
rescue StandardError => e
|
6080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
6081
|
+
end
|
6082
|
+
|
5987
6083
|
# 设置中心-授权管理 对某个授权批量解绑机器
|
5988
6084
|
|
5989
6085
|
# @param request: Request instance for ModifyLicenseUnBinds.
|
data/lib/v20180228/models.rb
CHANGED
@@ -4091,8 +4091,8 @@ module TencentCloud
|
|
4091
4091
|
|
4092
4092
|
attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
|
4093
4093
|
extend Gem::Deprecate
|
4094
|
-
deprecate :Decription, :none, 2023,
|
4095
|
-
deprecate :Decription=, :none, 2023,
|
4094
|
+
deprecate :Decription, :none, 2023, 9
|
4095
|
+
deprecate :Decription=, :none, 2023, 9
|
4096
4096
|
|
4097
4097
|
def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
|
4098
4098
|
@Id = id
|
@@ -4133,6 +4133,44 @@ module TencentCloud
|
|
4133
4133
|
end
|
4134
4134
|
end
|
4135
4135
|
|
4136
|
+
# 安全播报列表
|
4137
|
+
class Broadcasts < TencentCloud::Common::AbstractModel
|
4138
|
+
# @param Title: 文章名字
|
4139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4140
|
+
# @type Title: String
|
4141
|
+
# @param Type: 类型:0=紧急通知,1=功能更新,2=行业荣誉,3=版本发布
|
4142
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4143
|
+
# @type Type: Integer
|
4144
|
+
# @param Subtitle: 副标题
|
4145
|
+
# @type Subtitle: String
|
4146
|
+
# @param CreateTime: 发布时间
|
4147
|
+
# @type CreateTime: String
|
4148
|
+
# @param Id: 文章唯一id
|
4149
|
+
# @type Id: Integer
|
4150
|
+
# @param Level: 危险程度 0:无, 1:严重, 2: 高危, 3:中危, 4: 低危
|
4151
|
+
# @type Level: Integer
|
4152
|
+
|
4153
|
+
attr_accessor :Title, :Type, :Subtitle, :CreateTime, :Id, :Level
|
4154
|
+
|
4155
|
+
def initialize(title=nil, type=nil, subtitle=nil, createtime=nil, id=nil, level=nil)
|
4156
|
+
@Title = title
|
4157
|
+
@Type = type
|
4158
|
+
@Subtitle = subtitle
|
4159
|
+
@CreateTime = createtime
|
4160
|
+
@Id = id
|
4161
|
+
@Level = level
|
4162
|
+
end
|
4163
|
+
|
4164
|
+
def deserialize(params)
|
4165
|
+
@Title = params['Title']
|
4166
|
+
@Type = params['Type']
|
4167
|
+
@Subtitle = params['Subtitle']
|
4168
|
+
@CreateTime = params['CreateTime']
|
4169
|
+
@Id = params['Id']
|
4170
|
+
@Level = params['Level']
|
4171
|
+
end
|
4172
|
+
end
|
4173
|
+
|
4136
4174
|
# 密码破解列表实体
|
4137
4175
|
class BruteAttackInfo < TencentCloud::Common::AbstractModel
|
4138
4176
|
# @param Id: 唯一Id
|
@@ -8097,6 +8135,88 @@ module TencentCloud
|
|
8097
8135
|
end
|
8098
8136
|
end
|
8099
8137
|
|
8138
|
+
# DescribeAttackEvents请求参数结构体
|
8139
|
+
class DescribeAttackEventsRequest < TencentCloud::Common::AbstractModel
|
8140
|
+
# @param Limit: 返回数量,最大值为100。
|
8141
|
+
# @type Limit: Integer
|
8142
|
+
# @param Offset: 偏移量,默认为0。
|
8143
|
+
# @type Offset: Integer
|
8144
|
+
# @param Filters: 过滤条件。
|
8145
|
+
# <li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
|
8146
|
+
# <li>Status - String 事件处理状态 0:待处理 1:已处理 2: 已加白 3: 已忽略 4:已删除 - 是否必填: 否</li>
|
8147
|
+
# <li>SrcIP - String 来源IP - 是否必填: 否</li>
|
8148
|
+
# <li>Uuids - String 主机安全uuid - 是否必填: 否</li>
|
8149
|
+
# <li>Quuids - String cvm uuid - 是否必填: 否</li>
|
8150
|
+
# <li>DstPort - String 攻击目标端口 - 是否必填: 否</li>
|
8151
|
+
# <li>MachineName - String 主机名称 - 是否必填: 否</li>
|
8152
|
+
# <li>InstanceID - String 主机实例ID - 是否必填: 否</li>
|
8153
|
+
# <li>AttackTimeBegin - String 攻击开始时间 - 是否必填: 否</li>
|
8154
|
+
# <li>AttackTimeEnd - String 攻击结束时间 - 是否必填: 否</li>
|
8155
|
+
# <li>VulSupportDefense - String 漏洞是否支持防御 0不支持,1支持 - 是否必填: 否</li>
|
8156
|
+
# @type Filters: Array
|
8157
|
+
# @param By: 排序
|
8158
|
+
# @type By: String
|
8159
|
+
# @param Order: 排序方式 ASC,DESC
|
8160
|
+
# @type Order: String
|
8161
|
+
|
8162
|
+
attr_accessor :Limit, :Offset, :Filters, :By, :Order
|
8163
|
+
|
8164
|
+
def initialize(limit=nil, offset=nil, filters=nil, by=nil, order=nil)
|
8165
|
+
@Limit = limit
|
8166
|
+
@Offset = offset
|
8167
|
+
@Filters = filters
|
8168
|
+
@By = by
|
8169
|
+
@Order = order
|
8170
|
+
end
|
8171
|
+
|
8172
|
+
def deserialize(params)
|
8173
|
+
@Limit = params['Limit']
|
8174
|
+
@Offset = params['Offset']
|
8175
|
+
unless params['Filters'].nil?
|
8176
|
+
@Filters = []
|
8177
|
+
params['Filters'].each do |i|
|
8178
|
+
filter_tmp = Filter.new
|
8179
|
+
filter_tmp.deserialize(i)
|
8180
|
+
@Filters << filter_tmp
|
8181
|
+
end
|
8182
|
+
end
|
8183
|
+
@By = params['By']
|
8184
|
+
@Order = params['Order']
|
8185
|
+
end
|
8186
|
+
end
|
8187
|
+
|
8188
|
+
# DescribeAttackEvents返回参数结构体
|
8189
|
+
class DescribeAttackEventsResponse < TencentCloud::Common::AbstractModel
|
8190
|
+
# @param List: 攻击事件列表
|
8191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8192
|
+
# @type List: Array
|
8193
|
+
# @param TotalCount: 总条数
|
8194
|
+
# @type TotalCount: Integer
|
8195
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8196
|
+
# @type RequestId: String
|
8197
|
+
|
8198
|
+
attr_accessor :List, :TotalCount, :RequestId
|
8199
|
+
|
8200
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
8201
|
+
@List = list
|
8202
|
+
@TotalCount = totalcount
|
8203
|
+
@RequestId = requestid
|
8204
|
+
end
|
8205
|
+
|
8206
|
+
def deserialize(params)
|
8207
|
+
unless params['List'].nil?
|
8208
|
+
@List = []
|
8209
|
+
params['List'].each do |i|
|
8210
|
+
netattackevent_tmp = NetAttackEvent.new
|
8211
|
+
netattackevent_tmp.deserialize(i)
|
8212
|
+
@List << netattackevent_tmp
|
8213
|
+
end
|
8214
|
+
end
|
8215
|
+
@TotalCount = params['TotalCount']
|
8216
|
+
@RequestId = params['RequestId']
|
8217
|
+
end
|
8218
|
+
end
|
8219
|
+
|
8100
8220
|
# DescribeAttackLogInfo请求参数结构体
|
8101
8221
|
class DescribeAttackLogInfoRequest < TencentCloud::Common::AbstractModel
|
8102
8222
|
# @param Id: 日志ID
|
@@ -12978,6 +13098,74 @@ module TencentCloud
|
|
12978
13098
|
end
|
12979
13099
|
end
|
12980
13100
|
|
13101
|
+
# DescribeMachineRiskCnt请求参数结构体
|
13102
|
+
class DescribeMachineRiskCntRequest < TencentCloud::Common::AbstractModel
|
13103
|
+
# @param Filters: 过滤条件。
|
13104
|
+
# <li>Uuids- String - 是否必填:否 - 主机uuid</li>
|
13105
|
+
# @type Filters: Array
|
13106
|
+
|
13107
|
+
attr_accessor :Filters
|
13108
|
+
|
13109
|
+
def initialize(filters=nil)
|
13110
|
+
@Filters = filters
|
13111
|
+
end
|
13112
|
+
|
13113
|
+
def deserialize(params)
|
13114
|
+
unless params['Filters'].nil?
|
13115
|
+
@Filters = []
|
13116
|
+
params['Filters'].each do |i|
|
13117
|
+
filter_tmp = Filter.new
|
13118
|
+
filter_tmp.deserialize(i)
|
13119
|
+
@Filters << filter_tmp
|
13120
|
+
end
|
13121
|
+
end
|
13122
|
+
end
|
13123
|
+
end
|
13124
|
+
|
13125
|
+
# DescribeMachineRiskCnt返回参数结构体
|
13126
|
+
class DescribeMachineRiskCntResponse < TencentCloud::Common::AbstractModel
|
13127
|
+
# @param HostLogin: 异地登录
|
13128
|
+
# @type HostLogin: Integer
|
13129
|
+
# @param BruteAttack: 密码破解
|
13130
|
+
# @type BruteAttack: Integer
|
13131
|
+
# @param MaliciousRequest: 恶意请求
|
13132
|
+
# @type MaliciousRequest: Integer
|
13133
|
+
# @param ReverseShell: 反弹shell
|
13134
|
+
# @type ReverseShell: Integer
|
13135
|
+
# @param Bash: 高危命令
|
13136
|
+
# @type Bash: Integer
|
13137
|
+
# @param PrivilegeEscalation: 本地提权
|
13138
|
+
# @type PrivilegeEscalation: Integer
|
13139
|
+
# @param Malware: 木马
|
13140
|
+
# @type Malware: Integer
|
13141
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13142
|
+
# @type RequestId: String
|
13143
|
+
|
13144
|
+
attr_accessor :HostLogin, :BruteAttack, :MaliciousRequest, :ReverseShell, :Bash, :PrivilegeEscalation, :Malware, :RequestId
|
13145
|
+
|
13146
|
+
def initialize(hostlogin=nil, bruteattack=nil, maliciousrequest=nil, reverseshell=nil, bash=nil, privilegeescalation=nil, malware=nil, requestid=nil)
|
13147
|
+
@HostLogin = hostlogin
|
13148
|
+
@BruteAttack = bruteattack
|
13149
|
+
@MaliciousRequest = maliciousrequest
|
13150
|
+
@ReverseShell = reverseshell
|
13151
|
+
@Bash = bash
|
13152
|
+
@PrivilegeEscalation = privilegeescalation
|
13153
|
+
@Malware = malware
|
13154
|
+
@RequestId = requestid
|
13155
|
+
end
|
13156
|
+
|
13157
|
+
def deserialize(params)
|
13158
|
+
@HostLogin = params['HostLogin']
|
13159
|
+
@BruteAttack = params['BruteAttack']
|
13160
|
+
@MaliciousRequest = params['MaliciousRequest']
|
13161
|
+
@ReverseShell = params['ReverseShell']
|
13162
|
+
@Bash = params['Bash']
|
13163
|
+
@PrivilegeEscalation = params['PrivilegeEscalation']
|
13164
|
+
@Malware = params['Malware']
|
13165
|
+
@RequestId = params['RequestId']
|
13166
|
+
end
|
13167
|
+
end
|
13168
|
+
|
12981
13169
|
# DescribeMachines请求参数结构体
|
12982
13170
|
class DescribeMachinesRequest < TencentCloud::Common::AbstractModel
|
12983
13171
|
# @param MachineType: 机器所属专区类型
|
@@ -14991,6 +15179,69 @@ module TencentCloud
|
|
14991
15179
|
end
|
14992
15180
|
end
|
14993
15181
|
|
15182
|
+
# DescribeSecurityBroadcasts请求参数结构体
|
15183
|
+
class DescribeSecurityBroadcastsRequest < TencentCloud::Common::AbstractModel
|
15184
|
+
# @param Offset: 偏移量,默认为0。
|
15185
|
+
# @type Offset: Integer
|
15186
|
+
# @param Limit: 需要返回的数量,默认为10 ,0=全部
|
15187
|
+
# @type Limit: Integer
|
15188
|
+
# @param BeginDate: 筛选发布日期:开始时间
|
15189
|
+
# @type BeginDate: String
|
15190
|
+
# @param EndDate: 筛选发布日期:结束时间
|
15191
|
+
# @type EndDate: String
|
15192
|
+
# @param BroadcastType: 过滤安全播报类型:0-紧急通知,1-功能更新,2-行业荣誉,3-版本发布
|
15193
|
+
# @type BroadcastType: String
|
15194
|
+
|
15195
|
+
attr_accessor :Offset, :Limit, :BeginDate, :EndDate, :BroadcastType
|
15196
|
+
|
15197
|
+
def initialize(offset=nil, limit=nil, begindate=nil, enddate=nil, broadcasttype=nil)
|
15198
|
+
@Offset = offset
|
15199
|
+
@Limit = limit
|
15200
|
+
@BeginDate = begindate
|
15201
|
+
@EndDate = enddate
|
15202
|
+
@BroadcastType = broadcasttype
|
15203
|
+
end
|
15204
|
+
|
15205
|
+
def deserialize(params)
|
15206
|
+
@Offset = params['Offset']
|
15207
|
+
@Limit = params['Limit']
|
15208
|
+
@BeginDate = params['BeginDate']
|
15209
|
+
@EndDate = params['EndDate']
|
15210
|
+
@BroadcastType = params['BroadcastType']
|
15211
|
+
end
|
15212
|
+
end
|
15213
|
+
|
15214
|
+
# DescribeSecurityBroadcasts返回参数结构体
|
15215
|
+
class DescribeSecurityBroadcastsResponse < TencentCloud::Common::AbstractModel
|
15216
|
+
# @param List: 列表
|
15217
|
+
# @type List: Array
|
15218
|
+
# @param TotalCount: 总共多少条
|
15219
|
+
# @type TotalCount: Integer
|
15220
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15221
|
+
# @type RequestId: String
|
15222
|
+
|
15223
|
+
attr_accessor :List, :TotalCount, :RequestId
|
15224
|
+
|
15225
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
15226
|
+
@List = list
|
15227
|
+
@TotalCount = totalcount
|
15228
|
+
@RequestId = requestid
|
15229
|
+
end
|
15230
|
+
|
15231
|
+
def deserialize(params)
|
15232
|
+
unless params['List'].nil?
|
15233
|
+
@List = []
|
15234
|
+
params['List'].each do |i|
|
15235
|
+
broadcasts_tmp = Broadcasts.new
|
15236
|
+
broadcasts_tmp.deserialize(i)
|
15237
|
+
@List << broadcasts_tmp
|
15238
|
+
end
|
15239
|
+
end
|
15240
|
+
@TotalCount = params['TotalCount']
|
15241
|
+
@RequestId = params['RequestId']
|
15242
|
+
end
|
15243
|
+
end
|
15244
|
+
|
14994
15245
|
# DescribeSecurityDynamics请求参数结构体
|
14995
15246
|
class DescribeSecurityDynamicsRequest < TencentCloud::Common::AbstractModel
|
14996
15247
|
# @param Limit: 返回数量,最大值为100。
|
@@ -20924,6 +21175,58 @@ module TencentCloud
|
|
20924
21175
|
end
|
20925
21176
|
end
|
20926
21177
|
|
21178
|
+
# ModifyLicenseOrder请求参数结构体
|
21179
|
+
class ModifyLicenseOrderRequest < TencentCloud::Common::AbstractModel
|
21180
|
+
# @param ResourceId: 资源ID
|
21181
|
+
# @type ResourceId: String
|
21182
|
+
# @param InquireNum: 预期值,如果当前为10,扩容则输入原来大的值, 缩容则比原来小的值(缩容时不允许预期值比使用量小),如果保持不变则填写原值,
|
21183
|
+
# @type InquireNum: Integer
|
21184
|
+
# @param ProjectId: 项目ID,不修改则输入原值.
|
21185
|
+
# @type ProjectId: Integer
|
21186
|
+
# @param Alias: 资源别名,不修改则输入原值.
|
21187
|
+
# @type Alias: String
|
21188
|
+
|
21189
|
+
attr_accessor :ResourceId, :InquireNum, :ProjectId, :Alias
|
21190
|
+
|
21191
|
+
def initialize(resourceid=nil, inquirenum=nil, projectid=nil, _alias=nil)
|
21192
|
+
@ResourceId = resourceid
|
21193
|
+
@InquireNum = inquirenum
|
21194
|
+
@ProjectId = projectid
|
21195
|
+
@Alias = _alias
|
21196
|
+
end
|
21197
|
+
|
21198
|
+
def deserialize(params)
|
21199
|
+
@ResourceId = params['ResourceId']
|
21200
|
+
@InquireNum = params['InquireNum']
|
21201
|
+
@ProjectId = params['ProjectId']
|
21202
|
+
@Alias = params['Alias']
|
21203
|
+
end
|
21204
|
+
end
|
21205
|
+
|
21206
|
+
# ModifyLicenseOrder返回参数结构体
|
21207
|
+
class ModifyLicenseOrderResponse < TencentCloud::Common::AbstractModel
|
21208
|
+
# @param DealNames: 订单号
|
21209
|
+
# @type DealNames: Array
|
21210
|
+
# @param ResourceIds: 资源ID
|
21211
|
+
# @type ResourceIds: Array
|
21212
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
21213
|
+
# @type RequestId: String
|
21214
|
+
|
21215
|
+
attr_accessor :DealNames, :ResourceIds, :RequestId
|
21216
|
+
|
21217
|
+
def initialize(dealnames=nil, resourceids=nil, requestid=nil)
|
21218
|
+
@DealNames = dealnames
|
21219
|
+
@ResourceIds = resourceids
|
21220
|
+
@RequestId = requestid
|
21221
|
+
end
|
21222
|
+
|
21223
|
+
def deserialize(params)
|
21224
|
+
@DealNames = params['DealNames']
|
21225
|
+
@ResourceIds = params['ResourceIds']
|
21226
|
+
@RequestId = params['RequestId']
|
21227
|
+
end
|
21228
|
+
end
|
21229
|
+
|
20927
21230
|
# ModifyLicenseUnBinds请求参数结构体
|
20928
21231
|
class ModifyLicenseUnBindsRequest < TencentCloud::Common::AbstractModel
|
20929
21232
|
# @param ResourceId: 资源ID
|
@@ -21379,6 +21682,90 @@ module TencentCloud
|
|
21379
21682
|
end
|
21380
21683
|
end
|
21381
21684
|
|
21685
|
+
# 网络攻击事件
|
21686
|
+
class NetAttackEvent < TencentCloud::Common::AbstractModel
|
21687
|
+
# @param Id: 日志ID
|
21688
|
+
# @type Id: Integer
|
21689
|
+
# @param Uuid: 客户端ID
|
21690
|
+
# @type Uuid: String
|
21691
|
+
# @param DstPort: 目标端口
|
21692
|
+
# @type DstPort: Integer
|
21693
|
+
# @param SrcIP: 来源IP
|
21694
|
+
# @type SrcIP: String
|
21695
|
+
# @param Location: 来源地
|
21696
|
+
# @type Location: String
|
21697
|
+
# @param VulId: 漏洞id
|
21698
|
+
# @type VulId: Integer
|
21699
|
+
# @param VulName: 漏洞名称
|
21700
|
+
# @type VulName: String
|
21701
|
+
# @param MergeTime: 攻击时间
|
21702
|
+
# @type MergeTime: String
|
21703
|
+
# @param MachineExtraInfo: 主机额外信息
|
21704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21705
|
+
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
21706
|
+
# @param Type: 攻击状态,0: 尝试攻击 1: 实锤攻击(攻击成功)
|
21707
|
+
# @type Type: Integer
|
21708
|
+
# @param Status: 处理状态,0 待处理 1 已处理 2 已加白 3 已忽略 4 已删除 5: 已开启防御
|
21709
|
+
# @type Status: Integer
|
21710
|
+
# @param VulSupportDefense: 漏洞是否支持防御,0:不支持 1:支持
|
21711
|
+
# @type VulSupportDefense: Integer
|
21712
|
+
# @param VulDefenceStatus: 是否开启漏洞防御,0关1开
|
21713
|
+
# @type VulDefenceStatus: Integer
|
21714
|
+
# @param PayVersion: 机器付费版本,0 基础版,1专业版,2旗舰版,3普惠版
|
21715
|
+
# @type PayVersion: Integer
|
21716
|
+
# @param Quuid: cvm uuid
|
21717
|
+
# @type Quuid: String
|
21718
|
+
# @param Count: 攻击次数
|
21719
|
+
# @type Count: Integer
|
21720
|
+
# @param New: 是否今日新增主机
|
21721
|
+
# @type New: Boolean
|
21722
|
+
|
21723
|
+
attr_accessor :Id, :Uuid, :DstPort, :SrcIP, :Location, :VulId, :VulName, :MergeTime, :MachineExtraInfo, :Type, :Status, :VulSupportDefense, :VulDefenceStatus, :PayVersion, :Quuid, :Count, :New
|
21724
|
+
|
21725
|
+
def initialize(id=nil, uuid=nil, dstport=nil, srcip=nil, location=nil, vulid=nil, vulname=nil, mergetime=nil, machineextrainfo=nil, type=nil, status=nil, vulsupportdefense=nil, vuldefencestatus=nil, payversion=nil, quuid=nil, count=nil, new=nil)
|
21726
|
+
@Id = id
|
21727
|
+
@Uuid = uuid
|
21728
|
+
@DstPort = dstport
|
21729
|
+
@SrcIP = srcip
|
21730
|
+
@Location = location
|
21731
|
+
@VulId = vulid
|
21732
|
+
@VulName = vulname
|
21733
|
+
@MergeTime = mergetime
|
21734
|
+
@MachineExtraInfo = machineextrainfo
|
21735
|
+
@Type = type
|
21736
|
+
@Status = status
|
21737
|
+
@VulSupportDefense = vulsupportdefense
|
21738
|
+
@VulDefenceStatus = vuldefencestatus
|
21739
|
+
@PayVersion = payversion
|
21740
|
+
@Quuid = quuid
|
21741
|
+
@Count = count
|
21742
|
+
@New = new
|
21743
|
+
end
|
21744
|
+
|
21745
|
+
def deserialize(params)
|
21746
|
+
@Id = params['Id']
|
21747
|
+
@Uuid = params['Uuid']
|
21748
|
+
@DstPort = params['DstPort']
|
21749
|
+
@SrcIP = params['SrcIP']
|
21750
|
+
@Location = params['Location']
|
21751
|
+
@VulId = params['VulId']
|
21752
|
+
@VulName = params['VulName']
|
21753
|
+
@MergeTime = params['MergeTime']
|
21754
|
+
unless params['MachineExtraInfo'].nil?
|
21755
|
+
@MachineExtraInfo = MachineExtraInfo.new
|
21756
|
+
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
21757
|
+
end
|
21758
|
+
@Type = params['Type']
|
21759
|
+
@Status = params['Status']
|
21760
|
+
@VulSupportDefense = params['VulSupportDefense']
|
21761
|
+
@VulDefenceStatus = params['VulDefenceStatus']
|
21762
|
+
@PayVersion = params['PayVersion']
|
21763
|
+
@Quuid = params['Quuid']
|
21764
|
+
@Count = params['Count']
|
21765
|
+
@New = params['New']
|
21766
|
+
end
|
21767
|
+
end
|
21768
|
+
|
21382
21769
|
# 端口统计列表
|
21383
21770
|
class OpenPortStatistics < TencentCloud::Common::AbstractModel
|
21384
21771
|
# @param Port: 端口号
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.664
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|