tencentcloud-sdk-csip 3.0.969 → 3.0.971

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: fd4705900a8cdd5388c99220ecffa0cf079b3655
4
- data.tar.gz: 1814c1b064be3671f490f5088b0875a2292fb265
3
+ metadata.gz: 41efe7193f3675631c345f38db8b19e37078a59b
4
+ data.tar.gz: 15949e422b3c7a3c5053b8048c09695d9207ec1c
5
5
  SHA512:
6
- metadata.gz: 30df419b82cba3951b97a62405049673cc74f92ae55a785f5498ff39b49440f810b35fe3192fbfe77f05f3fb2b12d2057d773bf8f45a31ecd2eb83006fb2f00f
7
- data.tar.gz: 151b83690b6c84a4007410f764198d166edb680ad9206c479d358adf5ef2722eaa1500625d54b4a27bbff2878ca258e8cdfc8ab8c6c2cdeff5bc79f96318186d
6
+ metadata.gz: d9e799469108da411897db464f556679f2774af73e0dd948ec02c9be87d3ef85e3b89566c774aa437962cfbda2bec8bc434564560899c2a16a7abbcaa9ed5d82
7
+ data.tar.gz: 0b8ab188eefb5a60306eb1a76a76113dbf8e26e3a03d35ebc6cc58417b5b708ee68a7115548798e2a29a590fdcb41fdeb273df0121fcc40344754fa979d78b7e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.969
1
+ 3.0.971
@@ -269,6 +269,30 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 集群列表
273
+
274
+ # @param request: Request instance for DescribeClusterAssets.
275
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeClusterAssetsRequest`
276
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeClusterAssetsResponse`
277
+ def DescribeClusterAssets(request)
278
+ body = send_request('DescribeClusterAssets', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeClusterAssetsResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
272
296
  # 集群pod列表
273
297
 
274
298
  # @param request: Request instance for DescribeClusterPodAssets.
@@ -437,6 +461,30 @@ module TencentCloud
437
461
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
462
  end
439
463
 
464
+ # 查询集团账号详情
465
+
466
+ # @param request: Request instance for DescribeOrganizationInfo.
467
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeOrganizationInfoRequest`
468
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeOrganizationInfoResponse`
469
+ def DescribeOrganizationInfo(request)
470
+ body = send_request('DescribeOrganizationInfo', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = DescribeOrganizationInfoResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
440
488
  # 查询集团账号用户列表
441
489
 
442
490
  # @param request: Request instance for DescribeOrganizationUserInfo.
@@ -749,6 +797,30 @@ module TencentCloud
749
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
798
  end
751
799
 
800
+ # 查询集团的子账号列表
801
+
802
+ # @param request: Request instance for DescribeSubUserInfo.
803
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeSubUserInfoRequest`
804
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeSubUserInfoResponse`
805
+ def DescribeSubUserInfo(request)
806
+ body = send_request('DescribeSubUserInfo', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeSubUserInfoResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
752
824
  # 获取子网列表
753
825
 
754
826
  # @param request: Request instance for DescribeSubnetAssets.
@@ -845,6 +917,30 @@ module TencentCloud
845
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
918
  end
847
919
 
920
+ # 查询用户行为分析策略列表
921
+
922
+ # @param request: Request instance for DescribeUebaRule.
923
+ # @type request: :class:`Tencentcloud::csip::V20221121::DescribeUebaRuleRequest`
924
+ # @rtype: :class:`Tencentcloud::csip::V20221121::DescribeUebaRuleResponse`
925
+ def DescribeUebaRule(request)
926
+ body = send_request('DescribeUebaRule', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DescribeUebaRuleResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
848
944
  # 查询漏洞风险高级配置
849
945
 
850
946
  # @param request: Request instance for DescribeVULRiskAdvanceCFGList.
@@ -1013,6 +1109,30 @@ module TencentCloud
1013
1109
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
1110
  end
1015
1111
 
1112
+ # 更新自定义策略的开关
1113
+
1114
+ # @param request: Request instance for ModifyUebaRuleSwitch.
1115
+ # @type request: :class:`Tencentcloud::csip::V20221121::ModifyUebaRuleSwitchRequest`
1116
+ # @rtype: :class:`Tencentcloud::csip::V20221121::ModifyUebaRuleSwitchResponse`
1117
+ def ModifyUebaRuleSwitch(request)
1118
+ body = send_request('ModifyUebaRuleSwitch', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = ModifyUebaRuleSwitchResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
1016
1136
  # 停止扫风险中心扫描任务
1017
1137
 
1018
1138
  # @param request: Request instance for StopRiskCenterTask.
@@ -712,6 +712,146 @@ module TencentCloud
712
712
  end
713
713
  end
714
714
 
715
+ # 集群列表
716
+
717
+ # 集群防护状态,左边枚举,右边为显示
718
+ # 集群防护状态
719
+ # 0:未接入
720
+ # 1:未防护
721
+ # 2:部分防护
722
+ # 3:防护中
723
+ # 4:接入异常
724
+ # 5:接入中
725
+ # 6:卸载中
726
+ # 7:卸载异常
727
+ class AssetCluster < TencentCloud::Common::AbstractModel
728
+ # @param AppId: 租户id
729
+ # @type AppId: Integer
730
+ # @param Uin: 租户uin
731
+ # @type Uin: String
732
+ # @param Nick: 租户昵称
733
+ # @type Nick: String
734
+ # @param Region: 地域
735
+ # @type Region: String
736
+ # @param AssetId: 集群id
737
+ # @type AssetId: String
738
+ # @param AssetName: 集群名称
739
+ # @type AssetName: String
740
+ # @param AssetType: 集群类型
741
+ # @type AssetType: String
742
+ # @param InstanceCreateTime: 集群创建时间
743
+ # @type InstanceCreateTime: String
744
+ # @param Status: 状态
745
+ # @type Status: String
746
+ # @param ProtectStatus: 集群防护状态,左边枚举,右边为显示
747
+ # 集群防护状态
748
+ # 0:未接入
749
+ # 1:未防护
750
+ # 2:部分防护
751
+ # 3:防护中
752
+ # 4:接入异常
753
+ # 5:接入中
754
+ # 6:卸载中
755
+ # 7:卸载异常
756
+ # @type ProtectStatus: Integer
757
+ # @param ProtectInfo: 接入信息,不为空表示有接入异常信息
758
+ # @type ProtectInfo: String
759
+ # @param VpcId: 私有网络id
760
+ # @type VpcId: String
761
+ # @param VpcName: 私有网络名称
762
+ # @type VpcName: String
763
+ # @param KubernetesVersion: kubernetes版本
764
+ # @type KubernetesVersion: String
765
+ # @param Component: 运行时组件
766
+ # @type Component: String
767
+ # @param ComponentVersion: 运行时组件版本
768
+ # @type ComponentVersion: String
769
+ # @param ComponentStatus: 组件状态
770
+ # @type ComponentStatus: String
771
+ # @param CheckTime: 体检时间
772
+ # @type CheckTime: String
773
+ # @param MachineCount: 关联主机数
774
+ # @type MachineCount: Integer
775
+ # @param PodCount: 关联pod数
776
+ # @type PodCount: Integer
777
+ # @param ServiceCount: 关联service数
778
+ # @type ServiceCount: Integer
779
+ # @param VulRisk: 漏洞风险
780
+ # @type VulRisk: Integer
781
+ # @param CFGRisk: 配置风险
782
+ # @type CFGRisk: Integer
783
+ # @param CheckCount: 体检数
784
+ # @type CheckCount: Integer
785
+ # @param IsCore: 是否核心:1:核心,2:非核心
786
+ # @type IsCore: Integer
787
+ # @param IsNewAsset: 是否新资产 1新
788
+ # @type IsNewAsset: Integer
789
+ # @param CloudType: 云资产类型:0:腾讯云,1:aws,2:azure
790
+ # @type CloudType: Integer
791
+
792
+ attr_accessor :AppId, :Uin, :Nick, :Region, :AssetId, :AssetName, :AssetType, :InstanceCreateTime, :Status, :ProtectStatus, :ProtectInfo, :VpcId, :VpcName, :KubernetesVersion, :Component, :ComponentVersion, :ComponentStatus, :CheckTime, :MachineCount, :PodCount, :ServiceCount, :VulRisk, :CFGRisk, :CheckCount, :IsCore, :IsNewAsset, :CloudType
793
+
794
+ def initialize(appid=nil, uin=nil, nick=nil, region=nil, assetid=nil, assetname=nil, assettype=nil, instancecreatetime=nil, status=nil, protectstatus=nil, protectinfo=nil, vpcid=nil, vpcname=nil, kubernetesversion=nil, component=nil, componentversion=nil, componentstatus=nil, checktime=nil, machinecount=nil, podcount=nil, servicecount=nil, vulrisk=nil, cfgrisk=nil, checkcount=nil, iscore=nil, isnewasset=nil, cloudtype=nil)
795
+ @AppId = appid
796
+ @Uin = uin
797
+ @Nick = nick
798
+ @Region = region
799
+ @AssetId = assetid
800
+ @AssetName = assetname
801
+ @AssetType = assettype
802
+ @InstanceCreateTime = instancecreatetime
803
+ @Status = status
804
+ @ProtectStatus = protectstatus
805
+ @ProtectInfo = protectinfo
806
+ @VpcId = vpcid
807
+ @VpcName = vpcname
808
+ @KubernetesVersion = kubernetesversion
809
+ @Component = component
810
+ @ComponentVersion = componentversion
811
+ @ComponentStatus = componentstatus
812
+ @CheckTime = checktime
813
+ @MachineCount = machinecount
814
+ @PodCount = podcount
815
+ @ServiceCount = servicecount
816
+ @VulRisk = vulrisk
817
+ @CFGRisk = cfgrisk
818
+ @CheckCount = checkcount
819
+ @IsCore = iscore
820
+ @IsNewAsset = isnewasset
821
+ @CloudType = cloudtype
822
+ end
823
+
824
+ def deserialize(params)
825
+ @AppId = params['AppId']
826
+ @Uin = params['Uin']
827
+ @Nick = params['Nick']
828
+ @Region = params['Region']
829
+ @AssetId = params['AssetId']
830
+ @AssetName = params['AssetName']
831
+ @AssetType = params['AssetType']
832
+ @InstanceCreateTime = params['InstanceCreateTime']
833
+ @Status = params['Status']
834
+ @ProtectStatus = params['ProtectStatus']
835
+ @ProtectInfo = params['ProtectInfo']
836
+ @VpcId = params['VpcId']
837
+ @VpcName = params['VpcName']
838
+ @KubernetesVersion = params['KubernetesVersion']
839
+ @Component = params['Component']
840
+ @ComponentVersion = params['ComponentVersion']
841
+ @ComponentStatus = params['ComponentStatus']
842
+ @CheckTime = params['CheckTime']
843
+ @MachineCount = params['MachineCount']
844
+ @PodCount = params['PodCount']
845
+ @ServiceCount = params['ServiceCount']
846
+ @VulRisk = params['VulRisk']
847
+ @CFGRisk = params['CFGRisk']
848
+ @CheckCount = params['CheckCount']
849
+ @IsCore = params['IsCore']
850
+ @IsNewAsset = params['IsNewAsset']
851
+ @CloudType = params['CloudType']
852
+ end
853
+ end
854
+
715
855
  # 集群pod列表
716
856
  class AssetClusterPod < TencentCloud::Common::AbstractModel
717
857
  # @param AppId: 租户id
@@ -1976,6 +2116,31 @@ module TencentCloud
1976
2116
  end
1977
2117
  end
1978
2118
 
2119
+ # 多云账户统计信息
2120
+ class CloudCountDesc < TencentCloud::Common::AbstractModel
2121
+ # @param CloudType: 0表示腾讯云
2122
+ # 1表示AWS
2123
+ # @type CloudType: Integer
2124
+ # @param CloudCount: 账户数量
2125
+ # @type CloudCount: Integer
2126
+ # @param CloudDesc: 该云账号类型描述
2127
+ # @type CloudDesc: String
2128
+
2129
+ attr_accessor :CloudType, :CloudCount, :CloudDesc
2130
+
2131
+ def initialize(cloudtype=nil, cloudcount=nil, clouddesc=nil)
2132
+ @CloudType = cloudtype
2133
+ @CloudCount = cloudcount
2134
+ @CloudDesc = clouddesc
2135
+ end
2136
+
2137
+ def deserialize(params)
2138
+ @CloudType = params['CloudType']
2139
+ @CloudCount = params['CloudCount']
2140
+ @CloudDesc = params['CloudDesc']
2141
+ end
2142
+ end
2143
+
1979
2144
  # CreateDomainAndIp请求参数结构体
1980
2145
  class CreateDomainAndIpRequest < TencentCloud::Common::AbstractModel
1981
2146
  # @param Content: 公网IP/域名
@@ -3000,6 +3165,137 @@ module TencentCloud
3000
3165
  end
3001
3166
  end
3002
3167
 
3168
+ # DescribeClusterAssets请求参数结构体
3169
+ class DescribeClusterAssetsRequest < TencentCloud::Common::AbstractModel
3170
+ # @param MemberId: 集团账号的成员id
3171
+ # @type MemberId: Array
3172
+ # @param Filter: 过滤
3173
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
3174
+
3175
+ attr_accessor :MemberId, :Filter
3176
+
3177
+ def initialize(memberid=nil, filter=nil)
3178
+ @MemberId = memberid
3179
+ @Filter = filter
3180
+ end
3181
+
3182
+ def deserialize(params)
3183
+ @MemberId = params['MemberId']
3184
+ unless params['Filter'].nil?
3185
+ @Filter = Filter.new
3186
+ @Filter.deserialize(params['Filter'])
3187
+ end
3188
+ end
3189
+ end
3190
+
3191
+ # DescribeClusterAssets返回参数结构体
3192
+ class DescribeClusterAssetsResponse < TencentCloud::Common::AbstractModel
3193
+ # @param Data: 列表
3194
+ # @type Data: Array
3195
+ # @param TotalCount: 总数
3196
+ # @type TotalCount: Integer
3197
+ # @param ClusterTypeList: 集群类型枚举
3198
+ # @type ClusterTypeList: Array
3199
+ # @param ClusterStatusList: 集群状态枚举
3200
+ # @type ClusterStatusList: Array
3201
+ # @param ComponentStatusList: 组件状态枚举
3202
+ # @type ComponentStatusList: Array
3203
+ # @param VpcList: 私有网络枚举
3204
+ # @type VpcList: Array
3205
+ # @param RegionList: 地域枚举
3206
+ # @type RegionList: Array
3207
+ # @param AppIdList: 租户枚举
3208
+ # @type AppIdList: Array
3209
+ # @param ProtectStatusList: 集群防护状态枚举
3210
+ # @type ProtectStatusList: Array
3211
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3212
+ # @type RequestId: String
3213
+
3214
+ attr_accessor :Data, :TotalCount, :ClusterTypeList, :ClusterStatusList, :ComponentStatusList, :VpcList, :RegionList, :AppIdList, :ProtectStatusList, :RequestId
3215
+
3216
+ def initialize(data=nil, totalcount=nil, clustertypelist=nil, clusterstatuslist=nil, componentstatuslist=nil, vpclist=nil, regionlist=nil, appidlist=nil, protectstatuslist=nil, requestid=nil)
3217
+ @Data = data
3218
+ @TotalCount = totalcount
3219
+ @ClusterTypeList = clustertypelist
3220
+ @ClusterStatusList = clusterstatuslist
3221
+ @ComponentStatusList = componentstatuslist
3222
+ @VpcList = vpclist
3223
+ @RegionList = regionlist
3224
+ @AppIdList = appidlist
3225
+ @ProtectStatusList = protectstatuslist
3226
+ @RequestId = requestid
3227
+ end
3228
+
3229
+ def deserialize(params)
3230
+ unless params['Data'].nil?
3231
+ @Data = []
3232
+ params['Data'].each do |i|
3233
+ assetcluster_tmp = AssetCluster.new
3234
+ assetcluster_tmp.deserialize(i)
3235
+ @Data << assetcluster_tmp
3236
+ end
3237
+ end
3238
+ @TotalCount = params['TotalCount']
3239
+ unless params['ClusterTypeList'].nil?
3240
+ @ClusterTypeList = []
3241
+ params['ClusterTypeList'].each do |i|
3242
+ filterdataobject_tmp = FilterDataObject.new
3243
+ filterdataobject_tmp.deserialize(i)
3244
+ @ClusterTypeList << filterdataobject_tmp
3245
+ end
3246
+ end
3247
+ unless params['ClusterStatusList'].nil?
3248
+ @ClusterStatusList = []
3249
+ params['ClusterStatusList'].each do |i|
3250
+ filterdataobject_tmp = FilterDataObject.new
3251
+ filterdataobject_tmp.deserialize(i)
3252
+ @ClusterStatusList << filterdataobject_tmp
3253
+ end
3254
+ end
3255
+ unless params['ComponentStatusList'].nil?
3256
+ @ComponentStatusList = []
3257
+ params['ComponentStatusList'].each do |i|
3258
+ filterdataobject_tmp = FilterDataObject.new
3259
+ filterdataobject_tmp.deserialize(i)
3260
+ @ComponentStatusList << filterdataobject_tmp
3261
+ end
3262
+ end
3263
+ unless params['VpcList'].nil?
3264
+ @VpcList = []
3265
+ params['VpcList'].each do |i|
3266
+ filterdataobject_tmp = FilterDataObject.new
3267
+ filterdataobject_tmp.deserialize(i)
3268
+ @VpcList << filterdataobject_tmp
3269
+ end
3270
+ end
3271
+ unless params['RegionList'].nil?
3272
+ @RegionList = []
3273
+ params['RegionList'].each do |i|
3274
+ filterdataobject_tmp = FilterDataObject.new
3275
+ filterdataobject_tmp.deserialize(i)
3276
+ @RegionList << filterdataobject_tmp
3277
+ end
3278
+ end
3279
+ unless params['AppIdList'].nil?
3280
+ @AppIdList = []
3281
+ params['AppIdList'].each do |i|
3282
+ filterdataobject_tmp = FilterDataObject.new
3283
+ filterdataobject_tmp.deserialize(i)
3284
+ @AppIdList << filterdataobject_tmp
3285
+ end
3286
+ end
3287
+ unless params['ProtectStatusList'].nil?
3288
+ @ProtectStatusList = []
3289
+ params['ProtectStatusList'].each do |i|
3290
+ filterdataobject_tmp = FilterDataObject.new
3291
+ filterdataobject_tmp.deserialize(i)
3292
+ @ProtectStatusList << filterdataobject_tmp
3293
+ end
3294
+ end
3295
+ @RequestId = params['RequestId']
3296
+ end
3297
+ end
3298
+
3003
3299
  # DescribeClusterPodAssets请求参数结构体
3004
3300
  class DescribeClusterPodAssetsRequest < TencentCloud::Common::AbstractModel
3005
3301
  # @param MemberId: 集团账号的成员id
@@ -3609,6 +3905,53 @@ module TencentCloud
3609
3905
  end
3610
3906
  end
3611
3907
 
3908
+ # DescribeOrganizationInfo请求参数结构体
3909
+ class DescribeOrganizationInfoRequest < TencentCloud::Common::AbstractModel
3910
+ # @param MemberId: 集团账号的成员id
3911
+ # @type MemberId: Array
3912
+
3913
+ attr_accessor :MemberId
3914
+
3915
+ def initialize(memberid=nil)
3916
+ @MemberId = memberid
3917
+ end
3918
+
3919
+ def deserialize(params)
3920
+ @MemberId = params['MemberId']
3921
+ end
3922
+ end
3923
+
3924
+ # DescribeOrganizationInfo返回参数结构体
3925
+ class DescribeOrganizationInfoResponse < TencentCloud::Common::AbstractModel
3926
+ # @param TotalCount: 总条数
3927
+ # @type TotalCount: Integer
3928
+ # @param Data: 集团用户列表
3929
+ # @type Data: Array
3930
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3931
+ # @type RequestId: String
3932
+
3933
+ attr_accessor :TotalCount, :Data, :RequestId
3934
+
3935
+ def initialize(totalcount=nil, data=nil, requestid=nil)
3936
+ @TotalCount = totalcount
3937
+ @Data = data
3938
+ @RequestId = requestid
3939
+ end
3940
+
3941
+ def deserialize(params)
3942
+ @TotalCount = params['TotalCount']
3943
+ unless params['Data'].nil?
3944
+ @Data = []
3945
+ params['Data'].each do |i|
3946
+ organizationinfo_tmp = OrganizationInfo.new
3947
+ organizationinfo_tmp.deserialize(i)
3948
+ @Data << organizationinfo_tmp
3949
+ end
3950
+ end
3951
+ @RequestId = params['RequestId']
3952
+ end
3953
+ end
3954
+
3612
3955
  # DescribeOrganizationUserInfo请求参数结构体
3613
3956
  class DescribeOrganizationUserInfoRequest < TencentCloud::Common::AbstractModel
3614
3957
  # @param MemberId: 集团账号的成员id
@@ -4881,6 +5224,82 @@ module TencentCloud
4881
5224
  end
4882
5225
  end
4883
5226
 
5227
+ # DescribeSubUserInfo请求参数结构体
5228
+ class DescribeSubUserInfoRequest < TencentCloud::Common::AbstractModel
5229
+ # @param MemberId: 集团账号的成员id
5230
+ # @type MemberId: Array
5231
+ # @param Filter: 过滤内容
5232
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
5233
+
5234
+ attr_accessor :MemberId, :Filter
5235
+
5236
+ def initialize(memberid=nil, filter=nil)
5237
+ @MemberId = memberid
5238
+ @Filter = filter
5239
+ end
5240
+
5241
+ def deserialize(params)
5242
+ @MemberId = params['MemberId']
5243
+ unless params['Filter'].nil?
5244
+ @Filter = Filter.new
5245
+ @Filter.deserialize(params['Filter'])
5246
+ end
5247
+ end
5248
+ end
5249
+
5250
+ # DescribeSubUserInfo返回参数结构体
5251
+ class DescribeSubUserInfoResponse < TencentCloud::Common::AbstractModel
5252
+ # @param TotalCount: 总数
5253
+ # @type TotalCount: Integer
5254
+ # @param Data: 子用户列表
5255
+ # @type Data: Array
5256
+ # @param CloudTypeLst: 厂商枚举列表
5257
+ # @type CloudTypeLst: Array
5258
+ # @param OwnerAppIDLst: 所属主账号appid枚举
5259
+ # @type OwnerAppIDLst: Array
5260
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5261
+ # @type RequestId: String
5262
+
5263
+ attr_accessor :TotalCount, :Data, :CloudTypeLst, :OwnerAppIDLst, :RequestId
5264
+
5265
+ def initialize(totalcount=nil, data=nil, cloudtypelst=nil, ownerappidlst=nil, requestid=nil)
5266
+ @TotalCount = totalcount
5267
+ @Data = data
5268
+ @CloudTypeLst = cloudtypelst
5269
+ @OwnerAppIDLst = ownerappidlst
5270
+ @RequestId = requestid
5271
+ end
5272
+
5273
+ def deserialize(params)
5274
+ @TotalCount = params['TotalCount']
5275
+ unless params['Data'].nil?
5276
+ @Data = []
5277
+ params['Data'].each do |i|
5278
+ subuserinfo_tmp = SubUserInfo.new
5279
+ subuserinfo_tmp.deserialize(i)
5280
+ @Data << subuserinfo_tmp
5281
+ end
5282
+ end
5283
+ unless params['CloudTypeLst'].nil?
5284
+ @CloudTypeLst = []
5285
+ params['CloudTypeLst'].each do |i|
5286
+ filterdataobject_tmp = FilterDataObject.new
5287
+ filterdataobject_tmp.deserialize(i)
5288
+ @CloudTypeLst << filterdataobject_tmp
5289
+ end
5290
+ end
5291
+ unless params['OwnerAppIDLst'].nil?
5292
+ @OwnerAppIDLst = []
5293
+ params['OwnerAppIDLst'].each do |i|
5294
+ filterdataobject_tmp = FilterDataObject.new
5295
+ filterdataobject_tmp.deserialize(i)
5296
+ @OwnerAppIDLst << filterdataobject_tmp
5297
+ end
5298
+ end
5299
+ @RequestId = params['RequestId']
5300
+ end
5301
+ end
5302
+
4884
5303
  # DescribeSubnetAssets请求参数结构体
4885
5304
  class DescribeSubnetAssetsRequest < TencentCloud::Common::AbstractModel
4886
5305
  # @param MemberId: 集团账号的成员id
@@ -5157,6 +5576,71 @@ module TencentCloud
5157
5576
  end
5158
5577
  end
5159
5578
 
5579
+ # DescribeUebaRule请求参数结构体
5580
+ class DescribeUebaRuleRequest < TencentCloud::Common::AbstractModel
5581
+ # @param MemberId: 集团账号的成员id
5582
+ # @type MemberId: Array
5583
+ # @param Filter: 过滤条件
5584
+ # @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
5585
+
5586
+ attr_accessor :MemberId, :Filter
5587
+
5588
+ def initialize(memberid=nil, filter=nil)
5589
+ @MemberId = memberid
5590
+ @Filter = filter
5591
+ end
5592
+
5593
+ def deserialize(params)
5594
+ @MemberId = params['MemberId']
5595
+ unless params['Filter'].nil?
5596
+ @Filter = Filter.new
5597
+ @Filter.deserialize(params['Filter'])
5598
+ end
5599
+ end
5600
+ end
5601
+
5602
+ # DescribeUebaRule返回参数结构体
5603
+ class DescribeUebaRuleResponse < TencentCloud::Common::AbstractModel
5604
+ # @param TotalCount: 总数
5605
+ # @type TotalCount: Integer
5606
+ # @param Data: 策略列表
5607
+ # @type Data: Array
5608
+ # @param AlterType: 自定义策略对应的告警类别枚举
5609
+ # @type AlterType: Array
5610
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5611
+ # @type RequestId: String
5612
+
5613
+ attr_accessor :TotalCount, :Data, :AlterType, :RequestId
5614
+
5615
+ def initialize(totalcount=nil, data=nil, altertype=nil, requestid=nil)
5616
+ @TotalCount = totalcount
5617
+ @Data = data
5618
+ @AlterType = altertype
5619
+ @RequestId = requestid
5620
+ end
5621
+
5622
+ def deserialize(params)
5623
+ @TotalCount = params['TotalCount']
5624
+ unless params['Data'].nil?
5625
+ @Data = []
5626
+ params['Data'].each do |i|
5627
+ uebarule_tmp = UebaRule.new
5628
+ uebarule_tmp.deserialize(i)
5629
+ @Data << uebarule_tmp
5630
+ end
5631
+ end
5632
+ unless params['AlterType'].nil?
5633
+ @AlterType = []
5634
+ params['AlterType'].each do |i|
5635
+ filterdataobject_tmp = FilterDataObject.new
5636
+ filterdataobject_tmp.deserialize(i)
5637
+ @AlterType << filterdataobject_tmp
5638
+ end
5639
+ end
5640
+ @RequestId = params['RequestId']
5641
+ end
5642
+ end
5643
+
5160
5644
  # DescribeVULRiskAdvanceCFGList请求参数结构体
5161
5645
  class DescribeVULRiskAdvanceCFGListRequest < TencentCloud::Common::AbstractModel
5162
5646
  # @param MemberId: 集团账号的成员id
@@ -6297,6 +6781,54 @@ module TencentCloud
6297
6781
  end
6298
6782
  end
6299
6783
 
6784
+ # ModifyUebaRuleSwitch请求参数结构体
6785
+ class ModifyUebaRuleSwitchRequest < TencentCloud::Common::AbstractModel
6786
+ # @param RuleID: 策略ID
6787
+ # @type RuleID: String
6788
+ # @param Status: 开关状态
6789
+ # @type Status: Boolean
6790
+ # @param MemberId: 集团账号的成员id
6791
+ # @type MemberId: Array
6792
+
6793
+ attr_accessor :RuleID, :Status, :MemberId
6794
+
6795
+ def initialize(ruleid=nil, status=nil, memberid=nil)
6796
+ @RuleID = ruleid
6797
+ @Status = status
6798
+ @MemberId = memberid
6799
+ end
6800
+
6801
+ def deserialize(params)
6802
+ @RuleID = params['RuleID']
6803
+ @Status = params['Status']
6804
+ @MemberId = params['MemberId']
6805
+ end
6806
+ end
6807
+
6808
+ # ModifyUebaRuleSwitch返回参数结构体
6809
+ class ModifyUebaRuleSwitchResponse < TencentCloud::Common::AbstractModel
6810
+ # @param Code: 0成功,1失败
6811
+ # @type Code: Integer
6812
+ # @param Msg: 返回信息
6813
+ # @type Msg: String
6814
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6815
+ # @type RequestId: String
6816
+
6817
+ attr_accessor :Code, :Msg, :RequestId
6818
+
6819
+ def initialize(code=nil, msg=nil, requestid=nil)
6820
+ @Code = code
6821
+ @Msg = msg
6822
+ @RequestId = requestid
6823
+ end
6824
+
6825
+ def deserialize(params)
6826
+ @Code = params['Code']
6827
+ @Msg = params['Msg']
6828
+ @RequestId = params['RequestId']
6829
+ end
6830
+ end
6831
+
6300
6832
  # 网卡资产
6301
6833
  class NICAsset < TencentCloud::Common::AbstractModel
6302
6834
  # @param AppId: appid
@@ -6460,6 +6992,133 @@ module TencentCloud
6460
6992
  end
6461
6993
  end
6462
6994
 
6995
+ # 集团账号详情
6996
+ class OrganizationInfo < TencentCloud::Common::AbstractModel
6997
+ # @param NickName: 成员账号名称
6998
+ # @type NickName: String
6999
+ # @param NodeName: 部门节点名称,账号所属部门
7000
+ # @type NodeName: String
7001
+ # @param Role: Member/Admin/DelegatedAdmin/EntityAdmin; 成员/管理员/委派管理员/主体管理员
7002
+ # @type Role: String
7003
+ # @param MemberId: 成员账号id
7004
+ # @type MemberId: String
7005
+ # @param JoinType: 账号加入方式,create/invite
7006
+ # @type JoinType: String
7007
+ # @param GroupName: 集团名称
7008
+ # @type GroupName: String
7009
+ # @param AdminName: 管理员账号名称
7010
+ # @type AdminName: String
7011
+ # @param AdminUin: 管理员Uin
7012
+ # @type AdminUin: String
7013
+ # @param CreateTime: 创建时间
7014
+ # @type CreateTime: String
7015
+ # @param NodeCount: 部门数
7016
+ # @type NodeCount: Integer
7017
+ # @param MemberCount: 成员数
7018
+ # @type MemberCount: Integer
7019
+ # @param SubAccountCount: 子账号数
7020
+ # @type SubAccountCount: Integer
7021
+ # @param AbnormalSubUserCount: 异常子账号数量
7022
+ # @type AbnormalSubUserCount: Integer
7023
+ # @param GroupPermission: 集团关系策略权限
7024
+ # @type GroupPermission: Array
7025
+ # @param MemberPermission: 成员关系策略权限
7026
+ # @type MemberPermission: Array
7027
+ # @param GroupPayMode: 集团付费模式;0/自付费,1/代付费
7028
+ # @type GroupPayMode: Integer
7029
+ # @param MemberPayMode: 个人付费模式;0/自付费,1/代付费
7030
+ # @type MemberPayMode: Integer
7031
+ # @param CFWProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
7032
+ # @type CFWProtect: String
7033
+ # @param WAFProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
7034
+ # @type WAFProtect: String
7035
+ # @param CWPProtect: 空则未开启,否则不同字符串对应不同版本,common为通用,不区分版本
7036
+ # @type CWPProtect: String
7037
+ # @param Departments: 所有部门的集合数组
7038
+ # @type Departments: Array
7039
+ # @param MemberCreateTime: 成员创建时间
7040
+ # @type MemberCreateTime: String
7041
+ # @param CSIPProtect: Advanced/Enterprise/Ultimate
7042
+ # @type CSIPProtect: String
7043
+ # @param QuotaConsumer: 1表示配额消耗方
7044
+ # @type QuotaConsumer: Integer
7045
+ # @param EnableAdminCount: 管理员/委派管理员 已开启数量
7046
+ # @type EnableAdminCount: Integer
7047
+ # @param CloudCountDesc: 账户多云信息统计,数组形式,具体参考CloudCountDesc描述
7048
+ # @type CloudCountDesc: Array
7049
+ # @param AdminCount: 管理员/委派管理员 总数量
7050
+ # @type AdminCount: Integer
7051
+
7052
+ attr_accessor :NickName, :NodeName, :Role, :MemberId, :JoinType, :GroupName, :AdminName, :AdminUin, :CreateTime, :NodeCount, :MemberCount, :SubAccountCount, :AbnormalSubUserCount, :GroupPermission, :MemberPermission, :GroupPayMode, :MemberPayMode, :CFWProtect, :WAFProtect, :CWPProtect, :Departments, :MemberCreateTime, :CSIPProtect, :QuotaConsumer, :EnableAdminCount, :CloudCountDesc, :AdminCount
7053
+
7054
+ def initialize(nickname=nil, nodename=nil, role=nil, memberid=nil, jointype=nil, groupname=nil, adminname=nil, adminuin=nil, createtime=nil, nodecount=nil, membercount=nil, subaccountcount=nil, abnormalsubusercount=nil, grouppermission=nil, memberpermission=nil, grouppaymode=nil, memberpaymode=nil, cfwprotect=nil, wafprotect=nil, cwpprotect=nil, departments=nil, membercreatetime=nil, csipprotect=nil, quotaconsumer=nil, enableadmincount=nil, cloudcountdesc=nil, admincount=nil)
7055
+ @NickName = nickname
7056
+ @NodeName = nodename
7057
+ @Role = role
7058
+ @MemberId = memberid
7059
+ @JoinType = jointype
7060
+ @GroupName = groupname
7061
+ @AdminName = adminname
7062
+ @AdminUin = adminuin
7063
+ @CreateTime = createtime
7064
+ @NodeCount = nodecount
7065
+ @MemberCount = membercount
7066
+ @SubAccountCount = subaccountcount
7067
+ @AbnormalSubUserCount = abnormalsubusercount
7068
+ @GroupPermission = grouppermission
7069
+ @MemberPermission = memberpermission
7070
+ @GroupPayMode = grouppaymode
7071
+ @MemberPayMode = memberpaymode
7072
+ @CFWProtect = cfwprotect
7073
+ @WAFProtect = wafprotect
7074
+ @CWPProtect = cwpprotect
7075
+ @Departments = departments
7076
+ @MemberCreateTime = membercreatetime
7077
+ @CSIPProtect = csipprotect
7078
+ @QuotaConsumer = quotaconsumer
7079
+ @EnableAdminCount = enableadmincount
7080
+ @CloudCountDesc = cloudcountdesc
7081
+ @AdminCount = admincount
7082
+ end
7083
+
7084
+ def deserialize(params)
7085
+ @NickName = params['NickName']
7086
+ @NodeName = params['NodeName']
7087
+ @Role = params['Role']
7088
+ @MemberId = params['MemberId']
7089
+ @JoinType = params['JoinType']
7090
+ @GroupName = params['GroupName']
7091
+ @AdminName = params['AdminName']
7092
+ @AdminUin = params['AdminUin']
7093
+ @CreateTime = params['CreateTime']
7094
+ @NodeCount = params['NodeCount']
7095
+ @MemberCount = params['MemberCount']
7096
+ @SubAccountCount = params['SubAccountCount']
7097
+ @AbnormalSubUserCount = params['AbnormalSubUserCount']
7098
+ @GroupPermission = params['GroupPermission']
7099
+ @MemberPermission = params['MemberPermission']
7100
+ @GroupPayMode = params['GroupPayMode']
7101
+ @MemberPayMode = params['MemberPayMode']
7102
+ @CFWProtect = params['CFWProtect']
7103
+ @WAFProtect = params['WAFProtect']
7104
+ @CWPProtect = params['CWPProtect']
7105
+ @Departments = params['Departments']
7106
+ @MemberCreateTime = params['MemberCreateTime']
7107
+ @CSIPProtect = params['CSIPProtect']
7108
+ @QuotaConsumer = params['QuotaConsumer']
7109
+ @EnableAdminCount = params['EnableAdminCount']
7110
+ unless params['CloudCountDesc'].nil?
7111
+ @CloudCountDesc = []
7112
+ params['CloudCountDesc'].each do |i|
7113
+ cloudcountdesc_tmp = CloudCountDesc.new
7114
+ cloudcountdesc_tmp.deserialize(i)
7115
+ @CloudCountDesc << cloudcountdesc_tmp
7116
+ end
7117
+ end
7118
+ @AdminCount = params['AdminCount']
7119
+ end
7120
+ end
7121
+
6463
7122
  # 集团账号成员详情
6464
7123
  class OrganizationUserInfo < TencentCloud::Common::AbstractModel
6465
7124
  # @param Uin: 成员账号Uin
@@ -7339,6 +7998,31 @@ module TencentCloud
7339
7998
  end
7340
7999
  end
7341
8000
 
8001
+ # 用户行为分析 统计条件
8002
+ class StatisticalFilter < TencentCloud::Common::AbstractModel
8003
+ # @param OperatorType: 0:不基于统计检测
8004
+ # 1:发生次数高于固定值
8005
+ # 2:发生次数高于周期平均值的百分之
8006
+ # 3:发生次数高于用户平均值的百分之
8007
+ # 注意:此字段可能返回 null,表示取不到有效值。
8008
+ # @type OperatorType: Integer
8009
+ # @param Value: 统计值
8010
+ # 注意:此字段可能返回 null,表示取不到有效值。
8011
+ # @type Value: Float
8012
+
8013
+ attr_accessor :OperatorType, :Value
8014
+
8015
+ def initialize(operatortype=nil, value=nil)
8016
+ @OperatorType = operatortype
8017
+ @Value = value
8018
+ end
8019
+
8020
+ def deserialize(params)
8021
+ @OperatorType = params['OperatorType']
8022
+ @Value = params['Value']
8023
+ end
8024
+ end
8025
+
7342
8026
  # StopRiskCenterTask请求参数结构体
7343
8027
  class StopRiskCenterTaskRequest < TencentCloud::Common::AbstractModel
7344
8028
  # @param TaskIdList: 任务id 列表
@@ -7386,6 +8070,91 @@ module TencentCloud
7386
8070
  end
7387
8071
  end
7388
8072
 
8073
+ # 子账号详情
8074
+ class SubUserInfo < TencentCloud::Common::AbstractModel
8075
+ # @param ID: 主键ID,无业务意义
8076
+ # 仅作为唯一键
8077
+ # @type ID: Integer
8078
+ # @param AppID: 子账号Appid
8079
+ # @type AppID: String
8080
+ # @param Uin: 子账号UIn
8081
+ # @type Uin: String
8082
+ # @param NickName: 子账号名称
8083
+ # @type NickName: String
8084
+ # @param OwnerAppID: 主账号Appid
8085
+ # @type OwnerAppID: String
8086
+ # @param OwnerUin: 主账号Uin
8087
+ # @type OwnerUin: String
8088
+ # @param OwnerNickName: 主账号名称
8089
+ # @type OwnerNickName: String
8090
+ # @param OwnerMemberID: 所属主账号memberid
8091
+ # @type OwnerMemberID: String
8092
+ # @param CloudType: 账户类型,0为腾讯云账户,1为AWS账户
8093
+ # @type CloudType: Integer
8094
+ # @param ServiceCount: 可访问服务数量
8095
+ # @type ServiceCount: Integer
8096
+ # @param InterfaceCount: 可访问接口数量
8097
+ # @type InterfaceCount: Integer
8098
+ # @param AssetCount: 可访问资源数量
8099
+ # @type AssetCount: Integer
8100
+ # @param LogCount: 访问/行为日志数量
8101
+ # @type LogCount: Integer
8102
+ # @param ConfigRiskCount: 权限配置风险
8103
+ # @type ConfigRiskCount: Integer
8104
+ # @param ActionRiskCount: 危险行为告警
8105
+ # @type ActionRiskCount: Integer
8106
+ # @param IsAccessCloudAudit: 是否接入云审计日志
8107
+ # @type IsAccessCloudAudit: Boolean
8108
+ # @param IsAccessCheck: 是否配置风险的安全体检
8109
+ # @type IsAccessCheck: Boolean
8110
+ # @param IsAccessUeba: 是否配置用户行为管理策略
8111
+ # @type IsAccessUeba: Boolean
8112
+
8113
+ attr_accessor :ID, :AppID, :Uin, :NickName, :OwnerAppID, :OwnerUin, :OwnerNickName, :OwnerMemberID, :CloudType, :ServiceCount, :InterfaceCount, :AssetCount, :LogCount, :ConfigRiskCount, :ActionRiskCount, :IsAccessCloudAudit, :IsAccessCheck, :IsAccessUeba
8114
+
8115
+ def initialize(id=nil, appid=nil, uin=nil, nickname=nil, ownerappid=nil, owneruin=nil, ownernickname=nil, ownermemberid=nil, cloudtype=nil, servicecount=nil, interfacecount=nil, assetcount=nil, logcount=nil, configriskcount=nil, actionriskcount=nil, isaccesscloudaudit=nil, isaccesscheck=nil, isaccessueba=nil)
8116
+ @ID = id
8117
+ @AppID = appid
8118
+ @Uin = uin
8119
+ @NickName = nickname
8120
+ @OwnerAppID = ownerappid
8121
+ @OwnerUin = owneruin
8122
+ @OwnerNickName = ownernickname
8123
+ @OwnerMemberID = ownermemberid
8124
+ @CloudType = cloudtype
8125
+ @ServiceCount = servicecount
8126
+ @InterfaceCount = interfacecount
8127
+ @AssetCount = assetcount
8128
+ @LogCount = logcount
8129
+ @ConfigRiskCount = configriskcount
8130
+ @ActionRiskCount = actionriskcount
8131
+ @IsAccessCloudAudit = isaccesscloudaudit
8132
+ @IsAccessCheck = isaccesscheck
8133
+ @IsAccessUeba = isaccessueba
8134
+ end
8135
+
8136
+ def deserialize(params)
8137
+ @ID = params['ID']
8138
+ @AppID = params['AppID']
8139
+ @Uin = params['Uin']
8140
+ @NickName = params['NickName']
8141
+ @OwnerAppID = params['OwnerAppID']
8142
+ @OwnerUin = params['OwnerUin']
8143
+ @OwnerNickName = params['OwnerNickName']
8144
+ @OwnerMemberID = params['OwnerMemberID']
8145
+ @CloudType = params['CloudType']
8146
+ @ServiceCount = params['ServiceCount']
8147
+ @InterfaceCount = params['InterfaceCount']
8148
+ @AssetCount = params['AssetCount']
8149
+ @LogCount = params['LogCount']
8150
+ @ConfigRiskCount = params['ConfigRiskCount']
8151
+ @ActionRiskCount = params['ActionRiskCount']
8152
+ @IsAccessCloudAudit = params['IsAccessCloudAudit']
8153
+ @IsAccessCheck = params['IsAccessCheck']
8154
+ @IsAccessUeba = params['IsAccessUeba']
8155
+ end
8156
+ end
8157
+
7389
8158
  # 子网资产
7390
8159
  class SubnetAsset < TencentCloud::Common::AbstractModel
7391
8160
  # @param AppId: appid
@@ -7809,6 +8578,205 @@ module TencentCloud
7809
8578
  end
7810
8579
  end
7811
8580
 
8581
+ # 用户行为分析 自定义策略结构体
8582
+ class UebaCustomRule < TencentCloud::Common::AbstractModel
8583
+ # @param RuleName: 策略名称
8584
+ # @type RuleName: String
8585
+ # @param UserType: 1: 云账号
8586
+ # 2: 自定义用户
8587
+ # @type UserType: Integer
8588
+ # @param TimeInterval: 发生时间
8589
+ # 1:10分钟
8590
+ # 2:1小时
8591
+ # 3:一天
8592
+ # 4:一周
8593
+ # 5:一个月
8594
+ # @type TimeInterval: Integer
8595
+ # @param EventContent: 发生事件
8596
+ # @type EventContent: :class:`Tencentcloud::Csip.v20221121.models.UebaEventContent`
8597
+ # @param AlertName: 告警名称
8598
+ # @type AlertName: String
8599
+ # @param AlterLevel: 告警类型
8600
+ # 0: 提示
8601
+ # 1: 低危
8602
+ # 2: 中危
8603
+ # 3: 高危
8604
+ # 4: 严重
8605
+ # @type AlterLevel: Integer
8606
+ # @param Operator: 操作者
8607
+ # @type Operator: Array
8608
+ # @param OperateObject: 操作对象
8609
+ # @type OperateObject: Array
8610
+ # @param OperateMethod: 操作方式
8611
+ # @type OperateMethod: Array
8612
+ # @param LogType: 日志类型
8613
+ # @type LogType: String
8614
+ # @param LogTypeStr: 日志中文名
8615
+ # @type LogTypeStr: String
8616
+
8617
+ attr_accessor :RuleName, :UserType, :TimeInterval, :EventContent, :AlertName, :AlterLevel, :Operator, :OperateObject, :OperateMethod, :LogType, :LogTypeStr
8618
+
8619
+ def initialize(rulename=nil, usertype=nil, timeinterval=nil, eventcontent=nil, alertname=nil, alterlevel=nil, operator=nil, operateobject=nil, operatemethod=nil, logtype=nil, logtypestr=nil)
8620
+ @RuleName = rulename
8621
+ @UserType = usertype
8622
+ @TimeInterval = timeinterval
8623
+ @EventContent = eventcontent
8624
+ @AlertName = alertname
8625
+ @AlterLevel = alterlevel
8626
+ @Operator = operator
8627
+ @OperateObject = operateobject
8628
+ @OperateMethod = operatemethod
8629
+ @LogType = logtype
8630
+ @LogTypeStr = logtypestr
8631
+ end
8632
+
8633
+ def deserialize(params)
8634
+ @RuleName = params['RuleName']
8635
+ @UserType = params['UserType']
8636
+ @TimeInterval = params['TimeInterval']
8637
+ unless params['EventContent'].nil?
8638
+ @EventContent = UebaEventContent.new
8639
+ @EventContent.deserialize(params['EventContent'])
8640
+ end
8641
+ @AlertName = params['AlertName']
8642
+ @AlterLevel = params['AlterLevel']
8643
+ @Operator = params['Operator']
8644
+ @OperateObject = params['OperateObject']
8645
+ @OperateMethod = params['OperateMethod']
8646
+ @LogType = params['LogType']
8647
+ @LogTypeStr = params['LogTypeStr']
8648
+ end
8649
+ end
8650
+
8651
+ # 用户行为分析 发生事件结构体
8652
+ class UebaEventContent < TencentCloud::Common::AbstractModel
8653
+ # @param EventType: 发生事件类型
8654
+ # 1:语句检索
8655
+ # 2:过滤检索
8656
+ # @type EventType: Integer
8657
+ # @param Content: 语句检索内容
8658
+ # @type Content: String
8659
+ # @param Filters: 检索条件
8660
+ # @type Filters: Array
8661
+ # @param StatisticalFilter: 统计条件
8662
+ # @type StatisticalFilter: :class:`Tencentcloud::Csip.v20221121.models.StatisticalFilter`
8663
+
8664
+ attr_accessor :EventType, :Content, :Filters, :StatisticalFilter
8665
+
8666
+ def initialize(eventtype=nil, content=nil, filters=nil, statisticalfilter=nil)
8667
+ @EventType = eventtype
8668
+ @Content = content
8669
+ @Filters = filters
8670
+ @StatisticalFilter = statisticalfilter
8671
+ end
8672
+
8673
+ def deserialize(params)
8674
+ @EventType = params['EventType']
8675
+ @Content = params['Content']
8676
+ unless params['Filters'].nil?
8677
+ @Filters = []
8678
+ params['Filters'].each do |i|
8679
+ wherefilter_tmp = WhereFilter.new
8680
+ wherefilter_tmp.deserialize(i)
8681
+ @Filters << wherefilter_tmp
8682
+ end
8683
+ end
8684
+ unless params['StatisticalFilter'].nil?
8685
+ @StatisticalFilter = StatisticalFilter.new
8686
+ @StatisticalFilter.deserialize(params['StatisticalFilter'])
8687
+ end
8688
+ end
8689
+ end
8690
+
8691
+ # 用户行为分析策略
8692
+ class UebaRule < TencentCloud::Common::AbstractModel
8693
+ # @param RuleID: 策略id
8694
+ # 注意:此字段可能返回 null,表示取不到有效值。
8695
+ # @type RuleID: String
8696
+ # @param RuleName: 规则名称
8697
+ # 注意:此字段可能返回 null,表示取不到有效值。
8698
+ # @type RuleName: String
8699
+ # @param RuleType: 策略类型
8700
+ # 0:系统策略
8701
+ # 1:自定义策略
8702
+ # 注意:此字段可能返回 null,表示取不到有效值。
8703
+ # @type RuleType: Integer
8704
+ # @param RuleLevel: 策略等级
8705
+ # 0:提示
8706
+ # 1:低危
8707
+ # 2:中危
8708
+ # 3:高危
8709
+ # 4:严重
8710
+ # 注意:此字段可能返回 null,表示取不到有效值。
8711
+ # @type RuleLevel: Integer
8712
+ # @param RuleContent: 策略内容
8713
+ # 注意:此字段可能返回 null,表示取不到有效值。
8714
+ # @type RuleContent: String
8715
+ # @param RuleStatus: 策略开关
8716
+ # 注意:此字段可能返回 null,表示取不到有效值。
8717
+ # @type RuleStatus: Boolean
8718
+ # @param HitCount: 命中次数
8719
+ # 注意:此字段可能返回 null,表示取不到有效值。
8720
+ # @type HitCount: Integer
8721
+ # @param AppID: 所属账号Appid
8722
+ # 注意:此字段可能返回 null,表示取不到有效值。
8723
+ # @type AppID: String
8724
+ # @param MemberID: 多账号,成员ID
8725
+ # 注意:此字段可能返回 null,表示取不到有效值。
8726
+ # @type MemberID: String
8727
+ # @param Uin: Uin
8728
+ # 注意:此字段可能返回 null,表示取不到有效值。
8729
+ # @type Uin: String
8730
+ # @param Nickname: 昵称
8731
+ # 注意:此字段可能返回 null,表示取不到有效值。
8732
+ # @type Nickname: String
8733
+ # @param CustomRuleDetail: 自定义规则具体内容
8734
+ # 注意:此字段可能返回 null,表示取不到有效值。
8735
+ # @type CustomRuleDetail: :class:`Tencentcloud::Csip.v20221121.models.UebaCustomRule`
8736
+ # @param CloudType: 云类型
8737
+ # 腾讯云:0
8738
+ # aws:1
8739
+ # 注意:此字段可能返回 null,表示取不到有效值。
8740
+ # @type CloudType: Integer
8741
+
8742
+ attr_accessor :RuleID, :RuleName, :RuleType, :RuleLevel, :RuleContent, :RuleStatus, :HitCount, :AppID, :MemberID, :Uin, :Nickname, :CustomRuleDetail, :CloudType
8743
+
8744
+ def initialize(ruleid=nil, rulename=nil, ruletype=nil, rulelevel=nil, rulecontent=nil, rulestatus=nil, hitcount=nil, appid=nil, memberid=nil, uin=nil, nickname=nil, customruledetail=nil, cloudtype=nil)
8745
+ @RuleID = ruleid
8746
+ @RuleName = rulename
8747
+ @RuleType = ruletype
8748
+ @RuleLevel = rulelevel
8749
+ @RuleContent = rulecontent
8750
+ @RuleStatus = rulestatus
8751
+ @HitCount = hitcount
8752
+ @AppID = appid
8753
+ @MemberID = memberid
8754
+ @Uin = uin
8755
+ @Nickname = nickname
8756
+ @CustomRuleDetail = customruledetail
8757
+ @CloudType = cloudtype
8758
+ end
8759
+
8760
+ def deserialize(params)
8761
+ @RuleID = params['RuleID']
8762
+ @RuleName = params['RuleName']
8763
+ @RuleType = params['RuleType']
8764
+ @RuleLevel = params['RuleLevel']
8765
+ @RuleContent = params['RuleContent']
8766
+ @RuleStatus = params['RuleStatus']
8767
+ @HitCount = params['HitCount']
8768
+ @AppID = params['AppID']
8769
+ @MemberID = params['MemberID']
8770
+ @Uin = params['Uin']
8771
+ @Nickname = params['Nickname']
8772
+ unless params['CustomRuleDetail'].nil?
8773
+ @CustomRuleDetail = UebaCustomRule.new
8774
+ @CustomRuleDetail.deserialize(params['CustomRuleDetail'])
8775
+ end
8776
+ @CloudType = params['CloudType']
8777
+ end
8778
+ end
8779
+
7812
8780
  # UpdateAlertStatusList请求参数结构体
7813
8781
  class UpdateAlertStatusListRequest < TencentCloud::Common::AbstractModel
7814
8782
  # @param ID: 告警ID列表
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.969
4
+ version: 3.0.971
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-12-25 00:00:00.000000000 Z
11
+ date: 2024-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common