tencentcloud-sdk-tcss 3.0.458 → 3.0.460

Sign up to get free protection for your applications and to get access to all the features.
@@ -1617,6 +1617,43 @@ module TencentCloud
1617
1617
  end
1618
1618
  end
1619
1619
 
1620
+ # 集群列表Item
1621
+ class AssetClusterListItem < TencentCloud::Common::AbstractModel
1622
+ # @param ClusterID: 集群ID
1623
+ # @type ClusterID: String
1624
+ # @param ClusterName: 集群名称
1625
+ # @type ClusterName: String
1626
+ # @param Status: 集群状态
1627
+ # CSR_RUNNING: 运行中
1628
+ # CSR_EXCEPTION:异常
1629
+ # CSR_DEL:已经删除
1630
+ # @type Status: String
1631
+ # @param BindRuleName: 绑定规则名称
1632
+ # @type BindRuleName: String
1633
+ # @param ClusterType: 集群类型:
1634
+ # CT_TKE: TKE集群
1635
+ # CT_USER_CREATE: 用户自建集群
1636
+ # @type ClusterType: String
1637
+
1638
+ attr_accessor :ClusterID, :ClusterName, :Status, :BindRuleName, :ClusterType
1639
+
1640
+ def initialize(clusterid=nil, clustername=nil, status=nil, bindrulename=nil, clustertype=nil)
1641
+ @ClusterID = clusterid
1642
+ @ClusterName = clustername
1643
+ @Status = status
1644
+ @BindRuleName = bindrulename
1645
+ @ClusterType = clustertype
1646
+ end
1647
+
1648
+ def deserialize(params)
1649
+ @ClusterID = params['ClusterID']
1650
+ @ClusterName = params['ClusterName']
1651
+ @Status = params['Status']
1652
+ @BindRuleName = params['BindRuleName']
1653
+ @ClusterType = params['ClusterType']
1654
+ end
1655
+ end
1656
+
1620
1657
  # 容器安全
1621
1658
  # 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
1622
1659
  # 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
@@ -4412,6 +4449,173 @@ module TencentCloud
4412
4449
  end
4413
4450
  end
4414
4451
 
4452
+ # CreateK8sApiAbnormalEventExportJob请求参数结构体
4453
+ class CreateK8sApiAbnormalEventExportJobRequest < TencentCloud::Common::AbstractModel
4454
+ # @param Filters: 过滤条件。
4455
+ # <li>TimeRange - string -是否必填: 否 - 时间范围筛选 ["2022-03-31 16:55:00", "2022-03-31 17:00:00"]</li>
4456
+ # <li>MatchRules - string - 是否必填: 否 -命中规则筛选</li>
4457
+ # <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
4458
+ # <li>Status - string - 是否必填: 否 -事件状态筛选</li>
4459
+ # <li>MatchRuleType - string - 是否必填: 否 -命中规则类型筛选</li>
4460
+ # <li>ClusterRunningStatus - string - 是否必填: 否 -集群运行状态</li>
4461
+ # <li>ClusterName - string - 是否必填: 否 -集群名称</li>
4462
+ # <li>ClusterID - string - 是否必填: 否 -集群ID</li>
4463
+ # @type Filters: Array
4464
+ # @param Order: 排序方式
4465
+ # @type Order: String
4466
+ # @param By: 排序字段
4467
+ # @type By: String
4468
+ # @param ExportField: 导出字段
4469
+ # @type ExportField: Array
4470
+
4471
+ attr_accessor :Filters, :Order, :By, :ExportField
4472
+
4473
+ def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
4474
+ @Filters = filters
4475
+ @Order = order
4476
+ @By = by
4477
+ @ExportField = exportfield
4478
+ end
4479
+
4480
+ def deserialize(params)
4481
+ unless params['Filters'].nil?
4482
+ @Filters = []
4483
+ params['Filters'].each do |i|
4484
+ runtimefilters_tmp = RunTimeFilters.new
4485
+ runtimefilters_tmp.deserialize(i)
4486
+ @Filters << runtimefilters_tmp
4487
+ end
4488
+ end
4489
+ @Order = params['Order']
4490
+ @By = params['By']
4491
+ @ExportField = params['ExportField']
4492
+ end
4493
+ end
4494
+
4495
+ # CreateK8sApiAbnormalEventExportJob返回参数结构体
4496
+ class CreateK8sApiAbnormalEventExportJobResponse < TencentCloud::Common::AbstractModel
4497
+ # @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
4498
+ # @type JobId: String
4499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4500
+ # @type RequestId: String
4501
+
4502
+ attr_accessor :JobId, :RequestId
4503
+
4504
+ def initialize(jobid=nil, requestid=nil)
4505
+ @JobId = jobid
4506
+ @RequestId = requestid
4507
+ end
4508
+
4509
+ def deserialize(params)
4510
+ @JobId = params['JobId']
4511
+ @RequestId = params['RequestId']
4512
+ end
4513
+ end
4514
+
4515
+ # CreateK8sApiAbnormalRuleExportJob请求参数结构体
4516
+ class CreateK8sApiAbnormalRuleExportJobRequest < TencentCloud::Common::AbstractModel
4517
+ # @param Filters: 过滤条件。
4518
+ # <li>RuleType - string - 是否必填: 否 -规则类型</li>
4519
+ # <li>Status - string - 是否必填: 否 -状态</li>
4520
+ # @type Filters: Array
4521
+ # @param Order: 排序方式
4522
+ # @type Order: String
4523
+ # @param By: 排序字段
4524
+ # @type By: Array
4525
+ # @param ExportField: 导出字段
4526
+ # @type ExportField: Array
4527
+
4528
+ attr_accessor :Filters, :Order, :By, :ExportField
4529
+
4530
+ def initialize(filters=nil, order=nil, by=nil, exportfield=nil)
4531
+ @Filters = filters
4532
+ @Order = order
4533
+ @By = by
4534
+ @ExportField = exportfield
4535
+ end
4536
+
4537
+ def deserialize(params)
4538
+ unless params['Filters'].nil?
4539
+ @Filters = []
4540
+ params['Filters'].each do |i|
4541
+ runtimefilters_tmp = RunTimeFilters.new
4542
+ runtimefilters_tmp.deserialize(i)
4543
+ @Filters << runtimefilters_tmp
4544
+ end
4545
+ end
4546
+ @Order = params['Order']
4547
+ @By = params['By']
4548
+ @ExportField = params['ExportField']
4549
+ end
4550
+ end
4551
+
4552
+ # CreateK8sApiAbnormalRuleExportJob返回参数结构体
4553
+ class CreateK8sApiAbnormalRuleExportJobResponse < TencentCloud::Common::AbstractModel
4554
+ # @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
4555
+ # @type JobId: String
4556
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4557
+ # @type RequestId: String
4558
+
4559
+ attr_accessor :JobId, :RequestId
4560
+
4561
+ def initialize(jobid=nil, requestid=nil)
4562
+ @JobId = jobid
4563
+ @RequestId = requestid
4564
+ end
4565
+
4566
+ def deserialize(params)
4567
+ @JobId = params['JobId']
4568
+ @RequestId = params['RequestId']
4569
+ end
4570
+ end
4571
+
4572
+ # CreateK8sApiAbnormalRuleInfo请求参数结构体
4573
+ class CreateK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
4574
+ # @param RuleInfo: 规则详情
4575
+ # @type RuleInfo: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
4576
+ # @param CopySrcRuleID: 拷贝规则ID(适用于复制规则场景)
4577
+ # @type CopySrcRuleID: String
4578
+ # @param EventID: 事件ID(适用于事件加白场景)
4579
+ # @type EventID: Integer
4580
+
4581
+ attr_accessor :RuleInfo, :CopySrcRuleID, :EventID
4582
+
4583
+ def initialize(ruleinfo=nil, copysrcruleid=nil, eventid=nil)
4584
+ @RuleInfo = ruleinfo
4585
+ @CopySrcRuleID = copysrcruleid
4586
+ @EventID = eventid
4587
+ end
4588
+
4589
+ def deserialize(params)
4590
+ unless params['RuleInfo'].nil?
4591
+ @RuleInfo = K8sApiAbnormalRuleInfo.new
4592
+ @RuleInfo.deserialize(params['RuleInfo'])
4593
+ end
4594
+ @CopySrcRuleID = params['CopySrcRuleID']
4595
+ @EventID = params['EventID']
4596
+ end
4597
+ end
4598
+
4599
+ # CreateK8sApiAbnormalRuleInfo返回参数结构体
4600
+ class CreateK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
4601
+ # @param RuleID: 规则ID
4602
+ # @type RuleID: String
4603
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4604
+ # @type RequestId: String
4605
+
4606
+ attr_accessor :RuleID, :RequestId
4607
+
4608
+ def initialize(ruleid=nil, requestid=nil)
4609
+ @RuleID = ruleid
4610
+ @RequestId = requestid
4611
+ end
4612
+
4613
+ def deserialize(params)
4614
+ @RuleID = params['RuleID']
4615
+ @RequestId = params['RequestId']
4616
+ end
4617
+ end
4618
+
4415
4619
  # CreateNetworkFirewallClusterRefresh请求参数结构体
4416
4620
  class CreateNetworkFirewallClusterRefreshRequest < TencentCloud::Common::AbstractModel
4417
4621
 
@@ -5698,6 +5902,38 @@ module TencentCloud
5698
5902
  end
5699
5903
  end
5700
5904
 
5905
+ # DeleteK8sApiAbnormalRule请求参数结构体
5906
+ class DeleteK8sApiAbnormalRuleRequest < TencentCloud::Common::AbstractModel
5907
+ # @param RuleIDSet: 规则ID集合
5908
+ # @type RuleIDSet: Array
5909
+
5910
+ attr_accessor :RuleIDSet
5911
+
5912
+ def initialize(ruleidset=nil)
5913
+ @RuleIDSet = ruleidset
5914
+ end
5915
+
5916
+ def deserialize(params)
5917
+ @RuleIDSet = params['RuleIDSet']
5918
+ end
5919
+ end
5920
+
5921
+ # DeleteK8sApiAbnormalRule返回参数结构体
5922
+ class DeleteK8sApiAbnormalRuleResponse < TencentCloud::Common::AbstractModel
5923
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5924
+ # @type RequestId: String
5925
+
5926
+ attr_accessor :RequestId
5927
+
5928
+ def initialize(requestid=nil)
5929
+ @RequestId = requestid
5930
+ end
5931
+
5932
+ def deserialize(params)
5933
+ @RequestId = params['RequestId']
5934
+ end
5935
+ end
5936
+
5701
5937
  # DeleteMachine请求参数结构体
5702
5938
  class DeleteMachineRequest < TencentCloud::Common::AbstractModel
5703
5939
  # @param Uuid: 客户端Uuid
@@ -7229,6 +7465,79 @@ module TencentCloud
7229
7465
  end
7230
7466
  end
7231
7467
 
7468
+ # DescribeAssetClusterList请求参数结构体
7469
+ class DescribeAssetClusterListRequest < TencentCloud::Common::AbstractModel
7470
+ # @param Filters: 过滤条件。
7471
+ # <li>ClusterID - string - 是否必填: 否 -集群ID</li>
7472
+ # <li>ClusterName - string - 是否必填: 否 -集群名称</li>
7473
+ # <li>Status - string - 是否必填: 否 -集群状态</li>
7474
+ # @type Filters: Array
7475
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
7476
+ # @type Limit: Integer
7477
+ # @param Offset: 偏移量,默认为0。
7478
+ # @type Offset: Integer
7479
+ # @param Order: 排序方式
7480
+ # @type Order: String
7481
+ # @param By: 排序字段。
7482
+ # @type By: String
7483
+
7484
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
7485
+
7486
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
7487
+ @Filters = filters
7488
+ @Limit = limit
7489
+ @Offset = offset
7490
+ @Order = order
7491
+ @By = by
7492
+ end
7493
+
7494
+ def deserialize(params)
7495
+ unless params['Filters'].nil?
7496
+ @Filters = []
7497
+ params['Filters'].each do |i|
7498
+ runtimefilters_tmp = RunTimeFilters.new
7499
+ runtimefilters_tmp.deserialize(i)
7500
+ @Filters << runtimefilters_tmp
7501
+ end
7502
+ end
7503
+ @Limit = params['Limit']
7504
+ @Offset = params['Offset']
7505
+ @Order = params['Order']
7506
+ @By = params['By']
7507
+ end
7508
+ end
7509
+
7510
+ # DescribeAssetClusterList返回参数结构体
7511
+ class DescribeAssetClusterListResponse < TencentCloud::Common::AbstractModel
7512
+ # @param List: 集群列表
7513
+ # @type List: Array
7514
+ # @param TotalCount: 总数量
7515
+ # @type TotalCount: Integer
7516
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7517
+ # @type RequestId: String
7518
+
7519
+ attr_accessor :List, :TotalCount, :RequestId
7520
+
7521
+ def initialize(list=nil, totalcount=nil, requestid=nil)
7522
+ @List = list
7523
+ @TotalCount = totalcount
7524
+ @RequestId = requestid
7525
+ end
7526
+
7527
+ def deserialize(params)
7528
+ unless params['List'].nil?
7529
+ @List = []
7530
+ params['List'].each do |i|
7531
+ assetclusterlistitem_tmp = AssetClusterListItem.new
7532
+ assetclusterlistitem_tmp.deserialize(i)
7533
+ @List << assetclusterlistitem_tmp
7534
+ end
7535
+ end
7536
+ @TotalCount = params['TotalCount']
7537
+ @RequestId = params['RequestId']
7538
+ end
7539
+ end
7540
+
7232
7541
  # DescribeAssetComponentList请求参数结构体
7233
7542
  class DescribeAssetComponentListRequest < TencentCloud::Common::AbstractModel
7234
7543
  # @param ContainerID: 容器id
@@ -12810,37 +13119,427 @@ module TencentCloud
12810
13119
  end
12811
13120
  end
12812
13121
 
12813
- # DescribeLogStorageStatistic请求参数结构体
12814
- class DescribeLogStorageStatisticRequest < TencentCloud::Common::AbstractModel
13122
+ # DescribeK8sApiAbnormalEventInfo请求参数结构体
13123
+ class DescribeK8sApiAbnormalEventInfoRequest < TencentCloud::Common::AbstractModel
13124
+ # @param ID: 事件ID
13125
+ # @type ID: Integer
12815
13126
 
13127
+ attr_accessor :ID
12816
13128
 
12817
- def initialize()
13129
+ def initialize(id=nil)
13130
+ @ID = id
12818
13131
  end
12819
13132
 
12820
13133
  def deserialize(params)
13134
+ @ID = params['ID']
12821
13135
  end
12822
13136
  end
12823
13137
 
12824
- # DescribeLogStorageStatistic返回参数结构体
12825
- class DescribeLogStorageStatisticResponse < TencentCloud::Common::AbstractModel
12826
- # @param TotalSize: 总容量(单位:B)
12827
- # @type TotalSize: Integer
12828
- # @param UsedSize: 已使用容量(单位:B)
12829
- # @type UsedSize: Integer
13138
+ # DescribeK8sApiAbnormalEventInfo返回参数结构体
13139
+ class DescribeK8sApiAbnormalEventInfoResponse < TencentCloud::Common::AbstractModel
13140
+ # @param Info: 事件详情
13141
+ # @type Info: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalEventInfo`
12830
13142
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12831
13143
  # @type RequestId: String
12832
13144
 
12833
- attr_accessor :TotalSize, :UsedSize, :RequestId
13145
+ attr_accessor :Info, :RequestId
12834
13146
 
12835
- def initialize(totalsize=nil, usedsize=nil, requestid=nil)
12836
- @TotalSize = totalsize
12837
- @UsedSize = usedsize
13147
+ def initialize(info=nil, requestid=nil)
13148
+ @Info = info
12838
13149
  @RequestId = requestid
12839
13150
  end
12840
13151
 
12841
13152
  def deserialize(params)
12842
- @TotalSize = params['TotalSize']
12843
- @UsedSize = params['UsedSize']
13153
+ unless params['Info'].nil?
13154
+ @Info = K8sApiAbnormalEventInfo.new
13155
+ @Info.deserialize(params['Info'])
13156
+ end
13157
+ @RequestId = params['RequestId']
13158
+ end
13159
+ end
13160
+
13161
+ # DescribeK8sApiAbnormalEventList请求参数结构体
13162
+ class DescribeK8sApiAbnormalEventListRequest < TencentCloud::Common::AbstractModel
13163
+ # @param Filters: 过滤条件。
13164
+ # <li>TimeRange - string -是否必填: 否 - 时间范围筛选 ["2022-03-31 16:55:00", "2022-03-31 17:00:00"]</li>
13165
+ # <li>MatchRules - string - 是否必填: 否 -命中规则筛选</li>
13166
+ # <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
13167
+ # <li>Status - string - 是否必填: 否 -事件状态筛选</li>
13168
+ # <li>MatchRuleType - string - 是否必填: 否 -命中规则类型筛选</li>
13169
+ # <li>ClusterRunningStatus - string - 是否必填: 否 -集群运行状态</li>
13170
+ # <li>ClusterName - string - 是否必填: 否 -集群名称</li>
13171
+ # <li>ClusterID - string - 是否必填: 否 -集群ID</li>
13172
+ # @type Filters: Array
13173
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
13174
+ # @type Limit: Integer
13175
+ # @param Offset: 偏移量,默认为0。
13176
+ # @type Offset: Integer
13177
+ # @param Order: 排序方式
13178
+ # @type Order: String
13179
+ # @param By: 排序字段
13180
+ # LatestFoundTime: 最近生成时间
13181
+ # AlarmCount: 告警数量
13182
+ # @type By: String
13183
+
13184
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
13185
+
13186
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
13187
+ @Filters = filters
13188
+ @Limit = limit
13189
+ @Offset = offset
13190
+ @Order = order
13191
+ @By = by
13192
+ end
13193
+
13194
+ def deserialize(params)
13195
+ unless params['Filters'].nil?
13196
+ @Filters = []
13197
+ params['Filters'].each do |i|
13198
+ runtimefilters_tmp = RunTimeFilters.new
13199
+ runtimefilters_tmp.deserialize(i)
13200
+ @Filters << runtimefilters_tmp
13201
+ end
13202
+ end
13203
+ @Limit = params['Limit']
13204
+ @Offset = params['Offset']
13205
+ @Order = params['Order']
13206
+ @By = params['By']
13207
+ end
13208
+ end
13209
+
13210
+ # DescribeK8sApiAbnormalEventList返回参数结构体
13211
+ class DescribeK8sApiAbnormalEventListResponse < TencentCloud::Common::AbstractModel
13212
+ # @param List: 事件列表
13213
+ # @type List: Array
13214
+ # @param TotalCount: 总数量
13215
+ # @type TotalCount: Integer
13216
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13217
+ # @type RequestId: String
13218
+
13219
+ attr_accessor :List, :TotalCount, :RequestId
13220
+
13221
+ def initialize(list=nil, totalcount=nil, requestid=nil)
13222
+ @List = list
13223
+ @TotalCount = totalcount
13224
+ @RequestId = requestid
13225
+ end
13226
+
13227
+ def deserialize(params)
13228
+ unless params['List'].nil?
13229
+ @List = []
13230
+ params['List'].each do |i|
13231
+ k8sapiabnormaleventlistitem_tmp = K8sApiAbnormalEventListItem.new
13232
+ k8sapiabnormaleventlistitem_tmp.deserialize(i)
13233
+ @List << k8sapiabnormaleventlistitem_tmp
13234
+ end
13235
+ end
13236
+ @TotalCount = params['TotalCount']
13237
+ @RequestId = params['RequestId']
13238
+ end
13239
+ end
13240
+
13241
+ # DescribeK8sApiAbnormalRuleInfo请求参数结构体
13242
+ class DescribeK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
13243
+ # @param RuleID: 规则ID
13244
+ # @type RuleID: String
13245
+
13246
+ attr_accessor :RuleID
13247
+
13248
+ def initialize(ruleid=nil)
13249
+ @RuleID = ruleid
13250
+ end
13251
+
13252
+ def deserialize(params)
13253
+ @RuleID = params['RuleID']
13254
+ end
13255
+ end
13256
+
13257
+ # DescribeK8sApiAbnormalRuleInfo返回参数结构体
13258
+ class DescribeK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
13259
+ # @param Info: 规则详情
13260
+ # @type Info: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
13261
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13262
+ # @type RequestId: String
13263
+
13264
+ attr_accessor :Info, :RequestId
13265
+
13266
+ def initialize(info=nil, requestid=nil)
13267
+ @Info = info
13268
+ @RequestId = requestid
13269
+ end
13270
+
13271
+ def deserialize(params)
13272
+ unless params['Info'].nil?
13273
+ @Info = K8sApiAbnormalRuleInfo.new
13274
+ @Info.deserialize(params['Info'])
13275
+ end
13276
+ @RequestId = params['RequestId']
13277
+ end
13278
+ end
13279
+
13280
+ # DescribeK8sApiAbnormalRuleList请求参数结构体
13281
+ class DescribeK8sApiAbnormalRuleListRequest < TencentCloud::Common::AbstractModel
13282
+ # @param Filters: 过滤条件。
13283
+ # <li>RuleType - string - 是否必填: 否 -规则类型</li>
13284
+ # <li>Status - string - 是否必填: 否 -状态</li>
13285
+ # @type Filters: Array
13286
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
13287
+ # @type Limit: Integer
13288
+ # @param Offset: 偏移量,默认为0。
13289
+ # @type Offset: Integer
13290
+ # @param Order: 排序方式
13291
+ # @type Order: String
13292
+ # @param By: 排序字段。
13293
+ # <li>UpdateTime - string - 是否必填: 否 -最后更新时间</li>
13294
+ # <li>EffectClusterCount - string - 是否必填: 否 -影响集群数</li>
13295
+ # @type By: String
13296
+
13297
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
13298
+
13299
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
13300
+ @Filters = filters
13301
+ @Limit = limit
13302
+ @Offset = offset
13303
+ @Order = order
13304
+ @By = by
13305
+ end
13306
+
13307
+ def deserialize(params)
13308
+ unless params['Filters'].nil?
13309
+ @Filters = []
13310
+ params['Filters'].each do |i|
13311
+ runtimefilters_tmp = RunTimeFilters.new
13312
+ runtimefilters_tmp.deserialize(i)
13313
+ @Filters << runtimefilters_tmp
13314
+ end
13315
+ end
13316
+ @Limit = params['Limit']
13317
+ @Offset = params['Offset']
13318
+ @Order = params['Order']
13319
+ @By = params['By']
13320
+ end
13321
+ end
13322
+
13323
+ # DescribeK8sApiAbnormalRuleList返回参数结构体
13324
+ class DescribeK8sApiAbnormalRuleListResponse < TencentCloud::Common::AbstractModel
13325
+ # @param List: 规则列表
13326
+ # @type List: Array
13327
+ # @param TotalCount: 总数量
13328
+ # @type TotalCount: Integer
13329
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13330
+ # @type RequestId: String
13331
+
13332
+ attr_accessor :List, :TotalCount, :RequestId
13333
+
13334
+ def initialize(list=nil, totalcount=nil, requestid=nil)
13335
+ @List = list
13336
+ @TotalCount = totalcount
13337
+ @RequestId = requestid
13338
+ end
13339
+
13340
+ def deserialize(params)
13341
+ unless params['List'].nil?
13342
+ @List = []
13343
+ params['List'].each do |i|
13344
+ k8sapiabnormalrulelistitem_tmp = K8sApiAbnormalRuleListItem.new
13345
+ k8sapiabnormalrulelistitem_tmp.deserialize(i)
13346
+ @List << k8sapiabnormalrulelistitem_tmp
13347
+ end
13348
+ end
13349
+ @TotalCount = params['TotalCount']
13350
+ @RequestId = params['RequestId']
13351
+ end
13352
+ end
13353
+
13354
+ # DescribeK8sApiAbnormalRuleScopeList请求参数结构体
13355
+ class DescribeK8sApiAbnormalRuleScopeListRequest < TencentCloud::Common::AbstractModel
13356
+ # @param RuleID: 规则ID
13357
+ # @type RuleID: String
13358
+ # @param Offset: 偏移量
13359
+ # @type Offset: Integer
13360
+ # @param Limit: 需要返回的数量,默认为10,最大值为100
13361
+ # @type Limit: Integer
13362
+ # @param Filters: 过滤条件。
13363
+ # <li>Action - string -是否必填: 否 - 执行动作</li>
13364
+ # <li>RiskLevel - string - 是否必填: 否 -威胁等级筛选</li>
13365
+ # @type Filters: Array
13366
+
13367
+ attr_accessor :RuleID, :Offset, :Limit, :Filters
13368
+
13369
+ def initialize(ruleid=nil, offset=nil, limit=nil, filters=nil)
13370
+ @RuleID = ruleid
13371
+ @Offset = offset
13372
+ @Limit = limit
13373
+ @Filters = filters
13374
+ end
13375
+
13376
+ def deserialize(params)
13377
+ @RuleID = params['RuleID']
13378
+ @Offset = params['Offset']
13379
+ @Limit = params['Limit']
13380
+ unless params['Filters'].nil?
13381
+ @Filters = []
13382
+ params['Filters'].each do |i|
13383
+ runtimefilters_tmp = RunTimeFilters.new
13384
+ runtimefilters_tmp.deserialize(i)
13385
+ @Filters << runtimefilters_tmp
13386
+ end
13387
+ end
13388
+ end
13389
+ end
13390
+
13391
+ # DescribeK8sApiAbnormalRuleScopeList返回参数结构体
13392
+ class DescribeK8sApiAbnormalRuleScopeListResponse < TencentCloud::Common::AbstractModel
13393
+ # @param TotalCount: 总数
13394
+ # @type TotalCount: Integer
13395
+ # @param List: 列表
13396
+ # @type List: Array
13397
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13398
+ # @type RequestId: String
13399
+
13400
+ attr_accessor :TotalCount, :List, :RequestId
13401
+
13402
+ def initialize(totalcount=nil, list=nil, requestid=nil)
13403
+ @TotalCount = totalcount
13404
+ @List = list
13405
+ @RequestId = requestid
13406
+ end
13407
+
13408
+ def deserialize(params)
13409
+ @TotalCount = params['TotalCount']
13410
+ unless params['List'].nil?
13411
+ @List = []
13412
+ params['List'].each do |i|
13413
+ k8sapiabnormalrulescopeinfo_tmp = K8sApiAbnormalRuleScopeInfo.new
13414
+ k8sapiabnormalrulescopeinfo_tmp.deserialize(i)
13415
+ @List << k8sapiabnormalrulescopeinfo_tmp
13416
+ end
13417
+ end
13418
+ @RequestId = params['RequestId']
13419
+ end
13420
+ end
13421
+
13422
+ # DescribeK8sApiAbnormalSummary请求参数结构体
13423
+ class DescribeK8sApiAbnormalSummaryRequest < TencentCloud::Common::AbstractModel
13424
+
13425
+
13426
+ def initialize()
13427
+ end
13428
+
13429
+ def deserialize(params)
13430
+ end
13431
+ end
13432
+
13433
+ # DescribeK8sApiAbnormalSummary返回参数结构体
13434
+ class DescribeK8sApiAbnormalSummaryResponse < TencentCloud::Common::AbstractModel
13435
+ # @param UnhandleEventCount: 待处理事件个数
13436
+ # @type UnhandleEventCount: Integer
13437
+ # @param UnhandleHighLevelEventCount: 待处理高危事件个数
13438
+ # @type UnhandleHighLevelEventCount: Integer
13439
+ # @param UnhandleMediumLevelEventCount: 待处理中危事件个数
13440
+ # @type UnhandleMediumLevelEventCount: Integer
13441
+ # @param UnhandleLowLevelEventCount: 待处理低危事件个数
13442
+ # @type UnhandleLowLevelEventCount: Integer
13443
+ # @param UnhandleNoticeLevelEventCount: 待处理提示级别事件个数
13444
+ # @type UnhandleNoticeLevelEventCount: Integer
13445
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13446
+ # @type RequestId: String
13447
+
13448
+ attr_accessor :UnhandleEventCount, :UnhandleHighLevelEventCount, :UnhandleMediumLevelEventCount, :UnhandleLowLevelEventCount, :UnhandleNoticeLevelEventCount, :RequestId
13449
+
13450
+ def initialize(unhandleeventcount=nil, unhandlehighleveleventcount=nil, unhandlemediumleveleventcount=nil, unhandlelowleveleventcount=nil, unhandlenoticeleveleventcount=nil, requestid=nil)
13451
+ @UnhandleEventCount = unhandleeventcount
13452
+ @UnhandleHighLevelEventCount = unhandlehighleveleventcount
13453
+ @UnhandleMediumLevelEventCount = unhandlemediumleveleventcount
13454
+ @UnhandleLowLevelEventCount = unhandlelowleveleventcount
13455
+ @UnhandleNoticeLevelEventCount = unhandlenoticeleveleventcount
13456
+ @RequestId = requestid
13457
+ end
13458
+
13459
+ def deserialize(params)
13460
+ @UnhandleEventCount = params['UnhandleEventCount']
13461
+ @UnhandleHighLevelEventCount = params['UnhandleHighLevelEventCount']
13462
+ @UnhandleMediumLevelEventCount = params['UnhandleMediumLevelEventCount']
13463
+ @UnhandleLowLevelEventCount = params['UnhandleLowLevelEventCount']
13464
+ @UnhandleNoticeLevelEventCount = params['UnhandleNoticeLevelEventCount']
13465
+ @RequestId = params['RequestId']
13466
+ end
13467
+ end
13468
+
13469
+ # DescribeK8sApiAbnormalTendency请求参数结构体
13470
+ class DescribeK8sApiAbnormalTendencyRequest < TencentCloud::Common::AbstractModel
13471
+ # @param TendencyPeriod: 趋势周期(默认为7天)
13472
+ # @type TendencyPeriod: Integer
13473
+
13474
+ attr_accessor :TendencyPeriod
13475
+
13476
+ def initialize(tendencyperiod=nil)
13477
+ @TendencyPeriod = tendencyperiod
13478
+ end
13479
+
13480
+ def deserialize(params)
13481
+ @TendencyPeriod = params['TendencyPeriod']
13482
+ end
13483
+ end
13484
+
13485
+ # DescribeK8sApiAbnormalTendency返回参数结构体
13486
+ class DescribeK8sApiAbnormalTendencyResponse < TencentCloud::Common::AbstractModel
13487
+ # @param List: 趋势列表
13488
+ # @type List: Array
13489
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13490
+ # @type RequestId: String
13491
+
13492
+ attr_accessor :List, :RequestId
13493
+
13494
+ def initialize(list=nil, requestid=nil)
13495
+ @List = list
13496
+ @RequestId = requestid
13497
+ end
13498
+
13499
+ def deserialize(params)
13500
+ unless params['List'].nil?
13501
+ @List = []
13502
+ params['List'].each do |i|
13503
+ k8sapiabnormaltendencyitem_tmp = K8sApiAbnormalTendencyItem.new
13504
+ k8sapiabnormaltendencyitem_tmp.deserialize(i)
13505
+ @List << k8sapiabnormaltendencyitem_tmp
13506
+ end
13507
+ end
13508
+ @RequestId = params['RequestId']
13509
+ end
13510
+ end
13511
+
13512
+ # DescribeLogStorageStatistic请求参数结构体
13513
+ class DescribeLogStorageStatisticRequest < TencentCloud::Common::AbstractModel
13514
+
13515
+
13516
+ def initialize()
13517
+ end
13518
+
13519
+ def deserialize(params)
13520
+ end
13521
+ end
13522
+
13523
+ # DescribeLogStorageStatistic返回参数结构体
13524
+ class DescribeLogStorageStatisticResponse < TencentCloud::Common::AbstractModel
13525
+ # @param TotalSize: 总容量(单位:B)
13526
+ # @type TotalSize: Integer
13527
+ # @param UsedSize: 已使用容量(单位:B)
13528
+ # @type UsedSize: Integer
13529
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13530
+ # @type RequestId: String
13531
+
13532
+ attr_accessor :TotalSize, :UsedSize, :RequestId
13533
+
13534
+ def initialize(totalsize=nil, usedsize=nil, requestid=nil)
13535
+ @TotalSize = totalsize
13536
+ @UsedSize = usedsize
13537
+ @RequestId = requestid
13538
+ end
13539
+
13540
+ def deserialize(params)
13541
+ @TotalSize = params['TotalSize']
13542
+ @UsedSize = params['UsedSize']
12844
13543
  @RequestId = params['RequestId']
12845
13544
  end
12846
13545
  end
@@ -20023,6 +20722,375 @@ module TencentCloud
20023
20722
  end
20024
20723
  end
20025
20724
 
20725
+ # k8sApi异常事件详情
20726
+ class K8sApiAbnormalEventInfo < TencentCloud::Common::AbstractModel
20727
+ # @param MatchRuleName: 命中规则名称
20728
+ # @type MatchRuleName: String
20729
+ # @param MatchRuleType: 命中规则类型
20730
+ # @type MatchRuleType: String
20731
+ # @param RiskLevel: 告警等级
20732
+ # @type RiskLevel: String
20733
+ # @param ClusterID: 集群ID
20734
+ # @type ClusterID: String
20735
+ # @param ClusterName: 集群名称
20736
+ # @type ClusterName: String
20737
+ # @param ClusterRunningStatus: 集群运行状态
20738
+ # @type ClusterRunningStatus: String
20739
+ # @param FirstCreateTime: 初次生成时间
20740
+ # @type FirstCreateTime: String
20741
+ # @param LastCreateTime: 最近一次生成时间
20742
+ # @type LastCreateTime: String
20743
+ # @param AlarmCount: 告警数量
20744
+ # @type AlarmCount: Integer
20745
+ # @param Status: 状态
20746
+ # "EVENT_UNDEAL":未处理
20747
+ # "EVENT_DEALED": 已处理
20748
+ # "EVENT_IGNORE": 忽略
20749
+ # "EVENT_DEL": 删除
20750
+ # "EVENT_ADD_WHITE": 加白
20751
+ # @type Status: String
20752
+ # @param ClusterMasterIP: 集群masterIP
20753
+ # @type ClusterMasterIP: String
20754
+ # @param K8sVersion: k8s版本
20755
+ # @type K8sVersion: String
20756
+ # @param RunningComponent: 运行时组件
20757
+ # @type RunningComponent: Array
20758
+ # @param Desc: 描述
20759
+ # @type Desc: String
20760
+ # @param Suggestion: 建议
20761
+ # @type Suggestion: String
20762
+ # @param Info: 请求信息
20763
+ # @type Info: String
20764
+ # @param MatchRuleID: 规则ID
20765
+ # @type MatchRuleID: String
20766
+ # @param HighLightFields: 高亮字段数组
20767
+ # @type HighLightFields: Array
20768
+ # @param MatchRule: 命中规则
20769
+ # @type MatchRule: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleScopeInfo`
20770
+
20771
+ attr_accessor :MatchRuleName, :MatchRuleType, :RiskLevel, :ClusterID, :ClusterName, :ClusterRunningStatus, :FirstCreateTime, :LastCreateTime, :AlarmCount, :Status, :ClusterMasterIP, :K8sVersion, :RunningComponent, :Desc, :Suggestion, :Info, :MatchRuleID, :HighLightFields, :MatchRule
20772
+
20773
+ def initialize(matchrulename=nil, matchruletype=nil, risklevel=nil, clusterid=nil, clustername=nil, clusterrunningstatus=nil, firstcreatetime=nil, lastcreatetime=nil, alarmcount=nil, status=nil, clustermasterip=nil, k8sversion=nil, runningcomponent=nil, desc=nil, suggestion=nil, info=nil, matchruleid=nil, highlightfields=nil, matchrule=nil)
20774
+ @MatchRuleName = matchrulename
20775
+ @MatchRuleType = matchruletype
20776
+ @RiskLevel = risklevel
20777
+ @ClusterID = clusterid
20778
+ @ClusterName = clustername
20779
+ @ClusterRunningStatus = clusterrunningstatus
20780
+ @FirstCreateTime = firstcreatetime
20781
+ @LastCreateTime = lastcreatetime
20782
+ @AlarmCount = alarmcount
20783
+ @Status = status
20784
+ @ClusterMasterIP = clustermasterip
20785
+ @K8sVersion = k8sversion
20786
+ @RunningComponent = runningcomponent
20787
+ @Desc = desc
20788
+ @Suggestion = suggestion
20789
+ @Info = info
20790
+ @MatchRuleID = matchruleid
20791
+ @HighLightFields = highlightfields
20792
+ @MatchRule = matchrule
20793
+ end
20794
+
20795
+ def deserialize(params)
20796
+ @MatchRuleName = params['MatchRuleName']
20797
+ @MatchRuleType = params['MatchRuleType']
20798
+ @RiskLevel = params['RiskLevel']
20799
+ @ClusterID = params['ClusterID']
20800
+ @ClusterName = params['ClusterName']
20801
+ @ClusterRunningStatus = params['ClusterRunningStatus']
20802
+ @FirstCreateTime = params['FirstCreateTime']
20803
+ @LastCreateTime = params['LastCreateTime']
20804
+ @AlarmCount = params['AlarmCount']
20805
+ @Status = params['Status']
20806
+ @ClusterMasterIP = params['ClusterMasterIP']
20807
+ @K8sVersion = params['K8sVersion']
20808
+ @RunningComponent = params['RunningComponent']
20809
+ @Desc = params['Desc']
20810
+ @Suggestion = params['Suggestion']
20811
+ @Info = params['Info']
20812
+ @MatchRuleID = params['MatchRuleID']
20813
+ @HighLightFields = params['HighLightFields']
20814
+ unless params['MatchRule'].nil?
20815
+ @MatchRule = K8sApiAbnormalRuleScopeInfo.new
20816
+ @MatchRule.deserialize(params['MatchRule'])
20817
+ end
20818
+ end
20819
+ end
20820
+
20821
+ # k8sapi异常事件列表Item
20822
+ class K8sApiAbnormalEventListItem < TencentCloud::Common::AbstractModel
20823
+ # @param ID: 事件ID
20824
+ # @type ID: Integer
20825
+ # @param MatchRuleType: 命中规则类型
20826
+ # @type MatchRuleType: String
20827
+ # @param RiskLevel: 威胁等级
20828
+ # @type RiskLevel: String
20829
+ # @param ClusterID: 集群ID
20830
+ # @type ClusterID: String
20831
+ # @param ClusterName: 集群名称
20832
+ # @type ClusterName: String
20833
+ # @param ClusterRunningStatus: 集群运行状态
20834
+ # @type ClusterRunningStatus: String
20835
+ # @param FirstCreateTime: 初次生成时间
20836
+ # @type FirstCreateTime: String
20837
+ # @param LastCreateTime: 最近一次生成时间
20838
+ # @type LastCreateTime: String
20839
+ # @param AlarmCount: 告警数量
20840
+ # @type AlarmCount: Integer
20841
+ # @param Status: 状态
20842
+ # @type Status: String
20843
+ # @param RuleType: 规则类型
20844
+ # @type RuleType: String
20845
+ # @param Desc: 描述信息
20846
+ # @type Desc: String
20847
+ # @param Suggestion: 解决方案
20848
+ # @type Suggestion: String
20849
+ # @param RuleName: 规则名称
20850
+ # @type RuleName: String
20851
+ # @param MatchRule: 命中规则
20852
+ # @type MatchRule: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleScopeInfo`
20853
+
20854
+ attr_accessor :ID, :MatchRuleType, :RiskLevel, :ClusterID, :ClusterName, :ClusterRunningStatus, :FirstCreateTime, :LastCreateTime, :AlarmCount, :Status, :RuleType, :Desc, :Suggestion, :RuleName, :MatchRule
20855
+
20856
+ def initialize(id=nil, matchruletype=nil, risklevel=nil, clusterid=nil, clustername=nil, clusterrunningstatus=nil, firstcreatetime=nil, lastcreatetime=nil, alarmcount=nil, status=nil, ruletype=nil, desc=nil, suggestion=nil, rulename=nil, matchrule=nil)
20857
+ @ID = id
20858
+ @MatchRuleType = matchruletype
20859
+ @RiskLevel = risklevel
20860
+ @ClusterID = clusterid
20861
+ @ClusterName = clustername
20862
+ @ClusterRunningStatus = clusterrunningstatus
20863
+ @FirstCreateTime = firstcreatetime
20864
+ @LastCreateTime = lastcreatetime
20865
+ @AlarmCount = alarmcount
20866
+ @Status = status
20867
+ @RuleType = ruletype
20868
+ @Desc = desc
20869
+ @Suggestion = suggestion
20870
+ @RuleName = rulename
20871
+ @MatchRule = matchrule
20872
+ end
20873
+
20874
+ def deserialize(params)
20875
+ @ID = params['ID']
20876
+ @MatchRuleType = params['MatchRuleType']
20877
+ @RiskLevel = params['RiskLevel']
20878
+ @ClusterID = params['ClusterID']
20879
+ @ClusterName = params['ClusterName']
20880
+ @ClusterRunningStatus = params['ClusterRunningStatus']
20881
+ @FirstCreateTime = params['FirstCreateTime']
20882
+ @LastCreateTime = params['LastCreateTime']
20883
+ @AlarmCount = params['AlarmCount']
20884
+ @Status = params['Status']
20885
+ @RuleType = params['RuleType']
20886
+ @Desc = params['Desc']
20887
+ @Suggestion = params['Suggestion']
20888
+ @RuleName = params['RuleName']
20889
+ unless params['MatchRule'].nil?
20890
+ @MatchRule = K8sApiAbnormalRuleScopeInfo.new
20891
+ @MatchRule.deserialize(params['MatchRule'])
20892
+ end
20893
+ end
20894
+ end
20895
+
20896
+ # k8a api 异常请求规则详情
20897
+ class K8sApiAbnormalRuleInfo < TencentCloud::Common::AbstractModel
20898
+ # @param RuleName: 规则名称
20899
+ # @type RuleName: String
20900
+ # @param Status: 状态
20901
+ # @type Status: Boolean
20902
+ # @param RuleInfoList: 规则信息列表
20903
+ # @type RuleInfoList: Array
20904
+ # @param EffectClusterIDSet: 生效集群IDSet
20905
+ # @type EffectClusterIDSet: Array
20906
+ # @param RuleType: 规则类型
20907
+ # RT_SYSTEM 系统规则
20908
+ # RT_USER 用户自定义
20909
+ # @type RuleType: String
20910
+ # @param EffectAllCluster: 是否所有集群生效
20911
+ # @type EffectAllCluster: Boolean
20912
+ # @param RuleID: 规则ID
20913
+ # @type RuleID: String
20914
+
20915
+ attr_accessor :RuleName, :Status, :RuleInfoList, :EffectClusterIDSet, :RuleType, :EffectAllCluster, :RuleID
20916
+
20917
+ def initialize(rulename=nil, status=nil, ruleinfolist=nil, effectclusteridset=nil, ruletype=nil, effectallcluster=nil, ruleid=nil)
20918
+ @RuleName = rulename
20919
+ @Status = status
20920
+ @RuleInfoList = ruleinfolist
20921
+ @EffectClusterIDSet = effectclusteridset
20922
+ @RuleType = ruletype
20923
+ @EffectAllCluster = effectallcluster
20924
+ @RuleID = ruleid
20925
+ end
20926
+
20927
+ def deserialize(params)
20928
+ @RuleName = params['RuleName']
20929
+ @Status = params['Status']
20930
+ unless params['RuleInfoList'].nil?
20931
+ @RuleInfoList = []
20932
+ params['RuleInfoList'].each do |i|
20933
+ k8sapiabnormalrulescopeinfo_tmp = K8sApiAbnormalRuleScopeInfo.new
20934
+ k8sapiabnormalrulescopeinfo_tmp.deserialize(i)
20935
+ @RuleInfoList << k8sapiabnormalrulescopeinfo_tmp
20936
+ end
20937
+ end
20938
+ @EffectClusterIDSet = params['EffectClusterIDSet']
20939
+ @RuleType = params['RuleType']
20940
+ @EffectAllCluster = params['EffectAllCluster']
20941
+ @RuleID = params['RuleID']
20942
+ end
20943
+ end
20944
+
20945
+ # k8s api 异常请求规则列表Item
20946
+ class K8sApiAbnormalRuleListItem < TencentCloud::Common::AbstractModel
20947
+ # @param RuleID: 规则ID
20948
+ # @type RuleID: String
20949
+ # @param RuleName: 规则名称
20950
+ # @type RuleName: String
20951
+ # @param RuleType: 规则类型
20952
+ # RT_SYSTEM 系统规则
20953
+ # RT_USER 用户自定义
20954
+ # @type RuleType: String
20955
+ # @param EffectClusterCount: 受影响集群总数
20956
+ # @type EffectClusterCount: Integer
20957
+ # @param UpdateTime: 更新时间
20958
+ # @type UpdateTime: String
20959
+ # @param OprUin: 编辑账号
20960
+ # @type OprUin: String
20961
+ # @param Status: 状态
20962
+ # @type Status: Boolean
20963
+
20964
+ attr_accessor :RuleID, :RuleName, :RuleType, :EffectClusterCount, :UpdateTime, :OprUin, :Status
20965
+
20966
+ def initialize(ruleid=nil, rulename=nil, ruletype=nil, effectclustercount=nil, updatetime=nil, opruin=nil, status=nil)
20967
+ @RuleID = ruleid
20968
+ @RuleName = rulename
20969
+ @RuleType = ruletype
20970
+ @EffectClusterCount = effectclustercount
20971
+ @UpdateTime = updatetime
20972
+ @OprUin = opruin
20973
+ @Status = status
20974
+ end
20975
+
20976
+ def deserialize(params)
20977
+ @RuleID = params['RuleID']
20978
+ @RuleName = params['RuleName']
20979
+ @RuleType = params['RuleType']
20980
+ @EffectClusterCount = params['EffectClusterCount']
20981
+ @UpdateTime = params['UpdateTime']
20982
+ @OprUin = params['OprUin']
20983
+ @Status = params['Status']
20984
+ end
20985
+ end
20986
+
20987
+ # k8s api 异常事件规则配置范围
20988
+ class K8sApiAbnormalRuleScopeInfo < TencentCloud::Common::AbstractModel
20989
+ # @param Scope: 范围
20990
+ # 系统事件:
20991
+ # ANONYMOUS_ACCESS: 匿名访问
20992
+ # ABNORMAL_UA_REQ: 异常UA请求
20993
+ # ANONYMOUS_ABNORMAL_PERMISSION: 匿名用户权限异动
20994
+ # GET_CREDENTIALS: 凭据信息获取
20995
+ # MOUNT_SENSITIVE_PATH: 敏感路径挂载
20996
+ # COMMAND_RUN: 命令执行
20997
+ # PRIVILEGE_CONTAINER: 特权容器
20998
+ # EXCEPTION_CRONTAB_TASK: 异常定时任务
20999
+ # STATICS_POD: 静态pod创建
21000
+ # ABNORMAL_CREATE_POD: 异常pod创建
21001
+ # USER_DEFINED: 用户自定义
21002
+ # @type Scope: String
21003
+ # @param Action: 动作(RULE_MODE_ALERT: 告警 RULE_MODE_RELEASE:放行)
21004
+ # @type Action: String
21005
+ # @param RiskLevel: 威胁等级 HIGH:高级 MIDDLE: 中级 LOW:低级 NOTICE:提示
21006
+ # 注意:此字段可能返回 null,表示取不到有效值。
21007
+ # @type RiskLevel: String
21008
+ # @param Status: 开关状态(true:开 false:关) 适用于系统规则
21009
+ # 注意:此字段可能返回 null,表示取不到有效值。
21010
+ # @type Status: Boolean
21011
+ # @param IsDelete: 是否被删除 适用于自定义规则入参
21012
+ # 注意:此字段可能返回 null,表示取不到有效值。
21013
+ # @type IsDelete: Boolean
21014
+
21015
+ attr_accessor :Scope, :Action, :RiskLevel, :Status, :IsDelete
21016
+
21017
+ def initialize(scope=nil, action=nil, risklevel=nil, status=nil, isdelete=nil)
21018
+ @Scope = scope
21019
+ @Action = action
21020
+ @RiskLevel = risklevel
21021
+ @Status = status
21022
+ @IsDelete = isdelete
21023
+ end
21024
+
21025
+ def deserialize(params)
21026
+ @Scope = params['Scope']
21027
+ @Action = params['Action']
21028
+ @RiskLevel = params['RiskLevel']
21029
+ @Status = params['Status']
21030
+ @IsDelete = params['IsDelete']
21031
+ end
21032
+ end
21033
+
21034
+ # k8sapi异常请求趋势Item
21035
+ class K8sApiAbnormalTendencyItem < TencentCloud::Common::AbstractModel
21036
+ # @param Date: 日期
21037
+ # @type Date: String
21038
+ # @param ExceptionUARequestCount: 异常UA请求事件数
21039
+ # @type ExceptionUARequestCount: Integer
21040
+ # @param AnonymousUserRightCount: 匿名用户权限事件数
21041
+ # @type AnonymousUserRightCount: Integer
21042
+ # @param CredentialInformationObtainCount: 凭据信息获取事件数
21043
+ # @type CredentialInformationObtainCount: Integer
21044
+ # @param SensitiveDataMountCount: 敏感数据挂载事件数
21045
+ # @type SensitiveDataMountCount: Integer
21046
+ # @param CmdExecCount: 命令执行事件数
21047
+ # @type CmdExecCount: Integer
21048
+ # @param AbnormalScheduledTaskCount: 异常定时任务事件数
21049
+ # @type AbnormalScheduledTaskCount: Integer
21050
+ # @param StaticsPodCreateCount: 静态Pod创建数
21051
+ # @type StaticsPodCreateCount: Integer
21052
+ # @param DoubtfulContainerCreateCount: 可疑容器创建数
21053
+ # @type DoubtfulContainerCreateCount: Integer
21054
+ # @param UserDefinedRuleCount: 自定义规则事件数
21055
+ # @type UserDefinedRuleCount: Integer
21056
+ # @param AnonymousAccessCount: 匿名访问事件数
21057
+ # @type AnonymousAccessCount: Integer
21058
+ # @param PrivilegeContainerCount: 特权容器事件数
21059
+ # @type PrivilegeContainerCount: Integer
21060
+
21061
+ attr_accessor :Date, :ExceptionUARequestCount, :AnonymousUserRightCount, :CredentialInformationObtainCount, :SensitiveDataMountCount, :CmdExecCount, :AbnormalScheduledTaskCount, :StaticsPodCreateCount, :DoubtfulContainerCreateCount, :UserDefinedRuleCount, :AnonymousAccessCount, :PrivilegeContainerCount
21062
+
21063
+ def initialize(date=nil, exceptionuarequestcount=nil, anonymoususerrightcount=nil, credentialinformationobtaincount=nil, sensitivedatamountcount=nil, cmdexeccount=nil, abnormalscheduledtaskcount=nil, staticspodcreatecount=nil, doubtfulcontainercreatecount=nil, userdefinedrulecount=nil, anonymousaccesscount=nil, privilegecontainercount=nil)
21064
+ @Date = date
21065
+ @ExceptionUARequestCount = exceptionuarequestcount
21066
+ @AnonymousUserRightCount = anonymoususerrightcount
21067
+ @CredentialInformationObtainCount = credentialinformationobtaincount
21068
+ @SensitiveDataMountCount = sensitivedatamountcount
21069
+ @CmdExecCount = cmdexeccount
21070
+ @AbnormalScheduledTaskCount = abnormalscheduledtaskcount
21071
+ @StaticsPodCreateCount = staticspodcreatecount
21072
+ @DoubtfulContainerCreateCount = doubtfulcontainercreatecount
21073
+ @UserDefinedRuleCount = userdefinedrulecount
21074
+ @AnonymousAccessCount = anonymousaccesscount
21075
+ @PrivilegeContainerCount = privilegecontainercount
21076
+ end
21077
+
21078
+ def deserialize(params)
21079
+ @Date = params['Date']
21080
+ @ExceptionUARequestCount = params['ExceptionUARequestCount']
21081
+ @AnonymousUserRightCount = params['AnonymousUserRightCount']
21082
+ @CredentialInformationObtainCount = params['CredentialInformationObtainCount']
21083
+ @SensitiveDataMountCount = params['SensitiveDataMountCount']
21084
+ @CmdExecCount = params['CmdExecCount']
21085
+ @AbnormalScheduledTaskCount = params['AbnormalScheduledTaskCount']
21086
+ @StaticsPodCreateCount = params['StaticsPodCreateCount']
21087
+ @DoubtfulContainerCreateCount = params['DoubtfulContainerCreateCount']
21088
+ @UserDefinedRuleCount = params['UserDefinedRuleCount']
21089
+ @AnonymousAccessCount = params['AnonymousAccessCount']
21090
+ @PrivilegeContainerCount = params['PrivilegeContainerCount']
21091
+ end
21092
+ end
21093
+
20026
21094
  # ModifyAbnormalProcessRuleStatus请求参数结构体
20027
21095
  class ModifyAbnormalProcessRuleStatusRequest < TencentCloud::Common::AbstractModel
20028
21096
  # @param RuleIdSet: 策略的ids
@@ -20737,6 +21805,117 @@ module TencentCloud
20737
21805
  end
20738
21806
  end
20739
21807
 
21808
+ # ModifyK8sApiAbnormalEventStatus请求参数结构体
21809
+ class ModifyK8sApiAbnormalEventStatusRequest < TencentCloud::Common::AbstractModel
21810
+ # @param EventIDSet: 事件ID集合
21811
+ # @type EventIDSet: Array
21812
+ # @param Status: 状态
21813
+ # @type Status: String
21814
+ # @param Remark: 备注
21815
+ # @type Remark: String
21816
+
21817
+ attr_accessor :EventIDSet, :Status, :Remark
21818
+
21819
+ def initialize(eventidset=nil, status=nil, remark=nil)
21820
+ @EventIDSet = eventidset
21821
+ @Status = status
21822
+ @Remark = remark
21823
+ end
21824
+
21825
+ def deserialize(params)
21826
+ @EventIDSet = params['EventIDSet']
21827
+ @Status = params['Status']
21828
+ @Remark = params['Remark']
21829
+ end
21830
+ end
21831
+
21832
+ # ModifyK8sApiAbnormalEventStatus返回参数结构体
21833
+ class ModifyK8sApiAbnormalEventStatusResponse < TencentCloud::Common::AbstractModel
21834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21835
+ # @type RequestId: String
21836
+
21837
+ attr_accessor :RequestId
21838
+
21839
+ def initialize(requestid=nil)
21840
+ @RequestId = requestid
21841
+ end
21842
+
21843
+ def deserialize(params)
21844
+ @RequestId = params['RequestId']
21845
+ end
21846
+ end
21847
+
21848
+ # ModifyK8sApiAbnormalRuleInfo请求参数结构体
21849
+ class ModifyK8sApiAbnormalRuleInfoRequest < TencentCloud::Common::AbstractModel
21850
+ # @param RuleInfo: 规则详情
21851
+ # @type RuleInfo: :class:`Tencentcloud::Tcss.v20201101.models.K8sApiAbnormalRuleInfo`
21852
+
21853
+ attr_accessor :RuleInfo
21854
+
21855
+ def initialize(ruleinfo=nil)
21856
+ @RuleInfo = ruleinfo
21857
+ end
21858
+
21859
+ def deserialize(params)
21860
+ unless params['RuleInfo'].nil?
21861
+ @RuleInfo = K8sApiAbnormalRuleInfo.new
21862
+ @RuleInfo.deserialize(params['RuleInfo'])
21863
+ end
21864
+ end
21865
+ end
21866
+
21867
+ # ModifyK8sApiAbnormalRuleInfo返回参数结构体
21868
+ class ModifyK8sApiAbnormalRuleInfoResponse < TencentCloud::Common::AbstractModel
21869
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21870
+ # @type RequestId: String
21871
+
21872
+ attr_accessor :RequestId
21873
+
21874
+ def initialize(requestid=nil)
21875
+ @RequestId = requestid
21876
+ end
21877
+
21878
+ def deserialize(params)
21879
+ @RequestId = params['RequestId']
21880
+ end
21881
+ end
21882
+
21883
+ # ModifyK8sApiAbnormalRuleStatus请求参数结构体
21884
+ class ModifyK8sApiAbnormalRuleStatusRequest < TencentCloud::Common::AbstractModel
21885
+ # @param RuleID: 规则ID
21886
+ # @type RuleID: String
21887
+ # @param Status: 状态(ture:开 false:关)
21888
+ # @type Status: Boolean
21889
+
21890
+ attr_accessor :RuleID, :Status
21891
+
21892
+ def initialize(ruleid=nil, status=nil)
21893
+ @RuleID = ruleid
21894
+ @Status = status
21895
+ end
21896
+
21897
+ def deserialize(params)
21898
+ @RuleID = params['RuleID']
21899
+ @Status = params['Status']
21900
+ end
21901
+ end
21902
+
21903
+ # ModifyK8sApiAbnormalRuleStatus返回参数结构体
21904
+ class ModifyK8sApiAbnormalRuleStatusResponse < TencentCloud::Common::AbstractModel
21905
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
21906
+ # @type RequestId: String
21907
+
21908
+ attr_accessor :RequestId
21909
+
21910
+ def initialize(requestid=nil)
21911
+ @RequestId = requestid
21912
+ end
21913
+
21914
+ def deserialize(params)
21915
+ @RequestId = params['RequestId']
21916
+ end
21917
+ end
21918
+
20740
21919
  # ModifyReverseShellStatus请求参数结构体
20741
21920
  class ModifyReverseShellStatusRequest < TencentCloud::Common::AbstractModel
20742
21921
  # @param EventIdSet: 处理事件ids