tencentcloud-sdk-cwp 3.0.546 → 3.0.548

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6a862959b6c7c3ef82eed0b8583b5a05b4fee3b
4
- data.tar.gz: ffd1ad1814ebe386efe08da313cf21248da9f54b
3
+ metadata.gz: af7c0578d3f94becfa0419500507c14903b82583
4
+ data.tar.gz: bdc95238bd2ab72f2b5e42f8df7a818c53a22449
5
5
  SHA512:
6
- metadata.gz: 2f98842830211c540939daa5615414242edbd4c56fc1640d2b6dabc4bf4260641d62c20c4776659c1672c52e493973a5b549e2229fc29b68e93d9465c6e9cb90
7
- data.tar.gz: 7f8c595e7aaba304d9be6c83f242ae5843700f1a90775700fdd30c4d64977d2a4aaa11ccbab37c10c050dfd9edec398a6677521b64674101c54c1edd95497076
6
+ metadata.gz: 6b9c62adc7fe5ed1cdba63304c3e2f452b18966bbe9de2b0f6c427814f0ad699ec76f30bb050188e54c0c0e254d02fd34a6fff405146d9d0cd75c8abd8b1d156
7
+ data.tar.gz: fdf5b09e09c5802f1b0ef69852c18255495721ec1a0eee292dd1efab5f9b4ca0a4cb0c4320c521bf116ef8002d7ec4017e0d4d55590f531e02759f96fb1cc919
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.546
1
+ 3.0.548
@@ -536,7 +536,7 @@ module TencentCloud
536
536
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
537
537
  end
538
538
 
539
- # 本接口(DeleteMachine)用于卸载云镜客户端。
539
+ # 本接口(DeleteMachine)用于卸载主机安全客户端。
540
540
 
541
541
  # @param request: Request instance for DeleteMachine.
542
542
  # @type request: :class:`Tencentcloud::cwp::V20180228::DeleteMachineRequest`
@@ -2888,6 +2888,30 @@ module TencentCloud
2888
2888
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2889
2889
  end
2890
2890
 
2891
+ # 核心文件监控事件列表
2892
+
2893
+ # @param request: Request instance for DescribeFileTamperEvents.
2894
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeFileTamperEventsRequest`
2895
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeFileTamperEventsResponse`
2896
+ def DescribeFileTamperEvents(request)
2897
+ body = send_request('DescribeFileTamperEvents', request.serialize)
2898
+ response = JSON.parse(body)
2899
+ if response['Response'].key?('Error') == false
2900
+ model = DescribeFileTamperEventsResponse.new
2901
+ model.deserialize(response['Response'])
2902
+ model
2903
+ else
2904
+ code = response['Response']['Error']['Code']
2905
+ message = response['Response']['Error']['Message']
2906
+ reqid = response['Response']['RequestId']
2907
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2908
+ end
2909
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2910
+ raise e
2911
+ rescue StandardError => e
2912
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2913
+ end
2914
+
2891
2915
  # 获取主机相关统计
2892
2916
 
2893
2917
  # @param request: Request instance for DescribeGeneralStat.
@@ -3700,7 +3700,7 @@ module TencentCloud
3700
3700
  class BashEvent < TencentCloud::Common::AbstractModel
3701
3701
  # @param Id: 数据ID
3702
3702
  # @type Id: Integer
3703
- # @param Uuid: 云镜ID
3703
+ # @param Uuid: 主机安全ID
3704
3704
  # @type Uuid: String
3705
3705
  # @param Quuid: 主机ID
3706
3706
  # @type Quuid: String
@@ -3794,7 +3794,7 @@ module TencentCloud
3794
3794
  class BashEventNew < TencentCloud::Common::AbstractModel
3795
3795
  # @param Id: 数据ID
3796
3796
  # @type Id: Integer
3797
- # @param Uuid: 云镜ID
3797
+ # @param Uuid: 主机安全ID
3798
3798
  # @type Uuid: String
3799
3799
  # @param Quuid: 主机ID
3800
3800
  # @type Quuid: String
@@ -3901,7 +3901,7 @@ module TencentCloud
3901
3901
  class BashEventsInfoNew < TencentCloud::Common::AbstractModel
3902
3902
  # @param Id: 数据ID
3903
3903
  # @type Id: Integer
3904
- # @param Uuid: 云镜ID
3904
+ # @param Uuid: 主机安全ID
3905
3905
  # @type Uuid: String
3906
3906
  # @param Quuid: 主机ID
3907
3907
  # @type Quuid: String
@@ -4111,7 +4111,7 @@ module TencentCloud
4111
4111
  class BruteAttackInfo < TencentCloud::Common::AbstractModel
4112
4112
  # @param Id: 唯一Id
4113
4113
  # @type Id: Integer
4114
- # @param Uuid: 云镜客户端唯一标识UUID
4114
+ # @param Uuid: 主机安全客户端唯一标识UUID
4115
4115
  # 注意:此字段可能返回 null,表示取不到有效值。
4116
4116
  # @type Uuid: String
4117
4117
  # @param MachineIp: 主机ip
@@ -5259,7 +5259,7 @@ module TencentCloud
5259
5259
 
5260
5260
  # DeleteMachine请求参数结构体
5261
5261
  class DeleteMachineRequest < TencentCloud::Common::AbstractModel
5262
- # @param Uuid: 云镜客户端Uuid。
5262
+ # @param Uuid: 主机安全客户端Uuid。
5263
5263
  # @type Uuid: String
5264
5264
 
5265
5265
  attr_accessor :Uuid
@@ -11288,6 +11288,81 @@ module TencentCloud
11288
11288
  end
11289
11289
  end
11290
11290
 
11291
+ # DescribeFileTamperEvents请求参数结构体
11292
+ class DescribeFileTamperEventsRequest < TencentCloud::Common::AbstractModel
11293
+ # @param Filters: 过滤条件。
11294
+ # <li>Status - String - 是否必填:否 - 处理状态 0 -- 待处理 1 -- 已加白 2 -- 已删除 3 - 已忽略</li>
11295
+ # <li>ModifyTime - String - 是否必填:否 - 最近发生时间</li>
11296
+ # <li>Uuid- String - 是否必填:否 - 主机uuid查询</li>
11297
+ # <li>RuleCategory- string - 是否必填:否 - 规则类别 0 系统规则 1 自定义规则</li>
11298
+ # @type Filters: Array
11299
+ # @param Offset: 偏移量,默认为0。
11300
+ # @type Offset: Integer
11301
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
11302
+ # @type Limit: Integer
11303
+ # @param Order: 排序方式 ASC,DESC
11304
+ # @type Order: String
11305
+ # @param By: 排序字段 CreateTime、ModifyTime
11306
+ # @type By: String
11307
+
11308
+ attr_accessor :Filters, :Offset, :Limit, :Order, :By
11309
+
11310
+ def initialize(filters=nil, offset=nil, limit=nil, order=nil, by=nil)
11311
+ @Filters = filters
11312
+ @Offset = offset
11313
+ @Limit = limit
11314
+ @Order = order
11315
+ @By = by
11316
+ end
11317
+
11318
+ def deserialize(params)
11319
+ unless params['Filters'].nil?
11320
+ @Filters = []
11321
+ params['Filters'].each do |i|
11322
+ filters_tmp = Filters.new
11323
+ filters_tmp.deserialize(i)
11324
+ @Filters << filters_tmp
11325
+ end
11326
+ end
11327
+ @Offset = params['Offset']
11328
+ @Limit = params['Limit']
11329
+ @Order = params['Order']
11330
+ @By = params['By']
11331
+ end
11332
+ end
11333
+
11334
+ # DescribeFileTamperEvents返回参数结构体
11335
+ class DescribeFileTamperEventsResponse < TencentCloud::Common::AbstractModel
11336
+ # @param List: 核心文件事件列表
11337
+ # 注意:此字段可能返回 null,表示取不到有效值。
11338
+ # @type List: Array
11339
+ # @param TotalCount: 数据总条数
11340
+ # @type TotalCount: Integer
11341
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11342
+ # @type RequestId: String
11343
+
11344
+ attr_accessor :List, :TotalCount, :RequestId
11345
+
11346
+ def initialize(list=nil, totalcount=nil, requestid=nil)
11347
+ @List = list
11348
+ @TotalCount = totalcount
11349
+ @RequestId = requestid
11350
+ end
11351
+
11352
+ def deserialize(params)
11353
+ unless params['List'].nil?
11354
+ @List = []
11355
+ params['List'].each do |i|
11356
+ filetamperevent_tmp = FileTamperEvent.new
11357
+ filetamperevent_tmp.deserialize(i)
11358
+ @List << filetamperevent_tmp
11359
+ end
11360
+ end
11361
+ @TotalCount = params['TotalCount']
11362
+ @RequestId = params['RequestId']
11363
+ end
11364
+ end
11365
+
11291
11366
  # DescribeGeneralStat请求参数结构体
11292
11367
  class DescribeGeneralStatRequest < TencentCloud::Common::AbstractModel
11293
11368
  # @param MachineType: 云主机类型。
@@ -12438,7 +12513,7 @@ module TencentCloud
12438
12513
 
12439
12514
  # DescribeMachineInfo请求参数结构体
12440
12515
  class DescribeMachineInfoRequest < TencentCloud::Common::AbstractModel
12441
- # @param Uuid: 云镜客户端唯一Uuid。
12516
+ # @param Uuid: 主机安全客户端唯一Uuid。
12442
12517
  # @type Uuid: String
12443
12518
  # @param Quuid: Quuid , Uuid 必填一项
12444
12519
  # @type Quuid: String
@@ -12460,7 +12535,7 @@ module TencentCloud
12460
12535
  class DescribeMachineInfoResponse < TencentCloud::Common::AbstractModel
12461
12536
  # @param MachineIp: 机器ip。
12462
12537
  # @type MachineIp: String
12463
- # @param ProtectDays: 受云镜保护天数。
12538
+ # @param ProtectDays: 受主机安全保护天数。
12464
12539
  # @type ProtectDays: Integer
12465
12540
  # @param MachineOs: 操作系统。
12466
12541
  # @type MachineOs: String
@@ -12476,7 +12551,7 @@ module TencentCloud
12476
12551
  # @type MachineWanIp: String
12477
12552
  # @param Quuid: CVM或BM主机唯一Uuid。
12478
12553
  # @type Quuid: String
12479
- # @param Uuid: 云镜客户端唯一Uuid。
12554
+ # @param Uuid: 主机安全客户端唯一Uuid。
12480
12555
  # @type Uuid: String
12481
12556
  # @param IsProVersion: 是否开通专业版。
12482
12557
  # <li>true:是</li>
@@ -12507,7 +12582,7 @@ module TencentCloud
12507
12582
  # @type ProVersionDeadline: String
12508
12583
  # @param HasAssetScan: 是否有资产扫描记录,0无,1有
12509
12584
  # @type HasAssetScan: Integer
12510
- # @param ProtectType: 防护版本 BASIC_VERSION 基础版, PRO_VERSION 专业版 Flagship 旗舰版.
12585
+ # @param ProtectType: 防护版本:BASIC_VERSION 基础版,PRO_VERSION 专业版,Flagship 旗舰版,GENERAL_DISCOUNT 普惠版
12511
12586
  # @type ProtectType: String
12512
12587
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12513
12588
  # @type RequestId: String
@@ -15676,7 +15751,7 @@ module TencentCloud
15676
15751
 
15677
15752
  # DescribeUsualLoginPlaces请求参数结构体
15678
15753
  class DescribeUsualLoginPlacesRequest < TencentCloud::Common::AbstractModel
15679
- # @param Uuid: 云镜客户端UUID
15754
+ # @param Uuid: 主机安全客户端UUID
15680
15755
  # @type Uuid: String
15681
15756
 
15682
15757
  attr_accessor :Uuid
@@ -18584,6 +18659,173 @@ module TencentCloud
18584
18659
  end
18585
18660
  end
18586
18661
 
18662
+ # 核心文件监控事件
18663
+ class FileTamperEvent < TencentCloud::Common::AbstractModel
18664
+ # @param HostName: 机器名称
18665
+ # @type HostName: String
18666
+ # @param HostIp: 机器IP
18667
+ # @type HostIp: String
18668
+ # @param CreateTime: 发生时间
18669
+ # @type CreateTime: String
18670
+ # @param ModifyTime: 最近发生时间
18671
+ # @type ModifyTime: String
18672
+ # @param Id: 事件id
18673
+ # @type Id: Integer
18674
+ # @param Uuid: 主机uuid
18675
+ # @type Uuid: String
18676
+ # @param Quuid: cvm id
18677
+ # @type Quuid: String
18678
+ # @param Type: 事件类型/动作 0 -- 告警
18679
+ # @type Type: Integer
18680
+ # @param ProcessExe: 进程路径
18681
+ # @type ProcessExe: String
18682
+ # @param ProcessArgv: 进程参数
18683
+ # @type ProcessArgv: String
18684
+ # @param Target: 目标文件路径
18685
+ # @type Target: String
18686
+ # @param Status: 处理状态 0 -- 待处理 1 -- 已加白 2 -- 已删除 3 - 已忽略 4-已手动处理
18687
+ # @type Status: Integer
18688
+ # @param EventCount: 事件产生次数
18689
+ # @type EventCount: Integer
18690
+ # @param RuleId: 规则id
18691
+ # @type RuleId: Integer
18692
+ # @param RuleName: 规则名称
18693
+ # @type RuleName: String
18694
+ # @param Pstree: 事件详情: json格式
18695
+ # @type Pstree: String
18696
+ # @param RuleCategory: 规则类型 0系统规则 1自定义规则
18697
+ # @type RuleCategory: Integer
18698
+ # @param MachineStatus: 主机在线信息 ONLINE、OFFLINE
18699
+ # @type MachineStatus: String
18700
+ # @param Description: 危害描述
18701
+ # @type Description: String
18702
+ # @param Suggestion: 修护建议
18703
+ # @type Suggestion: String
18704
+ # @param PrivateIp: 内网ip
18705
+ # @type PrivateIp: String
18706
+ # @param ExePermission: 进程权限
18707
+ # @type ExePermission: String
18708
+ # @param UserName: 用户名
18709
+ # @type UserName: String
18710
+ # @param UserGroup: 用户组
18711
+ # @type UserGroup: String
18712
+ # @param ExeMd5: 进程名
18713
+ # @type ExeMd5: String
18714
+ # @param ExeSize: 进程文件大小
18715
+ # @type ExeSize: Integer
18716
+ # @param ExeTime: 进程执行时长
18717
+ # @type ExeTime: Integer
18718
+ # @param TargetSize: 目标文件大小
18719
+ # @type TargetSize: Integer
18720
+ # @param TargetPermission: 目标文件权限
18721
+ # @type TargetPermission: String
18722
+ # @param TargetModifyTime: 目标文件更新时间
18723
+ # 注意:此字段可能返回 null,表示取不到有效值。
18724
+ # @type TargetModifyTime: String
18725
+ # @param TargetCreatTime: 目标文件创建时间
18726
+ # 注意:此字段可能返回 null,表示取不到有效值。
18727
+ # @type TargetCreatTime: String
18728
+ # @param ExePid: 进程pid
18729
+ # @type ExePid: Integer
18730
+ # @param TargetName: 文件名称
18731
+ # @type TargetName: String
18732
+ # @param Reference: 参考链接
18733
+ # @type Reference: String
18734
+ # @param Level: 风险等级 0:无, 1: 高危, 2:中危, 3: 低危
18735
+ # @type Level: Integer
18736
+ # @param ExeName: 进程名称
18737
+ # 注意:此字段可能返回 null,表示取不到有效值。
18738
+ # @type ExeName: String
18739
+ # @param MachineExtraInfo: 主机额外信息
18740
+ # 注意:此字段可能返回 null,表示取不到有效值。
18741
+ # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
18742
+
18743
+ attr_accessor :HostName, :HostIp, :CreateTime, :ModifyTime, :Id, :Uuid, :Quuid, :Type, :ProcessExe, :ProcessArgv, :Target, :Status, :EventCount, :RuleId, :RuleName, :Pstree, :RuleCategory, :MachineStatus, :Description, :Suggestion, :PrivateIp, :ExePermission, :UserName, :UserGroup, :ExeMd5, :ExeSize, :ExeTime, :TargetSize, :TargetPermission, :TargetModifyTime, :TargetCreatTime, :ExePid, :TargetName, :Reference, :Level, :ExeName, :MachineExtraInfo
18744
+
18745
+ def initialize(hostname=nil, hostip=nil, createtime=nil, modifytime=nil, id=nil, uuid=nil, quuid=nil, type=nil, processexe=nil, processargv=nil, target=nil, status=nil, eventcount=nil, ruleid=nil, rulename=nil, pstree=nil, rulecategory=nil, machinestatus=nil, description=nil, suggestion=nil, privateip=nil, exepermission=nil, username=nil, usergroup=nil, exemd5=nil, exesize=nil, exetime=nil, targetsize=nil, targetpermission=nil, targetmodifytime=nil, targetcreattime=nil, exepid=nil, targetname=nil, reference=nil, level=nil, exename=nil, machineextrainfo=nil)
18746
+ @HostName = hostname
18747
+ @HostIp = hostip
18748
+ @CreateTime = createtime
18749
+ @ModifyTime = modifytime
18750
+ @Id = id
18751
+ @Uuid = uuid
18752
+ @Quuid = quuid
18753
+ @Type = type
18754
+ @ProcessExe = processexe
18755
+ @ProcessArgv = processargv
18756
+ @Target = target
18757
+ @Status = status
18758
+ @EventCount = eventcount
18759
+ @RuleId = ruleid
18760
+ @RuleName = rulename
18761
+ @Pstree = pstree
18762
+ @RuleCategory = rulecategory
18763
+ @MachineStatus = machinestatus
18764
+ @Description = description
18765
+ @Suggestion = suggestion
18766
+ @PrivateIp = privateip
18767
+ @ExePermission = exepermission
18768
+ @UserName = username
18769
+ @UserGroup = usergroup
18770
+ @ExeMd5 = exemd5
18771
+ @ExeSize = exesize
18772
+ @ExeTime = exetime
18773
+ @TargetSize = targetsize
18774
+ @TargetPermission = targetpermission
18775
+ @TargetModifyTime = targetmodifytime
18776
+ @TargetCreatTime = targetcreattime
18777
+ @ExePid = exepid
18778
+ @TargetName = targetname
18779
+ @Reference = reference
18780
+ @Level = level
18781
+ @ExeName = exename
18782
+ @MachineExtraInfo = machineextrainfo
18783
+ end
18784
+
18785
+ def deserialize(params)
18786
+ @HostName = params['HostName']
18787
+ @HostIp = params['HostIp']
18788
+ @CreateTime = params['CreateTime']
18789
+ @ModifyTime = params['ModifyTime']
18790
+ @Id = params['Id']
18791
+ @Uuid = params['Uuid']
18792
+ @Quuid = params['Quuid']
18793
+ @Type = params['Type']
18794
+ @ProcessExe = params['ProcessExe']
18795
+ @ProcessArgv = params['ProcessArgv']
18796
+ @Target = params['Target']
18797
+ @Status = params['Status']
18798
+ @EventCount = params['EventCount']
18799
+ @RuleId = params['RuleId']
18800
+ @RuleName = params['RuleName']
18801
+ @Pstree = params['Pstree']
18802
+ @RuleCategory = params['RuleCategory']
18803
+ @MachineStatus = params['MachineStatus']
18804
+ @Description = params['Description']
18805
+ @Suggestion = params['Suggestion']
18806
+ @PrivateIp = params['PrivateIp']
18807
+ @ExePermission = params['ExePermission']
18808
+ @UserName = params['UserName']
18809
+ @UserGroup = params['UserGroup']
18810
+ @ExeMd5 = params['ExeMd5']
18811
+ @ExeSize = params['ExeSize']
18812
+ @ExeTime = params['ExeTime']
18813
+ @TargetSize = params['TargetSize']
18814
+ @TargetPermission = params['TargetPermission']
18815
+ @TargetModifyTime = params['TargetModifyTime']
18816
+ @TargetCreatTime = params['TargetCreatTime']
18817
+ @ExePid = params['ExePid']
18818
+ @TargetName = params['TargetName']
18819
+ @Reference = params['Reference']
18820
+ @Level = params['Level']
18821
+ @ExeName = params['ExeName']
18822
+ unless params['MachineExtraInfo'].nil?
18823
+ @MachineExtraInfo = MachineExtraInfo.new
18824
+ @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
18825
+ end
18826
+ end
18827
+ end
18828
+
18587
18829
  # 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
18588
18830
 
18589
18831
  # 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
@@ -18685,7 +18927,7 @@ module TencentCloud
18685
18927
  class HistoryAccount < TencentCloud::Common::AbstractModel
18686
18928
  # @param Id: 唯一ID。
18687
18929
  # @type Id: Integer
18688
- # @param Uuid: 云镜客户端唯一Uuid。
18930
+ # @param Uuid: 主机安全客户端唯一Uuid。
18689
18931
  # @type Uuid: String
18690
18932
  # @param MachineIp: 主机内网IP。
18691
18933
  # @type MachineIp: String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.546
4
+ version: 3.0.548
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-07 00:00:00.000000000 Z
11
+ date: 2023-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common