tencentcloud-sdk-cwp 3.0.522 → 3.0.524

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2588,6 +2588,52 @@ module TencentCloud
2588
2588
  end
2589
2589
  end
2590
2590
 
2591
+ # 基线规则或项的分类
2592
+ class BaselineCategory < TencentCloud::Common::AbstractModel
2593
+ # @param CategoryId: 分类Id
2594
+ # @type CategoryId: Integer
2595
+ # @param CategoryName: 分类名称
2596
+ # @type CategoryName: String
2597
+ # @param ParentCategoryId: 父分类ID,如果为0则没有父分类
2598
+ # @type ParentCategoryId: Integer
2599
+
2600
+ attr_accessor :CategoryId, :CategoryName, :ParentCategoryId
2601
+
2602
+ def initialize(categoryid=nil, categoryname=nil, parentcategoryid=nil)
2603
+ @CategoryId = categoryid
2604
+ @CategoryName = categoryname
2605
+ @ParentCategoryId = parentcategoryid
2606
+ end
2607
+
2608
+ def deserialize(params)
2609
+ @CategoryId = params['CategoryId']
2610
+ @CategoryName = params['CategoryName']
2611
+ @ParentCategoryId = params['ParentCategoryId']
2612
+ end
2613
+ end
2614
+
2615
+ # 基线自定规则ID和名字
2616
+ class BaselineCustomRuleIdName < TencentCloud::Common::AbstractModel
2617
+ # @param RuleId: 自定义规则ID
2618
+ # 注意:此字段可能返回 null,表示取不到有效值。
2619
+ # @type RuleId: Integer
2620
+ # @param RuleName: 自定义规则名字
2621
+ # 注意:此字段可能返回 null,表示取不到有效值。
2622
+ # @type RuleName: String
2623
+
2624
+ attr_accessor :RuleId, :RuleName
2625
+
2626
+ def initialize(ruleid=nil, rulename=nil)
2627
+ @RuleId = ruleid
2628
+ @RuleName = rulename
2629
+ end
2630
+
2631
+ def deserialize(params)
2632
+ @RuleId = params['RuleId']
2633
+ @RuleName = params['RuleName']
2634
+ end
2635
+ end
2636
+
2591
2637
  # 基线详情
2592
2638
  class BaselineDetail < TencentCloud::Common::AbstractModel
2593
2639
  # @param Description: 基线描述
@@ -2653,6 +2699,42 @@ module TencentCloud
2653
2699
  end
2654
2700
  end
2655
2701
 
2702
+ # 基线导出结果下载
2703
+ class BaselineDownload < TencentCloud::Common::AbstractModel
2704
+ # @param TaskId: 任务Id
2705
+ # @type TaskId: Integer
2706
+ # @param TaskName: 任务名称
2707
+ # @type TaskName: String
2708
+ # @param Status: 状态0:未完成 1:完成
2709
+ # @type Status: Integer
2710
+ # @param StartTime: 开始时间
2711
+ # @type StartTime: String
2712
+ # @param EndTime: 完成时间
2713
+ # @type EndTime: String
2714
+ # @param DownloadUrl: 下载地址
2715
+ # @type DownloadUrl: String
2716
+
2717
+ attr_accessor :TaskId, :TaskName, :Status, :StartTime, :EndTime, :DownloadUrl
2718
+
2719
+ def initialize(taskid=nil, taskname=nil, status=nil, starttime=nil, endtime=nil, downloadurl=nil)
2720
+ @TaskId = taskid
2721
+ @TaskName = taskname
2722
+ @Status = status
2723
+ @StartTime = starttime
2724
+ @EndTime = endtime
2725
+ @DownloadUrl = downloadurl
2726
+ end
2727
+
2728
+ def deserialize(params)
2729
+ @TaskId = params['TaskId']
2730
+ @TaskName = params['TaskName']
2731
+ @Status = params['Status']
2732
+ @StartTime = params['StartTime']
2733
+ @EndTime = params['EndTime']
2734
+ @DownloadUrl = params['DownloadUrl']
2735
+ end
2736
+ end
2737
+
2656
2738
  # 基线影响主机信息
2657
2739
  class BaselineEffectHost < TencentCloud::Common::AbstractModel
2658
2740
  # @param PassCount: 通过项
@@ -2737,6 +2819,94 @@ module TencentCloud
2737
2819
  end
2738
2820
  end
2739
2821
 
2822
+ # 基线密码修复
2823
+ class BaselineFix < TencentCloud::Common::AbstractModel
2824
+ # @param ItemName: 修复项名称
2825
+ # @type ItemName: String
2826
+ # @param HostIp: 主机Ip
2827
+ # @type HostIp: String
2828
+ # @param CreateTime: 首次检测时间
2829
+ # @type CreateTime: String
2830
+ # @param ModifyTime: 最后检测时间
2831
+ # @type ModifyTime: String
2832
+ # @param FixTime: 修复时间
2833
+ # @type FixTime: String
2834
+ # @param Id: 基线检测项结果ID
2835
+ # @type Id: Integer
2836
+ # @param MachineExtraInfo: 主机额外信息
2837
+ # 注意:此字段可能返回 null,表示取不到有效值。
2838
+ # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
2839
+
2840
+ attr_accessor :ItemName, :HostIp, :CreateTime, :ModifyTime, :FixTime, :Id, :MachineExtraInfo
2841
+
2842
+ def initialize(itemname=nil, hostip=nil, createtime=nil, modifytime=nil, fixtime=nil, id=nil, machineextrainfo=nil)
2843
+ @ItemName = itemname
2844
+ @HostIp = hostip
2845
+ @CreateTime = createtime
2846
+ @ModifyTime = modifytime
2847
+ @FixTime = fixtime
2848
+ @Id = id
2849
+ @MachineExtraInfo = machineextrainfo
2850
+ end
2851
+
2852
+ def deserialize(params)
2853
+ @ItemName = params['ItemName']
2854
+ @HostIp = params['HostIp']
2855
+ @CreateTime = params['CreateTime']
2856
+ @ModifyTime = params['ModifyTime']
2857
+ @FixTime = params['FixTime']
2858
+ @Id = params['Id']
2859
+ unless params['MachineExtraInfo'].nil?
2860
+ @MachineExtraInfo = MachineExtraInfo.new
2861
+ @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
2862
+ end
2863
+ end
2864
+ end
2865
+
2866
+ # 基线主机信息
2867
+ class BaselineHost < TencentCloud::Common::AbstractModel
2868
+ # @param HostId: 主机Id
2869
+ # @type HostId: String
2870
+ # @param HostName: 主机名称
2871
+ # 注意:此字段可能返回 null,表示取不到有效值。
2872
+ # @type HostName: String
2873
+ # @param HostTag: 主机标签
2874
+ # 注意:此字段可能返回 null,表示取不到有效值。
2875
+ # @type HostTag: String
2876
+ # @param HostIp: 内网Ip
2877
+ # 注意:此字段可能返回 null,表示取不到有效值。
2878
+ # @type HostIp: String
2879
+ # @param WanIp: 外网Ip
2880
+ # 注意:此字段可能返回 null,表示取不到有效值。
2881
+ # @type WanIp: String
2882
+ # @param MachineExtraInfo: 主机额外信息
2883
+ # 注意:此字段可能返回 null,表示取不到有效值。
2884
+ # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
2885
+
2886
+ attr_accessor :HostId, :HostName, :HostTag, :HostIp, :WanIp, :MachineExtraInfo
2887
+
2888
+ def initialize(hostid=nil, hostname=nil, hosttag=nil, hostip=nil, wanip=nil, machineextrainfo=nil)
2889
+ @HostId = hostid
2890
+ @HostName = hostname
2891
+ @HostTag = hosttag
2892
+ @HostIp = hostip
2893
+ @WanIp = wanip
2894
+ @MachineExtraInfo = machineextrainfo
2895
+ end
2896
+
2897
+ def deserialize(params)
2898
+ @HostId = params['HostId']
2899
+ @HostName = params['HostName']
2900
+ @HostTag = params['HostTag']
2901
+ @HostIp = params['HostIp']
2902
+ @WanIp = params['WanIp']
2903
+ unless params['MachineExtraInfo'].nil?
2904
+ @MachineExtraInfo = MachineExtraInfo.new
2905
+ @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
2906
+ end
2907
+ end
2908
+ end
2909
+
2740
2910
  # 基线主机检测
2741
2911
  class BaselineHostDetect < TencentCloud::Common::AbstractModel
2742
2912
  # @param HostId: 主机Id
@@ -3079,6 +3249,64 @@ module TencentCloud
3079
3249
  end
3080
3250
  end
3081
3251
 
3252
+ # 基线信息
3253
+ class BaselineItemInfo < TencentCloud::Common::AbstractModel
3254
+ # @param ItemId: 基线检测项ID
3255
+ # @type ItemId: Integer
3256
+ # @param ItemName: 检测项名字
3257
+ # @type ItemName: String
3258
+ # @param RuleId: 检测项所属规则的ID
3259
+ # 注意:此字段可能返回 null,表示取不到有效值。
3260
+ # @type RuleId: Integer
3261
+ # @param ItemDesc: 检测项描述
3262
+ # @type ItemDesc: String
3263
+ # @param FixMethod: 检测项的修复方法
3264
+ # @type FixMethod: String
3265
+ # @param RuleName: 检测项所属规则名字
3266
+ # @type RuleName: String
3267
+ # @param Level: 危险等级
3268
+ # @type Level: Integer
3269
+ # @param SysRuleId: 系统规则ID
3270
+ # 注意:此字段可能返回 null,表示取不到有效值。
3271
+ # @type SysRuleId: Integer
3272
+ # @param RelatedCustomRuleInfo: 被引自定义规则信息
3273
+ # 注意:此字段可能返回 null,表示取不到有效值。
3274
+ # @type RelatedCustomRuleInfo: Array
3275
+
3276
+ attr_accessor :ItemId, :ItemName, :RuleId, :ItemDesc, :FixMethod, :RuleName, :Level, :SysRuleId, :RelatedCustomRuleInfo
3277
+
3278
+ def initialize(itemid=nil, itemname=nil, ruleid=nil, itemdesc=nil, fixmethod=nil, rulename=nil, level=nil, sysruleid=nil, relatedcustomruleinfo=nil)
3279
+ @ItemId = itemid
3280
+ @ItemName = itemname
3281
+ @RuleId = ruleid
3282
+ @ItemDesc = itemdesc
3283
+ @FixMethod = fixmethod
3284
+ @RuleName = rulename
3285
+ @Level = level
3286
+ @SysRuleId = sysruleid
3287
+ @RelatedCustomRuleInfo = relatedcustomruleinfo
3288
+ end
3289
+
3290
+ def deserialize(params)
3291
+ @ItemId = params['ItemId']
3292
+ @ItemName = params['ItemName']
3293
+ @RuleId = params['RuleId']
3294
+ @ItemDesc = params['ItemDesc']
3295
+ @FixMethod = params['FixMethod']
3296
+ @RuleName = params['RuleName']
3297
+ @Level = params['Level']
3298
+ @SysRuleId = params['SysRuleId']
3299
+ unless params['RelatedCustomRuleInfo'].nil?
3300
+ @RelatedCustomRuleInfo = []
3301
+ params['RelatedCustomRuleInfo'].each do |i|
3302
+ baselinecustomruleidname_tmp = BaselineCustomRuleIdName.new
3303
+ baselinecustomruleidname_tmp.deserialize(i)
3304
+ @RelatedCustomRuleInfo << baselinecustomruleidname_tmp
3305
+ end
3306
+ end
3307
+ end
3308
+ end
3309
+
3082
3310
  # 基线策略信息
3083
3311
  class BaselinePolicy < TencentCloud::Common::AbstractModel
3084
3312
  # @param PolicyName: 策略名称,长度不超过128英文字符
@@ -3143,96 +3371,317 @@ module TencentCloud
3143
3371
  end
3144
3372
  end
3145
3373
 
3146
- # 基线检测信息
3147
- class BaselineRuleInfo < TencentCloud::Common::AbstractModel
3148
- # @param RuleName: 检测项名称
3149
- # @type RuleName: String
3150
- # @param Description: 检测项描述
3151
- # @type Description: String
3152
- # @param FixMessage: 修复建议
3153
- # @type FixMessage: String
3154
- # @param Level: 危害等级
3155
- # @type Level: Integer
3156
- # @param Status: 状态
3157
- # @type Status: Integer
3158
- # @param RuleId: 检测项id
3159
- # @type RuleId: Integer
3160
- # @param LastScanAt: 最后检测时间
3161
- # @type LastScanAt: String
3162
- # @param RuleRemark: 具体原因说明
3163
- # @type RuleRemark: String
3164
- # @param Uuid: 唯一Uuid
3165
- # @type Uuid: String
3166
- # @param EventId: 唯一事件ID
3167
- # @type EventId: Integer
3374
+ # 基线检测策略
3375
+ class BaselinePolicyDetect < TencentCloud::Common::AbstractModel
3376
+ # @param PolicyId: 策略Id
3377
+ # @type PolicyId: Integer
3378
+ # @param TaskId: 检测任务Id
3379
+ # @type TaskId: Integer
3380
+ # @param HostCount: 关联主机数
3381
+ # @type HostCount: Integer
3382
+ # @param StartTime: 开始时间
3383
+ # @type StartTime: String
3384
+ # @param FinishTime: 结束时间
3385
+ # @type FinishTime: String
3386
+ # @param PolicyName: 策略名称
3387
+ # @type PolicyName: String
3388
+ # @param SuccessCount: 成功主机数
3389
+ # @type SuccessCount: Integer
3390
+ # @param FailedCount: 失败主技数
3391
+ # @type FailedCount: Integer
3392
+ # @param TimeoutCount: 失败主机数
3393
+ # @type TimeoutCount: Integer
3394
+ # @param PolicyDetectStatus: 1:检测中 2:检测完成
3395
+ # 注意:此字段可能返回 null,表示取不到有效值。
3396
+ # @type PolicyDetectStatus: Integer
3168
3397
 
3169
- attr_accessor :RuleName, :Description, :FixMessage, :Level, :Status, :RuleId, :LastScanAt, :RuleRemark, :Uuid, :EventId
3398
+ attr_accessor :PolicyId, :TaskId, :HostCount, :StartTime, :FinishTime, :PolicyName, :SuccessCount, :FailedCount, :TimeoutCount, :PolicyDetectStatus
3170
3399
 
3171
- def initialize(rulename=nil, description=nil, fixmessage=nil, level=nil, status=nil, ruleid=nil, lastscanat=nil, ruleremark=nil, uuid=nil, eventid=nil)
3172
- @RuleName = rulename
3173
- @Description = description
3174
- @FixMessage = fixmessage
3175
- @Level = level
3176
- @Status = status
3177
- @RuleId = ruleid
3178
- @LastScanAt = lastscanat
3179
- @RuleRemark = ruleremark
3180
- @Uuid = uuid
3181
- @EventId = eventid
3400
+ def initialize(policyid=nil, taskid=nil, hostcount=nil, starttime=nil, finishtime=nil, policyname=nil, successcount=nil, failedcount=nil, timeoutcount=nil, policydetectstatus=nil)
3401
+ @PolicyId = policyid
3402
+ @TaskId = taskid
3403
+ @HostCount = hostcount
3404
+ @StartTime = starttime
3405
+ @FinishTime = finishtime
3406
+ @PolicyName = policyname
3407
+ @SuccessCount = successcount
3408
+ @FailedCount = failedcount
3409
+ @TimeoutCount = timeoutcount
3410
+ @PolicyDetectStatus = policydetectstatus
3182
3411
  end
3183
3412
 
3184
3413
  def deserialize(params)
3185
- @RuleName = params['RuleName']
3186
- @Description = params['Description']
3187
- @FixMessage = params['FixMessage']
3188
- @Level = params['Level']
3189
- @Status = params['Status']
3190
- @RuleId = params['RuleId']
3191
- @LastScanAt = params['LastScanAt']
3192
- @RuleRemark = params['RuleRemark']
3193
- @Uuid = params['Uuid']
3194
- @EventId = params['EventId']
3414
+ @PolicyId = params['PolicyId']
3415
+ @TaskId = params['TaskId']
3416
+ @HostCount = params['HostCount']
3417
+ @StartTime = params['StartTime']
3418
+ @FinishTime = params['FinishTime']
3419
+ @PolicyName = params['PolicyName']
3420
+ @SuccessCount = params['SuccessCount']
3421
+ @FailedCount = params['FailedCount']
3422
+ @TimeoutCount = params['TimeoutCount']
3423
+ @PolicyDetectStatus = params['PolicyDetectStatus']
3195
3424
  end
3196
3425
  end
3197
3426
 
3198
- # 基线检测项TOP信息
3199
- class BaselineRuleTopInfo < TencentCloud::Common::AbstractModel
3200
- # @param RuleName: 基线检测项名
3201
- # 注意:此字段可能返回 null,表示取不到有效值。
3202
- # @type RuleName: String
3203
- # @param Level: 检测项危害等级
3427
+ # 基线检测项top5
3428
+ class BaselineRiskItem < TencentCloud::Common::AbstractModel
3429
+ # @param ItemId: 检测项Id
3204
3430
  # 注意:此字段可能返回 null,表示取不到有效值。
3431
+ # @type ItemId: Integer
3432
+ # @param ItemName: 检测项名字
3433
+ # @type ItemName: String
3434
+ # @param Level: 风险等级
3205
3435
  # @type Level: Integer
3206
- # @param EventCount: 事件总数
3207
- # 注意:此字段可能返回 null,表示取不到有效值。
3208
- # @type EventCount: Integer
3209
- # @param RuleId: 检测项id
3210
- # 注意:此字段可能返回 null,表示取不到有效值。
3211
- # @type RuleId: Integer
3436
+ # @param HostCount: 影响服务器数
3437
+ # @type HostCount: Integer
3212
3438
 
3213
- attr_accessor :RuleName, :Level, :EventCount, :RuleId
3439
+ attr_accessor :ItemId, :ItemName, :Level, :HostCount
3214
3440
 
3215
- def initialize(rulename=nil, level=nil, eventcount=nil, ruleid=nil)
3216
- @RuleName = rulename
3441
+ def initialize(itemid=nil, itemname=nil, level=nil, hostcount=nil)
3442
+ @ItemId = itemid
3443
+ @ItemName = itemname
3217
3444
  @Level = level
3218
- @EventCount = eventcount
3219
- @RuleId = ruleid
3445
+ @HostCount = hostcount
3220
3446
  end
3221
3447
 
3222
3448
  def deserialize(params)
3223
- @RuleName = params['RuleName']
3449
+ @ItemId = params['ItemId']
3450
+ @ItemName = params['ItemName']
3224
3451
  @Level = params['Level']
3225
- @EventCount = params['EventCount']
3226
- @RuleId = params['RuleId']
3452
+ @HostCount = params['HostCount']
3227
3453
  end
3228
3454
  end
3229
3455
 
3230
- # 高危命令数据
3231
- class BashEvent < TencentCloud::Common::AbstractModel
3232
- # @param Id: 数据ID
3233
- # @type Id: Integer
3234
- # @param Uuid: 云镜ID
3235
- # @type Uuid: String
3456
+ # 基线规则
3457
+ class BaselineRule < TencentCloud::Common::AbstractModel
3458
+ # @param RuleName: 规则名称,长度不超过128英文字符
3459
+ # @type RuleName: String
3460
+ # @param RuleId: 规则Id
3461
+ # @type RuleId: Integer
3462
+ # @param RuleType: 规则类型 [0:系统|1:自定义]
3463
+ # @type RuleType: Integer
3464
+ # @param CategoryId: 规则分类
3465
+ # @type CategoryId: Integer
3466
+ # @param RuleDesc: 规则描述
3467
+ # @type RuleDesc: String
3468
+ # @param HostCount: 主机数
3469
+ # @type HostCount: Integer
3470
+ # @param Items: 适配项ID列表
3471
+ # @type Items: Array
3472
+ # @param AssetType: [0:所有专业版旗舰版|1:hostID|2:ip]
3473
+ # 注意:此字段可能返回 null,表示取不到有效值。
3474
+ # @type AssetType: Integer
3475
+ # @param HostIds: 主机Id集合
3476
+ # 注意:此字段可能返回 null,表示取不到有效值。
3477
+ # @type HostIds: Array
3478
+ # @param HostIps: 主机IP
3479
+ # 注意:此字段可能返回 null,表示取不到有效值。
3480
+ # @type HostIps: Array
3481
+
3482
+ attr_accessor :RuleName, :RuleId, :RuleType, :CategoryId, :RuleDesc, :HostCount, :Items, :AssetType, :HostIds, :HostIps
3483
+
3484
+ def initialize(rulename=nil, ruleid=nil, ruletype=nil, categoryid=nil, ruledesc=nil, hostcount=nil, items=nil, assettype=nil, hostids=nil, hostips=nil)
3485
+ @RuleName = rulename
3486
+ @RuleId = ruleid
3487
+ @RuleType = ruletype
3488
+ @CategoryId = categoryid
3489
+ @RuleDesc = ruledesc
3490
+ @HostCount = hostcount
3491
+ @Items = items
3492
+ @AssetType = assettype
3493
+ @HostIds = hostids
3494
+ @HostIps = hostips
3495
+ end
3496
+
3497
+ def deserialize(params)
3498
+ @RuleName = params['RuleName']
3499
+ @RuleId = params['RuleId']
3500
+ @RuleType = params['RuleType']
3501
+ @CategoryId = params['CategoryId']
3502
+ @RuleDesc = params['RuleDesc']
3503
+ @HostCount = params['HostCount']
3504
+ unless params['Items'].nil?
3505
+ @Items = []
3506
+ params['Items'].each do |i|
3507
+ item_tmp = Item.new
3508
+ item_tmp.deserialize(i)
3509
+ @Items << item_tmp
3510
+ end
3511
+ end
3512
+ @AssetType = params['AssetType']
3513
+ @HostIds = params['HostIds']
3514
+ @HostIps = params['HostIps']
3515
+ end
3516
+ end
3517
+
3518
+ # 基线规则检测
3519
+ class BaselineRuleDetect < TencentCloud::Common::AbstractModel
3520
+ # @param RuleId: 规则Id
3521
+ # @type RuleId: Integer
3522
+ # @param RuleName: 规则名称
3523
+ # @type RuleName: String
3524
+ # @param RuleDesc: 规则描述
3525
+ # @type RuleDesc: String
3526
+ # @param ItemCount: 关联项数
3527
+ # @type ItemCount: Integer
3528
+ # @param HostCount: 关联主机数
3529
+ # @type HostCount: Integer
3530
+ # @param FirstTime: 首次检测时间
3531
+ # @type FirstTime: String
3532
+ # @param LastTime: string
3533
+ # @type LastTime: String
3534
+ # @param DetectStatus: 0:未通过 1:忽略 3:通过 5:检测中
3535
+ # @type DetectStatus: Integer
3536
+ # @param ItemIds: ItemID集合
3537
+ # 注意:此字段可能返回 null,表示取不到有效值。
3538
+ # @type ItemIds: Array
3539
+
3540
+ attr_accessor :RuleId, :RuleName, :RuleDesc, :ItemCount, :HostCount, :FirstTime, :LastTime, :DetectStatus, :ItemIds
3541
+
3542
+ def initialize(ruleid=nil, rulename=nil, ruledesc=nil, itemcount=nil, hostcount=nil, firsttime=nil, lasttime=nil, detectstatus=nil, itemids=nil)
3543
+ @RuleId = ruleid
3544
+ @RuleName = rulename
3545
+ @RuleDesc = ruledesc
3546
+ @ItemCount = itemcount
3547
+ @HostCount = hostcount
3548
+ @FirstTime = firsttime
3549
+ @LastTime = lasttime
3550
+ @DetectStatus = detectstatus
3551
+ @ItemIds = itemids
3552
+ end
3553
+
3554
+ def deserialize(params)
3555
+ @RuleId = params['RuleId']
3556
+ @RuleName = params['RuleName']
3557
+ @RuleDesc = params['RuleDesc']
3558
+ @ItemCount = params['ItemCount']
3559
+ @HostCount = params['HostCount']
3560
+ @FirstTime = params['FirstTime']
3561
+ @LastTime = params['LastTime']
3562
+ @DetectStatus = params['DetectStatus']
3563
+ @ItemIds = params['ItemIds']
3564
+ end
3565
+ end
3566
+
3567
+ # 基线检测信息
3568
+ class BaselineRuleInfo < TencentCloud::Common::AbstractModel
3569
+ # @param RuleName: 检测项名称
3570
+ # @type RuleName: String
3571
+ # @param Description: 检测项描述
3572
+ # @type Description: String
3573
+ # @param FixMessage: 修复建议
3574
+ # @type FixMessage: String
3575
+ # @param Level: 危害等级
3576
+ # @type Level: Integer
3577
+ # @param Status: 状态
3578
+ # @type Status: Integer
3579
+ # @param RuleId: 检测项id
3580
+ # @type RuleId: Integer
3581
+ # @param LastScanAt: 最后检测时间
3582
+ # @type LastScanAt: String
3583
+ # @param RuleRemark: 具体原因说明
3584
+ # @type RuleRemark: String
3585
+ # @param Uuid: 唯一Uuid
3586
+ # @type Uuid: String
3587
+ # @param EventId: 唯一事件ID
3588
+ # @type EventId: Integer
3589
+
3590
+ attr_accessor :RuleName, :Description, :FixMessage, :Level, :Status, :RuleId, :LastScanAt, :RuleRemark, :Uuid, :EventId
3591
+
3592
+ def initialize(rulename=nil, description=nil, fixmessage=nil, level=nil, status=nil, ruleid=nil, lastscanat=nil, ruleremark=nil, uuid=nil, eventid=nil)
3593
+ @RuleName = rulename
3594
+ @Description = description
3595
+ @FixMessage = fixmessage
3596
+ @Level = level
3597
+ @Status = status
3598
+ @RuleId = ruleid
3599
+ @LastScanAt = lastscanat
3600
+ @RuleRemark = ruleremark
3601
+ @Uuid = uuid
3602
+ @EventId = eventid
3603
+ end
3604
+
3605
+ def deserialize(params)
3606
+ @RuleName = params['RuleName']
3607
+ @Description = params['Description']
3608
+ @FixMessage = params['FixMessage']
3609
+ @Level = params['Level']
3610
+ @Status = params['Status']
3611
+ @RuleId = params['RuleId']
3612
+ @LastScanAt = params['LastScanAt']
3613
+ @RuleRemark = params['RuleRemark']
3614
+ @Uuid = params['Uuid']
3615
+ @EventId = params['EventId']
3616
+ end
3617
+ end
3618
+
3619
+ # 基线检测项TOP信息
3620
+ class BaselineRuleTopInfo < TencentCloud::Common::AbstractModel
3621
+ # @param RuleName: 基线检测项名
3622
+ # 注意:此字段可能返回 null,表示取不到有效值。
3623
+ # @type RuleName: String
3624
+ # @param Level: 检测项危害等级
3625
+ # 注意:此字段可能返回 null,表示取不到有效值。
3626
+ # @type Level: Integer
3627
+ # @param EventCount: 事件总数
3628
+ # 注意:此字段可能返回 null,表示取不到有效值。
3629
+ # @type EventCount: Integer
3630
+ # @param RuleId: 检测项id
3631
+ # 注意:此字段可能返回 null,表示取不到有效值。
3632
+ # @type RuleId: Integer
3633
+
3634
+ attr_accessor :RuleName, :Level, :EventCount, :RuleId
3635
+
3636
+ def initialize(rulename=nil, level=nil, eventcount=nil, ruleid=nil)
3637
+ @RuleName = rulename
3638
+ @Level = level
3639
+ @EventCount = eventcount
3640
+ @RuleId = ruleid
3641
+ end
3642
+
3643
+ def deserialize(params)
3644
+ @RuleName = params['RuleName']
3645
+ @Level = params['Level']
3646
+ @EventCount = params['EventCount']
3647
+ @RuleId = params['RuleId']
3648
+ end
3649
+ end
3650
+
3651
+ # 基线弱口令
3652
+ class BaselineWeakPassword < TencentCloud::Common::AbstractModel
3653
+ # @param PasswordId: 密码Id
3654
+ # @type PasswordId: Integer
3655
+ # @param WeakPassword: 密码
3656
+ # @type WeakPassword: String
3657
+ # @param CreateTime: 创建时间
3658
+ # @type CreateTime: String
3659
+ # @param ModifyTime: 修改时间
3660
+ # @type ModifyTime: String
3661
+
3662
+ attr_accessor :PasswordId, :WeakPassword, :CreateTime, :ModifyTime
3663
+
3664
+ def initialize(passwordid=nil, weakpassword=nil, createtime=nil, modifytime=nil)
3665
+ @PasswordId = passwordid
3666
+ @WeakPassword = weakpassword
3667
+ @CreateTime = createtime
3668
+ @ModifyTime = modifytime
3669
+ end
3670
+
3671
+ def deserialize(params)
3672
+ @PasswordId = params['PasswordId']
3673
+ @WeakPassword = params['WeakPassword']
3674
+ @CreateTime = params['CreateTime']
3675
+ @ModifyTime = params['ModifyTime']
3676
+ end
3677
+ end
3678
+
3679
+ # 高危命令数据
3680
+ class BashEvent < TencentCloud::Common::AbstractModel
3681
+ # @param Id: 数据ID
3682
+ # @type Id: Integer
3683
+ # @param Uuid: 云镜ID
3684
+ # @type Uuid: String
3236
3685
  # @param Quuid: 主机ID
3237
3686
  # @type Quuid: String
3238
3687
  # @param Hostip: 主机内网IP
@@ -4348,6 +4797,70 @@ module TencentCloud
4348
4797
  end
4349
4798
  end
4350
4799
 
4800
+ # DeleteBaselineRuleIgnore请求参数结构体
4801
+ class DeleteBaselineRuleIgnoreRequest < TencentCloud::Common::AbstractModel
4802
+ # @param RuleIds: 规则Id
4803
+ # @type RuleIds: Array
4804
+
4805
+ attr_accessor :RuleIds
4806
+
4807
+ def initialize(ruleids=nil)
4808
+ @RuleIds = ruleids
4809
+ end
4810
+
4811
+ def deserialize(params)
4812
+ @RuleIds = params['RuleIds']
4813
+ end
4814
+ end
4815
+
4816
+ # DeleteBaselineRuleIgnore返回参数结构体
4817
+ class DeleteBaselineRuleIgnoreResponse < TencentCloud::Common::AbstractModel
4818
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4819
+ # @type RequestId: String
4820
+
4821
+ attr_accessor :RequestId
4822
+
4823
+ def initialize(requestid=nil)
4824
+ @RequestId = requestid
4825
+ end
4826
+
4827
+ def deserialize(params)
4828
+ @RequestId = params['RequestId']
4829
+ end
4830
+ end
4831
+
4832
+ # DeleteBaselineRule请求参数结构体
4833
+ class DeleteBaselineRuleRequest < TencentCloud::Common::AbstractModel
4834
+ # @param RuleId: 规则Id
4835
+ # @type RuleId: Integer
4836
+
4837
+ attr_accessor :RuleId
4838
+
4839
+ def initialize(ruleid=nil)
4840
+ @RuleId = ruleid
4841
+ end
4842
+
4843
+ def deserialize(params)
4844
+ @RuleId = params['RuleId']
4845
+ end
4846
+ end
4847
+
4848
+ # DeleteBaselineRule返回参数结构体
4849
+ class DeleteBaselineRuleResponse < TencentCloud::Common::AbstractModel
4850
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4851
+ # @type RequestId: String
4852
+
4853
+ attr_accessor :RequestId
4854
+
4855
+ def initialize(requestid=nil)
4856
+ @RequestId = requestid
4857
+ end
4858
+
4859
+ def deserialize(params)
4860
+ @RequestId = params['RequestId']
4861
+ end
4862
+ end
4863
+
4351
4864
  # DeleteBaselineStrategy请求参数结构体
4352
4865
  class DeleteBaselineStrategyRequest < TencentCloud::Common::AbstractModel
4353
4866
  # @param StrategyId: 基线策略id
@@ -4380,6 +4893,38 @@ module TencentCloud
4380
4893
  end
4381
4894
  end
4382
4895
 
4896
+ # DeleteBaselineWeakPassword请求参数结构体
4897
+ class DeleteBaselineWeakPasswordRequest < TencentCloud::Common::AbstractModel
4898
+ # @param PasswordIds: 弱口令Id
4899
+ # @type PasswordIds: Array
4900
+
4901
+ attr_accessor :PasswordIds
4902
+
4903
+ def initialize(passwordids=nil)
4904
+ @PasswordIds = passwordids
4905
+ end
4906
+
4907
+ def deserialize(params)
4908
+ @PasswordIds = params['PasswordIds']
4909
+ end
4910
+ end
4911
+
4912
+ # DeleteBaselineWeakPassword返回参数结构体
4913
+ class DeleteBaselineWeakPasswordResponse < TencentCloud::Common::AbstractModel
4914
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4915
+ # @type RequestId: String
4916
+
4917
+ attr_accessor :RequestId
4918
+
4919
+ def initialize(requestid=nil)
4920
+ @RequestId = requestid
4921
+ end
4922
+
4923
+ def deserialize(params)
4924
+ @RequestId = params['RequestId']
4925
+ end
4926
+ end
4927
+
4383
4928
  # DeleteBashEvents请求参数结构体
4384
4929
  class DeleteBashEventsRequest < TencentCloud::Common::AbstractModel
4385
4930
  # @param Ids: ID数组,最大100条。
@@ -7844,11 +8389,215 @@ module TencentCloud
7844
8389
  end
7845
8390
  end
7846
8391
 
7847
- # DescribeBaselineEffectHostList请求参数结构体
7848
- class DescribeBaselineEffectHostListRequest < TencentCloud::Common::AbstractModel
7849
- # @param Limit: 分页参数 最大100条
8392
+ # DescribeBaselineDetectList请求参数结构体
8393
+ class DescribeBaselineDetectListRequest < TencentCloud::Common::AbstractModel
8394
+ # @param Filters: <li>PolicyName - string - 是否必填:否 - 策略名称</li>
8395
+ # <li>PolicyDetectStatus - int - 是否必填:否 - 1:检测中 2:检测完成</li>
8396
+ # <li>FirstTime - string - 是否必填:否 - 开始时间</li>
8397
+ # <li>LastTime - string - 是否必填:否 - 结束时间</li>
8398
+ # @type Filters: Array
8399
+ # @param Limit: 限制条数,默认10,最大100
7850
8400
  # @type Limit: Integer
7851
- # @param Offset: 分页参数
8401
+ # @param Offset: 偏移量,默认0
8402
+ # @type Offset: Integer
8403
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
8404
+ # @type Order: String
8405
+ # @param By: 可选排序列: [HostCount|StartTime|StopTime]
8406
+ # @type By: String
8407
+
8408
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
8409
+
8410
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
8411
+ @Filters = filters
8412
+ @Limit = limit
8413
+ @Offset = offset
8414
+ @Order = order
8415
+ @By = by
8416
+ end
8417
+
8418
+ def deserialize(params)
8419
+ unless params['Filters'].nil?
8420
+ @Filters = []
8421
+ params['Filters'].each do |i|
8422
+ filter_tmp = Filter.new
8423
+ filter_tmp.deserialize(i)
8424
+ @Filters << filter_tmp
8425
+ end
8426
+ end
8427
+ @Limit = params['Limit']
8428
+ @Offset = params['Offset']
8429
+ @Order = params['Order']
8430
+ @By = params['By']
8431
+ end
8432
+ end
8433
+
8434
+ # DescribeBaselineDetectList返回参数结构体
8435
+ class DescribeBaselineDetectListResponse < TencentCloud::Common::AbstractModel
8436
+ # @param List: 无
8437
+ # @type List: Array
8438
+ # @param Total: 总数
8439
+ # @type Total: Integer
8440
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8441
+ # @type RequestId: String
8442
+
8443
+ attr_accessor :List, :Total, :RequestId
8444
+
8445
+ def initialize(list=nil, total=nil, requestid=nil)
8446
+ @List = list
8447
+ @Total = total
8448
+ @RequestId = requestid
8449
+ end
8450
+
8451
+ def deserialize(params)
8452
+ unless params['List'].nil?
8453
+ @List = []
8454
+ params['List'].each do |i|
8455
+ baselinepolicydetect_tmp = BaselinePolicyDetect.new
8456
+ baselinepolicydetect_tmp.deserialize(i)
8457
+ @List << baselinepolicydetect_tmp
8458
+ end
8459
+ end
8460
+ @Total = params['Total']
8461
+ @RequestId = params['RequestId']
8462
+ end
8463
+ end
8464
+
8465
+ # DescribeBaselineDetectOverview请求参数结构体
8466
+ class DescribeBaselineDetectOverviewRequest < TencentCloud::Common::AbstractModel
8467
+ # @param PolicyId: 策略Id
8468
+ # @type PolicyId: Integer
8469
+
8470
+ attr_accessor :PolicyId
8471
+
8472
+ def initialize(policyid=nil)
8473
+ @PolicyId = policyid
8474
+ end
8475
+
8476
+ def deserialize(params)
8477
+ @PolicyId = params['PolicyId']
8478
+ end
8479
+ end
8480
+
8481
+ # DescribeBaselineDetectOverview返回参数结构体
8482
+ class DescribeBaselineDetectOverviewResponse < TencentCloud::Common::AbstractModel
8483
+ # @param HostCount: 检测服务器数
8484
+ # @type HostCount: Integer
8485
+ # @param ItemCount: 检测项
8486
+ # @type ItemCount: Integer
8487
+ # @param PolicyCount: 检测策略项
8488
+ # @type PolicyCount: Integer
8489
+ # @param PassRate: 通过率*100%
8490
+ # @type PassRate: Integer
8491
+ # @param LatestPassCount: 最近一次检测通过个数
8492
+ # 注意:此字段可能返回 null,表示取不到有效值。
8493
+ # @type LatestPassCount: Integer
8494
+ # @param LatestNotPassCount: 最近一次检测未通过个数
8495
+ # 注意:此字段可能返回 null,表示取不到有效值。
8496
+ # @type LatestNotPassCount: Integer
8497
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8498
+ # @type RequestId: String
8499
+
8500
+ attr_accessor :HostCount, :ItemCount, :PolicyCount, :PassRate, :LatestPassCount, :LatestNotPassCount, :RequestId
8501
+
8502
+ def initialize(hostcount=nil, itemcount=nil, policycount=nil, passrate=nil, latestpasscount=nil, latestnotpasscount=nil, requestid=nil)
8503
+ @HostCount = hostcount
8504
+ @ItemCount = itemcount
8505
+ @PolicyCount = policycount
8506
+ @PassRate = passrate
8507
+ @LatestPassCount = latestpasscount
8508
+ @LatestNotPassCount = latestnotpasscount
8509
+ @RequestId = requestid
8510
+ end
8511
+
8512
+ def deserialize(params)
8513
+ @HostCount = params['HostCount']
8514
+ @ItemCount = params['ItemCount']
8515
+ @PolicyCount = params['PolicyCount']
8516
+ @PassRate = params['PassRate']
8517
+ @LatestPassCount = params['LatestPassCount']
8518
+ @LatestNotPassCount = params['LatestNotPassCount']
8519
+ @RequestId = params['RequestId']
8520
+ end
8521
+ end
8522
+
8523
+ # DescribeBaselineDownloadList请求参数结构体
8524
+ class DescribeBaselineDownloadListRequest < TencentCloud::Common::AbstractModel
8525
+ # @param Filters: <li>Status - int - 是否必填:否 - 0:导出中 1:已完成</li>
8526
+ # <li>StartTime - string - 是否必填:否 - 开始时间</li>
8527
+ # <li>EndTime - string - 是否必填:否 - 结束时间</li>
8528
+ # <li>TaskName - string - 是否必填:否 - 任务名称</li>
8529
+ # @type Filters: Array
8530
+ # @param Limit: 限制条数,默认10,最大100
8531
+ # @type Limit: Integer
8532
+ # @param Offset: 偏移量,默认0
8533
+ # @type Offset: Integer
8534
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
8535
+ # @type Order: String
8536
+ # @param By: 可选排序列: [StartTime|EndTime]
8537
+ # @type By: String
8538
+
8539
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
8540
+
8541
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
8542
+ @Filters = filters
8543
+ @Limit = limit
8544
+ @Offset = offset
8545
+ @Order = order
8546
+ @By = by
8547
+ end
8548
+
8549
+ def deserialize(params)
8550
+ unless params['Filters'].nil?
8551
+ @Filters = []
8552
+ params['Filters'].each do |i|
8553
+ filter_tmp = Filter.new
8554
+ filter_tmp.deserialize(i)
8555
+ @Filters << filter_tmp
8556
+ end
8557
+ end
8558
+ @Limit = params['Limit']
8559
+ @Offset = params['Offset']
8560
+ @Order = params['Order']
8561
+ @By = params['By']
8562
+ end
8563
+ end
8564
+
8565
+ # DescribeBaselineDownloadList返回参数结构体
8566
+ class DescribeBaselineDownloadListResponse < TencentCloud::Common::AbstractModel
8567
+ # @param List: 无
8568
+ # @type List: Array
8569
+ # @param Total: 总数
8570
+ # @type Total: Integer
8571
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8572
+ # @type RequestId: String
8573
+
8574
+ attr_accessor :List, :Total, :RequestId
8575
+
8576
+ def initialize(list=nil, total=nil, requestid=nil)
8577
+ @List = list
8578
+ @Total = total
8579
+ @RequestId = requestid
8580
+ end
8581
+
8582
+ def deserialize(params)
8583
+ unless params['List'].nil?
8584
+ @List = []
8585
+ params['List'].each do |i|
8586
+ baselinedownload_tmp = BaselineDownload.new
8587
+ baselinedownload_tmp.deserialize(i)
8588
+ @List << baselinedownload_tmp
8589
+ end
8590
+ end
8591
+ @Total = params['Total']
8592
+ @RequestId = params['RequestId']
8593
+ end
8594
+ end
8595
+
8596
+ # DescribeBaselineEffectHostList请求参数结构体
8597
+ class DescribeBaselineEffectHostListRequest < TencentCloud::Common::AbstractModel
8598
+ # @param Limit: 分页参数 最大100条
8599
+ # @type Limit: Integer
8600
+ # @param Offset: 分页参数
7852
8601
  # @type Offset: Integer
7853
8602
  # @param BaselineId: 基线id
7854
8603
  # @type BaselineId: Integer
@@ -7922,6 +8671,76 @@ module TencentCloud
7922
8671
  end
7923
8672
  end
7924
8673
 
8674
+ # DescribeBaselineFixList请求参数结构体
8675
+ class DescribeBaselineFixListRequest < TencentCloud::Common::AbstractModel
8676
+ # @param Filters: <li>ItemName- string - 是否必填:否 - 项名称</i>
8677
+ # @type Filters: Array
8678
+ # @param Limit: 限制条数,默认10,最大100
8679
+ # @type Limit: Integer
8680
+ # @param Offset: 偏移量,默认0
8681
+ # @type Offset: Integer
8682
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
8683
+ # @type Order: String
8684
+ # @param By: 可选排序列: [CreateTime|MoifyTime|FixTime]
8685
+ # @type By: String
8686
+
8687
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
8688
+
8689
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
8690
+ @Filters = filters
8691
+ @Limit = limit
8692
+ @Offset = offset
8693
+ @Order = order
8694
+ @By = by
8695
+ end
8696
+
8697
+ def deserialize(params)
8698
+ unless params['Filters'].nil?
8699
+ @Filters = []
8700
+ params['Filters'].each do |i|
8701
+ filter_tmp = Filter.new
8702
+ filter_tmp.deserialize(i)
8703
+ @Filters << filter_tmp
8704
+ end
8705
+ end
8706
+ @Limit = params['Limit']
8707
+ @Offset = params['Offset']
8708
+ @Order = params['Order']
8709
+ @By = params['By']
8710
+ end
8711
+ end
8712
+
8713
+ # DescribeBaselineFixList返回参数结构体
8714
+ class DescribeBaselineFixListResponse < TencentCloud::Common::AbstractModel
8715
+ # @param List: 无
8716
+ # @type List: Array
8717
+ # @param Total: 总数
8718
+ # @type Total: Integer
8719
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8720
+ # @type RequestId: String
8721
+
8722
+ attr_accessor :List, :Total, :RequestId
8723
+
8724
+ def initialize(list=nil, total=nil, requestid=nil)
8725
+ @List = list
8726
+ @Total = total
8727
+ @RequestId = requestid
8728
+ end
8729
+
8730
+ def deserialize(params)
8731
+ unless params['List'].nil?
8732
+ @List = []
8733
+ params['List'].each do |i|
8734
+ baselinefix_tmp = BaselineFix.new
8735
+ baselinefix_tmp.deserialize(i)
8736
+ @List << baselinefix_tmp
8737
+ end
8738
+ end
8739
+ @Total = params['Total']
8740
+ @RequestId = params['RequestId']
8741
+ end
8742
+ end
8743
+
7925
8744
  # DescribeBaselineHostDetectList请求参数结构体
7926
8745
  class DescribeBaselineHostDetectListRequest < TencentCloud::Common::AbstractModel
7927
8746
  # @param Filters: <li>PolicyId - int64 - 是否必填:否 - 策略Id</li>
@@ -8000,40 +8819,138 @@ module TencentCloud
8000
8819
  end
8001
8820
  end
8002
8821
 
8003
- # DescribeBaselineHostTop请求参数结构体
8004
- class DescribeBaselineHostTopRequest < TencentCloud::Common::AbstractModel
8005
- # @param Top: 动态top值
8006
- # @type Top: Integer
8007
- # @param StrategyId: 策略id
8008
- # @type StrategyId: Integer
8822
+ # DescribeBaselineHostIgnoreList请求参数结构体
8823
+ class DescribeBaselineHostIgnoreListRequest < TencentCloud::Common::AbstractModel
8824
+ # @param RuleID: 请求的规则
8825
+ # @type RuleID: Integer
8826
+ # @param Limit: 限制条数,默认10,最大100
8827
+ # @type Limit: Integer
8828
+ # @param Offset: 偏移量,默认0
8829
+ # @type Offset: Integer
8009
8830
 
8010
- attr_accessor :Top, :StrategyId
8831
+ attr_accessor :RuleID, :Limit, :Offset
8011
8832
 
8012
- def initialize(top=nil, strategyid=nil)
8013
- @Top = top
8014
- @StrategyId = strategyid
8833
+ def initialize(ruleid=nil, limit=nil, offset=nil)
8834
+ @RuleID = ruleid
8835
+ @Limit = limit
8836
+ @Offset = offset
8015
8837
  end
8016
8838
 
8017
8839
  def deserialize(params)
8018
- @Top = params['Top']
8019
- @StrategyId = params['StrategyId']
8840
+ @RuleID = params['RuleID']
8841
+ @Limit = params['Limit']
8842
+ @Offset = params['Offset']
8020
8843
  end
8021
8844
  end
8022
8845
 
8023
- # DescribeBaselineHostTop返回参数结构体
8024
- class DescribeBaselineHostTopResponse < TencentCloud::Common::AbstractModel
8025
- # @param BaselineHostTopList: 主机基线策略事件Top
8026
- # 注意:此字段可能返回 null,表示取不到有效值。
8027
- # @type BaselineHostTopList: Array
8846
+ # DescribeBaselineHostIgnoreList返回参数结构体
8847
+ class DescribeBaselineHostIgnoreListResponse < TencentCloud::Common::AbstractModel
8848
+ # @param Total: 总数
8849
+ # @type Total: Integer
8850
+ # @param List:
8851
+ # @type List: Array
8028
8852
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8029
8853
  # @type RequestId: String
8030
8854
 
8031
- attr_accessor :BaselineHostTopList, :RequestId
8855
+ attr_accessor :Total, :List, :RequestId
8032
8856
 
8033
- def initialize(baselinehosttoplist=nil, requestid=nil)
8034
- @BaselineHostTopList = baselinehosttoplist
8035
- @RequestId = requestid
8036
- end
8857
+ def initialize(total=nil, list=nil, requestid=nil)
8858
+ @Total = total
8859
+ @List = list
8860
+ @RequestId = requestid
8861
+ end
8862
+
8863
+ def deserialize(params)
8864
+ @Total = params['Total']
8865
+ unless params['List'].nil?
8866
+ @List = []
8867
+ params['List'].each do |i|
8868
+ baselinehost_tmp = BaselineHost.new
8869
+ baselinehost_tmp.deserialize(i)
8870
+ @List << baselinehost_tmp
8871
+ end
8872
+ end
8873
+ @RequestId = params['RequestId']
8874
+ end
8875
+ end
8876
+
8877
+ # DescribeBaselineHostRiskTop请求参数结构体
8878
+ class DescribeBaselineHostRiskTopRequest < TencentCloud::Common::AbstractModel
8879
+ # @param PolicyId: 策略ID
8880
+ # @type PolicyId: Integer
8881
+
8882
+ attr_accessor :PolicyId
8883
+
8884
+ def initialize(policyid=nil)
8885
+ @PolicyId = policyid
8886
+ end
8887
+
8888
+ def deserialize(params)
8889
+ @PolicyId = params['PolicyId']
8890
+ end
8891
+ end
8892
+
8893
+ # DescribeBaselineHostRiskTop返回参数结构体
8894
+ class DescribeBaselineHostRiskTopResponse < TencentCloud::Common::AbstractModel
8895
+ # @param HostRiskTop5: 风险主机top5
8896
+ # @type HostRiskTop5: Array
8897
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8898
+ # @type RequestId: String
8899
+
8900
+ attr_accessor :HostRiskTop5, :RequestId
8901
+
8902
+ def initialize(hostrisktop5=nil, requestid=nil)
8903
+ @HostRiskTop5 = hostrisktop5
8904
+ @RequestId = requestid
8905
+ end
8906
+
8907
+ def deserialize(params)
8908
+ unless params['HostRiskTop5'].nil?
8909
+ @HostRiskTop5 = []
8910
+ params['HostRiskTop5'].each do |i|
8911
+ hostrisklevelcount_tmp = HostRiskLevelCount.new
8912
+ hostrisklevelcount_tmp.deserialize(i)
8913
+ @HostRiskTop5 << hostrisklevelcount_tmp
8914
+ end
8915
+ end
8916
+ @RequestId = params['RequestId']
8917
+ end
8918
+ end
8919
+
8920
+ # DescribeBaselineHostTop请求参数结构体
8921
+ class DescribeBaselineHostTopRequest < TencentCloud::Common::AbstractModel
8922
+ # @param Top: 动态top值
8923
+ # @type Top: Integer
8924
+ # @param StrategyId: 策略id
8925
+ # @type StrategyId: Integer
8926
+
8927
+ attr_accessor :Top, :StrategyId
8928
+
8929
+ def initialize(top=nil, strategyid=nil)
8930
+ @Top = top
8931
+ @StrategyId = strategyid
8932
+ end
8933
+
8934
+ def deserialize(params)
8935
+ @Top = params['Top']
8936
+ @StrategyId = params['StrategyId']
8937
+ end
8938
+ end
8939
+
8940
+ # DescribeBaselineHostTop返回参数结构体
8941
+ class DescribeBaselineHostTopResponse < TencentCloud::Common::AbstractModel
8942
+ # @param BaselineHostTopList: 主机基线策略事件Top
8943
+ # 注意:此字段可能返回 null,表示取不到有效值。
8944
+ # @type BaselineHostTopList: Array
8945
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8946
+ # @type RequestId: String
8947
+
8948
+ attr_accessor :BaselineHostTopList, :RequestId
8949
+
8950
+ def initialize(baselinehosttoplist=nil, requestid=nil)
8951
+ @BaselineHostTopList = baselinehosttoplist
8952
+ @RequestId = requestid
8953
+ end
8037
8954
 
8038
8955
  def deserialize(params)
8039
8956
  unless params['BaselineHostTopList'].nil?
@@ -8079,64 +8996,508 @@ module TencentCloud
8079
8996
  end
8080
8997
 
8081
8998
  def deserialize(params)
8082
- unless params['Filters'].nil?
8083
- @Filters = []
8084
- params['Filters'].each do |i|
8085
- filter_tmp = Filter.new
8086
- filter_tmp.deserialize(i)
8087
- @Filters << filter_tmp
8999
+ unless params['Filters'].nil?
9000
+ @Filters = []
9001
+ params['Filters'].each do |i|
9002
+ filter_tmp = Filter.new
9003
+ filter_tmp.deserialize(i)
9004
+ @Filters << filter_tmp
9005
+ end
9006
+ end
9007
+ @Limit = params['Limit']
9008
+ @Offset = params['Offset']
9009
+ @Order = params['Order']
9010
+ @By = params['By']
9011
+ end
9012
+ end
9013
+
9014
+ # DescribeBaselineItemDetectList返回参数结构体
9015
+ class DescribeBaselineItemDetectListResponse < TencentCloud::Common::AbstractModel
9016
+ # @param Total: 总数
9017
+ # @type Total: Integer
9018
+ # @param List: 无
9019
+ # @type List: Array
9020
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9021
+ # @type RequestId: String
9022
+
9023
+ attr_accessor :Total, :List, :RequestId
9024
+
9025
+ def initialize(total=nil, list=nil, requestid=nil)
9026
+ @Total = total
9027
+ @List = list
9028
+ @RequestId = requestid
9029
+ end
9030
+
9031
+ def deserialize(params)
9032
+ @Total = params['Total']
9033
+ unless params['List'].nil?
9034
+ @List = []
9035
+ params['List'].each do |i|
9036
+ baselineitemdetect_tmp = BaselineItemDetect.new
9037
+ baselineitemdetect_tmp.deserialize(i)
9038
+ @List << baselineitemdetect_tmp
9039
+ end
9040
+ end
9041
+ @RequestId = params['RequestId']
9042
+ end
9043
+ end
9044
+
9045
+ # DescribeBaselineItemIgnoreList请求参数结构体
9046
+ class DescribeBaselineItemIgnoreListRequest < TencentCloud::Common::AbstractModel
9047
+ # @param RuleID: 忽略规则ID
9048
+ # @type RuleID: Integer
9049
+ # @param Limit: 限制条数,默认10,最大100
9050
+ # @type Limit: Integer
9051
+ # @param Offset: 请求偏移默认0
9052
+ # @type Offset: Integer
9053
+ # @param Filters: <li>CatgoryId - int64 - 是否必填:否 - 规则Id</i>
9054
+ # @type Filters: Array
9055
+ # @param Order: 排序方式 [ASC:升序|DESC:降序]
9056
+ # @type Order: String
9057
+ # @param By: 可选排序列 [ID]
9058
+ # @type By: String
9059
+
9060
+ attr_accessor :RuleID, :Limit, :Offset, :Filters, :Order, :By
9061
+
9062
+ def initialize(ruleid=nil, limit=nil, offset=nil, filters=nil, order=nil, by=nil)
9063
+ @RuleID = ruleid
9064
+ @Limit = limit
9065
+ @Offset = offset
9066
+ @Filters = filters
9067
+ @Order = order
9068
+ @By = by
9069
+ end
9070
+
9071
+ def deserialize(params)
9072
+ @RuleID = params['RuleID']
9073
+ @Limit = params['Limit']
9074
+ @Offset = params['Offset']
9075
+ unless params['Filters'].nil?
9076
+ @Filters = []
9077
+ params['Filters'].each do |i|
9078
+ filter_tmp = Filter.new
9079
+ filter_tmp.deserialize(i)
9080
+ @Filters << filter_tmp
9081
+ end
9082
+ end
9083
+ @Order = params['Order']
9084
+ @By = params['By']
9085
+ end
9086
+ end
9087
+
9088
+ # DescribeBaselineItemIgnoreList返回参数结构体
9089
+ class DescribeBaselineItemIgnoreListResponse < TencentCloud::Common::AbstractModel
9090
+ # @param List: 无
9091
+ # @type List: Array
9092
+ # @param Total: 总数
9093
+ # @type Total: Integer
9094
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9095
+ # @type RequestId: String
9096
+
9097
+ attr_accessor :List, :Total, :RequestId
9098
+
9099
+ def initialize(list=nil, total=nil, requestid=nil)
9100
+ @List = list
9101
+ @Total = total
9102
+ @RequestId = requestid
9103
+ end
9104
+
9105
+ def deserialize(params)
9106
+ unless params['List'].nil?
9107
+ @List = []
9108
+ params['List'].each do |i|
9109
+ baselineiteminfo_tmp = BaselineItemInfo.new
9110
+ baselineiteminfo_tmp.deserialize(i)
9111
+ @List << baselineiteminfo_tmp
9112
+ end
9113
+ end
9114
+ @Total = params['Total']
9115
+ @RequestId = params['RequestId']
9116
+ end
9117
+ end
9118
+
9119
+ # DescribeBaselineItemInfo请求参数结构体
9120
+ class DescribeBaselineItemInfoRequest < TencentCloud::Common::AbstractModel
9121
+ # @param Filters: <li>ItemId - int64 - 是否必填:否 - 项Id</i>
9122
+ # <li>PolicyId - int64 - 是否必填:否 - 项Id</i>
9123
+ # <li>Level - int - 是否必填:否 - 风险等级</li>
9124
+ # <li>ItemName - string - 是否必填:否 - 检测项名字</li>
9125
+ # <li>RuleId - int - 是否必填:否 - 规则Id</li>
9126
+ # @type Filters: Array
9127
+ # @param Limit: 限制条数,默认10,最大100
9128
+ # @type Limit: Integer
9129
+ # @param Offset: 偏移量,默认0
9130
+ # @type Offset: Integer
9131
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
9132
+ # @type Order: String
9133
+ # @param By: 可选排序列
9134
+ # @type By: String
9135
+
9136
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
9137
+
9138
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
9139
+ @Filters = filters
9140
+ @Limit = limit
9141
+ @Offset = offset
9142
+ @Order = order
9143
+ @By = by
9144
+ end
9145
+
9146
+ def deserialize(params)
9147
+ unless params['Filters'].nil?
9148
+ @Filters = []
9149
+ params['Filters'].each do |i|
9150
+ filter_tmp = Filter.new
9151
+ filter_tmp.deserialize(i)
9152
+ @Filters << filter_tmp
9153
+ end
9154
+ end
9155
+ @Limit = params['Limit']
9156
+ @Offset = params['Offset']
9157
+ @Order = params['Order']
9158
+ @By = params['By']
9159
+ end
9160
+ end
9161
+
9162
+ # DescribeBaselineItemInfo返回参数结构体
9163
+ class DescribeBaselineItemInfoResponse < TencentCloud::Common::AbstractModel
9164
+ # @param List: 结果列表
9165
+ # @type List: Array
9166
+ # @param Total: 总条目数
9167
+ # @type Total: Integer
9168
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9169
+ # @type RequestId: String
9170
+
9171
+ attr_accessor :List, :Total, :RequestId
9172
+
9173
+ def initialize(list=nil, total=nil, requestid=nil)
9174
+ @List = list
9175
+ @Total = total
9176
+ @RequestId = requestid
9177
+ end
9178
+
9179
+ def deserialize(params)
9180
+ unless params['List'].nil?
9181
+ @List = []
9182
+ params['List'].each do |i|
9183
+ baselineiteminfo_tmp = BaselineItemInfo.new
9184
+ baselineiteminfo_tmp.deserialize(i)
9185
+ @List << baselineiteminfo_tmp
9186
+ end
9187
+ end
9188
+ @Total = params['Total']
9189
+ @RequestId = params['RequestId']
9190
+ end
9191
+ end
9192
+
9193
+ # DescribeBaselineItemList请求参数结构体
9194
+ class DescribeBaselineItemListRequest < TencentCloud::Common::AbstractModel
9195
+ # @param Filters: <li>PolicyId - int64 - 是否必填:否 - 策略Id</li>
9196
+ # <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
9197
+ # <li>HostId - string - 是否必填:否 - 主机Id</li>
9198
+ # <li>HostName - string - 是否必填:否 - 主机名</li>
9199
+ # <li>HostIp - string - 是否必填:否 - 主机IP</li>
9200
+ # <li>ItemId - String - 是否必填:否 - 检测项Id</li>
9201
+ # <li>ItemName - String - 是否必填:否 - 项名称</li>
9202
+ # <li>DetectStatus - int - 是否必填:否 - 检测状态[0:未通过|3:通过|5:检测中]</li>
9203
+ # <li>Level - int - 是否必填:否 - 风险等级</li>
9204
+ # <li>StartTime - string - 是否必填:否 - 开始时间</li>
9205
+ # <li>EndTime - string - 是否必填:否 - 结束时间</li>
9206
+ # @type Filters: Array
9207
+ # @param Limit: 限制条数,默认10,最大100
9208
+ # @type Limit: Integer
9209
+ # @param Offset: 偏移量,默认0
9210
+ # @type Offset: Integer
9211
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
9212
+ # @type Order: String
9213
+ # @param By: 可选排序列
9214
+ # @type By: String
9215
+
9216
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
9217
+
9218
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
9219
+ @Filters = filters
9220
+ @Limit = limit
9221
+ @Offset = offset
9222
+ @Order = order
9223
+ @By = by
9224
+ end
9225
+
9226
+ def deserialize(params)
9227
+ unless params['Filters'].nil?
9228
+ @Filters = []
9229
+ params['Filters'].each do |i|
9230
+ filter_tmp = Filter.new
9231
+ filter_tmp.deserialize(i)
9232
+ @Filters << filter_tmp
9233
+ end
9234
+ end
9235
+ @Limit = params['Limit']
9236
+ @Offset = params['Offset']
9237
+ @Order = params['Order']
9238
+ @By = params['By']
9239
+ end
9240
+ end
9241
+
9242
+ # DescribeBaselineItemList返回参数结构体
9243
+ class DescribeBaselineItemListResponse < TencentCloud::Common::AbstractModel
9244
+ # @param List: 无
9245
+ # @type List: Array
9246
+ # @param Total: 总数
9247
+ # @type Total: Integer
9248
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9249
+ # @type RequestId: String
9250
+
9251
+ attr_accessor :List, :Total, :RequestId
9252
+
9253
+ def initialize(list=nil, total=nil, requestid=nil)
9254
+ @List = list
9255
+ @Total = total
9256
+ @RequestId = requestid
9257
+ end
9258
+
9259
+ def deserialize(params)
9260
+ unless params['List'].nil?
9261
+ @List = []
9262
+ params['List'].each do |i|
9263
+ baselineitem_tmp = BaselineItem.new
9264
+ baselineitem_tmp.deserialize(i)
9265
+ @List << baselineitem_tmp
9266
+ end
9267
+ end
9268
+ @Total = params['Total']
9269
+ @RequestId = params['RequestId']
9270
+ end
9271
+ end
9272
+
9273
+ # DescribeBaselineItemRiskTop请求参数结构体
9274
+ class DescribeBaselineItemRiskTopRequest < TencentCloud::Common::AbstractModel
9275
+ # @param PolicyId: 策略ID
9276
+ # @type PolicyId: Integer
9277
+
9278
+ attr_accessor :PolicyId
9279
+
9280
+ def initialize(policyid=nil)
9281
+ @PolicyId = policyid
9282
+ end
9283
+
9284
+ def deserialize(params)
9285
+ @PolicyId = params['PolicyId']
9286
+ end
9287
+ end
9288
+
9289
+ # DescribeBaselineItemRiskTop返回参数结构体
9290
+ class DescribeBaselineItemRiskTopResponse < TencentCloud::Common::AbstractModel
9291
+ # @param RiskItemTop5: 结果数组
9292
+ # @type RiskItemTop5: Array
9293
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9294
+ # @type RequestId: String
9295
+
9296
+ attr_accessor :RiskItemTop5, :RequestId
9297
+
9298
+ def initialize(riskitemtop5=nil, requestid=nil)
9299
+ @RiskItemTop5 = riskitemtop5
9300
+ @RequestId = requestid
9301
+ end
9302
+
9303
+ def deserialize(params)
9304
+ unless params['RiskItemTop5'].nil?
9305
+ @RiskItemTop5 = []
9306
+ params['RiskItemTop5'].each do |i|
9307
+ baselineriskitem_tmp = BaselineRiskItem.new
9308
+ baselineriskitem_tmp.deserialize(i)
9309
+ @RiskItemTop5 << baselineriskitem_tmp
9310
+ end
9311
+ end
9312
+ @RequestId = params['RequestId']
9313
+ end
9314
+ end
9315
+
9316
+ # DescribeBaselineList请求参数结构体
9317
+ class DescribeBaselineListRequest < TencentCloud::Common::AbstractModel
9318
+ # @param Limit: 分页参数 最大100条
9319
+ # @type Limit: Integer
9320
+ # @param Offset: 分页参数
9321
+ # @type Offset: Integer
9322
+ # @param Filters: 过滤条件。
9323
+ # <li>StrategyId- Uint64 - 基线策略id</li>
9324
+ # <li>Status - Uint64 - 处理状态1已通过 0未通过</li>
9325
+ # <li>Level - Uint64[] - 处理状态1已通过 0未通过</li>BaselineName
9326
+ # <li>BaselineName - String - 基线名称</li>
9327
+ # <li>Quuid- String - 主机quuid</li>
9328
+ # <li>Uuid- String - 主机uuid</li>
9329
+ # @type Filters: Array
9330
+
9331
+ attr_accessor :Limit, :Offset, :Filters
9332
+
9333
+ def initialize(limit=nil, offset=nil, filters=nil)
9334
+ @Limit = limit
9335
+ @Offset = offset
9336
+ @Filters = filters
9337
+ end
9338
+
9339
+ def deserialize(params)
9340
+ @Limit = params['Limit']
9341
+ @Offset = params['Offset']
9342
+ unless params['Filters'].nil?
9343
+ @Filters = []
9344
+ params['Filters'].each do |i|
9345
+ filters_tmp = Filters.new
9346
+ filters_tmp.deserialize(i)
9347
+ @Filters << filters_tmp
9348
+ end
9349
+ end
9350
+ end
9351
+ end
9352
+
9353
+ # DescribeBaselineList返回参数结构体
9354
+ class DescribeBaselineListResponse < TencentCloud::Common::AbstractModel
9355
+ # @param BaselineList: 基线信息列表
9356
+ # 注意:此字段可能返回 null,表示取不到有效值。
9357
+ # @type BaselineList: Array
9358
+ # @param TotalCount: 分页查询记录总数
9359
+ # 注意:此字段可能返回 null,表示取不到有效值。
9360
+ # @type TotalCount: Integer
9361
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9362
+ # @type RequestId: String
9363
+
9364
+ attr_accessor :BaselineList, :TotalCount, :RequestId
9365
+
9366
+ def initialize(baselinelist=nil, totalcount=nil, requestid=nil)
9367
+ @BaselineList = baselinelist
9368
+ @TotalCount = totalcount
9369
+ @RequestId = requestid
9370
+ end
9371
+
9372
+ def deserialize(params)
9373
+ unless params['BaselineList'].nil?
9374
+ @BaselineList = []
9375
+ params['BaselineList'].each do |i|
9376
+ baselineinfo_tmp = BaselineInfo.new
9377
+ baselineinfo_tmp.deserialize(i)
9378
+ @BaselineList << baselineinfo_tmp
9379
+ end
9380
+ end
9381
+ @TotalCount = params['TotalCount']
9382
+ @RequestId = params['RequestId']
9383
+ end
9384
+ end
9385
+
9386
+ # DescribeBaselinePolicyList请求参数结构体
9387
+ class DescribeBaselinePolicyListRequest < TencentCloud::Common::AbstractModel
9388
+ # @param Filters: <li>PolicyName - String - 是否必填:否 - 策略名称</li>
9389
+ # @type Filters: Array
9390
+ # @param Limit: 限制条数,默认10,最大100
9391
+ # @type Limit: Integer
9392
+ # @param Offset: 偏移量,默认0
9393
+ # @type Offset: Integer
9394
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
9395
+ # @type Order: String
9396
+ # @param By: 可选排序列: [RuleCount|ItemCount|HostCount]
9397
+ # @type By: String
9398
+
9399
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
9400
+
9401
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
9402
+ @Filters = filters
9403
+ @Limit = limit
9404
+ @Offset = offset
9405
+ @Order = order
9406
+ @By = by
9407
+ end
9408
+
9409
+ def deserialize(params)
9410
+ unless params['Filters'].nil?
9411
+ @Filters = []
9412
+ params['Filters'].each do |i|
9413
+ filter_tmp = Filter.new
9414
+ filter_tmp.deserialize(i)
9415
+ @Filters << filter_tmp
9416
+ end
9417
+ end
9418
+ @Limit = params['Limit']
9419
+ @Offset = params['Offset']
9420
+ @Order = params['Order']
9421
+ @By = params['By']
9422
+ end
9423
+ end
9424
+
9425
+ # DescribeBaselinePolicyList返回参数结构体
9426
+ class DescribeBaselinePolicyListResponse < TencentCloud::Common::AbstractModel
9427
+ # @param List: 无
9428
+ # @type List: Array
9429
+ # @param Total: 总数
9430
+ # @type Total: Integer
9431
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9432
+ # @type RequestId: String
9433
+
9434
+ attr_accessor :List, :Total, :RequestId
9435
+
9436
+ def initialize(list=nil, total=nil, requestid=nil)
9437
+ @List = list
9438
+ @Total = total
9439
+ @RequestId = requestid
9440
+ end
9441
+
9442
+ def deserialize(params)
9443
+ unless params['List'].nil?
9444
+ @List = []
9445
+ params['List'].each do |i|
9446
+ baselinepolicy_tmp = BaselinePolicy.new
9447
+ baselinepolicy_tmp.deserialize(i)
9448
+ @List << baselinepolicy_tmp
8088
9449
  end
8089
9450
  end
8090
- @Limit = params['Limit']
8091
- @Offset = params['Offset']
8092
- @Order = params['Order']
8093
- @By = params['By']
9451
+ @Total = params['Total']
9452
+ @RequestId = params['RequestId']
8094
9453
  end
8095
9454
  end
8096
9455
 
8097
- # DescribeBaselineItemDetectList返回参数结构体
8098
- class DescribeBaselineItemDetectListResponse < TencentCloud::Common::AbstractModel
8099
- # @param Total: 总数
8100
- # @type Total: Integer
9456
+ # DescribeBaselineRuleCategoryList请求参数结构体
9457
+ class DescribeBaselineRuleCategoryListRequest < TencentCloud::Common::AbstractModel
9458
+
9459
+
9460
+ def initialize()
9461
+ end
9462
+
9463
+ def deserialize(params)
9464
+ end
9465
+ end
9466
+
9467
+ # DescribeBaselineRuleCategoryList返回参数结构体
9468
+ class DescribeBaselineRuleCategoryListResponse < TencentCloud::Common::AbstractModel
8101
9469
  # @param List: 无
8102
9470
  # @type List: Array
8103
9471
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8104
9472
  # @type RequestId: String
8105
9473
 
8106
- attr_accessor :Total, :List, :RequestId
9474
+ attr_accessor :List, :RequestId
8107
9475
 
8108
- def initialize(total=nil, list=nil, requestid=nil)
8109
- @Total = total
9476
+ def initialize(list=nil, requestid=nil)
8110
9477
  @List = list
8111
9478
  @RequestId = requestid
8112
9479
  end
8113
9480
 
8114
9481
  def deserialize(params)
8115
- @Total = params['Total']
8116
9482
  unless params['List'].nil?
8117
9483
  @List = []
8118
9484
  params['List'].each do |i|
8119
- baselineitemdetect_tmp = BaselineItemDetect.new
8120
- baselineitemdetect_tmp.deserialize(i)
8121
- @List << baselineitemdetect_tmp
9485
+ baselinecategory_tmp = BaselineCategory.new
9486
+ baselinecategory_tmp.deserialize(i)
9487
+ @List << baselinecategory_tmp
8122
9488
  end
8123
9489
  end
8124
9490
  @RequestId = params['RequestId']
8125
9491
  end
8126
9492
  end
8127
9493
 
8128
- # DescribeBaselineItemList请求参数结构体
8129
- class DescribeBaselineItemListRequest < TencentCloud::Common::AbstractModel
9494
+ # DescribeBaselineRuleDetectList请求参数结构体
9495
+ class DescribeBaselineRuleDetectListRequest < TencentCloud::Common::AbstractModel
8130
9496
  # @param Filters: <li>PolicyId - int64 - 是否必填:否 - 策略Id</li>
8131
- # <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
8132
- # <li>HostId - string - 是否必填:否 - 主机Id</li>
8133
- # <li>HostName - string - 是否必填:否 - 主机名</li>
8134
- # <li>HostIp - string - 是否必填:否 - 主机IP</li>
8135
- # <li>ItemId - String - 是否必填:否 - 检测项Id</li>
8136
- # <li>ItemName - String - 是否必填:否 - 项名称</li>
8137
- # <li>DetectStatus - int - 是否必填:否 - 检测状态[0:未通过|3:通过|5:检测中]</li>
8138
- # <li>Level - int - 是否必填:否 - 风险等级</li>
8139
- # <li>StartTime - string - 是否必填:否 - 开始时间</li>
9497
+ # <li>ItemId - int64 - 是否必填:否 - 策略Id</li>
9498
+ # <li>RuleName - string - 是否必填:否 - 规则名称</li>
9499
+ # <li>DetectStatus - int - 是否必填:否 - 检测状态</li>
9500
+ # <li>StartTime - string - 是否必填:否 - 开时时间</li>
8140
9501
  # <li>EndTime - string - 是否必填:否 - 结束时间</li>
8141
9502
  # @type Filters: Array
8142
9503
  # @param Limit: 限制条数,默认10,最大100
@@ -8145,7 +9506,7 @@ module TencentCloud
8145
9506
  # @type Offset: Integer
8146
9507
  # @param Order: 排序方式: [ASC:升序|DESC:降序]
8147
9508
  # @type Order: String
8148
- # @param By: 可选排序列
9509
+ # @param By: 可选排序列: [HostCount|FirstTime|LastTime]
8149
9510
  # @type By: String
8150
9511
 
8151
9512
  attr_accessor :Filters, :Limit, :Offset, :Order, :By
@@ -8174,8 +9535,8 @@ module TencentCloud
8174
9535
  end
8175
9536
  end
8176
9537
 
8177
- # DescribeBaselineItemList返回参数结构体
8178
- class DescribeBaselineItemListResponse < TencentCloud::Common::AbstractModel
9538
+ # DescribeBaselineRuleDetectList返回参数结构体
9539
+ class DescribeBaselineRuleDetectListResponse < TencentCloud::Common::AbstractModel
8179
9540
  # @param List: 无
8180
9541
  # @type List: Array
8181
9542
  # @param Total: 总数
@@ -8195,9 +9556,9 @@ module TencentCloud
8195
9556
  unless params['List'].nil?
8196
9557
  @List = []
8197
9558
  params['List'].each do |i|
8198
- baselineitem_tmp = BaselineItem.new
8199
- baselineitem_tmp.deserialize(i)
8200
- @List << baselineitem_tmp
9559
+ baselineruledetect_tmp = BaselineRuleDetect.new
9560
+ baselineruledetect_tmp.deserialize(i)
9561
+ @List << baselineruledetect_tmp
8201
9562
  end
8202
9563
  end
8203
9564
  @Total = params['Total']
@@ -8205,79 +9566,82 @@ module TencentCloud
8205
9566
  end
8206
9567
  end
8207
9568
 
8208
- # DescribeBaselineList请求参数结构体
8209
- class DescribeBaselineListRequest < TencentCloud::Common::AbstractModel
8210
- # @param Limit: 分页参数 最大100条
9569
+ # DescribeBaselineRuleIgnoreList请求参数结构体
9570
+ class DescribeBaselineRuleIgnoreListRequest < TencentCloud::Common::AbstractModel
9571
+ # @param Filters: <li>RuleName - String - 是否必填:否 - 规则名称</li>
9572
+ # <li>ItemId- int - 是否必填:否 - 检测项Id</li>
9573
+ # @type Filters: Array
9574
+ # @param Limit: 限制条数,默认10,最大100
8211
9575
  # @type Limit: Integer
8212
- # @param Offset: 分页参数
9576
+ # @param Offset: 偏移量,默认0
8213
9577
  # @type Offset: Integer
8214
- # @param Filters: 过滤条件。
8215
- # <li>StrategyId- Uint64 - 基线策略id</li>
8216
- # <li>Status - Uint64 - 处理状态1已通过 0未通过</li>
8217
- # <li>Level - Uint64[] - 处理状态1已通过 0未通过</li>BaselineName
8218
- # <li>BaselineName - String - 基线名称</li>
8219
- # <li>Quuid- String - 主机quuid</li>
8220
- # <li>Uuid- String - 主机uuid</li>
8221
- # @type Filters: Array
9578
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
9579
+ # @type Order: String
9580
+ # @param By: 可选排序列: [HostCount]
9581
+ # @type By: String
8222
9582
 
8223
- attr_accessor :Limit, :Offset, :Filters
9583
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
8224
9584
 
8225
- def initialize(limit=nil, offset=nil, filters=nil)
9585
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
9586
+ @Filters = filters
8226
9587
  @Limit = limit
8227
9588
  @Offset = offset
8228
- @Filters = filters
9589
+ @Order = order
9590
+ @By = by
8229
9591
  end
8230
9592
 
8231
9593
  def deserialize(params)
8232
- @Limit = params['Limit']
8233
- @Offset = params['Offset']
8234
9594
  unless params['Filters'].nil?
8235
9595
  @Filters = []
8236
9596
  params['Filters'].each do |i|
8237
- filters_tmp = Filters.new
8238
- filters_tmp.deserialize(i)
8239
- @Filters << filters_tmp
9597
+ filter_tmp = Filter.new
9598
+ filter_tmp.deserialize(i)
9599
+ @Filters << filter_tmp
8240
9600
  end
8241
9601
  end
9602
+ @Limit = params['Limit']
9603
+ @Offset = params['Offset']
9604
+ @Order = params['Order']
9605
+ @By = params['By']
8242
9606
  end
8243
9607
  end
8244
9608
 
8245
- # DescribeBaselineList返回参数结构体
8246
- class DescribeBaselineListResponse < TencentCloud::Common::AbstractModel
8247
- # @param BaselineList: 基线信息列表
8248
- # 注意:此字段可能返回 null,表示取不到有效值。
8249
- # @type BaselineList: Array
8250
- # @param TotalCount: 分页查询记录总数
8251
- # 注意:此字段可能返回 null,表示取不到有效值。
8252
- # @type TotalCount: Integer
9609
+ # DescribeBaselineRuleIgnoreList返回参数结构体
9610
+ class DescribeBaselineRuleIgnoreListResponse < TencentCloud::Common::AbstractModel
9611
+ # @param Total: 总数
9612
+ # @type Total: Integer
9613
+ # @param List: 列表
9614
+ # @type List: Array
8253
9615
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8254
9616
  # @type RequestId: String
8255
9617
 
8256
- attr_accessor :BaselineList, :TotalCount, :RequestId
9618
+ attr_accessor :Total, :List, :RequestId
8257
9619
 
8258
- def initialize(baselinelist=nil, totalcount=nil, requestid=nil)
8259
- @BaselineList = baselinelist
8260
- @TotalCount = totalcount
9620
+ def initialize(total=nil, list=nil, requestid=nil)
9621
+ @Total = total
9622
+ @List = list
8261
9623
  @RequestId = requestid
8262
9624
  end
8263
9625
 
8264
9626
  def deserialize(params)
8265
- unless params['BaselineList'].nil?
8266
- @BaselineList = []
8267
- params['BaselineList'].each do |i|
8268
- baselineinfo_tmp = BaselineInfo.new
8269
- baselineinfo_tmp.deserialize(i)
8270
- @BaselineList << baselineinfo_tmp
9627
+ @Total = params['Total']
9628
+ unless params['List'].nil?
9629
+ @List = []
9630
+ params['List'].each do |i|
9631
+ baselinerule_tmp = BaselineRule.new
9632
+ baselinerule_tmp.deserialize(i)
9633
+ @List << baselinerule_tmp
8271
9634
  end
8272
9635
  end
8273
- @TotalCount = params['TotalCount']
8274
9636
  @RequestId = params['RequestId']
8275
9637
  end
8276
9638
  end
8277
9639
 
8278
- # DescribeBaselinePolicyList请求参数结构体
8279
- class DescribeBaselinePolicyListRequest < TencentCloud::Common::AbstractModel
8280
- # @param Filters: <li>PolicyName - String - 是否必填:否 - 策略名称</li>
9640
+ # DescribeBaselineRuleList请求参数结构体
9641
+ class DescribeBaselineRuleListRequest < TencentCloud::Common::AbstractModel
9642
+ # @param Filters: <li>RuleName - String - 是否必填:否 - 规则名称</li>
9643
+ # <li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li>
9644
+ # <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>
8281
9645
  # @type Filters: Array
8282
9646
  # @param Limit: 限制条数,默认10,最大100
8283
9647
  # @type Limit: Integer
@@ -8285,7 +9649,7 @@ module TencentCloud
8285
9649
  # @type Offset: Integer
8286
9650
  # @param Order: 排序方式: [ASC:升序|DESC:降序]
8287
9651
  # @type Order: String
8288
- # @param By: 可选排序列: [RuleCount|ItemCount|HostCount]
9652
+ # @param By: 可选排序列
8289
9653
  # @type By: String
8290
9654
 
8291
9655
  attr_accessor :Filters, :Limit, :Offset, :Order, :By
@@ -8314,8 +9678,8 @@ module TencentCloud
8314
9678
  end
8315
9679
  end
8316
9680
 
8317
- # DescribeBaselinePolicyList返回参数结构体
8318
- class DescribeBaselinePolicyListResponse < TencentCloud::Common::AbstractModel
9681
+ # DescribeBaselineRuleList返回参数结构体
9682
+ class DescribeBaselineRuleListResponse < TencentCloud::Common::AbstractModel
8319
9683
  # @param List: 无
8320
9684
  # @type List: Array
8321
9685
  # @param Total: 总数
@@ -8335,9 +9699,9 @@ module TencentCloud
8335
9699
  unless params['List'].nil?
8336
9700
  @List = []
8337
9701
  params['List'].each do |i|
8338
- baselinepolicy_tmp = BaselinePolicy.new
8339
- baselinepolicy_tmp.deserialize(i)
8340
- @List << baselinepolicy_tmp
9702
+ baselinerule_tmp = BaselineRule.new
9703
+ baselinerule_tmp.deserialize(i)
9704
+ @List << baselinerule_tmp
8341
9705
  end
8342
9706
  end
8343
9707
  @Total = params['Total']
@@ -8651,6 +10015,76 @@ module TencentCloud
8651
10015
  end
8652
10016
  end
8653
10017
 
10018
+ # DescribeBaselineWeakPasswordList请求参数结构体
10019
+ class DescribeBaselineWeakPasswordListRequest < TencentCloud::Common::AbstractModel
10020
+ # @param Filters: <li>WeakPassword - string - 是否必填:否 - 弱口令</li>
10021
+ # @type Filters: Array
10022
+ # @param Limit: 限制条数,默认10,最大100
10023
+ # @type Limit: Integer
10024
+ # @param Offset: 偏移量,默认0
10025
+ # @type Offset: Integer
10026
+ # @param Order: 排序方式 [ASC:升序|DESC:降序]
10027
+ # @type Order: String
10028
+ # @param By: 可选排序列 [CreateTime|ModifyTime]
10029
+ # @type By: String
10030
+
10031
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
10032
+
10033
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
10034
+ @Filters = filters
10035
+ @Limit = limit
10036
+ @Offset = offset
10037
+ @Order = order
10038
+ @By = by
10039
+ end
10040
+
10041
+ def deserialize(params)
10042
+ unless params['Filters'].nil?
10043
+ @Filters = []
10044
+ params['Filters'].each do |i|
10045
+ filter_tmp = Filter.new
10046
+ filter_tmp.deserialize(i)
10047
+ @Filters << filter_tmp
10048
+ end
10049
+ end
10050
+ @Limit = params['Limit']
10051
+ @Offset = params['Offset']
10052
+ @Order = params['Order']
10053
+ @By = params['By']
10054
+ end
10055
+ end
10056
+
10057
+ # DescribeBaselineWeakPasswordList返回参数结构体
10058
+ class DescribeBaselineWeakPasswordListResponse < TencentCloud::Common::AbstractModel
10059
+ # @param Total: 总数
10060
+ # @type Total: Integer
10061
+ # @param List: 无
10062
+ # @type List: Array
10063
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10064
+ # @type RequestId: String
10065
+
10066
+ attr_accessor :Total, :List, :RequestId
10067
+
10068
+ def initialize(total=nil, list=nil, requestid=nil)
10069
+ @Total = total
10070
+ @List = list
10071
+ @RequestId = requestid
10072
+ end
10073
+
10074
+ def deserialize(params)
10075
+ @Total = params['Total']
10076
+ unless params['List'].nil?
10077
+ @List = []
10078
+ params['List'].each do |i|
10079
+ baselineweakpassword_tmp = BaselineWeakPassword.new
10080
+ baselineweakpassword_tmp.deserialize(i)
10081
+ @List << baselineweakpassword_tmp
10082
+ end
10083
+ end
10084
+ @RequestId = params['RequestId']
10085
+ end
10086
+ end
10087
+
8654
10088
  # DescribeBashEventsNew请求参数结构体
8655
10089
  class DescribeBashEventsNewRequest < TencentCloud::Common::AbstractModel
8656
10090
  # @param Limit: 返回数量,默认为10,最大值为100。
@@ -9835,35 +11269,100 @@ module TencentCloud
9835
11269
  end
9836
11270
  end
9837
11271
 
9838
- # DescribeIgnoreBaselineRule返回参数结构体
9839
- class DescribeIgnoreBaselineRuleResponse < TencentCloud::Common::AbstractModel
9840
- # @param IgnoreBaselineRuleList: 忽略基线检测项列表信息
11272
+ # DescribeIgnoreBaselineRule返回参数结构体
11273
+ class DescribeIgnoreBaselineRuleResponse < TencentCloud::Common::AbstractModel
11274
+ # @param IgnoreBaselineRuleList: 忽略基线检测项列表信息
11275
+ # 注意:此字段可能返回 null,表示取不到有效值。
11276
+ # @type IgnoreBaselineRuleList: Array
11277
+ # @param TotalCount: 分页查询记录总数
11278
+ # 注意:此字段可能返回 null,表示取不到有效值。
11279
+ # @type TotalCount: Integer
11280
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11281
+ # @type RequestId: String
11282
+
11283
+ attr_accessor :IgnoreBaselineRuleList, :TotalCount, :RequestId
11284
+
11285
+ def initialize(ignorebaselinerulelist=nil, totalcount=nil, requestid=nil)
11286
+ @IgnoreBaselineRuleList = ignorebaselinerulelist
11287
+ @TotalCount = totalcount
11288
+ @RequestId = requestid
11289
+ end
11290
+
11291
+ def deserialize(params)
11292
+ unless params['IgnoreBaselineRuleList'].nil?
11293
+ @IgnoreBaselineRuleList = []
11294
+ params['IgnoreBaselineRuleList'].each do |i|
11295
+ ignorebaselinerule_tmp = IgnoreBaselineRule.new
11296
+ ignorebaselinerule_tmp.deserialize(i)
11297
+ @IgnoreBaselineRuleList << ignorebaselinerule_tmp
11298
+ end
11299
+ end
11300
+ @TotalCount = params['TotalCount']
11301
+ @RequestId = params['RequestId']
11302
+ end
11303
+ end
11304
+
11305
+ # DescribeIgnoreHostAndItemConfig请求参数结构体
11306
+ class DescribeIgnoreHostAndItemConfigRequest < TencentCloud::Common::AbstractModel
11307
+ # @param Filters: <li>ItemId - int64 - 是否必填:否 - 项Id</i>
11308
+ # <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
11309
+ # <li>HostId - string - 是否必填:否 - 主机Id</li>
11310
+ # @type Filters: Array
11311
+
11312
+ attr_accessor :Filters
11313
+
11314
+ def initialize(filters=nil)
11315
+ @Filters = filters
11316
+ end
11317
+
11318
+ def deserialize(params)
11319
+ unless params['Filters'].nil?
11320
+ @Filters = []
11321
+ params['Filters'].each do |i|
11322
+ filter_tmp = Filter.new
11323
+ filter_tmp.deserialize(i)
11324
+ @Filters << filter_tmp
11325
+ end
11326
+ end
11327
+ end
11328
+ end
11329
+
11330
+ # DescribeIgnoreHostAndItemConfig返回参数结构体
11331
+ class DescribeIgnoreHostAndItemConfigResponse < TencentCloud::Common::AbstractModel
11332
+ # @param ItemSet: 受影响检测项
9841
11333
  # 注意:此字段可能返回 null,表示取不到有效值。
9842
- # @type IgnoreBaselineRuleList: Array
9843
- # @param TotalCount: 分页查询记录总数
11334
+ # @type ItemSet: Array
11335
+ # @param HostSet: 受影响主机
9844
11336
  # 注意:此字段可能返回 null,表示取不到有效值。
9845
- # @type TotalCount: Integer
11337
+ # @type HostSet: Array
9846
11338
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9847
11339
  # @type RequestId: String
9848
11340
 
9849
- attr_accessor :IgnoreBaselineRuleList, :TotalCount, :RequestId
11341
+ attr_accessor :ItemSet, :HostSet, :RequestId
9850
11342
 
9851
- def initialize(ignorebaselinerulelist=nil, totalcount=nil, requestid=nil)
9852
- @IgnoreBaselineRuleList = ignorebaselinerulelist
9853
- @TotalCount = totalcount
11343
+ def initialize(itemset=nil, hostset=nil, requestid=nil)
11344
+ @ItemSet = itemset
11345
+ @HostSet = hostset
9854
11346
  @RequestId = requestid
9855
11347
  end
9856
11348
 
9857
11349
  def deserialize(params)
9858
- unless params['IgnoreBaselineRuleList'].nil?
9859
- @IgnoreBaselineRuleList = []
9860
- params['IgnoreBaselineRuleList'].each do |i|
9861
- ignorebaselinerule_tmp = IgnoreBaselineRule.new
9862
- ignorebaselinerule_tmp.deserialize(i)
9863
- @IgnoreBaselineRuleList << ignorebaselinerule_tmp
11350
+ unless params['ItemSet'].nil?
11351
+ @ItemSet = []
11352
+ params['ItemSet'].each do |i|
11353
+ baselineiteminfo_tmp = BaselineItemInfo.new
11354
+ baselineiteminfo_tmp.deserialize(i)
11355
+ @ItemSet << baselineiteminfo_tmp
11356
+ end
11357
+ end
11358
+ unless params['HostSet'].nil?
11359
+ @HostSet = []
11360
+ params['HostSet'].each do |i|
11361
+ baselinehost_tmp = BaselineHost.new
11362
+ baselinehost_tmp.deserialize(i)
11363
+ @HostSet << baselinehost_tmp
9864
11364
  end
9865
11365
  end
9866
- @TotalCount = params['TotalCount']
9867
11366
  @RequestId = params['RequestId']
9868
11367
  end
9869
11368
  end
@@ -12657,12 +14156,14 @@ module TencentCloud
12657
14156
  # @type EndTime: String
12658
14157
  # @param ClickTimeout: 一键扫描超时时长,如:1800秒(s)
12659
14158
  # @type ClickTimeout: Integer
14159
+ # @param Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
14160
+ # @type Uuids: Array
12660
14161
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12661
14162
  # @type RequestId: String
12662
14163
 
12663
- attr_accessor :VulCategories, :VulLevels, :TimerInterval, :TimerTime, :VulEmergency, :StartTime, :EnableScan, :EndTime, :ClickTimeout, :RequestId
14164
+ attr_accessor :VulCategories, :VulLevels, :TimerInterval, :TimerTime, :VulEmergency, :StartTime, :EnableScan, :EndTime, :ClickTimeout, :Uuids, :RequestId
12664
14165
 
12665
- def initialize(vulcategories=nil, vullevels=nil, timerinterval=nil, timertime=nil, vulemergency=nil, starttime=nil, enablescan=nil, endtime=nil, clicktimeout=nil, requestid=nil)
14166
+ def initialize(vulcategories=nil, vullevels=nil, timerinterval=nil, timertime=nil, vulemergency=nil, starttime=nil, enablescan=nil, endtime=nil, clicktimeout=nil, uuids=nil, requestid=nil)
12666
14167
  @VulCategories = vulcategories
12667
14168
  @VulLevels = vullevels
12668
14169
  @TimerInterval = timerinterval
@@ -12672,6 +14173,7 @@ module TencentCloud
12672
14173
  @EnableScan = enablescan
12673
14174
  @EndTime = endtime
12674
14175
  @ClickTimeout = clicktimeout
14176
+ @Uuids = uuids
12675
14177
  @RequestId = requestid
12676
14178
  end
12677
14179
 
@@ -12685,6 +14187,7 @@ module TencentCloud
12685
14187
  @EnableScan = params['EnableScan']
12686
14188
  @EndTime = params['EndTime']
12687
14189
  @ClickTimeout = params['ClickTimeout']
14190
+ @Uuids = params['Uuids']
12688
14191
  @RequestId = params['RequestId']
12689
14192
  end
12690
14193
  end
@@ -15189,65 +16692,342 @@ module TencentCloud
15189
16692
  end
15190
16693
 
15191
16694
  def deserialize(params)
15192
- @DownloadUrl = params['DownloadUrl']
15193
- @TaskId = params['TaskId']
16695
+ @DownloadUrl = params['DownloadUrl']
16696
+ @TaskId = params['TaskId']
16697
+ @RequestId = params['RequestId']
16698
+ end
16699
+ end
16700
+
16701
+ # ExportBaselineFixList请求参数结构体
16702
+ class ExportBaselineFixListRequest < TencentCloud::Common::AbstractModel
16703
+ # @param Filters: <li>ItemName - String - 是否必填:否 - 项名称</li>
16704
+ # @type Filters: Array
16705
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16706
+ # @type ExportAll: Integer
16707
+
16708
+ attr_accessor :Filters, :ExportAll
16709
+
16710
+ def initialize(filters=nil, exportall=nil)
16711
+ @Filters = filters
16712
+ @ExportAll = exportall
16713
+ end
16714
+
16715
+ def deserialize(params)
16716
+ unless params['Filters'].nil?
16717
+ @Filters = []
16718
+ params['Filters'].each do |i|
16719
+ filter_tmp = Filter.new
16720
+ filter_tmp.deserialize(i)
16721
+ @Filters << filter_tmp
16722
+ end
16723
+ end
16724
+ @ExportAll = params['ExportAll']
16725
+ end
16726
+ end
16727
+
16728
+ # ExportBaselineFixList返回参数结构体
16729
+ class ExportBaselineFixListResponse < TencentCloud::Common::AbstractModel
16730
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16731
+ # @type RequestId: String
16732
+
16733
+ attr_accessor :RequestId
16734
+
16735
+ def initialize(requestid=nil)
16736
+ @RequestId = requestid
16737
+ end
16738
+
16739
+ def deserialize(params)
16740
+ @RequestId = params['RequestId']
16741
+ end
16742
+ end
16743
+
16744
+ # ExportBaselineHostDetectList请求参数结构体
16745
+ class ExportBaselineHostDetectListRequest < TencentCloud::Common::AbstractModel
16746
+ # @param Filters: <li>HostTag - string - 是否必填:否 - 主机标签</i>
16747
+ # <li>ItemId - int64 - 是否必填:否 - 项Id</i>
16748
+ # <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
16749
+ # <li>IsPassed - int - 是否必填:否 - 是否通过</li>
16750
+ # <li>RiskTier - int - 是否必填:否 - 风险等级</li>
16751
+ # @type Filters: Array
16752
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16753
+ # @type ExportAll: Integer
16754
+
16755
+ attr_accessor :Filters, :ExportAll
16756
+
16757
+ def initialize(filters=nil, exportall=nil)
16758
+ @Filters = filters
16759
+ @ExportAll = exportall
16760
+ end
16761
+
16762
+ def deserialize(params)
16763
+ unless params['Filters'].nil?
16764
+ @Filters = []
16765
+ params['Filters'].each do |i|
16766
+ filter_tmp = Filter.new
16767
+ filter_tmp.deserialize(i)
16768
+ @Filters << filter_tmp
16769
+ end
16770
+ end
16771
+ @ExportAll = params['ExportAll']
16772
+ end
16773
+ end
16774
+
16775
+ # ExportBaselineHostDetectList返回参数结构体
16776
+ class ExportBaselineHostDetectListResponse < TencentCloud::Common::AbstractModel
16777
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16778
+ # @type RequestId: String
16779
+
16780
+ attr_accessor :RequestId
16781
+
16782
+ def initialize(requestid=nil)
16783
+ @RequestId = requestid
16784
+ end
16785
+
16786
+ def deserialize(params)
16787
+ @RequestId = params['RequestId']
16788
+ end
16789
+ end
16790
+
16791
+ # ExportBaselineItemDetectList请求参数结构体
16792
+ class ExportBaselineItemDetectListRequest < TencentCloud::Common::AbstractModel
16793
+ # @param Filters: <li>HostId - string - 是否必填:否 - 主机Id</i>
16794
+ # <li>RuleId - int64 - 是否必填:否 - 规则Id</i>
16795
+ # <li>IsPassed - int - 是否必填:否 - 是否通过</li>
16796
+ # <li>RiskTier - int - 是否必填:否 - 风险等级</li>
16797
+ # @type Filters: Array
16798
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16799
+ # @type ExportAll: Integer
16800
+
16801
+ attr_accessor :Filters, :ExportAll
16802
+
16803
+ def initialize(filters=nil, exportall=nil)
16804
+ @Filters = filters
16805
+ @ExportAll = exportall
16806
+ end
16807
+
16808
+ def deserialize(params)
16809
+ unless params['Filters'].nil?
16810
+ @Filters = []
16811
+ params['Filters'].each do |i|
16812
+ filter_tmp = Filter.new
16813
+ filter_tmp.deserialize(i)
16814
+ @Filters << filter_tmp
16815
+ end
16816
+ end
16817
+ @ExportAll = params['ExportAll']
16818
+ end
16819
+ end
16820
+
16821
+ # ExportBaselineItemDetectList返回参数结构体
16822
+ class ExportBaselineItemDetectListResponse < TencentCloud::Common::AbstractModel
16823
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16824
+ # @type RequestId: String
16825
+
16826
+ attr_accessor :RequestId
16827
+
16828
+ def initialize(requestid=nil)
16829
+ @RequestId = requestid
16830
+ end
16831
+
16832
+ def deserialize(params)
16833
+ @RequestId = params['RequestId']
16834
+ end
16835
+ end
16836
+
16837
+ # ExportBaselineItemList请求参数结构体
16838
+ class ExportBaselineItemListRequest < TencentCloud::Common::AbstractModel
16839
+ # @param Filters: <li>PolicyId - int64 - 是否必填:否 - 策略Id</li>
16840
+ # <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
16841
+ # <li>HostId - string - 是否必填:否 - 主机Id</li>
16842
+ # <li>HostName - string - 是否必填:否 - 主机名</li>
16843
+ # <li>HostIp - string - 是否必填:否 - 主机IP</li>
16844
+ # <li>ItemId - String - 是否必填:否 - 检测项Id</li>
16845
+ # <li>ItemName - String - 是否必填:否 - 项名称</li>
16846
+ # <li>DetectStatus - int - 是否必填:否 - 检测状态[0:未通过|3:通过|5:检测中]</li>
16847
+ # <li>Level - int - 是否必填:否 - 风险等级</li>
16848
+ # <li>StartTime - string - 是否必填:否 - 开时时间</li>
16849
+ # <li>EndTime - string - 是否必填:否 - 结束时间</li>
16850
+ # @type Filters: Array
16851
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16852
+ # @type ExportAll: Integer
16853
+
16854
+ attr_accessor :Filters, :ExportAll
16855
+
16856
+ def initialize(filters=nil, exportall=nil)
16857
+ @Filters = filters
16858
+ @ExportAll = exportall
16859
+ end
16860
+
16861
+ def deserialize(params)
16862
+ unless params['Filters'].nil?
16863
+ @Filters = []
16864
+ params['Filters'].each do |i|
16865
+ filter_tmp = Filter.new
16866
+ filter_tmp.deserialize(i)
16867
+ @Filters << filter_tmp
16868
+ end
16869
+ end
16870
+ @ExportAll = params['ExportAll']
16871
+ end
16872
+ end
16873
+
16874
+ # ExportBaselineItemList返回参数结构体
16875
+ class ExportBaselineItemListResponse < TencentCloud::Common::AbstractModel
16876
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16877
+ # @type RequestId: String
16878
+
16879
+ attr_accessor :RequestId
16880
+
16881
+ def initialize(requestid=nil)
16882
+ @RequestId = requestid
16883
+ end
16884
+
16885
+ def deserialize(params)
16886
+ @RequestId = params['RequestId']
16887
+ end
16888
+ end
16889
+
16890
+ # ExportBaselineList请求参数结构体
16891
+ class ExportBaselineListRequest < TencentCloud::Common::AbstractModel
16892
+ # @param Filters: 过滤条件:
16893
+ # <li>StrategyId- Uint64 - 基线策略id</li>
16894
+ # <li>Status - Uint64 - 事件状态:0-未通过,1-忽略,3-通过,5-检测中</li>
16895
+ # <li>BaselineName - String - 基线名称</li>
16896
+ # <li>AliasName- String - 服务器名称/服务器ip</li>
16897
+ # <li>Uuid- String - 主机uuid</li>
16898
+ # @type Filters: Array
16899
+ # @param IfDetail: 已废弃
16900
+ # @type IfDetail: Integer
16901
+
16902
+ attr_accessor :Filters, :IfDetail
16903
+
16904
+ def initialize(filters=nil, ifdetail=nil)
16905
+ @Filters = filters
16906
+ @IfDetail = ifdetail
16907
+ end
16908
+
16909
+ def deserialize(params)
16910
+ unless params['Filters'].nil?
16911
+ @Filters = []
16912
+ params['Filters'].each do |i|
16913
+ filters_tmp = Filters.new
16914
+ filters_tmp.deserialize(i)
16915
+ @Filters << filters_tmp
16916
+ end
16917
+ end
16918
+ @IfDetail = params['IfDetail']
16919
+ end
16920
+ end
16921
+
16922
+ # ExportBaselineList返回参数结构体
16923
+ class ExportBaselineListResponse < TencentCloud::Common::AbstractModel
16924
+ # @param DownloadUrl: 导出文件下载地址(已弃用)
16925
+ # 注意:此字段可能返回 null,表示取不到有效值。
16926
+ # @type DownloadUrl: String
16927
+ # @param TaskId: 导出文件Id 可通过ExportTasks接口下载
16928
+ # @type TaskId: String
16929
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16930
+ # @type RequestId: String
16931
+
16932
+ attr_accessor :DownloadUrl, :TaskId, :RequestId
16933
+
16934
+ def initialize(downloadurl=nil, taskid=nil, requestid=nil)
16935
+ @DownloadUrl = downloadurl
16936
+ @TaskId = taskid
16937
+ @RequestId = requestid
16938
+ end
16939
+
16940
+ def deserialize(params)
16941
+ @DownloadUrl = params['DownloadUrl']
16942
+ @TaskId = params['TaskId']
16943
+ @RequestId = params['RequestId']
16944
+ end
16945
+ end
16946
+
16947
+ # ExportBaselineRuleDetectList请求参数结构体
16948
+ class ExportBaselineRuleDetectListRequest < TencentCloud::Common::AbstractModel
16949
+ # @param Filters: <li>RuleName - string - 是否必填:否 - 规则名称</i>
16950
+ # <li>IsPassed - int - 是否必填:否 - 是否通过</li>
16951
+ # <li>RiskTier - int - 是否必填:否 - 风险等级</li>
16952
+ # @type Filters: Array
16953
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16954
+ # @type ExportAll: Integer
16955
+
16956
+ attr_accessor :Filters, :ExportAll
16957
+
16958
+ def initialize(filters=nil, exportall=nil)
16959
+ @Filters = filters
16960
+ @ExportAll = exportall
16961
+ end
16962
+
16963
+ def deserialize(params)
16964
+ unless params['Filters'].nil?
16965
+ @Filters = []
16966
+ params['Filters'].each do |i|
16967
+ filter_tmp = Filter.new
16968
+ filter_tmp.deserialize(i)
16969
+ @Filters << filter_tmp
16970
+ end
16971
+ end
16972
+ @ExportAll = params['ExportAll']
16973
+ end
16974
+ end
16975
+
16976
+ # ExportBaselineRuleDetectList返回参数结构体
16977
+ class ExportBaselineRuleDetectListResponse < TencentCloud::Common::AbstractModel
16978
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16979
+ # @type RequestId: String
16980
+
16981
+ attr_accessor :RequestId
16982
+
16983
+ def initialize(requestid=nil)
16984
+ @RequestId = requestid
16985
+ end
16986
+
16987
+ def deserialize(params)
15194
16988
  @RequestId = params['RequestId']
15195
16989
  end
15196
16990
  end
15197
16991
 
15198
- # ExportBaselineList请求参数结构体
15199
- class ExportBaselineListRequest < TencentCloud::Common::AbstractModel
15200
- # @param Filters: 过滤条件:
15201
- # <li>StrategyId- Uint64 - 基线策略id</li>
15202
- # <li>Status - Uint64 - 事件状态:0-未通过,1-忽略,3-通过,5-检测中</li>
15203
- # <li>BaselineName - String - 基线名称</li>
15204
- # <li>AliasName- String - 服务器名称/服务器ip</li>
15205
- # <li>Uuid- String - 主机uuid</li>
16992
+ # ExportBaselineWeakPasswordList请求参数结构体
16993
+ class ExportBaselineWeakPasswordListRequest < TencentCloud::Common::AbstractModel
16994
+ # @param Filters: <li>WeakPassword - string - 是否必填:否 - 弱口令</li>
15206
16995
  # @type Filters: Array
15207
- # @param IfDetail: 已废弃
15208
- # @type IfDetail: Integer
16996
+ # @param ExportAll: 0:过滤的结果导出;1:全部导出
16997
+ # @type ExportAll: Integer
15209
16998
 
15210
- attr_accessor :Filters, :IfDetail
16999
+ attr_accessor :Filters, :ExportAll
15211
17000
 
15212
- def initialize(filters=nil, ifdetail=nil)
17001
+ def initialize(filters=nil, exportall=nil)
15213
17002
  @Filters = filters
15214
- @IfDetail = ifdetail
17003
+ @ExportAll = exportall
15215
17004
  end
15216
17005
 
15217
17006
  def deserialize(params)
15218
17007
  unless params['Filters'].nil?
15219
17008
  @Filters = []
15220
17009
  params['Filters'].each do |i|
15221
- filters_tmp = Filters.new
15222
- filters_tmp.deserialize(i)
15223
- @Filters << filters_tmp
17010
+ filter_tmp = Filter.new
17011
+ filter_tmp.deserialize(i)
17012
+ @Filters << filter_tmp
15224
17013
  end
15225
17014
  end
15226
- @IfDetail = params['IfDetail']
17015
+ @ExportAll = params['ExportAll']
15227
17016
  end
15228
17017
  end
15229
17018
 
15230
- # ExportBaselineList返回参数结构体
15231
- class ExportBaselineListResponse < TencentCloud::Common::AbstractModel
15232
- # @param DownloadUrl: 导出文件下载地址(已弃用)
15233
- # 注意:此字段可能返回 null,表示取不到有效值。
15234
- # @type DownloadUrl: String
15235
- # @param TaskId: 导出文件Id 可通过ExportTasks接口下载
15236
- # @type TaskId: String
17019
+ # ExportBaselineWeakPasswordList返回参数结构体
17020
+ class ExportBaselineWeakPasswordListResponse < TencentCloud::Common::AbstractModel
15237
17021
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15238
17022
  # @type RequestId: String
15239
17023
 
15240
- attr_accessor :DownloadUrl, :TaskId, :RequestId
17024
+ attr_accessor :RequestId
15241
17025
 
15242
- def initialize(downloadurl=nil, taskid=nil, requestid=nil)
15243
- @DownloadUrl = downloadurl
15244
- @TaskId = taskid
17026
+ def initialize(requestid=nil)
15245
17027
  @RequestId = requestid
15246
17028
  end
15247
17029
 
15248
17030
  def deserialize(params)
15249
- @DownloadUrl = params['DownloadUrl']
15250
- @TaskId = params['TaskId']
15251
17031
  @RequestId = params['RequestId']
15252
17032
  end
15253
17033
  end
@@ -16266,6 +18046,46 @@ module TencentCloud
16266
18046
  end
16267
18047
  end
16268
18048
 
18049
+ # FixBaselineDetect请求参数结构体
18050
+ class FixBaselineDetectRequest < TencentCloud::Common::AbstractModel
18051
+ # @param HostId: 主机Id
18052
+ # @type HostId: String
18053
+ # @param ItemId: 项Id
18054
+ # @type ItemId: Integer
18055
+ # @param Data: 修复内容
18056
+ # @type Data: Array
18057
+
18058
+ attr_accessor :HostId, :ItemId, :Data
18059
+
18060
+ def initialize(hostid=nil, itemid=nil, data=nil)
18061
+ @HostId = hostid
18062
+ @ItemId = itemid
18063
+ @Data = data
18064
+ end
18065
+
18066
+ def deserialize(params)
18067
+ @HostId = params['HostId']
18068
+ @ItemId = params['ItemId']
18069
+ @Data = params['Data']
18070
+ end
18071
+ end
18072
+
18073
+ # FixBaselineDetect返回参数结构体
18074
+ class FixBaselineDetectResponse < TencentCloud::Common::AbstractModel
18075
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
18076
+ # @type RequestId: String
18077
+
18078
+ attr_accessor :RequestId
18079
+
18080
+ def initialize(requestid=nil)
18081
+ @RequestId = requestid
18082
+ end
18083
+
18084
+ def deserialize(params)
18085
+ @RequestId = params['RequestId']
18086
+ end
18087
+ end
18088
+
16269
18089
  # 账号变更历史数据。
16270
18090
  class HistoryAccount < TencentCloud::Common::AbstractModel
16271
18091
  # @param Id: 唯一ID。
@@ -16431,6 +18251,43 @@ module TencentCloud
16431
18251
  end
16432
18252
  end
16433
18253
 
18254
+ # 主机风险计数
18255
+ class HostRiskLevelCount < TencentCloud::Common::AbstractModel
18256
+ # @param HostId: 主机ID
18257
+ # @type HostId: String
18258
+ # @param HostName: 主机名
18259
+ # 注意:此字段可能返回 null,表示取不到有效值。
18260
+ # @type HostName: String
18261
+ # @param SeriousCount: 严重个数
18262
+ # @type SeriousCount: Integer
18263
+ # @param HighCount: 高危个数
18264
+ # @type HighCount: Integer
18265
+ # @param MediumCount: 中危个数
18266
+ # @type MediumCount: Integer
18267
+ # @param LowCount: 低危个数
18268
+ # @type LowCount: Integer
18269
+
18270
+ attr_accessor :HostId, :HostName, :SeriousCount, :HighCount, :MediumCount, :LowCount
18271
+
18272
+ def initialize(hostid=nil, hostname=nil, seriouscount=nil, highcount=nil, mediumcount=nil, lowcount=nil)
18273
+ @HostId = hostid
18274
+ @HostName = hostname
18275
+ @SeriousCount = seriouscount
18276
+ @HighCount = highcount
18277
+ @MediumCount = mediumcount
18278
+ @LowCount = lowcount
18279
+ end
18280
+
18281
+ def deserialize(params)
18282
+ @HostId = params['HostId']
18283
+ @HostName = params['HostName']
18284
+ @SeriousCount = params['SeriousCount']
18285
+ @HighCount = params['HighCount']
18286
+ @MediumCount = params['MediumCount']
18287
+ @LowCount = params['LowCount']
18288
+ end
18289
+ end
18290
+
16434
18291
  # 忽略的基线检测项信息
16435
18292
  class IgnoreBaselineRule < TencentCloud::Common::AbstractModel
16436
18293
  # @param RuleName: 基线检测项名称
@@ -16547,6 +18404,26 @@ module TencentCloud
16547
18404
  end
16548
18405
  end
16549
18406
 
18407
+ # 项
18408
+ class Item < TencentCloud::Common::AbstractModel
18409
+ # @param ItemId: Id
18410
+ # @type ItemId: Integer
18411
+ # @param ItemName: 名称
18412
+ # @type ItemName: String
18413
+
18414
+ attr_accessor :ItemId, :ItemName
18415
+
18416
+ def initialize(itemid=nil, itemname=nil)
18417
+ @ItemId = itemid
18418
+ @ItemName = itemname
18419
+ end
18420
+
18421
+ def deserialize(params)
18422
+ @ItemId = params['ItemId']
18423
+ @ItemName = params['ItemName']
18424
+ end
18425
+ end
18426
+
16550
18427
  # java内存马事件信息
16551
18428
  class JavaMemShellInfo < TencentCloud::Common::AbstractModel
16552
18429
  # @param Id: 事件ID
@@ -17665,6 +19542,198 @@ module TencentCloud
17665
19542
  end
17666
19543
  end
17667
19544
 
19545
+ # ModifyBaselinePolicyState请求参数结构体
19546
+ class ModifyBaselinePolicyStateRequest < TencentCloud::Common::AbstractModel
19547
+ # @param PolicyId: 策略Id
19548
+ # @type PolicyId: Integer
19549
+ # @param IsEnabled: 开启状态[1:开启|0:未开启]
19550
+ # @type IsEnabled: Integer
19551
+
19552
+ attr_accessor :PolicyId, :IsEnabled
19553
+
19554
+ def initialize(policyid=nil, isenabled=nil)
19555
+ @PolicyId = policyid
19556
+ @IsEnabled = isenabled
19557
+ end
19558
+
19559
+ def deserialize(params)
19560
+ @PolicyId = params['PolicyId']
19561
+ @IsEnabled = params['IsEnabled']
19562
+ end
19563
+ end
19564
+
19565
+ # ModifyBaselinePolicyState返回参数结构体
19566
+ class ModifyBaselinePolicyStateResponse < TencentCloud::Common::AbstractModel
19567
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
19568
+ # @type RequestId: String
19569
+
19570
+ attr_accessor :RequestId
19571
+
19572
+ def initialize(requestid=nil)
19573
+ @RequestId = requestid
19574
+ end
19575
+
19576
+ def deserialize(params)
19577
+ @RequestId = params['RequestId']
19578
+ end
19579
+ end
19580
+
19581
+ # ModifyBaselineRuleIgnore请求参数结构体
19582
+ class ModifyBaselineRuleIgnoreRequest < TencentCloud::Common::AbstractModel
19583
+ # @param RuleName: 规则名称
19584
+ # @type RuleName: String
19585
+ # @param AssetType: 资产类型[0:所有专业版旗舰版|1:id|2:ip]
19586
+ # @type AssetType: Integer
19587
+ # @param RuleId: 规则Id
19588
+ # @type RuleId: Integer
19589
+ # @param ItemIds: 关联项
19590
+ # @type ItemIds: Array
19591
+ # @param HostIds: 主机Id
19592
+ # @type HostIds: Array
19593
+ # @param HostIps: 主机Ip
19594
+ # @type HostIps: Array
19595
+ # @param SelectAll: 是否全选过滤
19596
+ # @type SelectAll: Integer
19597
+ # @param Filters: <li>ItemName - string - 是否必填:否 - 项名称</li>
19598
+ # @type Filters: Array
19599
+
19600
+ attr_accessor :RuleName, :AssetType, :RuleId, :ItemIds, :HostIds, :HostIps, :SelectAll, :Filters
19601
+
19602
+ def initialize(rulename=nil, assettype=nil, ruleid=nil, itemids=nil, hostids=nil, hostips=nil, selectall=nil, filters=nil)
19603
+ @RuleName = rulename
19604
+ @AssetType = assettype
19605
+ @RuleId = ruleid
19606
+ @ItemIds = itemids
19607
+ @HostIds = hostids
19608
+ @HostIps = hostips
19609
+ @SelectAll = selectall
19610
+ @Filters = filters
19611
+ end
19612
+
19613
+ def deserialize(params)
19614
+ @RuleName = params['RuleName']
19615
+ @AssetType = params['AssetType']
19616
+ @RuleId = params['RuleId']
19617
+ @ItemIds = params['ItemIds']
19618
+ @HostIds = params['HostIds']
19619
+ @HostIps = params['HostIps']
19620
+ @SelectAll = params['SelectAll']
19621
+ unless params['Filters'].nil?
19622
+ @Filters = []
19623
+ params['Filters'].each do |i|
19624
+ filter_tmp = Filter.new
19625
+ filter_tmp.deserialize(i)
19626
+ @Filters << filter_tmp
19627
+ end
19628
+ end
19629
+ end
19630
+ end
19631
+
19632
+ # ModifyBaselineRuleIgnore返回参数结构体
19633
+ class ModifyBaselineRuleIgnoreResponse < TencentCloud::Common::AbstractModel
19634
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
19635
+ # @type RequestId: String
19636
+
19637
+ attr_accessor :RequestId
19638
+
19639
+ def initialize(requestid=nil)
19640
+ @RequestId = requestid
19641
+ end
19642
+
19643
+ def deserialize(params)
19644
+ @RequestId = params['RequestId']
19645
+ end
19646
+ end
19647
+
19648
+ # ModifyBaselineRule请求参数结构体
19649
+ class ModifyBaselineRuleRequest < TencentCloud::Common::AbstractModel
19650
+ # @param Data: 无
19651
+ # @type Data: :class:`Tencentcloud::Cwp.v20180228.models.BaselineRule`
19652
+ # @param SelectAll: 是否过滤全选
19653
+ # @type SelectAll: Integer
19654
+ # @param Filters: <li>ItemName - string - 是否必填:否 - 项名称</li>
19655
+ # @type Filters: Array
19656
+
19657
+ attr_accessor :Data, :SelectAll, :Filters
19658
+
19659
+ def initialize(data=nil, selectall=nil, filters=nil)
19660
+ @Data = data
19661
+ @SelectAll = selectall
19662
+ @Filters = filters
19663
+ end
19664
+
19665
+ def deserialize(params)
19666
+ unless params['Data'].nil?
19667
+ @Data = BaselineRule.new
19668
+ @Data.deserialize(params['Data'])
19669
+ end
19670
+ @SelectAll = params['SelectAll']
19671
+ unless params['Filters'].nil?
19672
+ @Filters = []
19673
+ params['Filters'].each do |i|
19674
+ filter_tmp = Filter.new
19675
+ filter_tmp.deserialize(i)
19676
+ @Filters << filter_tmp
19677
+ end
19678
+ end
19679
+ end
19680
+ end
19681
+
19682
+ # ModifyBaselineRule返回参数结构体
19683
+ class ModifyBaselineRuleResponse < TencentCloud::Common::AbstractModel
19684
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
19685
+ # @type RequestId: String
19686
+
19687
+ attr_accessor :RequestId
19688
+
19689
+ def initialize(requestid=nil)
19690
+ @RequestId = requestid
19691
+ end
19692
+
19693
+ def deserialize(params)
19694
+ @RequestId = params['RequestId']
19695
+ end
19696
+ end
19697
+
19698
+ # ModifyBaselineWeakPassword请求参数结构体
19699
+ class ModifyBaselineWeakPasswordRequest < TencentCloud::Common::AbstractModel
19700
+ # @param Data: 无
19701
+ # @type Data: Array
19702
+
19703
+ attr_accessor :Data
19704
+
19705
+ def initialize(data=nil)
19706
+ @Data = data
19707
+ end
19708
+
19709
+ def deserialize(params)
19710
+ unless params['Data'].nil?
19711
+ @Data = []
19712
+ params['Data'].each do |i|
19713
+ baselineweakpassword_tmp = BaselineWeakPassword.new
19714
+ baselineweakpassword_tmp.deserialize(i)
19715
+ @Data << baselineweakpassword_tmp
19716
+ end
19717
+ end
19718
+ end
19719
+ end
19720
+
19721
+ # ModifyBaselineWeakPassword返回参数结构体
19722
+ class ModifyBaselineWeakPasswordResponse < TencentCloud::Common::AbstractModel
19723
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
19724
+ # @type RequestId: String
19725
+
19726
+ attr_accessor :RequestId
19727
+
19728
+ def initialize(requestid=nil)
19729
+ @RequestId = requestid
19730
+ end
19731
+
19732
+ def deserialize(params)
19733
+ @RequestId = params['RequestId']
19734
+ end
19735
+ end
19736
+
17668
19737
  # ModifyBruteAttackRules请求参数结构体
17669
19738
  class ModifyBruteAttackRulesRequest < TencentCloud::Common::AbstractModel
17670
19739
  # @param Rules: 暴力破解判断规则
@@ -19352,10 +21421,12 @@ module TencentCloud
19352
21421
  # @type EndTime: String
19353
21422
  # @param EnableScan: 是否开启扫描 1开启 0不开启
19354
21423
  # @type EnableScan: Integer
21424
+ # @param Uuids: 为空默认扫描全部专业版、旗舰版、普惠版主机,不为空只扫描选中主机
21425
+ # @type Uuids: Array
19355
21426
 
19356
- attr_accessor :TimerInterval, :VulCategories, :VulLevels, :TimerTime, :VulEmergency, :StartTime, :EndTime, :EnableScan
21427
+ attr_accessor :TimerInterval, :VulCategories, :VulLevels, :TimerTime, :VulEmergency, :StartTime, :EndTime, :EnableScan, :Uuids
19357
21428
 
19358
- def initialize(timerinterval=nil, vulcategories=nil, vullevels=nil, timertime=nil, vulemergency=nil, starttime=nil, endtime=nil, enablescan=nil)
21429
+ def initialize(timerinterval=nil, vulcategories=nil, vullevels=nil, timertime=nil, vulemergency=nil, starttime=nil, endtime=nil, enablescan=nil, uuids=nil)
19359
21430
  @TimerInterval = timerinterval
19360
21431
  @VulCategories = vulcategories
19361
21432
  @VulLevels = vullevels
@@ -19364,6 +21435,7 @@ module TencentCloud
19364
21435
  @StartTime = starttime
19365
21436
  @EndTime = endtime
19366
21437
  @EnableScan = enablescan
21438
+ @Uuids = uuids
19367
21439
  end
19368
21440
 
19369
21441
  def deserialize(params)
@@ -19375,6 +21447,7 @@ module TencentCloud
19375
21447
  @StartTime = params['StartTime']
19376
21448
  @EndTime = params['EndTime']
19377
21449
  @EnableScan = params['EnableScan']
21450
+ @Uuids = params['Uuids']
19378
21451
  end
19379
21452
  end
19380
21453
 
@@ -19510,6 +21583,7 @@ module TencentCloud
19510
21583
  # <li>HIGH: 高危</li>
19511
21584
  # <li>NORMAL: 中危</li>
19512
21585
  # <li>LOW: 低危</li>
21586
+ # <li>UNKNOWNED: 可疑</li>
19513
21587
  # @type SecurityLevel: String
19514
21588
 
19515
21589
  attr_accessor :Uuid, :EventTime, :EventType, :Message, :SecurityLevel