tencentcloud-sdk-cwp 3.0.546 → 3.0.547

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: e9efda1b2a89ebe0a7aa67258819ee7b44dc819b
4
+ data.tar.gz: dacf6dcc32b1bc9c5a69a5795ef43e07e776efca
5
5
  SHA512:
6
- metadata.gz: 2f98842830211c540939daa5615414242edbd4c56fc1640d2b6dabc4bf4260641d62c20c4776659c1672c52e493973a5b549e2229fc29b68e93d9465c6e9cb90
7
- data.tar.gz: 7f8c595e7aaba304d9be6c83f242ae5843700f1a90775700fdd30c4d64977d2a4aaa11ccbab37c10c050dfd9edec398a6677521b64674101c54c1edd95497076
6
+ metadata.gz: 22ceebdc08f694942575f18efa037b7317daa45aeb8989a9a4de28a9c187a993d4bd014040e0d3a55814c58c5d875bef30c23b26c4a11b932b07385e8b5d6377
7
+ data.tar.gz: 01fc854d46e1aa5524215c552dde5d3a3c21c74356c20706da8bf7863142fad90165850048906f5b31e5771b270764a2f289fd3b5b30631c97221632bdae8259
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.546
1
+ 3.0.547
@@ -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.
@@ -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: 云主机类型。
@@ -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)关系。
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.547
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-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common