tencentcloud-sdk-ssa 1.0.293 → 1.0.296
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +166 -24
- 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: 0a209223828bc64eba2633d29be837e4946dee2c
|
|
4
|
+
data.tar.gz: 83288a0f5d556ffe4cb823634787adc9d81f09fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8797fc0e10805ad874bc5a730044f402269aaaf91cca4edfc7d2aac6d926b363c3adae3ccb0ef7863d1f511a64a10d2e3f2f54741ac83716c78d35cf4d196234
|
|
7
|
+
data.tar.gz: 9718d191eb3950d78e20b73efadaa2885695d583438cbafced904e5b1361cce9a948b45e5bd76b576e5a3bad68f947f5b9a7fe83668a39e79d65ebafc28b28e0
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.296
|
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,101 @@ module TencentCloud
|
|
|
2323
2323
|
end
|
|
2324
2324
|
end
|
|
2325
2325
|
|
|
2326
|
+
# DescribeSocCheckItemList请求参数结构体
|
|
2327
|
+
class DescribeSocCheckItemListRequest < TencentCloud::Common::AbstractModel
|
|
2328
|
+
# @param Filter: 查询参数,可支持的排序字段:Name,Type,AssetType,Level,Standard,IsFree
|
|
2329
|
+
# @type Filter: Array
|
|
2330
|
+
# @param Sorter: 排序参数:无
|
|
2331
|
+
# @type Sorter: Array
|
|
2332
|
+
# @param PageSize: 当前页码数据,默认值为10
|
|
2333
|
+
# @type PageSize: Integer
|
|
2334
|
+
# @param PageIndex: 当前页面索引,默认值为0
|
|
2335
|
+
# @type PageIndex: Integer
|
|
2336
|
+
|
|
2337
|
+
attr_accessor :Filter, :Sorter, :PageSize, :PageIndex
|
|
2338
|
+
|
|
2339
|
+
def initialize(filter=nil, sorter=nil, pagesize=nil, pageindex=nil)
|
|
2340
|
+
@Filter = filter
|
|
2341
|
+
@Sorter = sorter
|
|
2342
|
+
@PageSize = pagesize
|
|
2343
|
+
@PageIndex = pageindex
|
|
2344
|
+
end
|
|
2345
|
+
|
|
2346
|
+
def deserialize(params)
|
|
2347
|
+
unless params['Filter'].nil?
|
|
2348
|
+
@Filter = []
|
|
2349
|
+
params['Filter'].each do |i|
|
|
2350
|
+
queryfilter_tmp = QueryFilter.new
|
|
2351
|
+
queryfilter_tmp.deserialize(i)
|
|
2352
|
+
@Filter << queryfilter_tmp
|
|
2353
|
+
end
|
|
2354
|
+
end
|
|
2355
|
+
unless params['Sorter'].nil?
|
|
2356
|
+
@Sorter = []
|
|
2357
|
+
params['Sorter'].each do |i|
|
|
2358
|
+
querysort_tmp = QuerySort.new
|
|
2359
|
+
querysort_tmp.deserialize(i)
|
|
2360
|
+
@Sorter << querysort_tmp
|
|
2361
|
+
end
|
|
2362
|
+
end
|
|
2363
|
+
@PageSize = params['PageSize']
|
|
2364
|
+
@PageIndex = params['PageIndex']
|
|
2365
|
+
end
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2368
|
+
# DescribeSocCheckItemList返回参数结构体
|
|
2369
|
+
class DescribeSocCheckItemListResponse < TencentCloud::Common::AbstractModel
|
|
2370
|
+
# @param Data: 检查项列表
|
|
2371
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2372
|
+
# @type Data: :class:`Tencentcloud::Ssa.v20180608.models.DescribeSocCheckItemListRspRsp`
|
|
2373
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2374
|
+
# @type RequestId: String
|
|
2375
|
+
|
|
2376
|
+
attr_accessor :Data, :RequestId
|
|
2377
|
+
|
|
2378
|
+
def initialize(data=nil, requestid=nil)
|
|
2379
|
+
@Data = data
|
|
2380
|
+
@RequestId = requestid
|
|
2381
|
+
end
|
|
2382
|
+
|
|
2383
|
+
def deserialize(params)
|
|
2384
|
+
unless params['Data'].nil?
|
|
2385
|
+
@Data = DescribeSocCheckItemListRspRsp.new
|
|
2386
|
+
@Data.deserialize(params['Data'])
|
|
2387
|
+
end
|
|
2388
|
+
@RequestId = params['RequestId']
|
|
2389
|
+
end
|
|
2390
|
+
end
|
|
2391
|
+
|
|
2392
|
+
# 云安全配置检查项列表
|
|
2393
|
+
class DescribeSocCheckItemListRspRsp < TencentCloud::Common::AbstractModel
|
|
2394
|
+
# @param List: 检查项详情列表
|
|
2395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2396
|
+
# @type List: Array
|
|
2397
|
+
# @param Total: 检查项总数
|
|
2398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2399
|
+
# @type Total: Integer
|
|
2400
|
+
|
|
2401
|
+
attr_accessor :List, :Total
|
|
2402
|
+
|
|
2403
|
+
def initialize(list=nil, total=nil)
|
|
2404
|
+
@List = list
|
|
2405
|
+
@Total = total
|
|
2406
|
+
end
|
|
2407
|
+
|
|
2408
|
+
def deserialize(params)
|
|
2409
|
+
unless params['List'].nil?
|
|
2410
|
+
@List = []
|
|
2411
|
+
params['List'].each do |i|
|
|
2412
|
+
soccheckitemv1_tmp = SocCheckItemV1.new
|
|
2413
|
+
soccheckitemv1_tmp.deserialize(i)
|
|
2414
|
+
@List << soccheckitemv1_tmp
|
|
2415
|
+
end
|
|
2416
|
+
end
|
|
2417
|
+
@Total = params['Total']
|
|
2418
|
+
end
|
|
2419
|
+
end
|
|
2420
|
+
|
|
2326
2421
|
# DescribeSocCspmCompliance请求参数结构体
|
|
2327
2422
|
class DescribeSocCspmComplianceRequest < TencentCloud::Common::AbstractModel
|
|
2328
2423
|
|
|
@@ -2771,37 +2866,37 @@ module TencentCloud
|
|
|
2771
2866
|
|
|
2772
2867
|
# 查询_通用字段
|
|
2773
2868
|
class SaDivulgeDataQueryPub < TencentCloud::Common::AbstractModel
|
|
2774
|
-
# @param Id: Id
|
|
2869
|
+
# @param Id: Id信息
|
|
2775
2870
|
# @type Id: String
|
|
2776
|
-
# @param Uin: Uin
|
|
2871
|
+
# @param Uin: 用户Uin
|
|
2777
2872
|
# @type Uin: String
|
|
2778
|
-
# @param AppId: AppId
|
|
2873
|
+
# @param AppId: 用户AppId
|
|
2779
2874
|
# @type AppId: String
|
|
2780
|
-
# @param EventName:
|
|
2875
|
+
# @param EventName: 事件名称
|
|
2781
2876
|
# @type EventName: String
|
|
2782
|
-
# @param DivulgeSoure:
|
|
2877
|
+
# @param DivulgeSoure: 监控源 0:全部 1:GitHub 2:暗网 默认值1
|
|
2783
2878
|
# @type DivulgeSoure: String
|
|
2784
|
-
# @param Asset:
|
|
2879
|
+
# @param Asset: 受影响资产
|
|
2785
2880
|
# @type Asset: String
|
|
2786
|
-
# @param RuleName:
|
|
2881
|
+
# @param RuleName: 命中主题集下的规则topic名称
|
|
2787
2882
|
# @type RuleName: String
|
|
2788
|
-
# @param RuleId:
|
|
2883
|
+
# @param RuleId: 命中主题集下的规则topic唯一id
|
|
2789
2884
|
# @type RuleId: String
|
|
2790
|
-
# @param RuleWord:
|
|
2885
|
+
# @param RuleWord: 命中主题集下的自定义规则策略
|
|
2791
2886
|
# @type RuleWord: String
|
|
2792
|
-
# @param ScanUrl:
|
|
2887
|
+
# @param ScanUrl: 扫描监测url"
|
|
2793
2888
|
# @type ScanUrl: String
|
|
2794
|
-
# @param ScanCount:
|
|
2889
|
+
# @param ScanCount: 扫描监测命中次数
|
|
2795
2890
|
# @type ScanCount: String
|
|
2796
|
-
# @param Level:
|
|
2891
|
+
# @param Level: 风险等级 -1:未知 1:低危 2:中危 3:高危 4:严重
|
|
2797
2892
|
# @type Level: String
|
|
2798
|
-
# @param Status:
|
|
2893
|
+
# @param Status: 安全事件处理状态 -1:未知 1:待处理 2:已处理 3:误报 4:已忽略 5:已知晓 6:已信任
|
|
2799
2894
|
# @type Status: String
|
|
2800
|
-
# @param EventTime:
|
|
2895
|
+
# @param EventTime: 安全事件发生时间
|
|
2801
2896
|
# @type EventTime: String
|
|
2802
|
-
# @param InsertTime:
|
|
2897
|
+
# @param InsertTime: 事件插入时间
|
|
2803
2898
|
# @type InsertTime: String
|
|
2804
|
-
# @param UpdateTime:
|
|
2899
|
+
# @param UpdateTime: 事件更新时间
|
|
2805
2900
|
# @type UpdateTime: String
|
|
2806
2901
|
|
|
2807
2902
|
attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime
|
|
@@ -2845,11 +2940,11 @@ module TencentCloud
|
|
|
2845
2940
|
end
|
|
2846
2941
|
end
|
|
2847
2942
|
|
|
2848
|
-
#
|
|
2943
|
+
# 自定义泄露事件列表
|
|
2849
2944
|
class SaDivulgeDataQueryPubList < TencentCloud::Common::AbstractModel
|
|
2850
|
-
# @param Count:
|
|
2945
|
+
# @param Count: 数据条数
|
|
2851
2946
|
# @type Count: Integer
|
|
2852
|
-
# @param List:
|
|
2947
|
+
# @param List: 自定义泄露事件列表
|
|
2853
2948
|
# @type List: Array
|
|
2854
2949
|
|
|
2855
2950
|
attr_accessor :Count, :List
|
|
@@ -2874,11 +2969,11 @@ module TencentCloud
|
|
|
2874
2969
|
|
|
2875
2970
|
# SaDivulgeDataQueryPub请求参数结构体
|
|
2876
2971
|
class SaDivulgeDataQueryPubRequest < TencentCloud::Common::AbstractModel
|
|
2877
|
-
# @param QueryKey: 模糊查询字段
|
|
2972
|
+
# @param QueryKey: 模糊查询字段(针对appid或者uin)
|
|
2878
2973
|
# @type QueryKey: String
|
|
2879
2974
|
# @param EventName: 安全事件名称
|
|
2880
2975
|
# @type EventName: String
|
|
2881
|
-
# @param DivulgeSoure: 监控源
|
|
2976
|
+
# @param DivulgeSoure: 监控源 0:全部 1:GitHub 2:暗网 默认值1
|
|
2882
2977
|
# @type DivulgeSoure: String
|
|
2883
2978
|
# @param Asset: 受影响资产
|
|
2884
2979
|
# @type Asset: String
|
|
@@ -2886,9 +2981,9 @@ module TencentCloud
|
|
|
2886
2981
|
# @type RuleName: String
|
|
2887
2982
|
# @param RuleId: 命中主题集下的规则topic唯一id
|
|
2888
2983
|
# @type RuleId: String
|
|
2889
|
-
# @param Level: 风险等级
|
|
2984
|
+
# @param Level: 风险等级 -1:未知 1:低危 2:中危 3:高危 4:严重
|
|
2890
2985
|
# @type Level: String
|
|
2891
|
-
# @param Status:
|
|
2986
|
+
# @param Status: 安全事件处理状态 -1:未知 1:待处理 2:已处理 3:误报 4:已忽略 5:已知晓 6:已信任
|
|
2892
2987
|
# @type Status: String
|
|
2893
2988
|
# @param StartTime: 起始时间
|
|
2894
2989
|
# @type StartTime: String
|
|
@@ -2934,7 +3029,7 @@ module TencentCloud
|
|
|
2934
3029
|
|
|
2935
3030
|
# SaDivulgeDataQueryPub返回参数结构体
|
|
2936
3031
|
class SaDivulgeDataQueryPubResponse < TencentCloud::Common::AbstractModel
|
|
2937
|
-
# @param Data:
|
|
3032
|
+
# @param Data: 自定义泄露事件列表
|
|
2938
3033
|
# @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeDataQueryPubList`
|
|
2939
3034
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2940
3035
|
# @type RequestId: String
|
|
@@ -2998,6 +3093,53 @@ module TencentCloud
|
|
|
2998
3093
|
end
|
|
2999
3094
|
end
|
|
3000
3095
|
|
|
3096
|
+
# 检查项相关信息
|
|
3097
|
+
class SocCheckItemV1 < TencentCloud::Common::AbstractModel
|
|
3098
|
+
# @param CheckId: 检查项id
|
|
3099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3100
|
+
# @type CheckId: String
|
|
3101
|
+
# @param Name: 配置要求
|
|
3102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3103
|
+
# @type Name: String
|
|
3104
|
+
# @param Type: 检查项类型
|
|
3105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3106
|
+
# @type Type: String
|
|
3107
|
+
# @param AssetType: 检查对象
|
|
3108
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3109
|
+
# @type AssetType: String
|
|
3110
|
+
# @param Level: 默认风险等级 2:低危 3:中危 4:高危
|
|
3111
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3112
|
+
# @type Level: Integer
|
|
3113
|
+
# @param Standard: 相关规范
|
|
3114
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3115
|
+
# @type Standard: String
|
|
3116
|
+
# @param IsFree: 检查项是否付费 1:免费 2:付费
|
|
3117
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3118
|
+
# @type IsFree: Integer
|
|
3119
|
+
|
|
3120
|
+
attr_accessor :CheckId, :Name, :Type, :AssetType, :Level, :Standard, :IsFree
|
|
3121
|
+
|
|
3122
|
+
def initialize(checkid=nil, name=nil, type=nil, assettype=nil, level=nil, standard=nil, isfree=nil)
|
|
3123
|
+
@CheckId = checkid
|
|
3124
|
+
@Name = name
|
|
3125
|
+
@Type = type
|
|
3126
|
+
@AssetType = assettype
|
|
3127
|
+
@Level = level
|
|
3128
|
+
@Standard = standard
|
|
3129
|
+
@IsFree = isfree
|
|
3130
|
+
end
|
|
3131
|
+
|
|
3132
|
+
def deserialize(params)
|
|
3133
|
+
@CheckId = params['CheckId']
|
|
3134
|
+
@Name = params['Name']
|
|
3135
|
+
@Type = params['Type']
|
|
3136
|
+
@AssetType = params['AssetType']
|
|
3137
|
+
@Level = params['Level']
|
|
3138
|
+
@Standard = params['Standard']
|
|
3139
|
+
@IsFree = params['IsFree']
|
|
3140
|
+
end
|
|
3141
|
+
end
|
|
3142
|
+
|
|
3001
3143
|
# 返回结构
|
|
3002
3144
|
class SocComplianceInfoResp < TencentCloud::Common::AbstractModel
|
|
3003
3145
|
# @param Items: 合格项
|
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.296
|
|
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
|