tencentcloud-sdk-csip 3.0.1103 → 3.0.1119

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: 788209be8691ce1991b76c47844d0850dfddd2c1
4
- data.tar.gz: b7b2a0f329bcae486ab6529ca1e80cba435b20ab
3
+ metadata.gz: b6c4b37a01895214e978a24a84d48ebe985ef351
4
+ data.tar.gz: 876eaf9da9e9e42440c9d752e8d12f64e820c7ee
5
5
  SHA512:
6
- metadata.gz: 76603fdf076bc6eedc7f93568b2a3835821ac18b8d062e90e904c69f5418636d7982a697505ee1c5c0d82a62ba960da6474f490a2d0427d753371c7d6091b1f2
7
- data.tar.gz: 331129c77c92e61631a8602d663afaf5c4bbee16028353104244d1cd7d2b30297996f016207564223c54217e19971b7f1aa7f37a123b590ff4100c228173964d
6
+ metadata.gz: 6e4968a2b94366f3854aa32eebdb0c6d0ca72bfd81de77b1bb3d1203ac2e599bd8b55fe87df0065bd92fa4a2197af2729d33cf1b6193ff512eceed7232e516c5
7
+ data.tar.gz: d44fd7d8f404f66044ff09384637fb32a38907c92aece1b49a6ce1a1cce0dd097d23cd0647845262f386ab7b237b43eef9052daf0ab3b4e4f14d3a76dbd184a8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1103
1
+ 3.0.1119
@@ -677,6 +677,30 @@ module TencentCloud
677
677
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
678
  end
679
679
 
680
+ # 云资源配置风险规则列表示例
681
+
682
+ # @param request: Request instance for DescribeConfigCheckRules.
683
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeConfigCheckRulesRequest`
684
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeConfigCheckRulesResponse`
685
+ def DescribeConfigCheckRules(request)
686
+ body = send_request('DescribeConfigCheckRules', request.serialize)
687
+ response = JSON.parse(body)
688
+ if response['Response'].key?('Error') == false
689
+ model = DescribeConfigCheckRulesResponse.new
690
+ model.deserialize(response['Response'])
691
+ model
692
+ else
693
+ code = response['Response']['Error']['Code']
694
+ message = response['Response']['Error']['Message']
695
+ reqid = response['Response']['RequestId']
696
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
697
+ end
698
+ rescue TencentCloud::Common::TencentCloudSDKException => e
699
+ raise e
700
+ rescue StandardError => e
701
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
+ end
703
+
680
704
  # db资产详情
681
705
 
682
706
  # @param request: Request instance for DescribeDbAssetInfo.
@@ -2809,8 +2809,7 @@ module TencentCloud
2809
2809
  # 0:控制台调用
2810
2810
  # 1:API
2811
2811
  # @type EventType: Integer
2812
- # @param UserType: 用户类型
2813
- # CAMUser/root/AssumedRole
2812
+ # @param UserType: 用户类型CAMUser/root/AssumedRole
2814
2813
  # @type UserType: String
2815
2814
  # @param UserName: 用户/角色名称
2816
2815
  # @type UserName: String
@@ -2837,10 +2836,12 @@ module TencentCloud
2837
2836
  # @type ShowStatus: Boolean
2838
2837
  # @param ISP: 运营商
2839
2838
  # @type ISP: String
2839
+ # @param VpcInfo: 账号外vpc信息列表
2840
+ # @type VpcInfo: Array
2840
2841
 
2841
- attr_accessor :CallID, :AccessKey, :AccessKeyRemark, :AccessKeyID, :SourceIP, :SourceIPRemark, :Region, :IPType, :EventName, :ProductName, :EventType, :UserType, :UserName, :PolicySet, :CallCount, :Code, :FirstCallTime, :LastCallTime, :InstanceID, :InstanceName, :Date, :AppID, :ShowStatus, :ISP
2842
+ attr_accessor :CallID, :AccessKey, :AccessKeyRemark, :AccessKeyID, :SourceIP, :SourceIPRemark, :Region, :IPType, :EventName, :ProductName, :EventType, :UserType, :UserName, :PolicySet, :CallCount, :Code, :FirstCallTime, :LastCallTime, :InstanceID, :InstanceName, :Date, :AppID, :ShowStatus, :ISP, :VpcInfo
2842
2843
 
2843
- def initialize(callid=nil, accesskey=nil, accesskeyremark=nil, accesskeyid=nil, sourceip=nil, sourceipremark=nil, region=nil, iptype=nil, eventname=nil, productname=nil, eventtype=nil, usertype=nil, username=nil, policyset=nil, callcount=nil, code=nil, firstcalltime=nil, lastcalltime=nil, instanceid=nil, instancename=nil, date=nil, appid=nil, showstatus=nil, isp=nil)
2844
+ def initialize(callid=nil, accesskey=nil, accesskeyremark=nil, accesskeyid=nil, sourceip=nil, sourceipremark=nil, region=nil, iptype=nil, eventname=nil, productname=nil, eventtype=nil, usertype=nil, username=nil, policyset=nil, callcount=nil, code=nil, firstcalltime=nil, lastcalltime=nil, instanceid=nil, instancename=nil, date=nil, appid=nil, showstatus=nil, isp=nil, vpcinfo=nil)
2844
2845
  @CallID = callid
2845
2846
  @AccessKey = accesskey
2846
2847
  @AccessKeyRemark = accesskeyremark
@@ -2865,6 +2866,7 @@ module TencentCloud
2865
2866
  @AppID = appid
2866
2867
  @ShowStatus = showstatus
2867
2868
  @ISP = isp
2869
+ @VpcInfo = vpcinfo
2868
2870
  end
2869
2871
 
2870
2872
  def deserialize(params)
@@ -2892,6 +2894,14 @@ module TencentCloud
2892
2894
  @AppID = params['AppID']
2893
2895
  @ShowStatus = params['ShowStatus']
2894
2896
  @ISP = params['ISP']
2897
+ unless params['VpcInfo'].nil?
2898
+ @VpcInfo = []
2899
+ params['VpcInfo'].each do |i|
2900
+ sourceipvpcinfo_tmp = SourceIPVpcInfo.new
2901
+ sourceipvpcinfo_tmp.deserialize(i)
2902
+ @VpcInfo << sourceipvpcinfo_tmp
2903
+ end
2904
+ end
2895
2905
  end
2896
2906
  end
2897
2907
 
@@ -4934,15 +4944,18 @@ module TencentCloud
4934
4944
  # @type AccessKeyID: Integer
4935
4945
  # @param SourceIPID: 调用源IP的ID
4936
4946
  # @type SourceIPID: Integer
4947
+ # @param AccUin: 访问账号uin
4948
+ # @type AccUin: String
4937
4949
  # @param Filter: 过滤器
4938
4950
  # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
4939
4951
 
4940
- attr_accessor :MemberId, :AccessKeyID, :SourceIPID, :Filter
4952
+ attr_accessor :MemberId, :AccessKeyID, :SourceIPID, :AccUin, :Filter
4941
4953
 
4942
- def initialize(memberid=nil, accesskeyid=nil, sourceipid=nil, filter=nil)
4954
+ def initialize(memberid=nil, accesskeyid=nil, sourceipid=nil, accuin=nil, filter=nil)
4943
4955
  @MemberId = memberid
4944
4956
  @AccessKeyID = accesskeyid
4945
4957
  @SourceIPID = sourceipid
4958
+ @AccUin = accuin
4946
4959
  @Filter = filter
4947
4960
  end
4948
4961
 
@@ -4950,6 +4963,7 @@ module TencentCloud
4950
4963
  @MemberId = params['MemberId']
4951
4964
  @AccessKeyID = params['AccessKeyID']
4952
4965
  @SourceIPID = params['SourceIPID']
4966
+ @AccUin = params['AccUin']
4953
4967
  unless params['Filter'].nil?
4954
4968
  @Filter = Filter.new
4955
4969
  @Filter.deserialize(params['Filter'])
@@ -5291,6 +5305,124 @@ module TencentCloud
5291
5305
  end
5292
5306
  end
5293
5307
 
5308
+ # DescribeConfigCheckRules请求参数结构体
5309
+ class DescribeConfigCheckRulesRequest < TencentCloud::Common::AbstractModel
5310
+ # @param MemberId: 集团账号的成员id
5311
+ # @type MemberId: Array
5312
+ # @param Filters: 过滤内容
5313
+ # @type Filters: Array
5314
+ # @param Limit: 分页大小
5315
+ # @type Limit: Integer
5316
+ # @param Offset: 偏移量
5317
+ # @type Offset: Integer
5318
+ # @param Order: 排序类型
5319
+ # @type Order: String
5320
+ # @param By: 排序字段
5321
+ # @type By: String
5322
+
5323
+ attr_accessor :MemberId, :Filters, :Limit, :Offset, :Order, :By
5324
+
5325
+ def initialize(memberid=nil, filters=nil, limit=nil, offset=nil, order=nil, by=nil)
5326
+ @MemberId = memberid
5327
+ @Filters = filters
5328
+ @Limit = limit
5329
+ @Offset = offset
5330
+ @Order = order
5331
+ @By = by
5332
+ end
5333
+
5334
+ def deserialize(params)
5335
+ @MemberId = params['MemberId']
5336
+ unless params['Filters'].nil?
5337
+ @Filters = []
5338
+ params['Filters'].each do |i|
5339
+ filters_tmp = Filters.new
5340
+ filters_tmp.deserialize(i)
5341
+ @Filters << filters_tmp
5342
+ end
5343
+ end
5344
+ @Limit = params['Limit']
5345
+ @Offset = params['Offset']
5346
+ @Order = params['Order']
5347
+ @By = params['By']
5348
+ end
5349
+ end
5350
+
5351
+ # DescribeConfigCheckRules返回参数结构体
5352
+ class DescribeConfigCheckRulesResponse < TencentCloud::Common::AbstractModel
5353
+ # @param TotalCount: 风险规则数量
5354
+ # @type TotalCount: Integer
5355
+ # @param RuleList: 风险规则列表
5356
+ # @type RuleList: Array
5357
+ # @param ProviderList: 云厂商类型选项
5358
+ # @type ProviderList: Array
5359
+ # @param RiskLevelList: 风险等级类型选项
5360
+ # @type RiskLevelList: Array
5361
+ # @param DispositionTypeList: 处置分类选项
5362
+ # @type DispositionTypeList: Array
5363
+ # @param CheckTypeList: 检查类型选项
5364
+ # @type CheckTypeList: Array
5365
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5366
+ # @type RequestId: String
5367
+
5368
+ attr_accessor :TotalCount, :RuleList, :ProviderList, :RiskLevelList, :DispositionTypeList, :CheckTypeList, :RequestId
5369
+
5370
+ def initialize(totalcount=nil, rulelist=nil, providerlist=nil, risklevellist=nil, dispositiontypelist=nil, checktypelist=nil, requestid=nil)
5371
+ @TotalCount = totalcount
5372
+ @RuleList = rulelist
5373
+ @ProviderList = providerlist
5374
+ @RiskLevelList = risklevellist
5375
+ @DispositionTypeList = dispositiontypelist
5376
+ @CheckTypeList = checktypelist
5377
+ @RequestId = requestid
5378
+ end
5379
+
5380
+ def deserialize(params)
5381
+ @TotalCount = params['TotalCount']
5382
+ unless params['RuleList'].nil?
5383
+ @RuleList = []
5384
+ params['RuleList'].each do |i|
5385
+ riskruleinfo_tmp = RiskRuleInfo.new
5386
+ riskruleinfo_tmp.deserialize(i)
5387
+ @RuleList << riskruleinfo_tmp
5388
+ end
5389
+ end
5390
+ unless params['ProviderList'].nil?
5391
+ @ProviderList = []
5392
+ params['ProviderList'].each do |i|
5393
+ attributeoptionset_tmp = AttributeOptionSet.new
5394
+ attributeoptionset_tmp.deserialize(i)
5395
+ @ProviderList << attributeoptionset_tmp
5396
+ end
5397
+ end
5398
+ unless params['RiskLevelList'].nil?
5399
+ @RiskLevelList = []
5400
+ params['RiskLevelList'].each do |i|
5401
+ attributeoptionset_tmp = AttributeOptionSet.new
5402
+ attributeoptionset_tmp.deserialize(i)
5403
+ @RiskLevelList << attributeoptionset_tmp
5404
+ end
5405
+ end
5406
+ unless params['DispositionTypeList'].nil?
5407
+ @DispositionTypeList = []
5408
+ params['DispositionTypeList'].each do |i|
5409
+ attributeoptionset_tmp = AttributeOptionSet.new
5410
+ attributeoptionset_tmp.deserialize(i)
5411
+ @DispositionTypeList << attributeoptionset_tmp
5412
+ end
5413
+ end
5414
+ unless params['CheckTypeList'].nil?
5415
+ @CheckTypeList = []
5416
+ params['CheckTypeList'].each do |i|
5417
+ attributeoptionset_tmp = AttributeOptionSet.new
5418
+ attributeoptionset_tmp.deserialize(i)
5419
+ @CheckTypeList << attributeoptionset_tmp
5420
+ end
5421
+ end
5422
+ @RequestId = params['RequestId']
5423
+ end
5424
+ end
5425
+
5294
5426
  # DescribeDbAssetInfo请求参数结构体
5295
5427
  class DescribeDbAssetInfoRequest < TencentCloud::Common::AbstractModel
5296
5428
  # @param AssetId: 资产id
@@ -9413,10 +9545,16 @@ module TencentCloud
9413
9545
  # @type AppId: Integer
9414
9546
  # @param AppIdStr: 租户ID字符串
9415
9547
  # @type AppIdStr: String
9548
+ # @param ExposureID: 记录ID
9549
+ # @type ExposureID: Integer
9550
+ # @param PortDetectCount: 端口开放数量
9551
+ # @type PortDetectCount: Integer
9552
+ # @param PortDetectResult: 端口开放结果
9553
+ # @type PortDetectResult: String
9416
9554
 
9417
- attr_accessor :Provider, :CloudAccountName, :CloudAccountId, :Domain, :Ip, :Port, :Status, :RiskType, :AclType, :AclList, :AssetId, :InstanceName, :AssetType, :PortServiceCount, :HighRiskPortServiceCount, :WebAppCount, :RiskWebAppCount, :WeakPasswordCount, :VulCount, :CreateTime, :UpdateTime, :AssetTypeName, :DisplayStatus, :DisplayRiskType, :ScanTaskStatus, :Uuid, :HasScan, :AppId, :AppIdStr
9555
+ attr_accessor :Provider, :CloudAccountName, :CloudAccountId, :Domain, :Ip, :Port, :Status, :RiskType, :AclType, :AclList, :AssetId, :InstanceName, :AssetType, :PortServiceCount, :HighRiskPortServiceCount, :WebAppCount, :RiskWebAppCount, :WeakPasswordCount, :VulCount, :CreateTime, :UpdateTime, :AssetTypeName, :DisplayStatus, :DisplayRiskType, :ScanTaskStatus, :Uuid, :HasScan, :AppId, :AppIdStr, :ExposureID, :PortDetectCount, :PortDetectResult
9418
9556
 
9419
- def initialize(provider=nil, cloudaccountname=nil, cloudaccountid=nil, domain=nil, ip=nil, port=nil, status=nil, risktype=nil, acltype=nil, acllist=nil, assetid=nil, instancename=nil, assettype=nil, portservicecount=nil, highriskportservicecount=nil, webappcount=nil, riskwebappcount=nil, weakpasswordcount=nil, vulcount=nil, createtime=nil, updatetime=nil, assettypename=nil, displaystatus=nil, displayrisktype=nil, scantaskstatus=nil, uuid=nil, hasscan=nil, appid=nil, appidstr=nil)
9557
+ def initialize(provider=nil, cloudaccountname=nil, cloudaccountid=nil, domain=nil, ip=nil, port=nil, status=nil, risktype=nil, acltype=nil, acllist=nil, assetid=nil, instancename=nil, assettype=nil, portservicecount=nil, highriskportservicecount=nil, webappcount=nil, riskwebappcount=nil, weakpasswordcount=nil, vulcount=nil, createtime=nil, updatetime=nil, assettypename=nil, displaystatus=nil, displayrisktype=nil, scantaskstatus=nil, uuid=nil, hasscan=nil, appid=nil, appidstr=nil, exposureid=nil, portdetectcount=nil, portdetectresult=nil)
9420
9558
  @Provider = provider
9421
9559
  @CloudAccountName = cloudaccountname
9422
9560
  @CloudAccountId = cloudaccountid
@@ -9446,6 +9584,9 @@ module TencentCloud
9446
9584
  @HasScan = hasscan
9447
9585
  @AppId = appid
9448
9586
  @AppIdStr = appidstr
9587
+ @ExposureID = exposureid
9588
+ @PortDetectCount = portdetectcount
9589
+ @PortDetectResult = portdetectresult
9449
9590
  end
9450
9591
 
9451
9592
  def deserialize(params)
@@ -9478,6 +9619,9 @@ module TencentCloud
9478
9619
  @HasScan = params['HasScan']
9479
9620
  @AppId = params['AppId']
9480
9621
  @AppIdStr = params['AppIdStr']
9622
+ @ExposureID = params['ExposureID']
9623
+ @PortDetectCount = params['PortDetectCount']
9624
+ @PortDetectResult = params['PortDetectResult']
9481
9625
  end
9482
9626
  end
9483
9627
 
@@ -11034,6 +11178,54 @@ module TencentCloud
11034
11178
  end
11035
11179
  end
11036
11180
 
11181
+ # 风险规则
11182
+ class RiskRuleInfo < TencentCloud::Common::AbstractModel
11183
+ # @param RuleID: 风险检查项ID
11184
+ # @type RuleID: String
11185
+ # @param Provider: 云厂商名称
11186
+ # @type Provider: String
11187
+ # @param InstanceType: 实例类型
11188
+ # @type InstanceType: String
11189
+ # @param RiskTitle: 风险名称
11190
+ # @type RiskTitle: String
11191
+ # @param CheckType: 检查类型
11192
+ # @type CheckType: String
11193
+ # @param RiskLevel: 风险等级
11194
+ # @type RiskLevel: String
11195
+ # @param RiskInfluence: 风险危害
11196
+ # @type RiskInfluence: String
11197
+ # @param RiskFixAdvance: 风险修复指引报告链接
11198
+ # @type RiskFixAdvance: String
11199
+ # @param DispositionType: 边界管控
11200
+ # @type DispositionType: String
11201
+
11202
+ attr_accessor :RuleID, :Provider, :InstanceType, :RiskTitle, :CheckType, :RiskLevel, :RiskInfluence, :RiskFixAdvance, :DispositionType
11203
+
11204
+ def initialize(ruleid=nil, provider=nil, instancetype=nil, risktitle=nil, checktype=nil, risklevel=nil, riskinfluence=nil, riskfixadvance=nil, dispositiontype=nil)
11205
+ @RuleID = ruleid
11206
+ @Provider = provider
11207
+ @InstanceType = instancetype
11208
+ @RiskTitle = risktitle
11209
+ @CheckType = checktype
11210
+ @RiskLevel = risklevel
11211
+ @RiskInfluence = riskinfluence
11212
+ @RiskFixAdvance = riskfixadvance
11213
+ @DispositionType = dispositiontype
11214
+ end
11215
+
11216
+ def deserialize(params)
11217
+ @RuleID = params['RuleID']
11218
+ @Provider = params['Provider']
11219
+ @InstanceType = params['InstanceType']
11220
+ @RiskTitle = params['RiskTitle']
11221
+ @CheckType = params['CheckType']
11222
+ @RiskLevel = params['RiskLevel']
11223
+ @RiskInfluence = params['RiskInfluence']
11224
+ @RiskFixAdvance = params['RiskFixAdvance']
11225
+ @DispositionType = params['DispositionType']
11226
+ end
11227
+ end
11228
+
11037
11229
  # 风险规则
11038
11230
  class RiskRuleItem < TencentCloud::Common::AbstractModel
11039
11231
  # @param ItemId: 风险检查项ID
@@ -11711,6 +11903,34 @@ module TencentCloud
11711
11903
  end
11712
11904
  end
11713
11905
 
11906
+ # 调用源IP 外部账号信息
11907
+ class SourceIPVpcInfo < TencentCloud::Common::AbstractModel
11908
+ # @param Name: 账号名称
11909
+ # @type Name: String
11910
+ # @param AppID: vpc所属appid
11911
+ # @type AppID: Integer
11912
+ # @param VpcID: vpc id
11913
+ # @type VpcID: String
11914
+ # @param VpcName: vpc 名称
11915
+ # @type VpcName: String
11916
+
11917
+ attr_accessor :Name, :AppID, :VpcID, :VpcName
11918
+
11919
+ def initialize(name=nil, appid=nil, vpcid=nil, vpcname=nil)
11920
+ @Name = name
11921
+ @AppID = appid
11922
+ @VpcID = vpcid
11923
+ @VpcName = vpcname
11924
+ end
11925
+
11926
+ def deserialize(params)
11927
+ @Name = params['Name']
11928
+ @AppID = params['AppID']
11929
+ @VpcID = params['VpcID']
11930
+ @VpcName = params['VpcName']
11931
+ end
11932
+ end
11933
+
11714
11934
  # 用户行为分析 统计条件
11715
11935
  class StatisticalFilter < TencentCloud::Common::AbstractModel
11716
11936
  # @param OperatorType: 0:不基于统计检测
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.1103
4
+ version: 3.0.1119
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-17 00:00:00.000000000 Z
11
+ date: 2025-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common