tencentcloud-sdk-csip 3.0.874 → 3.0.876

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba558104459c7cad8d5b61883d7b62b6e01eeae2
4
- data.tar.gz: e7d351b29d9238fba1f4fc49fa0871e780af2560
3
+ metadata.gz: c5df5dfc2777eb055eec4444166ab57c8c9c871b
4
+ data.tar.gz: 3ec6e200b823cbb76e6856218bcbd49f0033edd1
5
5
  SHA512:
6
- metadata.gz: fa92a20997c45f3629895c0c041f51742f7dc33effd0e3f49690e664530df8fe6d27f5e46ae571277aa39915d6f756c9ecedb22bc26fca0d63f3634fa90d498f
7
- data.tar.gz: d66e03fe4ee3835a9fcee749854d810d78ba7b53ba664bd8b40c50383c5b9217742f34d145c9f1145e32e4e17e9bf56fd5e0ef72028f01a4dbcf81c0f9c805c9
6
+ metadata.gz: ae6d5ffc9b673f9fa503e7933369342df98c69d1fc1f10e916f3dfc383a466dbee781d750c0f506b0d93921b33cb7c1267e385f2a7621138daf4831be2bfc521
7
+ data.tar.gz: d09f9a287adb7017423d7a883c01d28d02711f8e35c721421131bb0315856173543556315d39f184e366e9ad4710bf26efc86e4259fa25c386e362dd71604719
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.874
1
+ 3.0.876
@@ -197,6 +197,30 @@ module TencentCloud
197
197
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
198
  end
199
199
 
200
+ # 云防资产中心统计数据
201
+
202
+ # @param request: Request instance for DescribeCFWAssetStatistics.
203
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeCFWAssetStatisticsRequest`
204
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeCFWAssetStatisticsResponse`
205
+ def DescribeCFWAssetStatistics(request)
206
+ body = send_request('DescribeCFWAssetStatistics', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DescribeCFWAssetStatisticsResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
200
224
  # cvm详情
201
225
 
202
226
  # @param request: Request instance for DescribeCVMAssetInfo.
@@ -2885,6 +2885,77 @@ module TencentCloud
2885
2885
  end
2886
2886
  end
2887
2887
 
2888
+ # DescribeCFWAssetStatistics请求参数结构体
2889
+ class DescribeCFWAssetStatisticsRequest < TencentCloud::Common::AbstractModel
2890
+
2891
+
2892
+ def initialize()
2893
+ end
2894
+
2895
+ def deserialize(params)
2896
+ end
2897
+ end
2898
+
2899
+ # DescribeCFWAssetStatistics返回参数结构体
2900
+ class DescribeCFWAssetStatisticsResponse < TencentCloud::Common::AbstractModel
2901
+ # @param NetworkTotal: 网络资产总数
2902
+ # @type NetworkTotal: Integer
2903
+ # @param ClbTotal: 资产clb数量
2904
+ # @type ClbTotal: Integer
2905
+ # @param NatTotal: nat数量
2906
+ # @type NatTotal: Integer
2907
+ # @param PublicAssetTotal: 公网ip数量
2908
+ # @type PublicAssetTotal: Integer
2909
+ # @param CVMAssetTotal: 主机数量
2910
+ # @type CVMAssetTotal: Integer
2911
+ # @param CFGTotal: 配置风险
2912
+ # @type CFGTotal: Integer
2913
+ # @param PortTotal: 端口风险
2914
+ # @type PortTotal: Integer
2915
+ # @param WebsiteTotal: 内容风险
2916
+ # @type WebsiteTotal: Integer
2917
+ # @param ServerTotal: 风险服务暴露
2918
+ # @type ServerTotal: Integer
2919
+ # @param WeakPasswordTotal: 弱口令风险
2920
+ # @type WeakPasswordTotal: Integer
2921
+ # @param VULTotal: 漏洞风险
2922
+ # @type VULTotal: Integer
2923
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2924
+ # @type RequestId: String
2925
+
2926
+ attr_accessor :NetworkTotal, :ClbTotal, :NatTotal, :PublicAssetTotal, :CVMAssetTotal, :CFGTotal, :PortTotal, :WebsiteTotal, :ServerTotal, :WeakPasswordTotal, :VULTotal, :RequestId
2927
+
2928
+ def initialize(networktotal=nil, clbtotal=nil, nattotal=nil, publicassettotal=nil, cvmassettotal=nil, cfgtotal=nil, porttotal=nil, websitetotal=nil, servertotal=nil, weakpasswordtotal=nil, vultotal=nil, requestid=nil)
2929
+ @NetworkTotal = networktotal
2930
+ @ClbTotal = clbtotal
2931
+ @NatTotal = nattotal
2932
+ @PublicAssetTotal = publicassettotal
2933
+ @CVMAssetTotal = cvmassettotal
2934
+ @CFGTotal = cfgtotal
2935
+ @PortTotal = porttotal
2936
+ @WebsiteTotal = websitetotal
2937
+ @ServerTotal = servertotal
2938
+ @WeakPasswordTotal = weakpasswordtotal
2939
+ @VULTotal = vultotal
2940
+ @RequestId = requestid
2941
+ end
2942
+
2943
+ def deserialize(params)
2944
+ @NetworkTotal = params['NetworkTotal']
2945
+ @ClbTotal = params['ClbTotal']
2946
+ @NatTotal = params['NatTotal']
2947
+ @PublicAssetTotal = params['PublicAssetTotal']
2948
+ @CVMAssetTotal = params['CVMAssetTotal']
2949
+ @CFGTotal = params['CFGTotal']
2950
+ @PortTotal = params['PortTotal']
2951
+ @WebsiteTotal = params['WebsiteTotal']
2952
+ @ServerTotal = params['ServerTotal']
2953
+ @WeakPasswordTotal = params['WeakPasswordTotal']
2954
+ @VULTotal = params['VULTotal']
2955
+ @RequestId = params['RequestId']
2956
+ end
2957
+ end
2958
+
2888
2959
  # DescribeCVMAssetInfo请求参数结构体
2889
2960
  class DescribeCVMAssetInfoRequest < TencentCloud::Common::AbstractModel
2890
2961
  # @param AssetId: -
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-csip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.874
4
+ version: 3.0.876
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-07-28 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common