tencentcloud-sdk-cwp 3.0.787 → 3.0.789

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180228/models.rb +43 -10
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78377386ef18d114beca0134a532659205e7b4d3
4
- data.tar.gz: 923b8cc1bfcb3fa7233b186926c78a82d15af9d4
3
+ metadata.gz: ff57c371cd5651a4dd22ee3e279181b2f18fefb4
4
+ data.tar.gz: bd1d787db30ab3f5e158fcbbd39cc8f485d10d9a
5
5
  SHA512:
6
- metadata.gz: cecbe0287099d4e7396d31c79874bc1fed7da632dcd1d3f7174f6100a6c5ebac7a8c57d1a026994e0e6a56553067edd921d0a7f756f9f0cc1f980cb0bc51233c
7
- data.tar.gz: 9bd200cee699e0e1fee05d91ce19790b1395a1aa59e43d390f000fbb30a7e1c196dc4fd3628451f2007152562dbca38c790d9600f04b5ce755b4b0fdc7e58c07
6
+ metadata.gz: 028d858d93631129ea4253b7893d45f76bcb8abf360d7f9161da1b2877f54457cc98d359c22c18816947437febe1a70f85248f969c68fb02d7b4147bc6fa1570
7
+ data.tar.gz: 9974b25545543d6e213cd1a738a4db51d545da0680cec1610379d00bc92fea9e04d6a625df864c53259b41ba4fff7cdefba67c998c1e18cc81c26ffcdfb9b4da
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.787
1
+ 3.0.789
@@ -1201,10 +1201,13 @@ module TencentCloud
1201
1201
  # @param MachineExtraInfo: 附加信息
1202
1202
  # 注意:此字段可能返回 null,表示取不到有效值。
1203
1203
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
1204
+ # @param CpuLoadNum: cpu负载读数(仅linux系统有效)
1205
+ # 注意:此字段可能返回 null,表示取不到有效值。
1206
+ # @type CpuLoadNum: String
1204
1207
 
1205
- attr_accessor :Quuid, :Uuid, :MachineIp, :MachineName, :OsInfo, :Cpu, :MemSize, :MemLoad, :DiskSize, :DiskLoad, :PartitionCount, :MachineWanIp, :ProjectId, :CpuSize, :CpuLoad, :Tag, :UpdateTime, :IsNew, :FirstTime, :MachineExtraInfo
1208
+ attr_accessor :Quuid, :Uuid, :MachineIp, :MachineName, :OsInfo, :Cpu, :MemSize, :MemLoad, :DiskSize, :DiskLoad, :PartitionCount, :MachineWanIp, :ProjectId, :CpuSize, :CpuLoad, :Tag, :UpdateTime, :IsNew, :FirstTime, :MachineExtraInfo, :CpuLoadNum
1206
1209
 
1207
- def initialize(quuid=nil, uuid=nil, machineip=nil, machinename=nil, osinfo=nil, cpu=nil, memsize=nil, memload=nil, disksize=nil, diskload=nil, partitioncount=nil, machinewanip=nil, projectid=nil, cpusize=nil, cpuload=nil, tag=nil, updatetime=nil, isnew=nil, firsttime=nil, machineextrainfo=nil)
1210
+ def initialize(quuid=nil, uuid=nil, machineip=nil, machinename=nil, osinfo=nil, cpu=nil, memsize=nil, memload=nil, disksize=nil, diskload=nil, partitioncount=nil, machinewanip=nil, projectid=nil, cpusize=nil, cpuload=nil, tag=nil, updatetime=nil, isnew=nil, firsttime=nil, machineextrainfo=nil, cpuloadnum=nil)
1208
1211
  @Quuid = quuid
1209
1212
  @Uuid = uuid
1210
1213
  @MachineIp = machineip
@@ -1225,6 +1228,7 @@ module TencentCloud
1225
1228
  @IsNew = isnew
1226
1229
  @FirstTime = firsttime
1227
1230
  @MachineExtraInfo = machineextrainfo
1231
+ @CpuLoadNum = cpuloadnum
1228
1232
  end
1229
1233
 
1230
1234
  def deserialize(params)
@@ -1258,6 +1262,7 @@ module TencentCloud
1258
1262
  @MachineExtraInfo = MachineExtraInfo.new
1259
1263
  @MachineExtraInfo.deserialize(params['MachineExtraInfo'])
1260
1264
  end
1265
+ @CpuLoadNum = params['CpuLoadNum']
1261
1266
  end
1262
1267
  end
1263
1268
 
@@ -4867,7 +4872,17 @@ module TencentCloud
4867
4872
  # @param CreateTime: 创建时间
4868
4873
  # 注意:此字段可能返回 null,表示取不到有效值。
4869
4874
  # @type CreateTime: String
4870
- # @param BanStatus: 阻断状态:1-阻断成功;非1-阻断失败
4875
+ # @param BanStatus: 0 -不阻断(客户端版本不支持)
4876
+ # 1 -已阻断
4877
+ # 2 -阻断失败(程序异常)
4878
+ # 3 -不阻断(内网不阻断)
4879
+ # 4 -可用区不支持阻断
4880
+ # 10-阻断中
4881
+ # 81-不阻断(未开启阻断)
4882
+ # 82-不阻断(非专业版)
4883
+ # 83-不阻断(已加白名单)
4884
+ # 86-不阻断(系统白名单)
4885
+ # 87-不阻断(客户端离线)
4871
4886
  # 注意:此字段可能返回 null,表示取不到有效值。
4872
4887
  # @type BanStatus: Integer
4873
4888
  # @param EventType: 事件类型:200-暴力破解事件,300-暴力破解成功事件(页面展示),400-暴力破解不存在的帐号事件
@@ -4909,10 +4924,16 @@ module TencentCloud
4909
4924
  # @param DataFrom: 事件来源:0--阻断规则,1--威胁情报
4910
4925
  # 注意:此字段可能返回 null,表示取不到有效值。
4911
4926
  # @type DataFrom: Integer
4927
+ # @param AttackStatusDesc: 破解状态说明
4928
+ # 注意:此字段可能返回 null,表示取不到有效值。
4929
+ # @type AttackStatusDesc: String
4930
+ # @param BanExpiredTime: 阻断过期时间(仅阻断中事件有效)
4931
+ # 注意:此字段可能返回 null,表示取不到有效值。
4932
+ # @type BanExpiredTime: String
4912
4933
 
4913
- 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, :DataFrom
4934
+ 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, :DataFrom, :AttackStatusDesc, :BanExpiredTime
4914
4935
 
4915
- 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, datafrom=nil)
4936
+ 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, datafrom=nil, attackstatusdesc=nil, banexpiredtime=nil)
4916
4937
  @Id = id
4917
4938
  @Uuid = uuid
4918
4939
  @MachineIp = machineip
@@ -4938,6 +4959,8 @@ module TencentCloud
4938
4959
  @Location = location
4939
4960
  @RiskLevel = risklevel
4940
4961
  @DataFrom = datafrom
4962
+ @AttackStatusDesc = attackstatusdesc
4963
+ @BanExpiredTime = banexpiredtime
4941
4964
  end
4942
4965
 
4943
4966
  def deserialize(params)
@@ -4969,6 +4992,8 @@ module TencentCloud
4969
4992
  @Location = params['Location']
4970
4993
  @RiskLevel = params['RiskLevel']
4971
4994
  @DataFrom = params['DataFrom']
4995
+ @AttackStatusDesc = params['AttackStatusDesc']
4996
+ @BanExpiredTime = params['BanExpiredTime']
4972
4997
  end
4973
4998
  end
4974
4999
 
@@ -12288,20 +12313,24 @@ module TencentCloud
12288
12313
  # @type Status: Integer
12289
12314
  # @param ShowTips: 是否弹窗提示信息 false: 关闭,true: 开启
12290
12315
  # @type ShowTips: Boolean
12316
+ # @param OpenSmartMode: 是否开启智能过白模式
12317
+ # @type OpenSmartMode: Boolean
12291
12318
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12292
12319
  # @type RequestId: String
12293
12320
 
12294
- attr_accessor :Status, :ShowTips, :RequestId
12321
+ attr_accessor :Status, :ShowTips, :OpenSmartMode, :RequestId
12295
12322
 
12296
- def initialize(status=nil, showtips=nil, requestid=nil)
12323
+ def initialize(status=nil, showtips=nil, opensmartmode=nil, requestid=nil)
12297
12324
  @Status = status
12298
12325
  @ShowTips = showtips
12326
+ @OpenSmartMode = opensmartmode
12299
12327
  @RequestId = requestid
12300
12328
  end
12301
12329
 
12302
12330
  def deserialize(params)
12303
12331
  @Status = params['Status']
12304
12332
  @ShowTips = params['ShowTips']
12333
+ @OpenSmartMode = params['OpenSmartMode']
12305
12334
  @RequestId = params['RequestId']
12306
12335
  end
12307
12336
  end
@@ -33197,17 +33226,21 @@ module TencentCloud
33197
33226
 
33198
33227
  # ModifyBanStatus请求参数结构体
33199
33228
  class ModifyBanStatusRequest < TencentCloud::Common::AbstractModel
33200
- # @param Status: 阻断状态 0:关闭 1:开启
33229
+ # @param Status: 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)
33201
33230
  # @type Status: Integer
33231
+ # @param OpenSmartMode: 是否开启智能过白模式
33232
+ # @type OpenSmartMode: Boolean
33202
33233
 
33203
- attr_accessor :Status
33234
+ attr_accessor :Status, :OpenSmartMode
33204
33235
 
33205
- def initialize(status=nil)
33236
+ def initialize(status=nil, opensmartmode=nil)
33206
33237
  @Status = status
33238
+ @OpenSmartMode = opensmartmode
33207
33239
  end
33208
33240
 
33209
33241
  def deserialize(params)
33210
33242
  @Status = params['Status']
33243
+ @OpenSmartMode = params['OpenSmartMode']
33211
33244
  end
33212
33245
  end
33213
33246
 
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.787
4
+ version: 3.0.789
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-20 00:00:00.000000000 Z
11
+ date: 2024-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common