tencentcloud-sdk-cwp 3.0.684 → 3.0.686

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180228/models.rb +73 -9
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6a4b423454e47047eacecb73e2ee588a644c301
4
- data.tar.gz: 468458d27b511b097528664a5fa022853336b551
3
+ metadata.gz: 64976fee34ea5a71bb5d8646774d8046605cfa4d
4
+ data.tar.gz: a262b07956635c699944fe6d3522d7403a931f2a
5
5
  SHA512:
6
- metadata.gz: f90aa1d471605ab52bb260668cf2dde5fdbde2e7ac5ba41596b25b1215ed6777b0dd5d8792cfd5be54ce35efef0b9db2c445fa0d4eafd3a08c9bcb8811d1068a
7
- data.tar.gz: 6f6a4d12c30532316cdc02354e497c7a01f5236e098361c0dce9ba44b73cda18c97316f8d4f204499aaa6f2326d8ed41d708256356be3ba02b950224bbee9264
6
+ metadata.gz: 5eb848a82fc9952b2b3c3b99c42960bb3f1abf6d0bb36521f6aa5e35a77cb45ec88795e76b6df5da306fa37bc2fdc766342840a89ea593c9eec88629a901fa54
7
+ data.tar.gz: 8768bf6ffe7597177626604723f3319d3dec54f9cf838ed21b7583a7a995138f6ff9e11df68873cc83566829321e7dcf8ce0f3a4a39a74d6704cf821759f455c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.684
1
+ 3.0.686
@@ -4903,10 +4903,13 @@ module TencentCloud
4903
4903
  # @param Location: 地理位置中文名
4904
4904
  # 注意:此字段可能返回 null,表示取不到有效值。
4905
4905
  # @type Location: String
4906
+ # @param RiskLevel: 威胁等级:0低危,1中危,2高危
4907
+ # 注意:此字段可能返回 null,表示取不到有效值。
4908
+ # @type RiskLevel: Integer
4906
4909
 
4907
- attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :CreateTime, :BanStatus, :EventType, :Count, :Quuid, :IsProVersion, :Protocol, :Port, :ModifyTime, :InstanceId, :DataStatus, :MachineExtraInfo, :Location
4910
+ attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :CreateTime, :BanStatus, :EventType, :Count, :Quuid, :IsProVersion, :Protocol, :Port, :ModifyTime, :InstanceId, :DataStatus, :MachineExtraInfo, :Location, :RiskLevel
4908
4911
 
4909
- def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, createtime=nil, banstatus=nil, eventtype=nil, count=nil, quuid=nil, isproversion=nil, protocol=nil, port=nil, modifytime=nil, instanceid=nil, datastatus=nil, machineextrainfo=nil, location=nil)
4912
+ def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, createtime=nil, banstatus=nil, eventtype=nil, count=nil, quuid=nil, isproversion=nil, protocol=nil, port=nil, modifytime=nil, instanceid=nil, datastatus=nil, machineextrainfo=nil, location=nil, risklevel=nil)
4910
4913
  @Id = id
4911
4914
  @Uuid = uuid
4912
4915
  @MachineIp = machineip
@@ -4930,6 +4933,7 @@ module TencentCloud
4930
4933
  @DataStatus = datastatus
4931
4934
  @MachineExtraInfo = machineextrainfo
4932
4935
  @Location = location
4936
+ @RiskLevel = risklevel
4933
4937
  end
4934
4938
 
4935
4939
  def deserialize(params)
@@ -4959,6 +4963,7 @@ module TencentCloud
4959
4963
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
4960
4964
  end
4961
4965
  @Location = params['Location']
4966
+ @RiskLevel = params['RiskLevel']
4962
4967
  end
4963
4968
  end
4964
4969
 
@@ -6407,16 +6412,21 @@ module TencentCloud
6407
6412
 
6408
6413
  # CreateScanMalwareSetting返回参数结构体
6409
6414
  class CreateScanMalwareSettingResponse < TencentCloud::Common::AbstractModel
6415
+ # @param TaskId: 任务id
6416
+ # 注意:此字段可能返回 null,表示取不到有效值。
6417
+ # @type TaskId: Integer
6410
6418
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6411
6419
  # @type RequestId: String
6412
6420
 
6413
- attr_accessor :RequestId
6421
+ attr_accessor :TaskId, :RequestId
6414
6422
 
6415
- def initialize(requestid=nil)
6423
+ def initialize(taskid=nil, requestid=nil)
6424
+ @TaskId = taskid
6416
6425
  @RequestId = requestid
6417
6426
  end
6418
6427
 
6419
6428
  def deserialize(params)
6429
+ @TaskId = params['TaskId']
6420
6430
  @RequestId = params['RequestId']
6421
6431
  end
6422
6432
  end
@@ -17185,16 +17195,37 @@ module TencentCloud
17185
17195
 
17186
17196
  # DescribeLicenseWhiteConfig返回参数结构体
17187
17197
  class DescribeLicenseWhiteConfigResponse < TencentCloud::Common::AbstractModel
17198
+ # @param FlagShip: 旗舰版 配置信息
17199
+ # @type FlagShip: :class:`Tencentcloud::Cwp.v20180228.models.VersionWhiteConfig`
17200
+ # @param Professional: 专业版 配置信息
17201
+ # @type Professional: :class:`Tencentcloud::Cwp.v20180228.models.VersionWhiteConfig`
17202
+ # @param PrattWhitney: 普惠版 配置信息
17203
+ # @type PrattWhitney: :class:`Tencentcloud::Cwp.v20180228.models.VersionWhiteConfig`
17188
17204
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17189
17205
  # @type RequestId: String
17190
17206
 
17191
- attr_accessor :RequestId
17207
+ attr_accessor :FlagShip, :Professional, :PrattWhitney, :RequestId
17192
17208
 
17193
- def initialize(requestid=nil)
17209
+ def initialize(flagship=nil, professional=nil, prattwhitney=nil, requestid=nil)
17210
+ @FlagShip = flagship
17211
+ @Professional = professional
17212
+ @PrattWhitney = prattwhitney
17194
17213
  @RequestId = requestid
17195
17214
  end
17196
17215
 
17197
17216
  def deserialize(params)
17217
+ unless params['FlagShip'].nil?
17218
+ @FlagShip = VersionWhiteConfig.new
17219
+ @FlagShip.deserialize(params['FlagShip'])
17220
+ end
17221
+ unless params['Professional'].nil?
17222
+ @Professional = VersionWhiteConfig.new
17223
+ @Professional.deserialize(params['Professional'])
17224
+ end
17225
+ unless params['PrattWhitney'].nil?
17226
+ @PrattWhitney = VersionWhiteConfig.new
17227
+ @PrattWhitney.deserialize(params['PrattWhitney'])
17228
+ end
17198
17229
  @RequestId = params['RequestId']
17199
17230
  end
17200
17231
  end
@@ -37713,7 +37744,7 @@ module TencentCloud
37713
37744
  # @type MachineName: String
37714
37745
  # @param ProcTree: 进程树
37715
37746
  # @type ProcTree: String
37716
- # @param DetectBy: 检测方法
37747
+ # @param DetectBy: 检测方法: 0行为分析; 1命令特征检测
37717
37748
  # @type DetectBy: Integer
37718
37749
  # @param MachineExtraInfo: 主机额外信息
37719
37750
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -37721,10 +37752,13 @@ module TencentCloud
37721
37752
  # @param Pid: 进程id
37722
37753
  # 注意:此字段可能返回 null,表示取不到有效值。
37723
37754
  # @type Pid: Integer
37755
+ # @param RiskLevel: 威胁等级:0中危,1高危
37756
+ # 注意:此字段可能返回 null,表示取不到有效值。
37757
+ # @type RiskLevel: Integer
37724
37758
 
37725
- attr_accessor :Id, :Uuid, :Quuid, :Hostip, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :ProcTree, :DetectBy, :MachineExtraInfo, :Pid
37759
+ attr_accessor :Id, :Uuid, :Quuid, :Hostip, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :ProcTree, :DetectBy, :MachineExtraInfo, :Pid, :RiskLevel
37726
37760
 
37727
- def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, proctree=nil, detectby=nil, machineextrainfo=nil, pid=nil)
37761
+ def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, proctree=nil, detectby=nil, machineextrainfo=nil, pid=nil, risklevel=nil)
37728
37762
  @Id = id
37729
37763
  @Uuid = uuid
37730
37764
  @Quuid = quuid
@@ -37747,6 +37781,7 @@ module TencentCloud
37747
37781
  @DetectBy = detectby
37748
37782
  @MachineExtraInfo = machineextrainfo
37749
37783
  @Pid = pid
37784
+ @RiskLevel = risklevel
37750
37785
  end
37751
37786
 
37752
37787
  def deserialize(params)
@@ -37775,6 +37810,7 @@ module TencentCloud
37775
37810
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
37776
37811
  end
37777
37812
  @Pid = params['Pid']
37813
+ @RiskLevel = params['RiskLevel']
37778
37814
  end
37779
37815
  end
37780
37816
 
@@ -40583,6 +40619,34 @@ module TencentCloud
40583
40619
  end
40584
40620
  end
40585
40621
 
40622
+ # 授权版本白名单配置信息
40623
+ class VersionWhiteConfig < TencentCloud::Common::AbstractModel
40624
+ # @param Deadline: 到期天数
40625
+ # @type Deadline: Integer
40626
+ # @param LicenseNum: 授权数量
40627
+ # @type LicenseNum: Integer
40628
+ # @param IsApplyFor: 是否可申请
40629
+ # @type IsApplyFor: Boolean
40630
+ # @param SourceType: 类型
40631
+ # @type SourceType: Integer
40632
+
40633
+ attr_accessor :Deadline, :LicenseNum, :IsApplyFor, :SourceType
40634
+
40635
+ def initialize(deadline=nil, licensenum=nil, isapplyfor=nil, sourcetype=nil)
40636
+ @Deadline = deadline
40637
+ @LicenseNum = licensenum
40638
+ @IsApplyFor = isapplyfor
40639
+ @SourceType = sourcetype
40640
+ end
40641
+
40642
+ def deserialize(params)
40643
+ @Deadline = params['Deadline']
40644
+ @LicenseNum = params['LicenseNum']
40645
+ @IsApplyFor = params['IsApplyFor']
40646
+ @SourceType = params['SourceType']
40647
+ end
40648
+ end
40649
+
40586
40650
  # 点详细信息
40587
40651
  class VertexDetail < TencentCloud::Common::AbstractModel
40588
40652
  # @param Type: 该节点类型,进程:1;网络:2;文件:3;ssh:4
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.684
4
+ version: 3.0.686
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-10-25 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-cwp.rb
36
37
  - lib/v20180228/client.rb
37
38
  - lib/v20180228/models.rb
38
- - lib/tencentcloud-sdk-cwp.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: