tencentcloud-sdk-ssa 1.0.294 → 1.0.295
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +32 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d96e16679dde68af94f7d26843dd0c6085737fbe
|
4
|
+
data.tar.gz: 5346e64d68671ddfef71838c396a6aeac9e5539f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02875ca34e4824731087b8323d8ba57e82ebe6308439f42b5757ef8cc68bd86a7c34a2c8624ac8bf09e61c0d3388f22546d9b863f93ab5e8a8755e591b40e113
|
7
|
+
data.tar.gz: 014112a38fc05760274d3bbda6a255fff337d450244496782835d3170277bdecd6d76db8cf82745412c743457c802713c914e67898573ca891e3087b31bbbbc3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.295
|
data/lib/v20180608/client.rb
CHANGED
@@ -389,6 +389,30 @@ module TencentCloud
|
|
389
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
390
|
end
|
391
391
|
|
392
|
+
# 云安全配置检查项列表
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribeSocCheckItemList.
|
395
|
+
# @type request: :class:`Tencentcloud::ssa::V20180608::DescribeSocCheckItemListRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeSocCheckItemListResponse`
|
397
|
+
def DescribeSocCheckItemList(request)
|
398
|
+
body = send_request('DescribeSocCheckItemList', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribeSocCheckItemListResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
392
416
|
# 合规详情项
|
393
417
|
|
394
418
|
# @param request: Request instance for DescribeSocCspmCompliance.
|
data/lib/v20180608/models.rb
CHANGED
@@ -2323,6 +2323,33 @@ module TencentCloud
|
|
2323
2323
|
end
|
2324
2324
|
end
|
2325
2325
|
|
2326
|
+
# DescribeSocCheckItemList请求参数结构体
|
2327
|
+
class DescribeSocCheckItemListRequest < TencentCloud::Common::AbstractModel
|
2328
|
+
|
2329
|
+
|
2330
|
+
def initialize()
|
2331
|
+
end
|
2332
|
+
|
2333
|
+
def deserialize(params)
|
2334
|
+
end
|
2335
|
+
end
|
2336
|
+
|
2337
|
+
# DescribeSocCheckItemList返回参数结构体
|
2338
|
+
class DescribeSocCheckItemListResponse < TencentCloud::Common::AbstractModel
|
2339
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2340
|
+
# @type RequestId: String
|
2341
|
+
|
2342
|
+
attr_accessor :RequestId
|
2343
|
+
|
2344
|
+
def initialize(requestid=nil)
|
2345
|
+
@RequestId = requestid
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
def deserialize(params)
|
2349
|
+
@RequestId = params['RequestId']
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2326
2353
|
# DescribeSocCspmCompliance请求参数结构体
|
2327
2354
|
class DescribeSocCspmComplianceRequest < TencentCloud::Common::AbstractModel
|
2328
2355
|
|
@@ -2874,11 +2901,11 @@ module TencentCloud
|
|
2874
2901
|
|
2875
2902
|
# SaDivulgeDataQueryPub请求参数结构体
|
2876
2903
|
class SaDivulgeDataQueryPubRequest < TencentCloud::Common::AbstractModel
|
2877
|
-
# @param QueryKey: 模糊查询字段
|
2904
|
+
# @param QueryKey: 模糊查询字段(针对appid或者uin)
|
2878
2905
|
# @type QueryKey: String
|
2879
2906
|
# @param EventName: 安全事件名称
|
2880
2907
|
# @type EventName: String
|
2881
|
-
# @param DivulgeSoure: 监控源
|
2908
|
+
# @param DivulgeSoure: 监控源 0:全部 1:GitHub 2:暗网 默认值1
|
2882
2909
|
# @type DivulgeSoure: String
|
2883
2910
|
# @param Asset: 受影响资产
|
2884
2911
|
# @type Asset: String
|
@@ -2886,9 +2913,9 @@ module TencentCloud
|
|
2886
2913
|
# @type RuleName: String
|
2887
2914
|
# @param RuleId: 命中主题集下的规则topic唯一id
|
2888
2915
|
# @type RuleId: String
|
2889
|
-
# @param Level: 风险等级
|
2916
|
+
# @param Level: 风险等级 -1:未知 1:低危 2:中危 3:高危 4:严重
|
2890
2917
|
# @type Level: String
|
2891
|
-
# @param Status:
|
2918
|
+
# @param Status: 安全事件处理状态 -1:未知 1:待处理 2:已处理 3:误报 4:已忽略 5:已知晓 6:已信任
|
2892
2919
|
# @type Status: String
|
2893
2920
|
# @param StartTime: 起始时间
|
2894
2921
|
# @type StartTime: String
|
@@ -2934,7 +2961,7 @@ module TencentCloud
|
|
2934
2961
|
|
2935
2962
|
# SaDivulgeDataQueryPub返回参数结构体
|
2936
2963
|
class SaDivulgeDataQueryPubResponse < TencentCloud::Common::AbstractModel
|
2937
|
-
# @param Data:
|
2964
|
+
# @param Data: 自定义泄露事件列表
|
2938
2965
|
# @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeDataQueryPubList`
|
2939
2966
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2940
2967
|
# @type RequestId: String
|
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: 1.0.
|
4
|
+
version: 1.0.295
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|