tencentcloud-sdk-ssa 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2612 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Ssa
19
+ module V20180608
20
+ # 聚合类型
21
+ class AggregationObj < TencentCloud::Common::AbstractModel
22
+ # @param Type: 类型
23
+ # @type Type: String
24
+ # @param Bucket: 数组
25
+ # @type Bucket: Array
26
+
27
+ attr_accessor :Type, :Bucket
28
+
29
+ def initialize(type=nil, bucket=nil)
30
+ @Type = type
31
+ @Bucket = bucket
32
+ end
33
+
34
+ def deserialize(params)
35
+ @Type = params['Type']
36
+ unless params['Bucket'].nil?
37
+ @Bucket = []
38
+ params['Bucket'].each do |i|
39
+ bucket_tmp = Bucket.new
40
+ bucket_tmp.deserialize(i)
41
+ @Bucket << bucket_tmp
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+ # 资产类型
48
+ class Asset < TencentCloud::Common::AbstractModel
49
+ # @param AssetType: 资产类型
50
+ # @type AssetType: String
51
+ # @param Name: 名字
52
+ # @type Name: String
53
+ # @param AssetRegionName: 区域
54
+ # @type AssetRegionName: String
55
+ # @param AssetVpcid: 所属网络
56
+ # @type AssetVpcid: String
57
+ # @param InstanceType: 主机类型
58
+ # @type InstanceType: String
59
+ # @param InstanceState: 主机状态
60
+ # @type InstanceState: String
61
+ # @param EngineVersion: 引擎版本
62
+ # @type EngineVersion: String
63
+ # @param Id: 数据库标识
64
+ # @type Id: String
65
+ # @param Tag: 标签
66
+ # @type Tag: Array
67
+ # @param AssetCspmRiskNum: 配置风险统计数
68
+ # @type AssetCspmRiskNum: Integer
69
+ # @param PublicIpAddresses: 主机IP
70
+ # @type PublicIpAddresses: Array
71
+ # @param AssetUniqid: 资产唯一标识
72
+ # @type AssetUniqid: String
73
+ # @param ChargeType: 付费类型
74
+ # @type ChargeType: String
75
+ # @param AssetEventNum: 安全事件统计数
76
+ # @type AssetEventNum: Integer
77
+ # @param AssetVulNum: 漏洞统计数
78
+ # @type AssetVulNum: Integer
79
+ # @param PrivateIpAddresses: 主机IP内网
80
+ # @type PrivateIpAddresses: Array
81
+ # @param GroupName: 所属分组
82
+ # @type GroupName: String
83
+ # @param SsaAssetDiscoverTime: 发现时间
84
+ # 注意:此字段可能返回 null,表示取不到有效值。
85
+ # @type SsaAssetDiscoverTime: String
86
+ # @param SsaAssetDeleteTime: 下线时间
87
+ # 注意:此字段可能返回 null,表示取不到有效值。
88
+ # @type SsaAssetDeleteTime: String
89
+ # @param IsNew: 是否是新增资产
90
+ # 注意:此字段可能返回 null,表示取不到有效值。
91
+ # @type IsNew: Boolean
92
+ # @param AssetSubnetId: 所属子网
93
+ # 注意:此字段可能返回 null,表示取不到有效值。
94
+ # @type AssetSubnetId: String
95
+ # @param AssetSubnetName: 子网名称
96
+ # 注意:此字段可能返回 null,表示取不到有效值。
97
+ # @type AssetSubnetName: String
98
+ # @param AssetVpcName: vpc名称
99
+ # 注意:此字段可能返回 null,表示取不到有效值。
100
+ # @type AssetVpcName: String
101
+ # @param ClusterType: 集群类型
102
+ # 注意:此字段可能返回 null,表示取不到有效值。
103
+ # @type ClusterType: Integer
104
+ # @param NameSpace: 命名空间
105
+ # 注意:此字段可能返回 null,表示取不到有效值。
106
+ # @type NameSpace: String
107
+ # @param LoadBalancerType: 负载均衡实例的网络类型
108
+ # 注意:此字段可能返回 null,表示取不到有效值。
109
+ # @type LoadBalancerType: String
110
+ # @param LoadBalancerVips: 负载均衡实例的vip列表
111
+ # 注意:此字段可能返回 null,表示取不到有效值。
112
+ # @type LoadBalancerVips: Array
113
+ # @param AssetIpv6: ipv6信息
114
+ # 注意:此字段可能返回 null,表示取不到有效值。
115
+ # @type AssetIpv6: Array
116
+ # @param SSHRisk: ssh端口暴露风险
117
+ # 注意:此字段可能返回 null,表示取不到有效值。
118
+ # @type SSHRisk: String
119
+ # @param RDPRisk: rdp端口暴露风险
120
+ # 注意:此字段可能返回 null,表示取不到有效值。
121
+ # @type RDPRisk: String
122
+ # @param EventRisk: 资产失陷事件风险
123
+ # 注意:此字段可能返回 null,表示取不到有效值。
124
+ # @type EventRisk: String
125
+
126
+ attr_accessor :AssetType, :Name, :AssetRegionName, :AssetVpcid, :InstanceType, :InstanceState, :EngineVersion, :Id, :Tag, :AssetCspmRiskNum, :PublicIpAddresses, :AssetUniqid, :ChargeType, :AssetEventNum, :AssetVulNum, :PrivateIpAddresses, :GroupName, :SsaAssetDiscoverTime, :SsaAssetDeleteTime, :IsNew, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :LoadBalancerType, :LoadBalancerVips, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk
127
+
128
+ def initialize(assettype=nil, name=nil, assetregionname=nil, assetvpcid=nil, instancetype=nil, instancestate=nil, engineversion=nil, id=nil, tag=nil, assetcspmrisknum=nil, publicipaddresses=nil, assetuniqid=nil, chargetype=nil, asseteventnum=nil, assetvulnum=nil, privateipaddresses=nil, groupname=nil, ssaassetdiscovertime=nil, ssaassetdeletetime=nil, isnew=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, loadbalancertype=nil, loadbalancervips=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil)
129
+ @AssetType = assettype
130
+ @Name = name
131
+ @AssetRegionName = assetregionname
132
+ @AssetVpcid = assetvpcid
133
+ @InstanceType = instancetype
134
+ @InstanceState = instancestate
135
+ @EngineVersion = engineversion
136
+ @Id = id
137
+ @Tag = tag
138
+ @AssetCspmRiskNum = assetcspmrisknum
139
+ @PublicIpAddresses = publicipaddresses
140
+ @AssetUniqid = assetuniqid
141
+ @ChargeType = chargetype
142
+ @AssetEventNum = asseteventnum
143
+ @AssetVulNum = assetvulnum
144
+ @PrivateIpAddresses = privateipaddresses
145
+ @GroupName = groupname
146
+ @SsaAssetDiscoverTime = ssaassetdiscovertime
147
+ @SsaAssetDeleteTime = ssaassetdeletetime
148
+ @IsNew = isnew
149
+ @AssetSubnetId = assetsubnetid
150
+ @AssetSubnetName = assetsubnetname
151
+ @AssetVpcName = assetvpcname
152
+ @ClusterType = clustertype
153
+ @NameSpace = namespace
154
+ @LoadBalancerType = loadbalancertype
155
+ @LoadBalancerVips = loadbalancervips
156
+ @AssetIpv6 = assetipv6
157
+ @SSHRisk = sshrisk
158
+ @RDPRisk = rdprisk
159
+ @EventRisk = eventrisk
160
+ end
161
+
162
+ def deserialize(params)
163
+ @AssetType = params['AssetType']
164
+ @Name = params['Name']
165
+ @AssetRegionName = params['AssetRegionName']
166
+ @AssetVpcid = params['AssetVpcid']
167
+ @InstanceType = params['InstanceType']
168
+ @InstanceState = params['InstanceState']
169
+ @EngineVersion = params['EngineVersion']
170
+ @Id = params['Id']
171
+ unless params['Tag'].nil?
172
+ @Tag = []
173
+ params['Tag'].each do |i|
174
+ tag_tmp = Tag.new
175
+ tag_tmp.deserialize(i)
176
+ @Tag << tag_tmp
177
+ end
178
+ end
179
+ @AssetCspmRiskNum = params['AssetCspmRiskNum']
180
+ @PublicIpAddresses = params['PublicIpAddresses']
181
+ @AssetUniqid = params['AssetUniqid']
182
+ @ChargeType = params['ChargeType']
183
+ @AssetEventNum = params['AssetEventNum']
184
+ @AssetVulNum = params['AssetVulNum']
185
+ @PrivateIpAddresses = params['PrivateIpAddresses']
186
+ @GroupName = params['GroupName']
187
+ @SsaAssetDiscoverTime = params['SsaAssetDiscoverTime']
188
+ @SsaAssetDeleteTime = params['SsaAssetDeleteTime']
189
+ @IsNew = params['IsNew']
190
+ @AssetSubnetId = params['AssetSubnetId']
191
+ @AssetSubnetName = params['AssetSubnetName']
192
+ @AssetVpcName = params['AssetVpcName']
193
+ @ClusterType = params['ClusterType']
194
+ @NameSpace = params['NameSpace']
195
+ @LoadBalancerType = params['LoadBalancerType']
196
+ @LoadBalancerVips = params['LoadBalancerVips']
197
+ @AssetIpv6 = params['AssetIpv6']
198
+ @SSHRisk = params['SSHRisk']
199
+ @RDPRisk = params['RDPRisk']
200
+ @EventRisk = params['EventRisk']
201
+ end
202
+ end
203
+
204
+ # 资产详情信息
205
+ class AssetDetail < TencentCloud::Common::AbstractModel
206
+ # @param AssetType: 资产类型
207
+ # @type AssetType: String
208
+ # @param Name: 名字
209
+ # @type Name: String
210
+ # @param Region: 区域
211
+ # @type Region: String
212
+ # @param VpcId: 所属网络
213
+ # @type VpcId: String
214
+ # @param InstanceType: 主机类型
215
+ # @type InstanceType: String
216
+ # @param InstanceState: 主机状态
217
+ # @type InstanceState: String
218
+ # @param PublicIpAddresses: 主机IP-公网
219
+ # @type PublicIpAddresses: Array
220
+ # @param EngineVersion: 引擎版本
221
+ # @type EngineVersion: String
222
+ # @param Id: 标识
223
+ # @type Id: String
224
+ # @param Tag: 标签
225
+ # @type Tag: Array
226
+ # @param Vip: 内网IP地址
227
+ # 注意:此字段可能返回 null,表示取不到有效值。
228
+ # @type Vip: String
229
+ # @param Status: 状态
230
+ # 注意:此字段可能返回 null,表示取不到有效值。
231
+ # @type Status: Integer
232
+ # @param LoadBalancerVips: 负载均衡示例的vip列表
233
+ # 注意:此字段可能返回 null,表示取不到有效值。
234
+ # @type LoadBalancerVips: Array
235
+ # @param Uin: 账号ID
236
+ # 注意:此字段可能返回 null,表示取不到有效值。
237
+ # @type Uin: Integer
238
+ # @param CreationDate: 创建时间
239
+ # 注意:此字段可能返回 null,表示取不到有效值。
240
+ # @type CreationDate: String
241
+ # @param Domain: 访问域名
242
+ # 注意:此字段可能返回 null,表示取不到有效值。
243
+ # @type Domain: String
244
+ # @param AssetUniqid: 资产唯一id
245
+ # @type AssetUniqid: String
246
+ # @param InstanceId: 关联实例
247
+ # 注意:此字段可能返回 null,表示取不到有效值。
248
+ # @type InstanceId: String
249
+ # @param DiskType: 配置硬盘类型
250
+ # 注意:此字段可能返回 null,表示取不到有效值。
251
+ # @type DiskType: String
252
+ # @param DiskSize: 配置硬盘大小
253
+ # 注意:此字段可能返回 null,表示取不到有效值。
254
+ # @type DiskSize: Integer
255
+ # @param AssetStatus: 云硬盘/证书状态
256
+ # 注意:此字段可能返回 null,表示取不到有效值。
257
+ # @type AssetStatus: String
258
+ # @param CertType: 证书类型
259
+ # 注意:此字段可能返回 null,表示取不到有效值。
260
+ # @type CertType: String
261
+ # @param ProjectName: 所属项目
262
+ # 注意:此字段可能返回 null,表示取不到有效值。
263
+ # @type ProjectName: String
264
+ # @param CertEndTime: 到期时间
265
+ # 注意:此字段可能返回 null,表示取不到有效值。
266
+ # @type CertEndTime: String
267
+ # @param ProductType: nosql引擎/版本
268
+ # 注意:此字段可能返回 null,表示取不到有效值。
269
+ # @type ProductType: Integer
270
+ # @param PrivateIpAddresses: 主机IP-内网
271
+ # @type PrivateIpAddresses: Array
272
+ # @param ValidityPeriod: 证书有效期
273
+ # 注意:此字段可能返回 null,表示取不到有效值。
274
+ # @type ValidityPeriod: String
275
+ # @param GroupName: 分组名称
276
+ # 注意:此字段可能返回 null,表示取不到有效值。
277
+ # @type GroupName: String
278
+ # @param Port: 端口服务数组
279
+ # 注意:此字段可能返回 null,表示取不到有效值。
280
+ # @type Port: Array
281
+ # @param RiskConfig: 配置风险数组
282
+ # 注意:此字段可能返回 null,表示取不到有效值。
283
+ # @type RiskConfig: Array
284
+ # @param Event: 相关待处理事件
285
+ # 注意:此字段可能返回 null,表示取不到有效值。
286
+ # @type Event: String
287
+ # @param Vul: 相关待处理漏洞
288
+ # 注意:此字段可能返回 null,表示取不到有效值。
289
+ # @type Vul: String
290
+ # @param SsaAssetDiscoverTime: 资产发现时间
291
+ # 注意:此字段可能返回 null,表示取不到有效值。
292
+ # @type SsaAssetDiscoverTime: String
293
+ # @param AssetSubnetId: 所属子网
294
+ # 注意:此字段可能返回 null,表示取不到有效值。
295
+ # @type AssetSubnetId: String
296
+ # @param AssetSubnetName: 子网名称
297
+ # 注意:此字段可能返回 null,表示取不到有效值。
298
+ # @type AssetSubnetName: String
299
+ # @param AssetVpcName: vpc名称
300
+ # 注意:此字段可能返回 null,表示取不到有效值。
301
+ # @type AssetVpcName: String
302
+ # @param ClusterType: 集群类型
303
+ # 注意:此字段可能返回 null,表示取不到有效值。
304
+ # @type ClusterType: Integer
305
+ # @param NameSpace: 命名空间
306
+ # 注意:此字段可能返回 null,表示取不到有效值。
307
+ # @type NameSpace: String
308
+ # @param AssetCreateTime: 创建时间
309
+ # 注意:此字段可能返回 null,表示取不到有效值。
310
+ # @type AssetCreateTime: String
311
+ # @param LoadBalancerType: 负载均衡网络类型
312
+ # 注意:此字段可能返回 null,表示取不到有效值。
313
+ # @type LoadBalancerType: String
314
+ # @param AssetIpv6: ipv6信息
315
+ # 注意:此字段可能返回 null,表示取不到有效值。
316
+ # @type AssetIpv6: Array
317
+ # @param SSHRisk: ssh风险
318
+ # 注意:此字段可能返回 null,表示取不到有效值。
319
+ # @type SSHRisk: String
320
+ # @param RDPRisk: rdp风险
321
+ # 注意:此字段可能返回 null,表示取不到有效值。
322
+ # @type RDPRisk: String
323
+ # @param EventRisk: 安全事件风险
324
+ # 注意:此字段可能返回 null,表示取不到有效值。
325
+ # @type EventRisk: String
326
+ # @param AssetVulNum: 漏洞数量
327
+ # 注意:此字段可能返回 null,表示取不到有效值。
328
+ # @type AssetVulNum: Integer
329
+
330
+ attr_accessor :AssetType, :Name, :Region, :VpcId, :InstanceType, :InstanceState, :PublicIpAddresses, :EngineVersion, :Id, :Tag, :Vip, :Status, :LoadBalancerVips, :Uin, :CreationDate, :Domain, :AssetUniqid, :InstanceId, :DiskType, :DiskSize, :AssetStatus, :CertType, :ProjectName, :CertEndTime, :ProductType, :PrivateIpAddresses, :ValidityPeriod, :GroupName, :Port, :RiskConfig, :Event, :Vul, :SsaAssetDiscoverTime, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :AssetCreateTime, :LoadBalancerType, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk, :AssetVulNum
331
+
332
+ def initialize(assettype=nil, name=nil, region=nil, vpcid=nil, instancetype=nil, instancestate=nil, publicipaddresses=nil, engineversion=nil, id=nil, tag=nil, vip=nil, status=nil, loadbalancervips=nil, uin=nil, creationdate=nil, domain=nil, assetuniqid=nil, instanceid=nil, disktype=nil, disksize=nil, assetstatus=nil, certtype=nil, projectname=nil, certendtime=nil, producttype=nil, privateipaddresses=nil, validityperiod=nil, groupname=nil, port=nil, riskconfig=nil, event=nil, vul=nil, ssaassetdiscovertime=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, assetcreatetime=nil, loadbalancertype=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil, assetvulnum=nil)
333
+ @AssetType = assettype
334
+ @Name = name
335
+ @Region = region
336
+ @VpcId = vpcid
337
+ @InstanceType = instancetype
338
+ @InstanceState = instancestate
339
+ @PublicIpAddresses = publicipaddresses
340
+ @EngineVersion = engineversion
341
+ @Id = id
342
+ @Tag = tag
343
+ @Vip = vip
344
+ @Status = status
345
+ @LoadBalancerVips = loadbalancervips
346
+ @Uin = uin
347
+ @CreationDate = creationdate
348
+ @Domain = domain
349
+ @AssetUniqid = assetuniqid
350
+ @InstanceId = instanceid
351
+ @DiskType = disktype
352
+ @DiskSize = disksize
353
+ @AssetStatus = assetstatus
354
+ @CertType = certtype
355
+ @ProjectName = projectname
356
+ @CertEndTime = certendtime
357
+ @ProductType = producttype
358
+ @PrivateIpAddresses = privateipaddresses
359
+ @ValidityPeriod = validityperiod
360
+ @GroupName = groupname
361
+ @Port = port
362
+ @RiskConfig = riskconfig
363
+ @Event = event
364
+ @Vul = vul
365
+ @SsaAssetDiscoverTime = ssaassetdiscovertime
366
+ @AssetSubnetId = assetsubnetid
367
+ @AssetSubnetName = assetsubnetname
368
+ @AssetVpcName = assetvpcname
369
+ @ClusterType = clustertype
370
+ @NameSpace = namespace
371
+ @AssetCreateTime = assetcreatetime
372
+ @LoadBalancerType = loadbalancertype
373
+ @AssetIpv6 = assetipv6
374
+ @SSHRisk = sshrisk
375
+ @RDPRisk = rdprisk
376
+ @EventRisk = eventrisk
377
+ @AssetVulNum = assetvulnum
378
+ end
379
+
380
+ def deserialize(params)
381
+ @AssetType = params['AssetType']
382
+ @Name = params['Name']
383
+ @Region = params['Region']
384
+ @VpcId = params['VpcId']
385
+ @InstanceType = params['InstanceType']
386
+ @InstanceState = params['InstanceState']
387
+ @PublicIpAddresses = params['PublicIpAddresses']
388
+ @EngineVersion = params['EngineVersion']
389
+ @Id = params['Id']
390
+ unless params['Tag'].nil?
391
+ @Tag = []
392
+ params['Tag'].each do |i|
393
+ tag_tmp = Tag.new
394
+ tag_tmp.deserialize(i)
395
+ @Tag << tag_tmp
396
+ end
397
+ end
398
+ @Vip = params['Vip']
399
+ @Status = params['Status']
400
+ @LoadBalancerVips = params['LoadBalancerVips']
401
+ @Uin = params['Uin']
402
+ @CreationDate = params['CreationDate']
403
+ @Domain = params['Domain']
404
+ @AssetUniqid = params['AssetUniqid']
405
+ @InstanceId = params['InstanceId']
406
+ @DiskType = params['DiskType']
407
+ @DiskSize = params['DiskSize']
408
+ @AssetStatus = params['AssetStatus']
409
+ @CertType = params['CertType']
410
+ @ProjectName = params['ProjectName']
411
+ @CertEndTime = params['CertEndTime']
412
+ @ProductType = params['ProductType']
413
+ @PrivateIpAddresses = params['PrivateIpAddresses']
414
+ @ValidityPeriod = params['ValidityPeriod']
415
+ @GroupName = params['GroupName']
416
+ @Port = params['Port']
417
+ @RiskConfig = params['RiskConfig']
418
+ @Event = params['Event']
419
+ @Vul = params['Vul']
420
+ @SsaAssetDiscoverTime = params['SsaAssetDiscoverTime']
421
+ @AssetSubnetId = params['AssetSubnetId']
422
+ @AssetSubnetName = params['AssetSubnetName']
423
+ @AssetVpcName = params['AssetVpcName']
424
+ @ClusterType = params['ClusterType']
425
+ @NameSpace = params['NameSpace']
426
+ @AssetCreateTime = params['AssetCreateTime']
427
+ @LoadBalancerType = params['LoadBalancerType']
428
+ @AssetIpv6 = params['AssetIpv6']
429
+ @SSHRisk = params['SSHRisk']
430
+ @RDPRisk = params['RDPRisk']
431
+ @EventRisk = params['EventRisk']
432
+ @AssetVulNum = params['AssetVulNum']
433
+ end
434
+ end
435
+
436
+ # 资产列表
437
+ class AssetList < TencentCloud::Common::AbstractModel
438
+ # @param Total: 总数
439
+ # @type Total: Integer
440
+ # @param List: 资产数组
441
+ # @type List: Array
442
+
443
+ attr_accessor :Total, :List
444
+
445
+ def initialize(total=nil, list=nil)
446
+ @Total = total
447
+ @List = list
448
+ end
449
+
450
+ def deserialize(params)
451
+ @Total = params['Total']
452
+ unless params['List'].nil?
453
+ @List = []
454
+ params['List'].each do |i|
455
+ asset_tmp = Asset.new
456
+ asset_tmp.deserialize(i)
457
+ @List << asset_tmp
458
+ end
459
+ end
460
+ end
461
+ end
462
+
463
+ # es聚合数据类型
464
+ class Bucket < TencentCloud::Common::AbstractModel
465
+ # @param Key: key
466
+ # @type Key: String
467
+ # @param Count: 数量
468
+ # @type Count: Integer
469
+
470
+ attr_accessor :Key, :Count
471
+
472
+ def initialize(key=nil, count=nil)
473
+ @Key = key
474
+ @Count = count
475
+ end
476
+
477
+ def deserialize(params)
478
+ @Key = params['Key']
479
+ @Count = params['Count']
480
+ end
481
+ end
482
+
483
+ # 检查项资产组每一项
484
+ class CheckAssetItem < TencentCloud::Common::AbstractModel
485
+ # @param Id: 检查项下资产组ID
486
+ # @type Id: Integer
487
+ # @param Instid: 资产组实例id
488
+ # @type Instid: String
489
+ # @param Url: 处置跳转URL
490
+ # @type Url: String
491
+ # @param Taskid: 检查任务id
492
+ # @type Taskid: String
493
+ # @param Result: 检查结果
494
+ # @type Result: Integer
495
+ # @param Updatetime: 更新时间
496
+ # @type Updatetime: String
497
+ # @param Tag: 标签
498
+ # 注意:此字段可能返回 null,表示取不到有效值。
499
+ # @type Tag: String
500
+ # @param IsIgnore: 是否忽略
501
+ # @type IsIgnore: Integer
502
+ # @param IsChecked: 检查状态
503
+ # @type IsChecked: Integer
504
+ # @param AssetInfo: 资产组信息
505
+ # @type AssetInfo: String
506
+ # @param AssetId: 资产组ES的_id
507
+ # @type AssetId: String
508
+ # @param Detail: 详情
509
+ # @type Detail: String
510
+ # @param Remarks: 备注内容
511
+ # @type Remarks: String
512
+
513
+ attr_accessor :Id, :Instid, :Url, :Taskid, :Result, :Updatetime, :Tag, :IsIgnore, :IsChecked, :AssetInfo, :AssetId, :Detail, :Remarks
514
+
515
+ def initialize(id=nil, instid=nil, url=nil, taskid=nil, result=nil, updatetime=nil, tag=nil, isignore=nil, ischecked=nil, assetinfo=nil, assetid=nil, detail=nil, remarks=nil)
516
+ @Id = id
517
+ @Instid = instid
518
+ @Url = url
519
+ @Taskid = taskid
520
+ @Result = result
521
+ @Updatetime = updatetime
522
+ @Tag = tag
523
+ @IsIgnore = isignore
524
+ @IsChecked = ischecked
525
+ @AssetInfo = assetinfo
526
+ @AssetId = assetid
527
+ @Detail = detail
528
+ @Remarks = remarks
529
+ end
530
+
531
+ def deserialize(params)
532
+ @Id = params['Id']
533
+ @Instid = params['Instid']
534
+ @Url = params['Url']
535
+ @Taskid = params['Taskid']
536
+ @Result = params['Result']
537
+ @Updatetime = params['Updatetime']
538
+ @Tag = params['Tag']
539
+ @IsIgnore = params['IsIgnore']
540
+ @IsChecked = params['IsChecked']
541
+ @AssetInfo = params['AssetInfo']
542
+ @AssetId = params['AssetId']
543
+ @Detail = params['Detail']
544
+ @Remarks = params['Remarks']
545
+ end
546
+ end
547
+
548
+ # 云安全配置检查项详情
549
+ class CheckConfigDetail < TencentCloud::Common::AbstractModel
550
+ # @param Id: 检查项Id
551
+ # @type Id: String
552
+ # @param CheckName: 检查项名称
553
+ # @type CheckName: String
554
+ # @param Content: 检查项内容
555
+ # @type Content: String
556
+ # @param Method: 检查项处置方案
557
+ # @type Method: String
558
+ # @param Doc: 检查项帮助文档
559
+ # @type Doc: String
560
+ # @param ErrorCount: 未通过总数
561
+ # @type ErrorCount: Integer
562
+ # @param IsPass: 是否通过检查
563
+ # @type IsPass: Integer
564
+ # @param SafeCount: 通过检查项
565
+ # @type SafeCount: Integer
566
+ # @param IgnoreCount: 忽略检查项
567
+ # @type IgnoreCount: Integer
568
+ # @param RiskCount: 风险检查项
569
+ # @type RiskCount: Integer
570
+ # @param NameEn: 检查项英文
571
+ # @type NameEn: String
572
+ # @param AssetType: 检查项类型
573
+ # @type AssetType: String
574
+ # @param ResCount: res_count
575
+ # @type ResCount: Integer
576
+ # @param IsIgnore: 是否忽略
577
+ # @type IsIgnore: Integer
578
+
579
+ attr_accessor :Id, :CheckName, :Content, :Method, :Doc, :ErrorCount, :IsPass, :SafeCount, :IgnoreCount, :RiskCount, :NameEn, :AssetType, :ResCount, :IsIgnore
580
+
581
+ def initialize(id=nil, checkname=nil, content=nil, method=nil, doc=nil, errorcount=nil, ispass=nil, safecount=nil, ignorecount=nil, riskcount=nil, nameen=nil, assettype=nil, rescount=nil, isignore=nil)
582
+ @Id = id
583
+ @CheckName = checkname
584
+ @Content = content
585
+ @Method = method
586
+ @Doc = doc
587
+ @ErrorCount = errorcount
588
+ @IsPass = ispass
589
+ @SafeCount = safecount
590
+ @IgnoreCount = ignorecount
591
+ @RiskCount = riskcount
592
+ @NameEn = nameen
593
+ @AssetType = assettype
594
+ @ResCount = rescount
595
+ @IsIgnore = isignore
596
+ end
597
+
598
+ def deserialize(params)
599
+ @Id = params['Id']
600
+ @CheckName = params['CheckName']
601
+ @Content = params['Content']
602
+ @Method = params['Method']
603
+ @Doc = params['Doc']
604
+ @ErrorCount = params['ErrorCount']
605
+ @IsPass = params['IsPass']
606
+ @SafeCount = params['SafeCount']
607
+ @IgnoreCount = params['IgnoreCount']
608
+ @RiskCount = params['RiskCount']
609
+ @NameEn = params['NameEn']
610
+ @AssetType = params['AssetType']
611
+ @ResCount = params['ResCount']
612
+ @IsIgnore = params['IsIgnore']
613
+ end
614
+ end
615
+
616
+ # 等保资产组记录
617
+ class ComplianceCheckDetail < TencentCloud::Common::AbstractModel
618
+ # @param Id: 检查项ID
619
+ # @type Id: String
620
+ # @param Category: 检查项类别
621
+ # @type Category: String
622
+ # @param Type: 检查项类型
623
+ # @type Type: String
624
+ # @param ErrorCount: 不通过总数
625
+ # @type ErrorCount: Integer
626
+ # @param NameEn: 检查项英文名
627
+ # @type NameEn: String
628
+ # @param CheckName: 检查项名称
629
+ # @type CheckName: String
630
+ # @param Method: 检查项处置方式
631
+ # @type Method: String
632
+ # @param Doc: 帮助文档
633
+ # @type Doc: String
634
+ # @param SafeCount: 通过总数
635
+ # @type SafeCount: Integer
636
+ # @param Content: 检查项检查内容
637
+ # @type Content: String
638
+ # @param IsPass: 是否通过检测
639
+ # @type IsPass: Integer
640
+ # @param IgnoreCount: 忽略总数
641
+ # @type IgnoreCount: Integer
642
+ # @param RiskCount: 风险总数
643
+ # @type RiskCount: Integer
644
+ # @param LastCheckTime: 最近一次检测时间
645
+ # 注意:此字段可能返回 null,表示取不到有效值。
646
+ # @type LastCheckTime: String
647
+ # @param AssetType: 资产组类型
648
+ # @type AssetType: String
649
+ # @param ResCount: res_count
650
+ # @type ResCount: Integer
651
+ # @param UUID: 检查项UUID
652
+ # @type UUID: String
653
+ # @param StandardItem: 标准项
654
+ # 注意:此字段可能返回 null,表示取不到有效值。
655
+ # @type StandardItem: String
656
+ # @param Chapter: 章节
657
+ # 注意:此字段可能返回 null,表示取不到有效值。
658
+ # @type Chapter: String
659
+ # @param AssetTypeDesc: 资产类型描述
660
+ # 注意:此字段可能返回 null,表示取不到有效值。
661
+ # @type AssetTypeDesc: String
662
+ # @param IsIgnore: 是否忽略
663
+ # 注意:此字段可能返回 null,表示取不到有效值。
664
+ # @type IsIgnore: Integer
665
+ # @param RiskItem: 风险项
666
+ # 注意:此字段可能返回 null,表示取不到有效值。
667
+ # @type RiskItem: String
668
+ # @param Title: 合规检查项完整名称
669
+ # 注意:此字段可能返回 null,表示取不到有效值。
670
+ # @type Title: String
671
+
672
+ attr_accessor :Id, :Category, :Type, :ErrorCount, :NameEn, :CheckName, :Method, :Doc, :SafeCount, :Content, :IsPass, :IgnoreCount, :RiskCount, :LastCheckTime, :AssetType, :ResCount, :UUID, :StandardItem, :Chapter, :AssetTypeDesc, :IsIgnore, :RiskItem, :Title
673
+
674
+ def initialize(id=nil, category=nil, type=nil, errorcount=nil, nameen=nil, checkname=nil, method=nil, doc=nil, safecount=nil, content=nil, ispass=nil, ignorecount=nil, riskcount=nil, lastchecktime=nil, assettype=nil, rescount=nil, uuid=nil, standarditem=nil, chapter=nil, assettypedesc=nil, isignore=nil, riskitem=nil, title=nil)
675
+ @Id = id
676
+ @Category = category
677
+ @Type = type
678
+ @ErrorCount = errorcount
679
+ @NameEn = nameen
680
+ @CheckName = checkname
681
+ @Method = method
682
+ @Doc = doc
683
+ @SafeCount = safecount
684
+ @Content = content
685
+ @IsPass = ispass
686
+ @IgnoreCount = ignorecount
687
+ @RiskCount = riskcount
688
+ @LastCheckTime = lastchecktime
689
+ @AssetType = assettype
690
+ @ResCount = rescount
691
+ @UUID = uuid
692
+ @StandardItem = standarditem
693
+ @Chapter = chapter
694
+ @AssetTypeDesc = assettypedesc
695
+ @IsIgnore = isignore
696
+ @RiskItem = riskitem
697
+ @Title = title
698
+ end
699
+
700
+ def deserialize(params)
701
+ @Id = params['Id']
702
+ @Category = params['Category']
703
+ @Type = params['Type']
704
+ @ErrorCount = params['ErrorCount']
705
+ @NameEn = params['NameEn']
706
+ @CheckName = params['CheckName']
707
+ @Method = params['Method']
708
+ @Doc = params['Doc']
709
+ @SafeCount = params['SafeCount']
710
+ @Content = params['Content']
711
+ @IsPass = params['IsPass']
712
+ @IgnoreCount = params['IgnoreCount']
713
+ @RiskCount = params['RiskCount']
714
+ @LastCheckTime = params['LastCheckTime']
715
+ @AssetType = params['AssetType']
716
+ @ResCount = params['ResCount']
717
+ @UUID = params['UUID']
718
+ @StandardItem = params['StandardItem']
719
+ @Chapter = params['Chapter']
720
+ @AssetTypeDesc = params['AssetTypeDesc']
721
+ @IsIgnore = params['IsIgnore']
722
+ @RiskItem = params['RiskItem']
723
+ @Title = params['Title']
724
+ end
725
+ end
726
+
727
+ # 资产测绘对象
728
+ class DataAssetMapping < TencentCloud::Common::AbstractModel
729
+ # @param AssetIp: 资产主IP地址(公网IP)
730
+ # 注意:此字段可能返回 null,表示取不到有效值。
731
+ # @type AssetIp: String
732
+ # @param AssetName: 资产名称
733
+ # 注意:此字段可能返回 null,表示取不到有效值。
734
+ # @type AssetName: String
735
+ # @param Instid: 资产ID(各模块间通用)
736
+ # 注意:此字段可能返回 null,表示取不到有效值。
737
+ # @type Instid: String
738
+ # @param AssetType: 资产类型
739
+ # 注意:此字段可能返回 null,表示取不到有效值。
740
+ # @type AssetType: String
741
+ # @param AssetRegionEn: 资产可用区(英文)
742
+ # 注意:此字段可能返回 null,表示取不到有效值。
743
+ # @type AssetRegionEn: String
744
+ # @param AssetRegionCn: 资产可用区(中文)
745
+ # 注意:此字段可能返回 null,表示取不到有效值。
746
+ # @type AssetRegionCn: String
747
+ # @param AssetNetwork: 资产所属网络
748
+ # 注意:此字段可能返回 null,表示取不到有效值。
749
+ # @type AssetNetwork: String
750
+ # @param AssetStatusEn: 资产运行状态(英文)
751
+ # 注意:此字段可能返回 null,表示取不到有效值。
752
+ # @type AssetStatusEn: String
753
+ # @param AssetStatusCn: 资产运行状态(中文)
754
+ # 注意:此字段可能返回 null,表示取不到有效值。
755
+ # @type AssetStatusCn: String
756
+ # @param IsWhite: 是否白名单:“True”为白名单不测绘,默认“False”正常测绘
757
+ # 注意:此字段可能返回 null,表示取不到有效值。
758
+ # @type IsWhite: String
759
+ # @param Status: 资产测绘状态(“unstart”未开始/“running”测绘中/“finish”已完成/“abandoned”任务中止)
760
+ # 注意:此字段可能返回 null,表示取不到有效值。
761
+ # @type Status: String
762
+ # @param Time: 最近更新时间
763
+ # 注意:此字段可能返回 null,表示取不到有效值。
764
+ # @type Time: String
765
+ # @param Tag: 资产标签
766
+ # 注意:此字段可能返回 null,表示取不到有效值。
767
+ # @type Tag: Array
768
+ # @param Group: 资产组
769
+ # 注意:此字段可能返回 null,表示取不到有效值。
770
+ # @type Group: Array
771
+ # @param Port: 端口和服务信息
772
+ # 注意:此字段可能返回 null,表示取不到有效值。
773
+ # @type Port: String
774
+ # @param Component: 组件信息
775
+ # 注意:此字段可能返回 null,表示取不到有效值。
776
+ # @type Component: String
777
+ # @param AssetInstanceType: 资产实例类型
778
+ # 注意:此字段可能返回 null,表示取不到有效值。
779
+ # @type AssetInstanceType: String
780
+ # @param IsIntranet: 资产是否是内网类型
781
+ # 注意:此字段可能返回 null,表示取不到有效值。
782
+ # @type IsIntranet: Integer
783
+
784
+ attr_accessor :AssetIp, :AssetName, :Instid, :AssetType, :AssetRegionEn, :AssetRegionCn, :AssetNetwork, :AssetStatusEn, :AssetStatusCn, :IsWhite, :Status, :Time, :Tag, :Group, :Port, :Component, :AssetInstanceType, :IsIntranet
785
+
786
+ def initialize(assetip=nil, assetname=nil, instid=nil, assettype=nil, assetregionen=nil, assetregioncn=nil, assetnetwork=nil, assetstatusen=nil, assetstatuscn=nil, iswhite=nil, status=nil, time=nil, tag=nil, group=nil, port=nil, component=nil, assetinstancetype=nil, isintranet=nil)
787
+ @AssetIp = assetip
788
+ @AssetName = assetname
789
+ @Instid = instid
790
+ @AssetType = assettype
791
+ @AssetRegionEn = assetregionen
792
+ @AssetRegionCn = assetregioncn
793
+ @AssetNetwork = assetnetwork
794
+ @AssetStatusEn = assetstatusen
795
+ @AssetStatusCn = assetstatuscn
796
+ @IsWhite = iswhite
797
+ @Status = status
798
+ @Time = time
799
+ @Tag = tag
800
+ @Group = group
801
+ @Port = port
802
+ @Component = component
803
+ @AssetInstanceType = assetinstancetype
804
+ @IsIntranet = isintranet
805
+ end
806
+
807
+ def deserialize(params)
808
+ @AssetIp = params['AssetIp']
809
+ @AssetName = params['AssetName']
810
+ @Instid = params['Instid']
811
+ @AssetType = params['AssetType']
812
+ @AssetRegionEn = params['AssetRegionEn']
813
+ @AssetRegionCn = params['AssetRegionCn']
814
+ @AssetNetwork = params['AssetNetwork']
815
+ @AssetStatusEn = params['AssetStatusEn']
816
+ @AssetStatusCn = params['AssetStatusCn']
817
+ @IsWhite = params['IsWhite']
818
+ @Status = params['Status']
819
+ @Time = params['Time']
820
+ unless params['Tag'].nil?
821
+ @Tag = []
822
+ params['Tag'].each do |i|
823
+ tag_tmp = Tag.new
824
+ tag_tmp.deserialize(i)
825
+ @Tag << tag_tmp
826
+ end
827
+ end
828
+ @Group = params['Group']
829
+ @Port = params['Port']
830
+ @Component = params['Component']
831
+ @AssetInstanceType = params['AssetInstanceType']
832
+ @IsIntranet = params['IsIntranet']
833
+ end
834
+ end
835
+
836
+ # 检查项详情对象
837
+ class DataCheck < TencentCloud::Common::AbstractModel
838
+ # @param Id: 检查项唯一标识符uuid
839
+ # @type Id: String
840
+ # @param Name: 检查项名称
841
+ # @type Name: String
842
+ # @param Type: 检查项类型
843
+ # @type Type: String
844
+ # @param LastCheckTime: 最近一次检查时间
845
+ # 注意:此字段可能返回 null,表示取不到有效值。
846
+ # @type LastCheckTime: String
847
+ # @param Status: 初始未检测状态0, 已通过为1,未通过为2
848
+ # 注意:此字段可能返回 null,表示取不到有效值。
849
+ # @type Status: Integer
850
+ # @param IsIgnored: 0-未忽略,1-已忽略
851
+ # 注意:此字段可能返回 null,表示取不到有效值。
852
+ # @type IsIgnored: Integer
853
+ # @param RiskCount: 有风险的资源总数,未通过数量
854
+ # 注意:此字段可能返回 null,表示取不到有效值。
855
+ # @type RiskCount: Integer
856
+ # @param IsChecked: 0-检测中,1-结束检测
857
+ # 注意:此字段可能返回 null,表示取不到有效值。
858
+ # @type IsChecked: Integer
859
+ # @param AssetTotal: 总资产数
860
+ # 注意:此字段可能返回 null,表示取不到有效值。
861
+ # @type AssetTotal: Integer
862
+ # @param Remarks: 备注内容
863
+ # 注意:此字段可能返回 null,表示取不到有效值。
864
+ # @type Remarks: String
865
+
866
+ attr_accessor :Id, :Name, :Type, :LastCheckTime, :Status, :IsIgnored, :RiskCount, :IsChecked, :AssetTotal, :Remarks
867
+
868
+ def initialize(id=nil, name=nil, type=nil, lastchecktime=nil, status=nil, isignored=nil, riskcount=nil, ischecked=nil, assettotal=nil, remarks=nil)
869
+ @Id = id
870
+ @Name = name
871
+ @Type = type
872
+ @LastCheckTime = lastchecktime
873
+ @Status = status
874
+ @IsIgnored = isignored
875
+ @RiskCount = riskcount
876
+ @IsChecked = ischecked
877
+ @AssetTotal = assettotal
878
+ @Remarks = remarks
879
+ end
880
+
881
+ def deserialize(params)
882
+ @Id = params['Id']
883
+ @Name = params['Name']
884
+ @Type = params['Type']
885
+ @LastCheckTime = params['LastCheckTime']
886
+ @Status = params['Status']
887
+ @IsIgnored = params['IsIgnored']
888
+ @RiskCount = params['RiskCount']
889
+ @IsChecked = params['IsChecked']
890
+ @AssetTotal = params['AssetTotal']
891
+ @Remarks = params['Remarks']
892
+ end
893
+ end
894
+
895
+ # 合规检查项详情对象
896
+ class DataCompliance < TencentCloud::Common::AbstractModel
897
+ # @param Id: 等保唯一标识符
898
+ # @type Id: String
899
+ # @param CheckItemId: 检查项唯一标识符
900
+ # @type CheckItemId: String
901
+ # @param Name: 检查项名称
902
+ # @type Name: String
903
+ # @param AssetType: 检查项资产类型
904
+ # @type AssetType: String
905
+ # @param Type: 检查项类型
906
+ # @type Type: String
907
+ # @param Category: 检查项类别
908
+ # @type Category: String
909
+ # @param StandardItem: 检查项标准项
910
+ # @type StandardItem: String
911
+ # @param Chapter: 检查项章节号
912
+ # @type Chapter: String
913
+ # @param LastCheckTime: 最近一次检查时间
914
+ # 注意:此字段可能返回 null,表示取不到有效值。
915
+ # @type LastCheckTime: String
916
+ # @param Status: 初始未检测状态0, 已通过为1,未通过为2
917
+ # 注意:此字段可能返回 null,表示取不到有效值。
918
+ # @type Status: Integer
919
+ # @param RiskCount: 有风险的资源总数,未通过数量
920
+ # 注意:此字段可能返回 null,表示取不到有效值。
921
+ # @type RiskCount: Integer
922
+ # @param IsChecked: 0-检测中,1-结束检测
923
+ # 注意:此字段可能返回 null,表示取不到有效值。
924
+ # @type IsChecked: Integer
925
+ # @param RiskItem: 检查项风险项
926
+ # 注意:此字段可能返回 null,表示取不到有效值。
927
+ # @type RiskItem: String
928
+ # @param IsIgnored: 0-未忽略,1-已忽略
929
+ # 注意:此字段可能返回 null,表示取不到有效值。
930
+ # @type IsIgnored: Integer
931
+ # @param Title: 等保检查项完整名称
932
+ # 注意:此字段可能返回 null,表示取不到有效值。
933
+ # @type Title: String
934
+ # @param AssetTotal: 资产总数
935
+ # 注意:此字段可能返回 null,表示取不到有效值。
936
+ # @type AssetTotal: Integer
937
+ # @param Remarks: 忽略内容
938
+ # 注意:此字段可能返回 null,表示取不到有效值。
939
+ # @type Remarks: String
940
+
941
+ attr_accessor :Id, :CheckItemId, :Name, :AssetType, :Type, :Category, :StandardItem, :Chapter, :LastCheckTime, :Status, :RiskCount, :IsChecked, :RiskItem, :IsIgnored, :Title, :AssetTotal, :Remarks
942
+
943
+ def initialize(id=nil, checkitemid=nil, name=nil, assettype=nil, type=nil, category=nil, standarditem=nil, chapter=nil, lastchecktime=nil, status=nil, riskcount=nil, ischecked=nil, riskitem=nil, isignored=nil, title=nil, assettotal=nil, remarks=nil)
944
+ @Id = id
945
+ @CheckItemId = checkitemid
946
+ @Name = name
947
+ @AssetType = assettype
948
+ @Type = type
949
+ @Category = category
950
+ @StandardItem = standarditem
951
+ @Chapter = chapter
952
+ @LastCheckTime = lastchecktime
953
+ @Status = status
954
+ @RiskCount = riskcount
955
+ @IsChecked = ischecked
956
+ @RiskItem = riskitem
957
+ @IsIgnored = isignored
958
+ @Title = title
959
+ @AssetTotal = assettotal
960
+ @Remarks = remarks
961
+ end
962
+
963
+ def deserialize(params)
964
+ @Id = params['Id']
965
+ @CheckItemId = params['CheckItemId']
966
+ @Name = params['Name']
967
+ @AssetType = params['AssetType']
968
+ @Type = params['Type']
969
+ @Category = params['Category']
970
+ @StandardItem = params['StandardItem']
971
+ @Chapter = params['Chapter']
972
+ @LastCheckTime = params['LastCheckTime']
973
+ @Status = params['Status']
974
+ @RiskCount = params['RiskCount']
975
+ @IsChecked = params['IsChecked']
976
+ @RiskItem = params['RiskItem']
977
+ @IsIgnored = params['IsIgnored']
978
+ @Title = params['Title']
979
+ @AssetTotal = params['AssetTotal']
980
+ @Remarks = params['Remarks']
981
+ end
982
+ end
983
+
984
+ # 事件列表对象
985
+ class DataEvent < TencentCloud::Common::AbstractModel
986
+ # @param OldIdMd5: Md5值
987
+ # 注意:此字段可能返回 null,表示取不到有效值。
988
+ # @type OldIdMd5: String
989
+ # @param EventName: 事件名称
990
+ # 注意:此字段可能返回 null,表示取不到有效值。
991
+ # @type EventName: String
992
+ # @param EventType1: 事件类型一级分类
993
+ # 注意:此字段可能返回 null,表示取不到有效值。
994
+ # @type EventType1: Integer
995
+ # @param EventType2: 事件类型二级分类
996
+ # 注意:此字段可能返回 null,表示取不到有效值。
997
+ # @type EventType2: Integer
998
+ # @param Level: 事件等级
999
+ # 注意:此字段可能返回 null,表示取不到有效值。
1000
+ # @type Level: Integer
1001
+ # @param Status: 处理状态
1002
+ # 注意:此字段可能返回 null,表示取不到有效值。
1003
+ # @type Status: Integer
1004
+ # @param SrcIp: 源ip
1005
+ # 注意:此字段可能返回 null,表示取不到有效值。
1006
+ # @type SrcIp: String
1007
+ # @param DstIp: 目的ip
1008
+ # 注意:此字段可能返回 null,表示取不到有效值。
1009
+ # @type DstIp: String
1010
+ # @param Time: 事件发生时间
1011
+ # 注意:此字段可能返回 null,表示取不到有效值。
1012
+ # @type Time: String
1013
+ # @param Dstport: 目的端口
1014
+ # 注意:此字段可能返回 null,表示取不到有效值。
1015
+ # @type Dstport: Integer
1016
+ # @param AssetIp: 资产ip
1017
+ # 注意:此字段可能返回 null,表示取不到有效值。
1018
+ # @type AssetIp: String
1019
+ # @param AssetName: 资产名称
1020
+ # 注意:此字段可能返回 null,表示取不到有效值。
1021
+ # @type AssetName: String
1022
+ # @param SsaEventUniqid: 安全事件唯一标识符
1023
+ # 注意:此字段可能返回 null,表示取不到有效值。
1024
+ # @type SsaEventUniqid: String
1025
+ # @param AssetId: 资产id
1026
+ # 注意:此字段可能返回 null,表示取不到有效值。
1027
+ # @type AssetId: String
1028
+ # @param Source: 事件来源
1029
+ # 注意:此字段可能返回 null,表示取不到有效值。
1030
+ # @type Source: String
1031
+ # @param Index: 索引
1032
+ # 注意:此字段可能返回 null,表示取不到有效值。
1033
+ # @type Index: String
1034
+ # @param Id: 索引中的唯一标识符
1035
+ # 注意:此字段可能返回 null,表示取不到有效值。
1036
+ # @type Id: String
1037
+ # @param IsAssetDeleted: 受影响资产是否已下线
1038
+ # 注意:此字段可能返回 null,表示取不到有效值。
1039
+ # @type IsAssetDeleted: String
1040
+ # @param SsaSrcCountry: 源ip所属地
1041
+ # 注意:此字段可能返回 null,表示取不到有效值。
1042
+ # @type SsaSrcCountry: String
1043
+ # @param SsaDstCountry: 目的ip所属地
1044
+ # 注意:此字段可能返回 null,表示取不到有效值。
1045
+ # @type SsaDstCountry: String
1046
+ # @param SsaDescription: 木马类型的描述信息
1047
+ # 注意:此字段可能返回 null,表示取不到有效值。
1048
+ # @type SsaDescription: String
1049
+ # @param SsaAttackChain: 供给链类型
1050
+ # 注意:此字段可能返回 null,表示取不到有效值。
1051
+ # @type SsaAttackChain: String
1052
+ # @param RuleComponents: 受影响组件
1053
+ # @type RuleComponents: String
1054
+ # @param AssetIpAll: 资产ip
1055
+ # 注意:此字段可能返回 null,表示取不到有效值。
1056
+ # @type AssetIpAll: Array
1057
+ # @param AssetType: 资产类型
1058
+ # 注意:此字段可能返回 null,表示取不到有效值。
1059
+ # @type AssetType: String
1060
+ # @param PublicIpAddresses: cvm类型资产的公网ip
1061
+ # 注意:此字段可能返回 null,表示取不到有效值。
1062
+ # @type PublicIpAddresses: Array
1063
+ # @param PrivateIpAddresses: cvm类型资产的内网ip
1064
+ # @type PrivateIpAddresses: Array
1065
+ # @param SoarResponseStatus: 事件响应状态
1066
+ # 注意:此字段可能返回 null,表示取不到有效值。
1067
+ # @type SoarResponseStatus: Integer
1068
+ # @param SoarResponseTime: 事件最近响应时间
1069
+ # 注意:此字段可能返回 null,表示取不到有效值。
1070
+ # @type SoarResponseTime: Integer
1071
+ # @param SoarSuggestStatus: 事件建议处理状态
1072
+ # 注意:此字段可能返回 null,表示取不到有效值。
1073
+ # @type SoarSuggestStatus: Integer
1074
+ # @param SoarPlaybookType: 事件剧本类型
1075
+ # 注意:此字段可能返回 null,表示取不到有效值。
1076
+ # @type SoarPlaybookType: String
1077
+ # @param SoarRunId: 剧本任务Id
1078
+ # 注意:此字段可能返回 null,表示取不到有效值。
1079
+ # @type SoarRunId: String
1080
+ # @param SsaEventId: 事件Id
1081
+ # 注意:此字段可能返回 null,表示取不到有效值。
1082
+ # @type SsaEventId: String
1083
+ # @param IsNewCfwEvent: 是否新接入的云防事件
1084
+ # 注意:此字段可能返回 null,表示取不到有效值。
1085
+ # @type IsNewCfwEvent: Boolean
1086
+ # @param Direction: 出入站方向
1087
+ # 注意:此字段可能返回 null,表示取不到有效值。
1088
+ # @type Direction: String
1089
+
1090
+ attr_accessor :OldIdMd5, :EventName, :EventType1, :EventType2, :Level, :Status, :SrcIp, :DstIp, :Time, :Dstport, :AssetIp, :AssetName, :SsaEventUniqid, :AssetId, :Source, :Index, :Id, :IsAssetDeleted, :SsaSrcCountry, :SsaDstCountry, :SsaDescription, :SsaAttackChain, :RuleComponents, :AssetIpAll, :AssetType, :PublicIpAddresses, :PrivateIpAddresses, :SoarResponseStatus, :SoarResponseTime, :SoarSuggestStatus, :SoarPlaybookType, :SoarRunId, :SsaEventId, :IsNewCfwEvent, :Direction
1091
+
1092
+ def initialize(oldidmd5=nil, eventname=nil, eventtype1=nil, eventtype2=nil, level=nil, status=nil, srcip=nil, dstip=nil, time=nil, dstport=nil, assetip=nil, assetname=nil, ssaeventuniqid=nil, assetid=nil, source=nil, index=nil, id=nil, isassetdeleted=nil, ssasrccountry=nil, ssadstcountry=nil, ssadescription=nil, ssaattackchain=nil, rulecomponents=nil, assetipall=nil, assettype=nil, publicipaddresses=nil, privateipaddresses=nil, soarresponsestatus=nil, soarresponsetime=nil, soarsuggeststatus=nil, soarplaybooktype=nil, soarrunid=nil, ssaeventid=nil, isnewcfwevent=nil, direction=nil)
1093
+ @OldIdMd5 = oldidmd5
1094
+ @EventName = eventname
1095
+ @EventType1 = eventtype1
1096
+ @EventType2 = eventtype2
1097
+ @Level = level
1098
+ @Status = status
1099
+ @SrcIp = srcip
1100
+ @DstIp = dstip
1101
+ @Time = time
1102
+ @Dstport = dstport
1103
+ @AssetIp = assetip
1104
+ @AssetName = assetname
1105
+ @SsaEventUniqid = ssaeventuniqid
1106
+ @AssetId = assetid
1107
+ @Source = source
1108
+ @Index = index
1109
+ @Id = id
1110
+ @IsAssetDeleted = isassetdeleted
1111
+ @SsaSrcCountry = ssasrccountry
1112
+ @SsaDstCountry = ssadstcountry
1113
+ @SsaDescription = ssadescription
1114
+ @SsaAttackChain = ssaattackchain
1115
+ @RuleComponents = rulecomponents
1116
+ @AssetIpAll = assetipall
1117
+ @AssetType = assettype
1118
+ @PublicIpAddresses = publicipaddresses
1119
+ @PrivateIpAddresses = privateipaddresses
1120
+ @SoarResponseStatus = soarresponsestatus
1121
+ @SoarResponseTime = soarresponsetime
1122
+ @SoarSuggestStatus = soarsuggeststatus
1123
+ @SoarPlaybookType = soarplaybooktype
1124
+ @SoarRunId = soarrunid
1125
+ @SsaEventId = ssaeventid
1126
+ @IsNewCfwEvent = isnewcfwevent
1127
+ @Direction = direction
1128
+ end
1129
+
1130
+ def deserialize(params)
1131
+ @OldIdMd5 = params['OldIdMd5']
1132
+ @EventName = params['EventName']
1133
+ @EventType1 = params['EventType1']
1134
+ @EventType2 = params['EventType2']
1135
+ @Level = params['Level']
1136
+ @Status = params['Status']
1137
+ @SrcIp = params['SrcIp']
1138
+ @DstIp = params['DstIp']
1139
+ @Time = params['Time']
1140
+ @Dstport = params['Dstport']
1141
+ @AssetIp = params['AssetIp']
1142
+ @AssetName = params['AssetName']
1143
+ @SsaEventUniqid = params['SsaEventUniqid']
1144
+ @AssetId = params['AssetId']
1145
+ @Source = params['Source']
1146
+ @Index = params['Index']
1147
+ @Id = params['Id']
1148
+ @IsAssetDeleted = params['IsAssetDeleted']
1149
+ @SsaSrcCountry = params['SsaSrcCountry']
1150
+ @SsaDstCountry = params['SsaDstCountry']
1151
+ @SsaDescription = params['SsaDescription']
1152
+ @SsaAttackChain = params['SsaAttackChain']
1153
+ @RuleComponents = params['RuleComponents']
1154
+ @AssetIpAll = params['AssetIpAll']
1155
+ @AssetType = params['AssetType']
1156
+ @PublicIpAddresses = params['PublicIpAddresses']
1157
+ @PrivateIpAddresses = params['PrivateIpAddresses']
1158
+ @SoarResponseStatus = params['SoarResponseStatus']
1159
+ @SoarResponseTime = params['SoarResponseTime']
1160
+ @SoarSuggestStatus = params['SoarSuggestStatus']
1161
+ @SoarPlaybookType = params['SoarPlaybookType']
1162
+ @SoarRunId = params['SoarRunId']
1163
+ @SsaEventId = params['SsaEventId']
1164
+ @IsNewCfwEvent = params['IsNewCfwEvent']
1165
+ @Direction = params['Direction']
1166
+ end
1167
+ end
1168
+
1169
+ # DescribeAssetDetail请求参数结构体
1170
+ class DescribeAssetDetailRequest < TencentCloud::Common::AbstractModel
1171
+ # @param Params: 查询过滤参数
1172
+ # @type Params: String
1173
+
1174
+ attr_accessor :Params
1175
+
1176
+ def initialize(params=nil)
1177
+ @Params = params
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ @Params = params['Params']
1182
+ end
1183
+ end
1184
+
1185
+ # DescribeAssetDetail返回参数结构体
1186
+ class DescribeAssetDetailResponse < TencentCloud::Common::AbstractModel
1187
+ # @param Data: 资产详情
1188
+ # 注意:此字段可能返回 null,表示取不到有效值。
1189
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.AssetDetail`
1190
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1191
+ # @type RequestId: String
1192
+
1193
+ attr_accessor :Data, :RequestId
1194
+
1195
+ def initialize(data=nil, requestid=nil)
1196
+ @Data = data
1197
+ @RequestId = requestid
1198
+ end
1199
+
1200
+ def deserialize(params)
1201
+ unless params['Data'].nil?
1202
+ @Data = AssetDetail.new
1203
+ @Data.deserialize(params['Data'])
1204
+ end
1205
+ @RequestId = params['RequestId']
1206
+ end
1207
+ end
1208
+
1209
+ # DescribeAssetList请求参数结构体
1210
+ class DescribeAssetListRequest < TencentCloud::Common::AbstractModel
1211
+ # @param Params: 查询过滤参数
1212
+ # @type Params: String
1213
+
1214
+ attr_accessor :Params
1215
+
1216
+ def initialize(params=nil)
1217
+ @Params = params
1218
+ end
1219
+
1220
+ def deserialize(params)
1221
+ @Params = params['Params']
1222
+ end
1223
+ end
1224
+
1225
+ # DescribeAssetList返回参数结构体
1226
+ class DescribeAssetListResponse < TencentCloud::Common::AbstractModel
1227
+ # @param AssetList: 资产列表
1228
+ # @type AssetList: :class:`Tencentcloud::Ssa.v20180608.models.AssetList`
1229
+ # @param AggregationData: 聚合数据
1230
+ # @type AggregationData: Array
1231
+ # @param NamespaceData: 命名空间数据
1232
+ # @type NamespaceData: Array
1233
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1234
+ # @type RequestId: String
1235
+
1236
+ attr_accessor :AssetList, :AggregationData, :NamespaceData, :RequestId
1237
+
1238
+ def initialize(assetlist=nil, aggregationdata=nil, namespacedata=nil, requestid=nil)
1239
+ @AssetList = assetlist
1240
+ @AggregationData = aggregationdata
1241
+ @NamespaceData = namespacedata
1242
+ @RequestId = requestid
1243
+ end
1244
+
1245
+ def deserialize(params)
1246
+ unless params['AssetList'].nil?
1247
+ @AssetList = AssetList.new
1248
+ @AssetList.deserialize(params['AssetList'])
1249
+ end
1250
+ unless params['AggregationData'].nil?
1251
+ @AggregationData = []
1252
+ params['AggregationData'].each do |i|
1253
+ aggregationobj_tmp = AggregationObj.new
1254
+ aggregationobj_tmp.deserialize(i)
1255
+ @AggregationData << aggregationobj_tmp
1256
+ end
1257
+ end
1258
+ @NamespaceData = params['NamespaceData']
1259
+ @RequestId = params['RequestId']
1260
+ end
1261
+ end
1262
+
1263
+ # DescribeAssetsMappingList请求参数结构体
1264
+ class DescribeAssetsMappingListRequest < TencentCloud::Common::AbstractModel
1265
+ # @param Params: 请求参数
1266
+ # @type Params: String
1267
+
1268
+ attr_accessor :Params
1269
+
1270
+ def initialize(params=nil)
1271
+ @Params = params
1272
+ end
1273
+
1274
+ def deserialize(params)
1275
+ @Params = params['Params']
1276
+ end
1277
+ end
1278
+
1279
+ # DescribeAssetsMappingList返回参数结构体
1280
+ class DescribeAssetsMappingListResponse < TencentCloud::Common::AbstractModel
1281
+ # @param Data: 资产测绘列表
1282
+ # @type Data: Array
1283
+ # @param TotalCount: 资产测绘总数
1284
+ # @type TotalCount: Integer
1285
+ # @param CountByType: 类型分类统计数量
1286
+ # 注意:此字段可能返回 null,表示取不到有效值。
1287
+ # @type CountByType: String
1288
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1289
+ # @type RequestId: String
1290
+
1291
+ attr_accessor :Data, :TotalCount, :CountByType, :RequestId
1292
+
1293
+ def initialize(data=nil, totalcount=nil, countbytype=nil, requestid=nil)
1294
+ @Data = data
1295
+ @TotalCount = totalcount
1296
+ @CountByType = countbytype
1297
+ @RequestId = requestid
1298
+ end
1299
+
1300
+ def deserialize(params)
1301
+ unless params['Data'].nil?
1302
+ @Data = []
1303
+ params['Data'].each do |i|
1304
+ dataassetmapping_tmp = DataAssetMapping.new
1305
+ dataassetmapping_tmp.deserialize(i)
1306
+ @Data << dataassetmapping_tmp
1307
+ end
1308
+ end
1309
+ @TotalCount = params['TotalCount']
1310
+ @CountByType = params['CountByType']
1311
+ @RequestId = params['RequestId']
1312
+ end
1313
+ end
1314
+
1315
+ # DescribeCheckConfigAssetList请求参数结构体
1316
+ class DescribeCheckConfigAssetListRequest < TencentCloud::Common::AbstractModel
1317
+ # @param Id: 检查项UUID
1318
+ # @type Id: String
1319
+ # @param Offset: 页码
1320
+ # @type Offset: Integer
1321
+ # @param Limit: 每页列表数
1322
+ # @type Limit: Integer
1323
+ # @param Search: db搜索条件
1324
+ # @type Search: Array
1325
+ # @param Filter: ES过滤条件
1326
+ # @type Filter: Array
1327
+
1328
+ attr_accessor :Id, :Offset, :Limit, :Search, :Filter
1329
+
1330
+ def initialize(id=nil, offset=nil, limit=nil, search=nil, filter=nil)
1331
+ @Id = id
1332
+ @Offset = offset
1333
+ @Limit = limit
1334
+ @Search = search
1335
+ @Filter = filter
1336
+ end
1337
+
1338
+ def deserialize(params)
1339
+ @Id = params['Id']
1340
+ @Offset = params['Offset']
1341
+ @Limit = params['Limit']
1342
+ unless params['Search'].nil?
1343
+ @Search = []
1344
+ params['Search'].each do |i|
1345
+ filter_tmp = Filter.new
1346
+ filter_tmp.deserialize(i)
1347
+ @Search << filter_tmp
1348
+ end
1349
+ end
1350
+ unless params['Filter'].nil?
1351
+ @Filter = []
1352
+ params['Filter'].each do |i|
1353
+ filter_tmp = Filter.new
1354
+ filter_tmp.deserialize(i)
1355
+ @Filter << filter_tmp
1356
+ end
1357
+ end
1358
+ end
1359
+ end
1360
+
1361
+ # DescribeCheckConfigAssetList返回参数结构体
1362
+ class DescribeCheckConfigAssetListResponse < TencentCloud::Common::AbstractModel
1363
+ # @param Total: 资产列表总数
1364
+ # @type Total: Integer
1365
+ # @param CheckAssetsList: 资产列表项
1366
+ # 注意:此字段可能返回 null,表示取不到有效值。
1367
+ # @type CheckAssetsList: Array
1368
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1369
+ # @type RequestId: String
1370
+
1371
+ attr_accessor :Total, :CheckAssetsList, :RequestId
1372
+
1373
+ def initialize(total=nil, checkassetslist=nil, requestid=nil)
1374
+ @Total = total
1375
+ @CheckAssetsList = checkassetslist
1376
+ @RequestId = requestid
1377
+ end
1378
+
1379
+ def deserialize(params)
1380
+ @Total = params['Total']
1381
+ unless params['CheckAssetsList'].nil?
1382
+ @CheckAssetsList = []
1383
+ params['CheckAssetsList'].each do |i|
1384
+ checkassetitem_tmp = CheckAssetItem.new
1385
+ checkassetitem_tmp.deserialize(i)
1386
+ @CheckAssetsList << checkassetitem_tmp
1387
+ end
1388
+ end
1389
+ @RequestId = params['RequestId']
1390
+ end
1391
+ end
1392
+
1393
+ # DescribeCheckConfigDetail请求参数结构体
1394
+ class DescribeCheckConfigDetailRequest < TencentCloud::Common::AbstractModel
1395
+ # @param Id: 检查项ID
1396
+ # @type Id: String
1397
+
1398
+ attr_accessor :Id
1399
+
1400
+ def initialize(id=nil)
1401
+ @Id = id
1402
+ end
1403
+
1404
+ def deserialize(params)
1405
+ @Id = params['Id']
1406
+ end
1407
+ end
1408
+
1409
+ # DescribeCheckConfigDetail返回参数结构体
1410
+ class DescribeCheckConfigDetailResponse < TencentCloud::Common::AbstractModel
1411
+ # @param CheckConfigDetail: 检查项详情
1412
+ # @type CheckConfigDetail: :class:`Tencentcloud::Ssa.v20180608.models.CheckConfigDetail`
1413
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1414
+ # @type RequestId: String
1415
+
1416
+ attr_accessor :CheckConfigDetail, :RequestId
1417
+
1418
+ def initialize(checkconfigdetail=nil, requestid=nil)
1419
+ @CheckConfigDetail = checkconfigdetail
1420
+ @RequestId = requestid
1421
+ end
1422
+
1423
+ def deserialize(params)
1424
+ unless params['CheckConfigDetail'].nil?
1425
+ @CheckConfigDetail = CheckConfigDetail.new
1426
+ @CheckConfigDetail.deserialize(params['CheckConfigDetail'])
1427
+ end
1428
+ @RequestId = params['RequestId']
1429
+ end
1430
+ end
1431
+
1432
+ # DescribeComplianceAssetList请求参数结构体
1433
+ class DescribeComplianceAssetListRequest < TencentCloud::Common::AbstractModel
1434
+ # @param Offset: 页码
1435
+ # @type Offset: Integer
1436
+ # @param Limit: 每页数量
1437
+ # @type Limit: Integer
1438
+ # @param Id: 检查项uuid
1439
+ # @type Id: String
1440
+ # @param Filter: 过滤条件
1441
+ # @type Filter: Array
1442
+ # @param Search: 查询条件
1443
+ # @type Search: Array
1444
+
1445
+ attr_accessor :Offset, :Limit, :Id, :Filter, :Search
1446
+
1447
+ def initialize(offset=nil, limit=nil, id=nil, filter=nil, search=nil)
1448
+ @Offset = offset
1449
+ @Limit = limit
1450
+ @Id = id
1451
+ @Filter = filter
1452
+ @Search = search
1453
+ end
1454
+
1455
+ def deserialize(params)
1456
+ @Offset = params['Offset']
1457
+ @Limit = params['Limit']
1458
+ @Id = params['Id']
1459
+ unless params['Filter'].nil?
1460
+ @Filter = []
1461
+ params['Filter'].each do |i|
1462
+ filter_tmp = Filter.new
1463
+ filter_tmp.deserialize(i)
1464
+ @Filter << filter_tmp
1465
+ end
1466
+ end
1467
+ unless params['Search'].nil?
1468
+ @Search = []
1469
+ params['Search'].each do |i|
1470
+ filter_tmp = Filter.new
1471
+ filter_tmp.deserialize(i)
1472
+ @Search << filter_tmp
1473
+ end
1474
+ end
1475
+ end
1476
+ end
1477
+
1478
+ # DescribeComplianceAssetList返回参数结构体
1479
+ class DescribeComplianceAssetListResponse < TencentCloud::Common::AbstractModel
1480
+ # @param CheckAssetsList: 资产组列表
1481
+ # @type CheckAssetsList: Array
1482
+ # @param Total: 资产组列表总数
1483
+ # @type Total: Integer
1484
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1485
+ # @type RequestId: String
1486
+
1487
+ attr_accessor :CheckAssetsList, :Total, :RequestId
1488
+
1489
+ def initialize(checkassetslist=nil, total=nil, requestid=nil)
1490
+ @CheckAssetsList = checkassetslist
1491
+ @Total = total
1492
+ @RequestId = requestid
1493
+ end
1494
+
1495
+ def deserialize(params)
1496
+ unless params['CheckAssetsList'].nil?
1497
+ @CheckAssetsList = []
1498
+ params['CheckAssetsList'].each do |i|
1499
+ checkassetitem_tmp = CheckAssetItem.new
1500
+ checkassetitem_tmp.deserialize(i)
1501
+ @CheckAssetsList << checkassetitem_tmp
1502
+ end
1503
+ end
1504
+ @Total = params['Total']
1505
+ @RequestId = params['RequestId']
1506
+ end
1507
+ end
1508
+
1509
+ # DescribeComplianceDetail请求参数结构体
1510
+ class DescribeComplianceDetailRequest < TencentCloud::Common::AbstractModel
1511
+ # @param Id: 检查项uuid
1512
+ # @type Id: String
1513
+
1514
+ attr_accessor :Id
1515
+
1516
+ def initialize(id=nil)
1517
+ @Id = id
1518
+ end
1519
+
1520
+ def deserialize(params)
1521
+ @Id = params['Id']
1522
+ end
1523
+ end
1524
+
1525
+ # DescribeComplianceDetail返回参数结构体
1526
+ class DescribeComplianceDetailResponse < TencentCloud::Common::AbstractModel
1527
+ # @param CheckConfigDetail: 合规管理检查项详情
1528
+ # @type CheckConfigDetail: :class:`Tencentcloud::Ssa.v20180608.models.ComplianceCheckDetail`
1529
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1530
+ # @type RequestId: String
1531
+
1532
+ attr_accessor :CheckConfigDetail, :RequestId
1533
+
1534
+ def initialize(checkconfigdetail=nil, requestid=nil)
1535
+ @CheckConfigDetail = checkconfigdetail
1536
+ @RequestId = requestid
1537
+ end
1538
+
1539
+ def deserialize(params)
1540
+ unless params['CheckConfigDetail'].nil?
1541
+ @CheckConfigDetail = ComplianceCheckDetail.new
1542
+ @CheckConfigDetail.deserialize(params['CheckConfigDetail'])
1543
+ end
1544
+ @RequestId = params['RequestId']
1545
+ end
1546
+ end
1547
+
1548
+ # DescribeComplianceList请求参数结构体
1549
+ class DescribeComplianceListRequest < TencentCloud::Common::AbstractModel
1550
+ # @param Filter: 搜索过滤条件
1551
+ # @type Filter: String
1552
+
1553
+ attr_accessor :Filter
1554
+
1555
+ def initialize(filter=nil)
1556
+ @Filter = filter
1557
+ end
1558
+
1559
+ def deserialize(params)
1560
+ @Filter = params['Filter']
1561
+ end
1562
+ end
1563
+
1564
+ # DescribeComplianceList返回参数结构体
1565
+ class DescribeComplianceListResponse < TencentCloud::Common::AbstractModel
1566
+ # @param Data: 检查项列表
1567
+ # @type Data: Array
1568
+ # @param AssetTotalNum: 总检查资产数
1569
+ # 注意:此字段可能返回 null,表示取不到有效值。
1570
+ # @type AssetTotalNum: Integer
1571
+ # @param ConfigTotalNum: 总检查项
1572
+ # 注意:此字段可能返回 null,表示取不到有效值。
1573
+ # @type ConfigTotalNum: Integer
1574
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1575
+ # @type RequestId: String
1576
+
1577
+ attr_accessor :Data, :AssetTotalNum, :ConfigTotalNum, :RequestId
1578
+
1579
+ def initialize(data=nil, assettotalnum=nil, configtotalnum=nil, requestid=nil)
1580
+ @Data = data
1581
+ @AssetTotalNum = assettotalnum
1582
+ @ConfigTotalNum = configtotalnum
1583
+ @RequestId = requestid
1584
+ end
1585
+
1586
+ def deserialize(params)
1587
+ unless params['Data'].nil?
1588
+ @Data = []
1589
+ params['Data'].each do |i|
1590
+ datacompliance_tmp = DataCompliance.new
1591
+ datacompliance_tmp.deserialize(i)
1592
+ @Data << datacompliance_tmp
1593
+ end
1594
+ end
1595
+ @AssetTotalNum = params['AssetTotalNum']
1596
+ @ConfigTotalNum = params['ConfigTotalNum']
1597
+ @RequestId = params['RequestId']
1598
+ end
1599
+ end
1600
+
1601
+ # DescribeConfigList请求参数结构体
1602
+ class DescribeConfigListRequest < TencentCloud::Common::AbstractModel
1603
+ # @param Filter: 搜索过滤条件
1604
+ # @type Filter: String
1605
+
1606
+ attr_accessor :Filter
1607
+
1608
+ def initialize(filter=nil)
1609
+ @Filter = filter
1610
+ end
1611
+
1612
+ def deserialize(params)
1613
+ @Filter = params['Filter']
1614
+ end
1615
+ end
1616
+
1617
+ # DescribeConfigList返回参数结构体
1618
+ class DescribeConfigListResponse < TencentCloud::Common::AbstractModel
1619
+ # @param Data: 检查项列表
1620
+ # @type Data: Array
1621
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1622
+ # @type RequestId: String
1623
+
1624
+ attr_accessor :Data, :RequestId
1625
+
1626
+ def initialize(data=nil, requestid=nil)
1627
+ @Data = data
1628
+ @RequestId = requestid
1629
+ end
1630
+
1631
+ def deserialize(params)
1632
+ unless params['Data'].nil?
1633
+ @Data = []
1634
+ params['Data'].each do |i|
1635
+ datacheck_tmp = DataCheck.new
1636
+ datacheck_tmp.deserialize(i)
1637
+ @Data << datacheck_tmp
1638
+ end
1639
+ end
1640
+ @RequestId = params['RequestId']
1641
+ end
1642
+ end
1643
+
1644
+ # DescribeEventDetail请求参数结构体
1645
+ class DescribeEventDetailRequest < TencentCloud::Common::AbstractModel
1646
+ # @param Index: 事件索引名
1647
+ # @type Index: String
1648
+ # @param Id: 事件id
1649
+ # @type Id: String
1650
+ # @param Source: 事件来源
1651
+ # @type Source: String
1652
+ # @param SubEventType: 事件子类型
1653
+ # @type SubEventType: Integer
1654
+ # @param Name: 事件名称
1655
+ # @type Name: String
1656
+
1657
+ attr_accessor :Index, :Id, :Source, :SubEventType, :Name
1658
+
1659
+ def initialize(index=nil, id=nil, source=nil, subeventtype=nil, name=nil)
1660
+ @Index = index
1661
+ @Id = id
1662
+ @Source = source
1663
+ @SubEventType = subeventtype
1664
+ @Name = name
1665
+ end
1666
+
1667
+ def deserialize(params)
1668
+ @Index = params['Index']
1669
+ @Id = params['Id']
1670
+ @Source = params['Source']
1671
+ @SubEventType = params['SubEventType']
1672
+ @Name = params['Name']
1673
+ end
1674
+ end
1675
+
1676
+ # DescribeEventDetail返回参数结构体
1677
+ class DescribeEventDetailResponse < TencentCloud::Common::AbstractModel
1678
+ # @param Data: 事件详情
1679
+ # @type Data: String
1680
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1681
+ # @type RequestId: String
1682
+
1683
+ attr_accessor :Data, :RequestId
1684
+
1685
+ def initialize(data=nil, requestid=nil)
1686
+ @Data = data
1687
+ @RequestId = requestid
1688
+ end
1689
+
1690
+ def deserialize(params)
1691
+ @Data = params['Data']
1692
+ @RequestId = params['RequestId']
1693
+ end
1694
+ end
1695
+
1696
+ # DescribeLeakDetectionList请求参数结构体
1697
+ class DescribeLeakDetectionListRequest < TencentCloud::Common::AbstractModel
1698
+ # @param Filters: 筛选条件
1699
+ # @type Filters: Array
1700
+ # @param Limit: 每页数量
1701
+ # @type Limit: Integer
1702
+ # @param Page: 页码
1703
+ # @type Page: Integer
1704
+ # @param StartTime: 起始时间
1705
+ # @type StartTime: String
1706
+ # @param EndTime: 结束时间
1707
+ # @type EndTime: String
1708
+
1709
+ attr_accessor :Filters, :Limit, :Page, :StartTime, :EndTime
1710
+
1711
+ def initialize(filters=nil, limit=nil, page=nil, starttime=nil, endtime=nil)
1712
+ @Filters = filters
1713
+ @Limit = limit
1714
+ @Page = page
1715
+ @StartTime = starttime
1716
+ @EndTime = endtime
1717
+ end
1718
+
1719
+ def deserialize(params)
1720
+ unless params['Filters'].nil?
1721
+ @Filters = []
1722
+ params['Filters'].each do |i|
1723
+ filter_tmp = Filter.new
1724
+ filter_tmp.deserialize(i)
1725
+ @Filters << filter_tmp
1726
+ end
1727
+ end
1728
+ @Limit = params['Limit']
1729
+ @Page = params['Page']
1730
+ @StartTime = params['StartTime']
1731
+ @EndTime = params['EndTime']
1732
+ end
1733
+ end
1734
+
1735
+ # DescribeLeakDetectionList返回参数结构体
1736
+ class DescribeLeakDetectionListResponse < TencentCloud::Common::AbstractModel
1737
+ # @param TotalCount: 总数
1738
+ # @type TotalCount: Integer
1739
+ # @param List: 数据列表
1740
+ # @type List: Array
1741
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1742
+ # @type RequestId: String
1743
+
1744
+ attr_accessor :TotalCount, :List, :RequestId
1745
+
1746
+ def initialize(totalcount=nil, list=nil, requestid=nil)
1747
+ @TotalCount = totalcount
1748
+ @List = list
1749
+ @RequestId = requestid
1750
+ end
1751
+
1752
+ def deserialize(params)
1753
+ @TotalCount = params['TotalCount']
1754
+ @List = params['List']
1755
+ @RequestId = params['RequestId']
1756
+ end
1757
+ end
1758
+
1759
+ # DescribeSafetyEventList请求参数结构体
1760
+ class DescribeSafetyEventListRequest < TencentCloud::Common::AbstractModel
1761
+ # @param Filter: 搜索过滤查询参数
1762
+ # @type Filter: String
1763
+ # @param Limit: 限制数目
1764
+ # @type Limit: Integer
1765
+ # @param Offset: 页偏移
1766
+ # @type Offset: Integer
1767
+ # @param Order: 排序列名
1768
+ # @type Order: String
1769
+ # @param By: 排序升降:desc-降序 asc-升序
1770
+ # @type By: String
1771
+ # @param StartTime: 开始查询时间
1772
+ # @type StartTime: String
1773
+ # @param EndTime: 结束查询时间
1774
+ # @type EndTime: String
1775
+ # @param IsFilterResponseTime: 是否过滤响应时间
1776
+ # @type IsFilterResponseTime: Boolean
1777
+
1778
+ attr_accessor :Filter, :Limit, :Offset, :Order, :By, :StartTime, :EndTime, :IsFilterResponseTime
1779
+
1780
+ def initialize(filter=nil, limit=nil, offset=nil, order=nil, by=nil, starttime=nil, endtime=nil, isfilterresponsetime=nil)
1781
+ @Filter = filter
1782
+ @Limit = limit
1783
+ @Offset = offset
1784
+ @Order = order
1785
+ @By = by
1786
+ @StartTime = starttime
1787
+ @EndTime = endtime
1788
+ @IsFilterResponseTime = isfilterresponsetime
1789
+ end
1790
+
1791
+ def deserialize(params)
1792
+ @Filter = params['Filter']
1793
+ @Limit = params['Limit']
1794
+ @Offset = params['Offset']
1795
+ @Order = params['Order']
1796
+ @By = params['By']
1797
+ @StartTime = params['StartTime']
1798
+ @EndTime = params['EndTime']
1799
+ @IsFilterResponseTime = params['IsFilterResponseTime']
1800
+ end
1801
+ end
1802
+
1803
+ # DescribeSafetyEventList返回参数结构体
1804
+ class DescribeSafetyEventListResponse < TencentCloud::Common::AbstractModel
1805
+ # @param List: 事件列表
1806
+ # @type List: Array
1807
+ # @param Total: 事件总条数
1808
+ # @type Total: Integer
1809
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1810
+ # @type RequestId: String
1811
+
1812
+ attr_accessor :List, :Total, :RequestId
1813
+
1814
+ def initialize(list=nil, total=nil, requestid=nil)
1815
+ @List = list
1816
+ @Total = total
1817
+ @RequestId = requestid
1818
+ end
1819
+
1820
+ def deserialize(params)
1821
+ unless params['List'].nil?
1822
+ @List = []
1823
+ params['List'].each do |i|
1824
+ dataevent_tmp = DataEvent.new
1825
+ dataevent_tmp.deserialize(i)
1826
+ @List << dataevent_tmp
1827
+ end
1828
+ end
1829
+ @Total = params['Total']
1830
+ @RequestId = params['RequestId']
1831
+ end
1832
+ end
1833
+
1834
+ # DescribeSocCspmCompliance请求参数结构体
1835
+ class DescribeSocCspmComplianceRequest < TencentCloud::Common::AbstractModel
1836
+
1837
+
1838
+ def initialize()
1839
+ end
1840
+
1841
+ def deserialize(params)
1842
+ end
1843
+ end
1844
+
1845
+ # DescribeSocCspmCompliance返回参数结构体
1846
+ class DescribeSocCspmComplianceResponse < TencentCloud::Common::AbstractModel
1847
+ # @param Data: 数据
1848
+ # 注意:此字段可能返回 null,表示取不到有效值。
1849
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SocComplianceInfoResp`
1850
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1851
+ # @type RequestId: String
1852
+
1853
+ attr_accessor :Data, :RequestId
1854
+
1855
+ def initialize(data=nil, requestid=nil)
1856
+ @Data = data
1857
+ @RequestId = requestid
1858
+ end
1859
+
1860
+ def deserialize(params)
1861
+ unless params['Data'].nil?
1862
+ @Data = SocComplianceInfoResp.new
1863
+ @Data.deserialize(params['Data'])
1864
+ end
1865
+ @RequestId = params['RequestId']
1866
+ end
1867
+ end
1868
+
1869
+ # DescribeVulDetail请求参数结构体
1870
+ class DescribeVulDetailRequest < TencentCloud::Common::AbstractModel
1871
+ # @param UniqId: 漏洞唯一标识符
1872
+ # @type UniqId: String
1873
+ # @param Source: 查看详情来源
1874
+ # @type Source: String
1875
+
1876
+ attr_accessor :UniqId, :Source
1877
+
1878
+ def initialize(uniqid=nil, source=nil)
1879
+ @UniqId = uniqid
1880
+ @Source = source
1881
+ end
1882
+
1883
+ def deserialize(params)
1884
+ @UniqId = params['UniqId']
1885
+ @Source = params['Source']
1886
+ end
1887
+ end
1888
+
1889
+ # DescribeVulDetail返回参数结构体
1890
+ class DescribeVulDetailResponse < TencentCloud::Common::AbstractModel
1891
+ # @param VulType: 漏洞类型
1892
+ # 注意:此字段可能返回 null,表示取不到有效值。
1893
+ # @type VulType: Integer
1894
+ # @param SubVulType: 漏洞子类型
1895
+ # 注意:此字段可能返回 null,表示取不到有效值。
1896
+ # @type SubVulType: String
1897
+ # @param CvssScore: cvss分数
1898
+ # 注意:此字段可能返回 null,表示取不到有效值。
1899
+ # @type CvssScore: String
1900
+ # @param Cvss: cvss值
1901
+ # 注意:此字段可能返回 null,表示取不到有效值。
1902
+ # @type Cvss: String
1903
+ # @param Cve: cve编号
1904
+ # 注意:此字段可能返回 null,表示取不到有效值。
1905
+ # @type Cve: String
1906
+ # @param Cnvd: cnvd编号
1907
+ # 注意:此字段可能返回 null,表示取不到有效值。
1908
+ # @type Cnvd: String
1909
+ # @param Cnnvd: cnnvd编号
1910
+ # 注意:此字段可能返回 null,表示取不到有效值。
1911
+ # @type Cnnvd: String
1912
+ # @param Desc: 描述
1913
+ # 注意:此字段可能返回 null,表示取不到有效值。
1914
+ # @type Desc: String
1915
+ # @param Reference: 参考
1916
+ # 注意:此字段可能返回 null,表示取不到有效值。
1917
+ # @type Reference: String
1918
+ # @param Repair: 修复意见
1919
+ # 注意:此字段可能返回 null,表示取不到有效值。
1920
+ # @type Repair: String
1921
+ # @param ReleaseTime: 披露时间
1922
+ # 注意:此字段可能返回 null,表示取不到有效值。
1923
+ # @type ReleaseTime: String
1924
+ # @param UpdateTime: 更新时间
1925
+ # 注意:此字段可能返回 null,表示取不到有效值。
1926
+ # @type UpdateTime: String
1927
+ # @param Name: 漏洞名称
1928
+ # 注意:此字段可能返回 null,表示取不到有效值。
1929
+ # @type Name: String
1930
+ # @param Level: 等级
1931
+ # 注意:此字段可能返回 null,表示取不到有效值。
1932
+ # @type Level: Integer
1933
+ # @param Status: 状态
1934
+ # 注意:此字段可能返回 null,表示取不到有效值。
1935
+ # @type Status: Integer
1936
+ # @param ImpactAsset: 受影响资产唯一标识
1937
+ # 注意:此字段可能返回 null,表示取不到有效值。
1938
+ # @type ImpactAsset: String
1939
+ # @param ImpactAssetName: 受影响资产名称
1940
+ # 注意:此字段可能返回 null,表示取不到有效值。
1941
+ # @type ImpactAssetName: String
1942
+ # @param IsAssetDeleted: 受影响资产是否已删除
1943
+ # 注意:此字段可能返回 null,表示取不到有效值。
1944
+ # @type IsAssetDeleted: Boolean
1945
+ # @param Source: 漏洞来源
1946
+ # 注意:此字段可能返回 null,表示取不到有效值。
1947
+ # @type Source: String
1948
+ # @param VulUrl: 漏洞URL
1949
+ # 注意:此字段可能返回 null,表示取不到有效值。
1950
+ # @type VulUrl: String
1951
+ # @param SsaAssetCategory: 资产归属
1952
+ # 注意:此字段可能返回 null,表示取不到有效值。
1953
+ # @type SsaAssetCategory: Integer
1954
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1955
+ # @type RequestId: String
1956
+
1957
+ attr_accessor :VulType, :SubVulType, :CvssScore, :Cvss, :Cve, :Cnvd, :Cnnvd, :Desc, :Reference, :Repair, :ReleaseTime, :UpdateTime, :Name, :Level, :Status, :ImpactAsset, :ImpactAssetName, :IsAssetDeleted, :Source, :VulUrl, :SsaAssetCategory, :RequestId
1958
+
1959
+ def initialize(vultype=nil, subvultype=nil, cvssscore=nil, cvss=nil, cve=nil, cnvd=nil, cnnvd=nil, desc=nil, reference=nil, repair=nil, releasetime=nil, updatetime=nil, name=nil, level=nil, status=nil, impactasset=nil, impactassetname=nil, isassetdeleted=nil, source=nil, vulurl=nil, ssaassetcategory=nil, requestid=nil)
1960
+ @VulType = vultype
1961
+ @SubVulType = subvultype
1962
+ @CvssScore = cvssscore
1963
+ @Cvss = cvss
1964
+ @Cve = cve
1965
+ @Cnvd = cnvd
1966
+ @Cnnvd = cnnvd
1967
+ @Desc = desc
1968
+ @Reference = reference
1969
+ @Repair = repair
1970
+ @ReleaseTime = releasetime
1971
+ @UpdateTime = updatetime
1972
+ @Name = name
1973
+ @Level = level
1974
+ @Status = status
1975
+ @ImpactAsset = impactasset
1976
+ @ImpactAssetName = impactassetname
1977
+ @IsAssetDeleted = isassetdeleted
1978
+ @Source = source
1979
+ @VulUrl = vulurl
1980
+ @SsaAssetCategory = ssaassetcategory
1981
+ @RequestId = requestid
1982
+ end
1983
+
1984
+ def deserialize(params)
1985
+ @VulType = params['VulType']
1986
+ @SubVulType = params['SubVulType']
1987
+ @CvssScore = params['CvssScore']
1988
+ @Cvss = params['Cvss']
1989
+ @Cve = params['Cve']
1990
+ @Cnvd = params['Cnvd']
1991
+ @Cnnvd = params['Cnnvd']
1992
+ @Desc = params['Desc']
1993
+ @Reference = params['Reference']
1994
+ @Repair = params['Repair']
1995
+ @ReleaseTime = params['ReleaseTime']
1996
+ @UpdateTime = params['UpdateTime']
1997
+ @Name = params['Name']
1998
+ @Level = params['Level']
1999
+ @Status = params['Status']
2000
+ @ImpactAsset = params['ImpactAsset']
2001
+ @ImpactAssetName = params['ImpactAssetName']
2002
+ @IsAssetDeleted = params['IsAssetDeleted']
2003
+ @Source = params['Source']
2004
+ @VulUrl = params['VulUrl']
2005
+ @SsaAssetCategory = params['SsaAssetCategory']
2006
+ @RequestId = params['RequestId']
2007
+ end
2008
+ end
2009
+
2010
+ # DescribeVulList请求参数结构体
2011
+ class DescribeVulListRequest < TencentCloud::Common::AbstractModel
2012
+ # @param Params: 查询过滤参数
2013
+ # @type Params: String
2014
+
2015
+ attr_accessor :Params
2016
+
2017
+ def initialize(params=nil)
2018
+ @Params = params
2019
+ end
2020
+
2021
+ def deserialize(params)
2022
+ @Params = params['Params']
2023
+ end
2024
+ end
2025
+
2026
+ # DescribeVulList返回参数结构体
2027
+ class DescribeVulListResponse < TencentCloud::Common::AbstractModel
2028
+ # @param Data: 漏洞列表
2029
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.VulList`
2030
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2031
+ # @type RequestId: String
2032
+
2033
+ attr_accessor :Data, :RequestId
2034
+
2035
+ def initialize(data=nil, requestid=nil)
2036
+ @Data = data
2037
+ @RequestId = requestid
2038
+ end
2039
+
2040
+ def deserialize(params)
2041
+ unless params['Data'].nil?
2042
+ @Data = VulList.new
2043
+ @Data.deserialize(params['Data'])
2044
+ end
2045
+ @RequestId = params['RequestId']
2046
+ end
2047
+ end
2048
+
2049
+ # 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
2050
+
2051
+ # 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
2052
+ # 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
2053
+ class Filter < TencentCloud::Common::AbstractModel
2054
+ # @param Name: 过滤键的名称。
2055
+ # @type Name: String
2056
+ # @param Values: 一个或者多个过滤值。
2057
+ # @type Values: Array
2058
+ # @param ExactMatch: 是否需要精确匹配
2059
+ # @type ExactMatch: Boolean
2060
+
2061
+ attr_accessor :Name, :Values, :ExactMatch
2062
+
2063
+ def initialize(name=nil, values=nil, exactmatch=nil)
2064
+ @Name = name
2065
+ @Values = values
2066
+ @ExactMatch = exactmatch
2067
+ end
2068
+
2069
+ def deserialize(params)
2070
+ @Name = params['Name']
2071
+ @Values = params['Values']
2072
+ @ExactMatch = params['ExactMatch']
2073
+ end
2074
+ end
2075
+
2076
+ # 查询_通用字段
2077
+ class SaDivulgeDataQueryPub < TencentCloud::Common::AbstractModel
2078
+ # @param Id: Id
2079
+ # @type Id: String
2080
+ # @param Uin: Uin
2081
+ # @type Uin: String
2082
+ # @param AppId: AppId
2083
+ # @type AppId: String
2084
+ # @param EventName: EventName
2085
+ # @type EventName: String
2086
+ # @param DivulgeSoure: DivulgeSoure
2087
+ # @type DivulgeSoure: String
2088
+ # @param Asset: Asset
2089
+ # @type Asset: String
2090
+ # @param RuleName: RuleName
2091
+ # @type RuleName: String
2092
+ # @param RuleId: RuleId
2093
+ # @type RuleId: String
2094
+ # @param RuleWord: RuleWord
2095
+ # @type RuleWord: String
2096
+ # @param ScanUrl: ScanUrl
2097
+ # @type ScanUrl: String
2098
+ # @param ScanCount: ScanCount
2099
+ # @type ScanCount: String
2100
+ # @param Level: Level
2101
+ # @type Level: String
2102
+ # @param Status: Status
2103
+ # @type Status: String
2104
+ # @param EventTime: EventTime
2105
+ # @type EventTime: String
2106
+ # @param InsertTime: InsertTime
2107
+ # @type InsertTime: String
2108
+ # @param UpdateTime: UpdateTime
2109
+ # @type UpdateTime: String
2110
+
2111
+ attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime
2112
+
2113
+ def initialize(id=nil, uin=nil, appid=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, ruleword=nil, scanurl=nil, scancount=nil, level=nil, status=nil, eventtime=nil, inserttime=nil, updatetime=nil)
2114
+ @Id = id
2115
+ @Uin = uin
2116
+ @AppId = appid
2117
+ @EventName = eventname
2118
+ @DivulgeSoure = divulgesoure
2119
+ @Asset = asset
2120
+ @RuleName = rulename
2121
+ @RuleId = ruleid
2122
+ @RuleWord = ruleword
2123
+ @ScanUrl = scanurl
2124
+ @ScanCount = scancount
2125
+ @Level = level
2126
+ @Status = status
2127
+ @EventTime = eventtime
2128
+ @InsertTime = inserttime
2129
+ @UpdateTime = updatetime
2130
+ end
2131
+
2132
+ def deserialize(params)
2133
+ @Id = params['Id']
2134
+ @Uin = params['Uin']
2135
+ @AppId = params['AppId']
2136
+ @EventName = params['EventName']
2137
+ @DivulgeSoure = params['DivulgeSoure']
2138
+ @Asset = params['Asset']
2139
+ @RuleName = params['RuleName']
2140
+ @RuleId = params['RuleId']
2141
+ @RuleWord = params['RuleWord']
2142
+ @ScanUrl = params['ScanUrl']
2143
+ @ScanCount = params['ScanCount']
2144
+ @Level = params['Level']
2145
+ @Status = params['Status']
2146
+ @EventTime = params['EventTime']
2147
+ @InsertTime = params['InsertTime']
2148
+ @UpdateTime = params['UpdateTime']
2149
+ end
2150
+ end
2151
+
2152
+ # 查询_通用字段
2153
+ class SaDivulgeDataQueryPubList < TencentCloud::Common::AbstractModel
2154
+ # @param Count: Count
2155
+ # @type Count: Integer
2156
+ # @param List: List
2157
+ # @type List: Array
2158
+
2159
+ attr_accessor :Count, :List
2160
+
2161
+ def initialize(count=nil, list=nil)
2162
+ @Count = count
2163
+ @List = list
2164
+ end
2165
+
2166
+ def deserialize(params)
2167
+ @Count = params['Count']
2168
+ unless params['List'].nil?
2169
+ @List = []
2170
+ params['List'].each do |i|
2171
+ sadivulgedataquerypub_tmp = SaDivulgeDataQueryPub.new
2172
+ sadivulgedataquerypub_tmp.deserialize(i)
2173
+ @List << sadivulgedataquerypub_tmp
2174
+ end
2175
+ end
2176
+ end
2177
+ end
2178
+
2179
+ # SaDivulgeDataQueryPub请求参数结构体
2180
+ class SaDivulgeDataQueryPubRequest < TencentCloud::Common::AbstractModel
2181
+ # @param QueryKey: 模糊查询字段
2182
+ # @type QueryKey: String
2183
+ # @param EventName: 安全事件名称
2184
+ # @type EventName: String
2185
+ # @param DivulgeSoure: 监控源
2186
+ # @type DivulgeSoure: String
2187
+ # @param Asset: 受影响资产
2188
+ # @type Asset: String
2189
+ # @param RuleName: 命中主题集下的规则topic名称
2190
+ # @type RuleName: String
2191
+ # @param RuleId: 命中主题集下的规则topic唯一id
2192
+ # @type RuleId: String
2193
+ # @param Level: 风险等级
2194
+ # @type Level: String
2195
+ # @param Status: 安全事件状态
2196
+ # @type Status: String
2197
+ # @param StartTime: 起始时间
2198
+ # @type StartTime: String
2199
+ # @param EndTime: 结束时间
2200
+ # @type EndTime: String
2201
+ # @param Offset: 查询起始地址
2202
+ # @type Offset: String
2203
+ # @param Limit: 查询个数
2204
+ # @type Limit: String
2205
+
2206
+ attr_accessor :QueryKey, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :Level, :Status, :StartTime, :EndTime, :Offset, :Limit
2207
+
2208
+ def initialize(querykey=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, level=nil, status=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
2209
+ @QueryKey = querykey
2210
+ @EventName = eventname
2211
+ @DivulgeSoure = divulgesoure
2212
+ @Asset = asset
2213
+ @RuleName = rulename
2214
+ @RuleId = ruleid
2215
+ @Level = level
2216
+ @Status = status
2217
+ @StartTime = starttime
2218
+ @EndTime = endtime
2219
+ @Offset = offset
2220
+ @Limit = limit
2221
+ end
2222
+
2223
+ def deserialize(params)
2224
+ @QueryKey = params['QueryKey']
2225
+ @EventName = params['EventName']
2226
+ @DivulgeSoure = params['DivulgeSoure']
2227
+ @Asset = params['Asset']
2228
+ @RuleName = params['RuleName']
2229
+ @RuleId = params['RuleId']
2230
+ @Level = params['Level']
2231
+ @Status = params['Status']
2232
+ @StartTime = params['StartTime']
2233
+ @EndTime = params['EndTime']
2234
+ @Offset = params['Offset']
2235
+ @Limit = params['Limit']
2236
+ end
2237
+ end
2238
+
2239
+ # SaDivulgeDataQueryPub返回参数结构体
2240
+ class SaDivulgeDataQueryPubResponse < TencentCloud::Common::AbstractModel
2241
+ # @param Data: 结果
2242
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeDataQueryPubList`
2243
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2244
+ # @type RequestId: String
2245
+
2246
+ attr_accessor :Data, :RequestId
2247
+
2248
+ def initialize(data=nil, requestid=nil)
2249
+ @Data = data
2250
+ @RequestId = requestid
2251
+ end
2252
+
2253
+ def deserialize(params)
2254
+ unless params['Data'].nil?
2255
+ @Data = SaDivulgeDataQueryPubList.new
2256
+ @Data.deserialize(params['Data'])
2257
+ end
2258
+ @RequestId = params['RequestId']
2259
+ end
2260
+ end
2261
+
2262
+ # SocCheckItem类型
2263
+ class SocCheckItem < TencentCloud::Common::AbstractModel
2264
+ # @param Name: 名字
2265
+ # 注意:此字段可能返回 null,表示取不到有效值。
2266
+ # @type Name: String
2267
+ # @param LevelId: 唯一id
2268
+ # 注意:此字段可能返回 null,表示取不到有效值。
2269
+ # @type LevelId: String
2270
+ # @param SuccessCount: 成功数
2271
+ # 注意:此字段可能返回 null,表示取不到有效值。
2272
+ # @type SuccessCount: Integer
2273
+ # @param FailCount: 失败数
2274
+ # 注意:此字段可能返回 null,表示取不到有效值。
2275
+ # @type FailCount: Integer
2276
+
2277
+ attr_accessor :Name, :LevelId, :SuccessCount, :FailCount
2278
+
2279
+ def initialize(name=nil, levelid=nil, successcount=nil, failcount=nil)
2280
+ @Name = name
2281
+ @LevelId = levelid
2282
+ @SuccessCount = successcount
2283
+ @FailCount = failcount
2284
+ end
2285
+
2286
+ def deserialize(params)
2287
+ @Name = params['Name']
2288
+ @LevelId = params['LevelId']
2289
+ @SuccessCount = params['SuccessCount']
2290
+ @FailCount = params['FailCount']
2291
+ end
2292
+ end
2293
+
2294
+ # 返回结构
2295
+ class SocComplianceInfoResp < TencentCloud::Common::AbstractModel
2296
+ # @param Items: 合格项
2297
+ # 注意:此字段可能返回 null,表示取不到有效值。
2298
+ # @type Items: Array
2299
+
2300
+ attr_accessor :Items
2301
+
2302
+ def initialize(items=nil)
2303
+ @Items = items
2304
+ end
2305
+
2306
+ def deserialize(params)
2307
+ unless params['Items'].nil?
2308
+ @Items = []
2309
+ params['Items'].each do |i|
2310
+ soccomplianceitem_tmp = SocComplianceItem.new
2311
+ soccomplianceitem_tmp.deserialize(i)
2312
+ @Items << soccomplianceitem_tmp
2313
+ end
2314
+ end
2315
+ end
2316
+ end
2317
+
2318
+ # soc合规信息
2319
+ class SocComplianceItem < TencentCloud::Common::AbstractModel
2320
+ # @param Item: 唯一id
2321
+ # 注意:此字段可能返回 null,表示取不到有效值。
2322
+ # @type Item: String
2323
+ # @param Description: 描述
2324
+ # 注意:此字段可能返回 null,表示取不到有效值。
2325
+ # @type Description: String
2326
+ # @param StandardItem: 分类
2327
+ # 注意:此字段可能返回 null,表示取不到有效值。
2328
+ # @type StandardItem: String
2329
+ # @param Result: 结果
2330
+ # 注意:此字段可能返回 null,表示取不到有效值。
2331
+ # @type Result: Integer
2332
+ # @param Suggestion: 建议
2333
+ # 注意:此字段可能返回 null,表示取不到有效值。
2334
+ # @type Suggestion: String
2335
+ # @param ProStr: 产品字符
2336
+ # 注意:此字段可能返回 null,表示取不到有效值。
2337
+ # @type ProStr: String
2338
+ # @param Production: 产品数组
2339
+ # 注意:此字段可能返回 null,表示取不到有效值。
2340
+ # @type Production: Array
2341
+ # @param CheckItems: 配置项数组
2342
+ # 注意:此字段可能返回 null,表示取不到有效值。
2343
+ # @type CheckItems: Array
2344
+
2345
+ attr_accessor :Item, :Description, :StandardItem, :Result, :Suggestion, :ProStr, :Production, :CheckItems
2346
+
2347
+ def initialize(item=nil, description=nil, standarditem=nil, result=nil, suggestion=nil, prostr=nil, production=nil, checkitems=nil)
2348
+ @Item = item
2349
+ @Description = description
2350
+ @StandardItem = standarditem
2351
+ @Result = result
2352
+ @Suggestion = suggestion
2353
+ @ProStr = prostr
2354
+ @Production = production
2355
+ @CheckItems = checkitems
2356
+ end
2357
+
2358
+ def deserialize(params)
2359
+ @Item = params['Item']
2360
+ @Description = params['Description']
2361
+ @StandardItem = params['StandardItem']
2362
+ @Result = params['Result']
2363
+ @Suggestion = params['Suggestion']
2364
+ @ProStr = params['ProStr']
2365
+ unless params['Production'].nil?
2366
+ @Production = []
2367
+ params['Production'].each do |i|
2368
+ socproductionitem_tmp = SocProductionItem.new
2369
+ socproductionitem_tmp.deserialize(i)
2370
+ @Production << socproductionitem_tmp
2371
+ end
2372
+ end
2373
+ unless params['CheckItems'].nil?
2374
+ @CheckItems = []
2375
+ params['CheckItems'].each do |i|
2376
+ soccheckitem_tmp = SocCheckItem.new
2377
+ soccheckitem_tmp.deserialize(i)
2378
+ @CheckItems << soccheckitem_tmp
2379
+ end
2380
+ end
2381
+ end
2382
+ end
2383
+
2384
+ # soc产品购买信息
2385
+ class SocProductionItem < TencentCloud::Common::AbstractModel
2386
+ # @param Name: 名字
2387
+ # 注意:此字段可能返回 null,表示取不到有效值。
2388
+ # @type Name: String
2389
+ # @param Index: 标识
2390
+ # 注意:此字段可能返回 null,表示取不到有效值。
2391
+ # @type Index: Integer
2392
+ # @param Status: 状态
2393
+ # 注意:此字段可能返回 null,表示取不到有效值。
2394
+ # @type Status: Integer
2395
+
2396
+ attr_accessor :Name, :Index, :Status
2397
+
2398
+ def initialize(name=nil, index=nil, status=nil)
2399
+ @Name = name
2400
+ @Index = index
2401
+ @Status = status
2402
+ end
2403
+
2404
+ def deserialize(params)
2405
+ @Name = params['Name']
2406
+ @Index = params['Index']
2407
+ @Status = params['Status']
2408
+ end
2409
+ end
2410
+
2411
+ # 标签
2412
+ class Tag < TencentCloud::Common::AbstractModel
2413
+ # @param Fid: 数据库标识
2414
+ # @type Fid: Integer
2415
+ # @param Fname: 标签名称
2416
+ # @type Fname: String
2417
+
2418
+ attr_accessor :Fid, :Fname
2419
+
2420
+ def initialize(fid=nil, fname=nil)
2421
+ @Fid = fid
2422
+ @Fname = fname
2423
+ end
2424
+
2425
+ def deserialize(params)
2426
+ @Fid = params['Fid']
2427
+ @Fname = params['Fname']
2428
+ end
2429
+ end
2430
+
2431
+ # 漏洞管理漏洞数据
2432
+ class VulItem < TencentCloud::Common::AbstractModel
2433
+ # @param Id: 标识
2434
+ # @type Id: String
2435
+ # @param VulName: 漏洞名称
2436
+ # @type VulName: String
2437
+ # @param Type: 漏洞类型
2438
+ # @type Type: Integer
2439
+ # @param Level: 风险等级
2440
+ # @type Level: Integer
2441
+ # @param Status: 处理状态
2442
+ # @type Status: Integer
2443
+ # @param Time: 发现时间
2444
+ # @type Time: String
2445
+ # @param ImpactAssetNum: 影响资产数
2446
+ # @type ImpactAssetNum: Integer
2447
+ # @param ImpactAsset: 影响资产id
2448
+ # @type ImpactAsset: String
2449
+ # @param ImpactAssetName: 影响资产名称
2450
+ # @type ImpactAssetName: String
2451
+ # @param VulDetail: 漏洞描述
2452
+ # @type VulDetail: String
2453
+ # @param VulRefLink: 参考链接
2454
+ # @type VulRefLink: String
2455
+ # @param OldIdMd5: Md5值
2456
+ # @type OldIdMd5: String
2457
+ # @param UniqId: 漏洞唯一标识
2458
+ # @type UniqId: String
2459
+ # @param OperateTime: 忽略时间
2460
+ # @type OperateTime: String
2461
+ # @param IsAssetDeleted: 受影响资产是否下线
2462
+ # 注意:此字段可能返回 null,表示取不到有效值。
2463
+ # @type IsAssetDeleted: String
2464
+ # @param DiscoverTime: 漏洞首次发现时间
2465
+ # @type DiscoverTime: String
2466
+ # @param OriginId: 主机源信息标识符
2467
+ # @type OriginId: Integer
2468
+ # @param Region: 资产区域
2469
+ # 注意:此字段可能返回 null,表示取不到有效值。
2470
+ # @type Region: String
2471
+ # @param Vpcid: 资产所属网络
2472
+ # 注意:此字段可能返回 null,表示取不到有效值。
2473
+ # @type Vpcid: String
2474
+ # @param AssetType: 资产类型
2475
+ # 注意:此字段可能返回 null,表示取不到有效值。
2476
+ # @type AssetType: String
2477
+ # @param AssetSubType: 资产子类型
2478
+ # 注意:此字段可能返回 null,表示取不到有效值。
2479
+ # @type AssetSubType: String
2480
+ # @param AssetIpAll: 资产IP
2481
+ # 注意:此字段可能返回 null,表示取不到有效值。
2482
+ # @type AssetIpAll: Array
2483
+ # @param PublicIpAddresses: cvm类型的公网ip
2484
+ # 注意:此字段可能返回 null,表示取不到有效值。
2485
+ # @type PublicIpAddresses: Array
2486
+ # @param PrivateIpAddresses: cvm类型的内网ip
2487
+ # 注意:此字段可能返回 null,表示取不到有效值。
2488
+ # @type PrivateIpAddresses: Array
2489
+ # @param VulSource: 漏洞来源
2490
+ # 注意:此字段可能返回 null,表示取不到有效值。
2491
+ # @type VulSource: String
2492
+ # @param AffectedUrl: 影响URL
2493
+ # 注意:此字段可能返回 null,表示取不到有效值。
2494
+ # @type AffectedUrl: String
2495
+ # @param SsaAssetCategory: 资产归属
2496
+ # 注意:此字段可能返回 null,表示取不到有效值。
2497
+ # @type SsaAssetCategory: Integer
2498
+ # @param VulUrl: 影响url
2499
+ # 注意:此字段可能返回 null,表示取不到有效值。
2500
+ # @type VulUrl: String
2501
+ # @param IsOpen: 是否扫描
2502
+ # 注意:此字段可能返回 null,表示取不到有效值。
2503
+ # @type IsOpen: Boolean
2504
+ # @param YzHostId: 御知主机id
2505
+ # 注意:此字段可能返回 null,表示取不到有效值。
2506
+ # @type YzHostId: Integer
2507
+ # @param VulRepairPlan: 漏洞描述
2508
+ # 注意:此字段可能返回 null,表示取不到有效值。
2509
+ # @type VulRepairPlan: String
2510
+
2511
+ attr_accessor :Id, :VulName, :Type, :Level, :Status, :Time, :ImpactAssetNum, :ImpactAsset, :ImpactAssetName, :VulDetail, :VulRefLink, :OldIdMd5, :UniqId, :OperateTime, :IsAssetDeleted, :DiscoverTime, :OriginId, :Region, :Vpcid, :AssetType, :AssetSubType, :AssetIpAll, :PublicIpAddresses, :PrivateIpAddresses, :VulSource, :AffectedUrl, :SsaAssetCategory, :VulUrl, :IsOpen, :YzHostId, :VulRepairPlan
2512
+
2513
+ def initialize(id=nil, vulname=nil, type=nil, level=nil, status=nil, time=nil, impactassetnum=nil, impactasset=nil, impactassetname=nil, vuldetail=nil, vulreflink=nil, oldidmd5=nil, uniqid=nil, operatetime=nil, isassetdeleted=nil, discovertime=nil, originid=nil, region=nil, vpcid=nil, assettype=nil, assetsubtype=nil, assetipall=nil, publicipaddresses=nil, privateipaddresses=nil, vulsource=nil, affectedurl=nil, ssaassetcategory=nil, vulurl=nil, isopen=nil, yzhostid=nil, vulrepairplan=nil)
2514
+ @Id = id
2515
+ @VulName = vulname
2516
+ @Type = type
2517
+ @Level = level
2518
+ @Status = status
2519
+ @Time = time
2520
+ @ImpactAssetNum = impactassetnum
2521
+ @ImpactAsset = impactasset
2522
+ @ImpactAssetName = impactassetname
2523
+ @VulDetail = vuldetail
2524
+ @VulRefLink = vulreflink
2525
+ @OldIdMd5 = oldidmd5
2526
+ @UniqId = uniqid
2527
+ @OperateTime = operatetime
2528
+ @IsAssetDeleted = isassetdeleted
2529
+ @DiscoverTime = discovertime
2530
+ @OriginId = originid
2531
+ @Region = region
2532
+ @Vpcid = vpcid
2533
+ @AssetType = assettype
2534
+ @AssetSubType = assetsubtype
2535
+ @AssetIpAll = assetipall
2536
+ @PublicIpAddresses = publicipaddresses
2537
+ @PrivateIpAddresses = privateipaddresses
2538
+ @VulSource = vulsource
2539
+ @AffectedUrl = affectedurl
2540
+ @SsaAssetCategory = ssaassetcategory
2541
+ @VulUrl = vulurl
2542
+ @IsOpen = isopen
2543
+ @YzHostId = yzhostid
2544
+ @VulRepairPlan = vulrepairplan
2545
+ end
2546
+
2547
+ def deserialize(params)
2548
+ @Id = params['Id']
2549
+ @VulName = params['VulName']
2550
+ @Type = params['Type']
2551
+ @Level = params['Level']
2552
+ @Status = params['Status']
2553
+ @Time = params['Time']
2554
+ @ImpactAssetNum = params['ImpactAssetNum']
2555
+ @ImpactAsset = params['ImpactAsset']
2556
+ @ImpactAssetName = params['ImpactAssetName']
2557
+ @VulDetail = params['VulDetail']
2558
+ @VulRefLink = params['VulRefLink']
2559
+ @OldIdMd5 = params['OldIdMd5']
2560
+ @UniqId = params['UniqId']
2561
+ @OperateTime = params['OperateTime']
2562
+ @IsAssetDeleted = params['IsAssetDeleted']
2563
+ @DiscoverTime = params['DiscoverTime']
2564
+ @OriginId = params['OriginId']
2565
+ @Region = params['Region']
2566
+ @Vpcid = params['Vpcid']
2567
+ @AssetType = params['AssetType']
2568
+ @AssetSubType = params['AssetSubType']
2569
+ @AssetIpAll = params['AssetIpAll']
2570
+ @PublicIpAddresses = params['PublicIpAddresses']
2571
+ @PrivateIpAddresses = params['PrivateIpAddresses']
2572
+ @VulSource = params['VulSource']
2573
+ @AffectedUrl = params['AffectedUrl']
2574
+ @SsaAssetCategory = params['SsaAssetCategory']
2575
+ @VulUrl = params['VulUrl']
2576
+ @IsOpen = params['IsOpen']
2577
+ @YzHostId = params['YzHostId']
2578
+ @VulRepairPlan = params['VulRepairPlan']
2579
+ end
2580
+ end
2581
+
2582
+ # 漏洞管理漏洞列表
2583
+ class VulList < TencentCloud::Common::AbstractModel
2584
+ # @param List: 列表
2585
+ # @type List: Array
2586
+ # @param Total: 总数
2587
+ # @type Total: Integer
2588
+
2589
+ attr_accessor :List, :Total
2590
+
2591
+ def initialize(list=nil, total=nil)
2592
+ @List = list
2593
+ @Total = total
2594
+ end
2595
+
2596
+ def deserialize(params)
2597
+ unless params['List'].nil?
2598
+ @List = []
2599
+ params['List'].each do |i|
2600
+ vulitem_tmp = VulItem.new
2601
+ vulitem_tmp.deserialize(i)
2602
+ @List << vulitem_tmp
2603
+ end
2604
+ end
2605
+ @Total = params['Total']
2606
+ end
2607
+ end
2608
+
2609
+ end
2610
+ end
2611
+ end
2612
+