tencentcloud-sdk-cwp 3.0.508 → 3.0.509

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 +20 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87ecfd33de29fc9fd602f58778bd91eea6496a99
4
- data.tar.gz: f6c81944e7353feaf2b929d268f0177b1c0b5989
3
+ metadata.gz: 8a1dc20eb1fa685f0f3e403a383af834d5e00d74
4
+ data.tar.gz: 6b8e8dc9383f25240d799e48bfa6425ecc863d0c
5
5
  SHA512:
6
- metadata.gz: 1fc2ab159e61e1a267d500448a9a760c0c6dacfdafb652b3a26bc1abac628fd067afe94e4db24223885af69aa818bbf95a937dee7f0ba52a6b2f6fe82b571957
7
- data.tar.gz: 8814d1b1c4c8ed0b786e8e3fd8e095461fd76297eae8b6c2871a866d3562f34afb57cc46342c4e95119f8f9fcc9f57b85f592e33f66940cef3ac70f2631df16f
6
+ metadata.gz: 99d2d2b9613211a94716aa7c6b9e94f172e7d28b6b0fb0704c444acf27ac935afe99dbe2bede51c5d682d391776b155552cd5d385623be03e1bd6be1212fdc26
7
+ data.tar.gz: f594bece0d396a7c23221e49a50894d73dd74d5bb03de1d6d488b66c69d5c4cb583fd7c7094e26bfc752a29d7b12a5dcc538b2edad59631e9c2ef3a3f28300cd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.508
1
+ 3.0.509
@@ -20666,10 +20666,16 @@ module TencentCloud
20666
20666
  # @type ControlBit: Integer
20667
20667
  # @param ControlBits: 漏洞等级控制位二进制,每一位对应页面漏洞等级的开启关闭:低中高(0:关闭;1:开启),例如:101 → 同时勾选低+高
20668
20668
  # @type ControlBits: String
20669
+ # @param HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
20670
+ # 注意:此字段可能返回 null,表示取不到有效值。
20671
+ # @type HostRange: Integer
20672
+ # @param Count: 配置的告警范围主机个数,前端用此判断展示提示信息
20673
+ # 注意:此字段可能返回 null,表示取不到有效值。
20674
+ # @type Count: Integer
20669
20675
 
20670
- attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :TimeZone, :ControlBit, :ControlBits
20676
+ attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :TimeZone, :ControlBit, :ControlBits, :HostRange, :Count
20671
20677
 
20672
- def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, timezone=nil, controlbit=nil, controlbits=nil)
20678
+ def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, timezone=nil, controlbit=nil, controlbits=nil, hostrange=nil, count=nil)
20673
20679
  @Type = type
20674
20680
  @DisablePhoneWarning = disablephonewarning
20675
20681
  @BeginTime = begintime
@@ -20677,6 +20683,8 @@ module TencentCloud
20677
20683
  @TimeZone = timezone
20678
20684
  @ControlBit = controlbit
20679
20685
  @ControlBits = controlbits
20686
+ @HostRange = hostrange
20687
+ @Count = count
20680
20688
  end
20681
20689
 
20682
20690
  def deserialize(params)
@@ -20687,12 +20695,14 @@ module TencentCloud
20687
20695
  @TimeZone = params['TimeZone']
20688
20696
  @ControlBit = params['ControlBit']
20689
20697
  @ControlBits = params['ControlBits']
20698
+ @HostRange = params['HostRange']
20699
+ @Count = params['Count']
20690
20700
  end
20691
20701
  end
20692
20702
 
20693
20703
  # 告警更新或插入的参数
20694
20704
  class WarningObject < TencentCloud::Common::AbstractModel
20695
- # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高位命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线
20705
+ # @param Type: 事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高位命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞
20696
20706
  # @type Type: Integer
20697
20707
  # @param DisablePhoneWarning: 1: 关闭告警 0: 开启告警
20698
20708
  # @type DisablePhoneWarning: Integer
@@ -20702,15 +20712,19 @@ module TencentCloud
20702
20712
  # @type EndTime: String
20703
20713
  # @param ControlBits: 漏洞等级控制位二进制,每一位对应页面漏洞等级的开启关闭:低中高(0:关闭;1:开启),例如:101 → 同时勾选低+高;01→(登录审计)疑似不告警,高危告警
20704
20714
  # @type ControlBits: String
20715
+ # @param HostRange: 告警主机范围类型,0:全部主机,1:按所属项目选,2:按腾讯云标签选,3:按主机安全标签选,4:自选主机
20716
+ # 注意:此字段可能返回 null,表示取不到有效值。
20717
+ # @type HostRange: Integer
20705
20718
 
20706
- attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits
20719
+ attr_accessor :Type, :DisablePhoneWarning, :BeginTime, :EndTime, :ControlBits, :HostRange
20707
20720
 
20708
- def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil)
20721
+ def initialize(type=nil, disablephonewarning=nil, begintime=nil, endtime=nil, controlbits=nil, hostrange=nil)
20709
20722
  @Type = type
20710
20723
  @DisablePhoneWarning = disablephonewarning
20711
20724
  @BeginTime = begintime
20712
20725
  @EndTime = endtime
20713
20726
  @ControlBits = controlbits
20727
+ @HostRange = hostrange
20714
20728
  end
20715
20729
 
20716
20730
  def deserialize(params)
@@ -20719,6 +20733,7 @@ module TencentCloud
20719
20733
  @BeginTime = params['BeginTime']
20720
20734
  @EndTime = params['EndTime']
20721
20735
  @ControlBits = params['ControlBits']
20736
+ @HostRange = params['HostRange']
20722
20737
  end
20723
20738
  end
20724
20739
 
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.508
4
+ version: 3.0.509
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-02-14 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common