tencentcloud-sdk-ssa 3.0.656 → 3.0.657

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: 8967aa053f1f51f150f2a600aab4b04eaa1656d7
4
- data.tar.gz: 21d207d933f29c72ecae5b41359e96bd37a6310c
3
+ metadata.gz: bd3347d839315324b30b2775f425ee7fdba32b4a
4
+ data.tar.gz: 8a0dfceb8cd021f01ea5384e16cba3de42fccb41
5
5
  SHA512:
6
- metadata.gz: e1b7c54c83900616ee8185e2311844030586c5c7b5f475ff6b2406ada29787caf87fe59ce41be886c24ea387c0859c192cc207fb7bdbff2f431f9d70e55836d2
7
- data.tar.gz: 426aa6c29ea38c3d1658e166d95a25f3a7903346327a15db8858f7285d3f403481fa35490571cba23fbefd139e7816f16bd9113c4f667d67f266cdd75a966eea
6
+ metadata.gz: 9f793f81ef932ad99375feded1ba95d9aab6c4083b3383eaa4464c196f236a9899040702f7c308c218316e93831a337d9d4796d6cba0e66ca54a67abcd913fca
7
+ data.tar.gz: 4148db20c1ac6fff84ab8ded4d4afcc6a052f60cbb1871264e2a60b3534b92fff7e1c236247c6630c30623c866334a4eb1ffaff23119bfa834cee1d65ed10433
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.656
1
+ 3.0.657
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 安全大屏-用户威胁告警信息
33
+
34
+ # @param request: Request instance for DescribeAlarmStat.
35
+ # @type request: :class:`Tencentcloud::ssa::V20180608::DescribeAlarmStatRequest`
36
+ # @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeAlarmStatResponse`
37
+ def DescribeAlarmStat(request)
38
+ body = send_request('DescribeAlarmStat', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = DescribeAlarmStatResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 资产安全页资产详情
33
57
 
34
58
  # @param request: Request instance for DescribeAssetDetail.
@@ -44,6 +44,30 @@ module TencentCloud
44
44
  end
45
45
  end
46
46
 
47
+ # 用户威胁告警信息
48
+ class AlarmInfoRsp < TencentCloud::Common::AbstractModel
49
+ # @param AttackEvent: 近7天威胁告警
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type AttackEvent: Array
52
+
53
+ attr_accessor :AttackEvent
54
+
55
+ def initialize(attackevent=nil)
56
+ @AttackEvent = attackevent
57
+ end
58
+
59
+ def deserialize(params)
60
+ unless params['AttackEvent'].nil?
61
+ @AttackEvent = []
62
+ params['AttackEvent'].each do |i|
63
+ attackevent_tmp = AttackEvent.new
64
+ attackevent_tmp.deserialize(i)
65
+ @AttackEvent << attackevent_tmp
66
+ end
67
+ end
68
+ end
69
+ end
70
+
47
71
  # 告警详情
48
72
  class AlertDetail < TencentCloud::Common::AbstractModel
49
73
  # @param BaseInfo: 告警基础信息
@@ -802,6 +826,58 @@ module TencentCloud
802
826
  end
803
827
  end
804
828
 
829
+ # 攻击事件
830
+ class AttackEvent < TencentCloud::Common::AbstractModel
831
+ # @param SsaSrcIp: 来源ip
832
+ # 注意:此字段可能返回 null,表示取不到有效值。
833
+ # @type SsaSrcIp: String
834
+ # @param SsaDstIp: 目标ip
835
+ # 注意:此字段可能返回 null,表示取不到有效值。
836
+ # @type SsaDstIp: String
837
+ # @param SsaDstProvince: 目标省份
838
+ # 注意:此字段可能返回 null,表示取不到有效值。
839
+ # @type SsaDstProvince: String
840
+ # @param SsaDstCity: 目标城市
841
+ # 注意:此字段可能返回 null,表示取不到有效值。
842
+ # @type SsaDstCity: String
843
+ # @param SsaDstCountry: 目标国家
844
+ # 注意:此字段可能返回 null,表示取不到有效值。
845
+ # @type SsaDstCountry: String
846
+ # @param SsaSrcProvince: 来源省份
847
+ # 注意:此字段可能返回 null,表示取不到有效值。
848
+ # @type SsaSrcProvince: String
849
+ # @param SsaSrcCountry: 来源国家
850
+ # 注意:此字段可能返回 null,表示取不到有效值。
851
+ # @type SsaSrcCountry: String
852
+ # @param SsaSrcCity: 来源城市
853
+ # 注意:此字段可能返回 null,表示取不到有效值。
854
+ # @type SsaSrcCity: String
855
+
856
+ attr_accessor :SsaSrcIp, :SsaDstIp, :SsaDstProvince, :SsaDstCity, :SsaDstCountry, :SsaSrcProvince, :SsaSrcCountry, :SsaSrcCity
857
+
858
+ def initialize(ssasrcip=nil, ssadstip=nil, ssadstprovince=nil, ssadstcity=nil, ssadstcountry=nil, ssasrcprovince=nil, ssasrccountry=nil, ssasrccity=nil)
859
+ @SsaSrcIp = ssasrcip
860
+ @SsaDstIp = ssadstip
861
+ @SsaDstProvince = ssadstprovince
862
+ @SsaDstCity = ssadstcity
863
+ @SsaDstCountry = ssadstcountry
864
+ @SsaSrcProvince = ssasrcprovince
865
+ @SsaSrcCountry = ssasrccountry
866
+ @SsaSrcCity = ssasrccity
867
+ end
868
+
869
+ def deserialize(params)
870
+ @SsaSrcIp = params['SsaSrcIp']
871
+ @SsaDstIp = params['SsaDstIp']
872
+ @SsaDstProvince = params['SsaDstProvince']
873
+ @SsaDstCity = params['SsaDstCity']
874
+ @SsaDstCountry = params['SsaDstCountry']
875
+ @SsaSrcProvince = params['SsaSrcProvince']
876
+ @SsaSrcCountry = params['SsaSrcCountry']
877
+ @SsaSrcCity = params['SsaSrcCity']
878
+ end
879
+ end
880
+
805
881
  # es聚合数据类型
806
882
  class Bucket < TencentCloud::Common::AbstractModel
807
883
  # @param Key: key
@@ -1695,6 +1771,50 @@ module TencentCloud
1695
1771
  end
1696
1772
  end
1697
1773
 
1774
+ # DescribeAlarmStat请求参数结构体
1775
+ class DescribeAlarmStatRequest < TencentCloud::Common::AbstractModel
1776
+ # @param StartTime: 开始时间
1777
+ # @type StartTime: String
1778
+ # @param EndTime: 结束时间
1779
+ # @type EndTime: String
1780
+
1781
+ attr_accessor :StartTime, :EndTime
1782
+
1783
+ def initialize(starttime=nil, endtime=nil)
1784
+ @StartTime = starttime
1785
+ @EndTime = endtime
1786
+ end
1787
+
1788
+ def deserialize(params)
1789
+ @StartTime = params['StartTime']
1790
+ @EndTime = params['EndTime']
1791
+ end
1792
+ end
1793
+
1794
+ # DescribeAlarmStat返回参数结构体
1795
+ class DescribeAlarmStatResponse < TencentCloud::Common::AbstractModel
1796
+ # @param Data: 威胁告警信息
1797
+ # 注意:此字段可能返回 null,表示取不到有效值。
1798
+ # @type Data: :class:`Tencentcloud::Ssa.v20180608.models.AlarmInfoRsp`
1799
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1800
+ # @type RequestId: String
1801
+
1802
+ attr_accessor :Data, :RequestId
1803
+
1804
+ def initialize(data=nil, requestid=nil)
1805
+ @Data = data
1806
+ @RequestId = requestid
1807
+ end
1808
+
1809
+ def deserialize(params)
1810
+ unless params['Data'].nil?
1811
+ @Data = AlarmInfoRsp.new
1812
+ @Data.deserialize(params['Data'])
1813
+ end
1814
+ @RequestId = params['RequestId']
1815
+ end
1816
+ end
1817
+
1698
1818
  # DescribeAssetDetailList请求参数结构体
1699
1819
  class DescribeAssetDetailListRequest < TencentCloud::Common::AbstractModel
1700
1820
  # @param Filter: 查询条件,可支持的查询字段:AssetUniqid,AssetName,AssetIpAll,AssetVpcid,Tag
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ssa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.656
4
+ version: 3.0.657
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-09-11 00:00:00.000000000 Z
11
+ date: 2023-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common