tencentcloud-sdk-cwp 1.0.284 → 1.0.285

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: 54e745cdfdbc63e55171177814abcab497e81bad
4
- data.tar.gz: ab1dd55c9e348539f1c9ce0586b1ae9d0db7bb40
3
+ metadata.gz: 280f3dcab19725f790560446ff74737d06056824
4
+ data.tar.gz: 7de231aa1a85c5cf38c8e6b67399355f97ad14ee
5
5
  SHA512:
6
- metadata.gz: 1d4c42ffeb596e7ea756efe58ee2a84c424776f4ea7d2641414fe44bde5bc3349ca86a853db72b2cd3bf539d08ac4017a82e7501f9592611e93d2ef63ece2724
7
- data.tar.gz: 2a6baab1a810b754a22255611fc64aed6a4ccc992620eb931cae5bfcb94e5b03624c4f55258ccbd34c124fe96c44f58ccca8ce1fe938891d1f91456569744732
6
+ metadata.gz: af1361bbad53b00874cd449746d8e800d6358c7769b279a27ec70301cd365d2b25b1fa8e4f37e9e35927d50f4e17c2b1e590abfb77bd594cdd805367819bb974
7
+ data.tar.gz: 89974d697f7e1e23a8b492f65c0ca7fffdf6ba1a21499685d7b922a69c26ae02a47ed9f40416f470ea61f1d15c19f90349be6f11d0cda3f335fbfa76b84264f3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.284
1
+ 1.0.285
@@ -3293,6 +3293,30 @@ module TencentCloud
3293
3293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3294
3294
  end
3295
3295
 
3296
+ # 获取安全事件统计
3297
+
3298
+ # @param request: Request instance for DescribeSecurityEventStat.
3299
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityEventStatRequest`
3300
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityEventStatResponse`
3301
+ def DescribeSecurityEventStat(request)
3302
+ body = send_request('DescribeSecurityEventStat', request.serialize)
3303
+ response = JSON.parse(body)
3304
+ if response['Response'].key?('Error') == false
3305
+ model = DescribeSecurityEventStatResponse.new
3306
+ model.deserialize(response['Response'])
3307
+ model
3308
+ else
3309
+ code = response['Response']['Error']['Code']
3310
+ message = response['Response']['Error']['Message']
3311
+ reqid = response['Response']['RequestId']
3312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3313
+ end
3314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3315
+ raise e
3316
+ rescue StandardError => e
3317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3318
+ end
3319
+
3296
3320
  # 获取安全概览相关事件统计数据接口
3297
3321
 
3298
3322
  # @param request: Request instance for DescribeSecurityEventsCnt.
@@ -10940,6 +10940,188 @@ module TencentCloud
10940
10940
  end
10941
10941
  end
10942
10942
 
10943
+ # DescribeSecurityEventStat请求参数结构体
10944
+ class DescribeSecurityEventStatRequest < TencentCloud::Common::AbstractModel
10945
+ # @param Filters: 该接口无过滤条件
10946
+ # @type Filters: Array
10947
+
10948
+ attr_accessor :Filters
10949
+
10950
+ def initialize(filters=nil)
10951
+ @Filters = filters
10952
+ end
10953
+
10954
+ def deserialize(params)
10955
+ unless params['Filters'].nil?
10956
+ @Filters = []
10957
+ params['Filters'].each do |i|
10958
+ filter_tmp = Filter.new
10959
+ filter_tmp.deserialize(i)
10960
+ @Filters << filter_tmp
10961
+ end
10962
+ end
10963
+ end
10964
+ end
10965
+
10966
+ # DescribeSecurityEventStat返回参数结构体
10967
+ class DescribeSecurityEventStatResponse < TencentCloud::Common::AbstractModel
10968
+ # @param MalwareStat: 木马事件统计
10969
+ # @type MalwareStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10970
+ # @param HostLoginStat: 异地事件统计
10971
+ # @type HostLoginStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10972
+ # @param BruteAttackStat: 爆破事件统计
10973
+ # @type BruteAttackStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10974
+ # @param MaliciousRequestStat: 恶意请求事件统计
10975
+ # @type MaliciousRequestStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10976
+ # @param PrivilegeStat: 本地提权事件统计
10977
+ # @type PrivilegeStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10978
+ # @param ReverseShellStat: 反弹Shell事件统计
10979
+ # @type ReverseShellStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10980
+ # @param HighRiskBashStat: 高危命令事件统计
10981
+ # @type HighRiskBashStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10982
+ # @param AttackLogsStat: 网络攻击事件统计
10983
+ # @type AttackLogsStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10984
+ # @param VulHighStat: 高危漏洞事件统计
10985
+ # @type VulHighStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10986
+ # @param VulNormalStat: 中危漏洞事件统计
10987
+ # @type VulNormalStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10988
+ # @param VulLowStat: 低危漏洞事件统计
10989
+ # @type VulLowStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10990
+ # @param BaselineHighStat: 高危基线漏洞事件统计
10991
+ # @type BaselineHighStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10992
+ # @param BaselineNormalStat: 中危基线漏事件统计
10993
+ # @type BaselineNormalStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10994
+ # @param BaselineLowStat: 低危基线漏事件统计
10995
+ # @type BaselineLowStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
10996
+ # @param MachineTotalAffectNum: 有未处理安全事件的机器总数
10997
+ # @type MachineTotalAffectNum: Integer
10998
+ # @param InvasionTotalAffectNum: 有未处理入侵安全事件的机器总数
10999
+ # @type InvasionTotalAffectNum: Integer
11000
+ # @param VulTotalAffectNum: 有未处理漏洞安全事件的机器总数
11001
+ # @type VulTotalAffectNum: Integer
11002
+ # @param BaseLineTotalAffectNum: 有未处理基线安全事件的机器总数
11003
+ # @type BaseLineTotalAffectNum: Integer
11004
+ # @param CyberAttackTotalAffectNum: 有未处理网络攻击安全事件的机器总数
11005
+ # @type CyberAttackTotalAffectNum: Integer
11006
+ # @param VulRiskStat: 严重漏洞事件统计
11007
+ # @type VulRiskStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
11008
+ # @param BaselineRiskStat: 严重基线漏洞事件统计
11009
+ # @type BaselineRiskStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
11010
+ # @param VulStat: 漏洞数统计
11011
+ # @type VulStat: :class:`Tencentcloud::Cwp.v20180228.models.EventStat`
11012
+ # @param Score: 安全得分
11013
+ # @type Score: Integer
11014
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11015
+ # @type RequestId: String
11016
+
11017
+ attr_accessor :MalwareStat, :HostLoginStat, :BruteAttackStat, :MaliciousRequestStat, :PrivilegeStat, :ReverseShellStat, :HighRiskBashStat, :AttackLogsStat, :VulHighStat, :VulNormalStat, :VulLowStat, :BaselineHighStat, :BaselineNormalStat, :BaselineLowStat, :MachineTotalAffectNum, :InvasionTotalAffectNum, :VulTotalAffectNum, :BaseLineTotalAffectNum, :CyberAttackTotalAffectNum, :VulRiskStat, :BaselineRiskStat, :VulStat, :Score, :RequestId
11018
+
11019
+ def initialize(malwarestat=nil, hostloginstat=nil, bruteattackstat=nil, maliciousrequeststat=nil, privilegestat=nil, reverseshellstat=nil, highriskbashstat=nil, attacklogsstat=nil, vulhighstat=nil, vulnormalstat=nil, vullowstat=nil, baselinehighstat=nil, baselinenormalstat=nil, baselinelowstat=nil, machinetotalaffectnum=nil, invasiontotalaffectnum=nil, vultotalaffectnum=nil, baselinetotalaffectnum=nil, cyberattacktotalaffectnum=nil, vulriskstat=nil, baselineriskstat=nil, vulstat=nil, score=nil, requestid=nil)
11020
+ @MalwareStat = malwarestat
11021
+ @HostLoginStat = hostloginstat
11022
+ @BruteAttackStat = bruteattackstat
11023
+ @MaliciousRequestStat = maliciousrequeststat
11024
+ @PrivilegeStat = privilegestat
11025
+ @ReverseShellStat = reverseshellstat
11026
+ @HighRiskBashStat = highriskbashstat
11027
+ @AttackLogsStat = attacklogsstat
11028
+ @VulHighStat = vulhighstat
11029
+ @VulNormalStat = vulnormalstat
11030
+ @VulLowStat = vullowstat
11031
+ @BaselineHighStat = baselinehighstat
11032
+ @BaselineNormalStat = baselinenormalstat
11033
+ @BaselineLowStat = baselinelowstat
11034
+ @MachineTotalAffectNum = machinetotalaffectnum
11035
+ @InvasionTotalAffectNum = invasiontotalaffectnum
11036
+ @VulTotalAffectNum = vultotalaffectnum
11037
+ @BaseLineTotalAffectNum = baselinetotalaffectnum
11038
+ @CyberAttackTotalAffectNum = cyberattacktotalaffectnum
11039
+ @VulRiskStat = vulriskstat
11040
+ @BaselineRiskStat = baselineriskstat
11041
+ @VulStat = vulstat
11042
+ @Score = score
11043
+ @RequestId = requestid
11044
+ end
11045
+
11046
+ def deserialize(params)
11047
+ unless params['MalwareStat'].nil?
11048
+ @MalwareStat = EventStat.new
11049
+ @MalwareStat.deserialize(params['MalwareStat'])
11050
+ end
11051
+ unless params['HostLoginStat'].nil?
11052
+ @HostLoginStat = EventStat.new
11053
+ @HostLoginStat.deserialize(params['HostLoginStat'])
11054
+ end
11055
+ unless params['BruteAttackStat'].nil?
11056
+ @BruteAttackStat = EventStat.new
11057
+ @BruteAttackStat.deserialize(params['BruteAttackStat'])
11058
+ end
11059
+ unless params['MaliciousRequestStat'].nil?
11060
+ @MaliciousRequestStat = EventStat.new
11061
+ @MaliciousRequestStat.deserialize(params['MaliciousRequestStat'])
11062
+ end
11063
+ unless params['PrivilegeStat'].nil?
11064
+ @PrivilegeStat = EventStat.new
11065
+ @PrivilegeStat.deserialize(params['PrivilegeStat'])
11066
+ end
11067
+ unless params['ReverseShellStat'].nil?
11068
+ @ReverseShellStat = EventStat.new
11069
+ @ReverseShellStat.deserialize(params['ReverseShellStat'])
11070
+ end
11071
+ unless params['HighRiskBashStat'].nil?
11072
+ @HighRiskBashStat = EventStat.new
11073
+ @HighRiskBashStat.deserialize(params['HighRiskBashStat'])
11074
+ end
11075
+ unless params['AttackLogsStat'].nil?
11076
+ @AttackLogsStat = EventStat.new
11077
+ @AttackLogsStat.deserialize(params['AttackLogsStat'])
11078
+ end
11079
+ unless params['VulHighStat'].nil?
11080
+ @VulHighStat = EventStat.new
11081
+ @VulHighStat.deserialize(params['VulHighStat'])
11082
+ end
11083
+ unless params['VulNormalStat'].nil?
11084
+ @VulNormalStat = EventStat.new
11085
+ @VulNormalStat.deserialize(params['VulNormalStat'])
11086
+ end
11087
+ unless params['VulLowStat'].nil?
11088
+ @VulLowStat = EventStat.new
11089
+ @VulLowStat.deserialize(params['VulLowStat'])
11090
+ end
11091
+ unless params['BaselineHighStat'].nil?
11092
+ @BaselineHighStat = EventStat.new
11093
+ @BaselineHighStat.deserialize(params['BaselineHighStat'])
11094
+ end
11095
+ unless params['BaselineNormalStat'].nil?
11096
+ @BaselineNormalStat = EventStat.new
11097
+ @BaselineNormalStat.deserialize(params['BaselineNormalStat'])
11098
+ end
11099
+ unless params['BaselineLowStat'].nil?
11100
+ @BaselineLowStat = EventStat.new
11101
+ @BaselineLowStat.deserialize(params['BaselineLowStat'])
11102
+ end
11103
+ @MachineTotalAffectNum = params['MachineTotalAffectNum']
11104
+ @InvasionTotalAffectNum = params['InvasionTotalAffectNum']
11105
+ @VulTotalAffectNum = params['VulTotalAffectNum']
11106
+ @BaseLineTotalAffectNum = params['BaseLineTotalAffectNum']
11107
+ @CyberAttackTotalAffectNum = params['CyberAttackTotalAffectNum']
11108
+ unless params['VulRiskStat'].nil?
11109
+ @VulRiskStat = EventStat.new
11110
+ @VulRiskStat.deserialize(params['VulRiskStat'])
11111
+ end
11112
+ unless params['BaselineRiskStat'].nil?
11113
+ @BaselineRiskStat = EventStat.new
11114
+ @BaselineRiskStat.deserialize(params['BaselineRiskStat'])
11115
+ end
11116
+ unless params['VulStat'].nil?
11117
+ @VulStat = EventStat.new
11118
+ @VulStat.deserialize(params['VulStat'])
11119
+ end
11120
+ @Score = params['Score']
11121
+ @RequestId = params['RequestId']
11122
+ end
11123
+ end
11124
+
10943
11125
  # DescribeSecurityEventsCnt请求参数结构体
10944
11126
  class DescribeSecurityEventsCntRequest < TencentCloud::Common::AbstractModel
10945
11127
 
@@ -12657,6 +12839,26 @@ module TencentCloud
12657
12839
  end
12658
12840
  end
12659
12841
 
12842
+ # 未处理的安全事件统计信息
12843
+ class EventStat < TencentCloud::Common::AbstractModel
12844
+ # @param EventsNum: 事件数
12845
+ # @type EventsNum: Integer
12846
+ # @param MachineAffectNum: 受影响的主机数
12847
+ # @type MachineAffectNum: Integer
12848
+
12849
+ attr_accessor :EventsNum, :MachineAffectNum
12850
+
12851
+ def initialize(eventsnum=nil, machineaffectnum=nil)
12852
+ @EventsNum = eventsnum
12853
+ @MachineAffectNum = machineaffectnum
12854
+ end
12855
+
12856
+ def deserialize(params)
12857
+ @EventsNum = params['EventsNum']
12858
+ @MachineAffectNum = params['MachineAffectNum']
12859
+ end
12860
+ end
12861
+
12660
12862
  # 专家服务订单信息
12661
12863
  class ExpertServiceOrderInfo < TencentCloud::Common::AbstractModel
12662
12864
  # @param OrderId: 订单id
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.284
4
+ version: 1.0.285
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud