tencentcloud-sdk-tcss 3.0.440 → 3.0.442

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: 1a13417eea865114688e7f8093ff47022213f25f
4
- data.tar.gz: cd11d4836a9fd0569c2a6a0229414c35b8d3405f
3
+ metadata.gz: b05a759ebd7080f2663b9d9e85b396f6c5013fc0
4
+ data.tar.gz: 15cb8860f38d1b80ad00ab2dd555a44b8430971f
5
5
  SHA512:
6
- metadata.gz: 3218cd1f2cb266a1bee3e0b3f3278fe464e10ec1610052cfb40d775100b59521d842ebffdd84dcaa4c0bda6dbf9bc44790289f81c1baee7cd3bbdbdf6e1e9e5c
7
- data.tar.gz: 362130f71cb3904943b9a62f167ee544f76bdf0d51e462d75c465e3aa57aee71815ffb8bb75c1669a168319673e16a57f2ca35db62551c7efc02202c8dfe6084
6
+ metadata.gz: b6efceb66869ab4125f842e7a115e133db3ef16185d7bc4fed7fbecdf462ba41e7a9b9c11aebbe2c35def9e11147182e73c756f238c9e3868eae91ab13b8e922
7
+ data.tar.gz: 3cc33032194b3e6a42181f02dc0828276b66cd4c54137c8aab45b8d6d708c64492822089462461e5504e9145b54e0b4a4066ca7ce1f38c319be8f534786dd8ea
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.440
1
+ 3.0.442
@@ -1039,6 +1039,30 @@ module TencentCloud
1039
1039
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1040
1040
  end
1041
1041
 
1042
+ # 创建恶意请求事件导出任务
1043
+
1044
+ # @param request: Request instance for CreateRiskDnsEventExportJob.
1045
+ # @type request: :class:`Tencentcloud::tcss::V20201101::CreateRiskDnsEventExportJobRequest`
1046
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::CreateRiskDnsEventExportJobResponse`
1047
+ def CreateRiskDnsEventExportJob(request)
1048
+ body = send_request('CreateRiskDnsEventExportJob', request.serialize)
1049
+ response = JSON.parse(body)
1050
+ if response['Response'].key?('Error') == false
1051
+ model = CreateRiskDnsEventExportJobResponse.new
1052
+ model.deserialize(response['Response'])
1053
+ model
1054
+ else
1055
+ code = response['Response']['Error']['Code']
1056
+ message = response['Response']['Error']['Message']
1057
+ reqid = response['Response']['RequestId']
1058
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1059
+ end
1060
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1061
+ raise e
1062
+ rescue StandardError => e
1063
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1064
+ end
1065
+
1042
1066
  # 添加检索模板
1043
1067
 
1044
1068
  # @param request: Request instance for CreateSearchTemplate.
@@ -4695,6 +4695,79 @@ module TencentCloud
4695
4695
  end
4696
4696
  end
4697
4697
 
4698
+ # CreateRiskDnsEventExportJob请求参数结构体
4699
+ class CreateRiskDnsEventExportJobRequest < TencentCloud::Common::AbstractModel
4700
+ # @param Filters: 过滤条件。
4701
+ # <li>EventStatus- String - 是否必填:否 - 事件状态,待处理:EVENT_UNDEAL,EVENT_DEALED:已处理,已忽略:EVENT_IGNORE, EVENT_ADD_WHITE:已加白</li>
4702
+ # <li>ContainerStatus- String - 是否必填:否 - 容器运行状态筛选,已创建:CREATED,正常运行:RUNNING, 暂定运行:PAUSED, 停止运行: STOPPED,重启中:RESTARTING, 迁移中:REMOVING, 销毁:DESTROYED </li>
4703
+ # <li>ContainerNetStatus- String -是否必填: 否 - 容器网络状态筛选 未隔离:NORMAL,已隔离:ISOLATED,隔离失败:ISOLATE_FAILED,解除隔离失败:RESTORE_FAILED,解除隔离中:RESTORING,隔离中:ISOLATING</li>
4704
+ # <li>EventType - String -是否必填: 否 - 事件类型,恶意域名请求:DOMAIN,恶意IP请求:IP</li>
4705
+ # <li>TimeRange- String -是否必填: 否 - 时间范围,第一个值表示开始时间,第二个值表示结束时间 </li>
4706
+ # <li>RiskDns- string - 是否必填:否 - 恶意域名。</li>
4707
+ # <li>RiskIP- string - 是否必填:否 - 恶意IP。</li>
4708
+ # <li>ContainerName- string - 是否必填:否 - 容器名称。</li>
4709
+ # <li>ContainerID- string - 是否必填:否 - 容器ID。</li>
4710
+ # <li>ImageName- string - 是否必填:否 - 镜像名称。</li>
4711
+ # <li>ImageID- string - 是否必填:否 - 镜像ID。</li>
4712
+ # <li>HostName- string - 是否必填:否 - 主机名称。</li>
4713
+ # <li>HostIP- string - 是否必填:否 - 内网IP。</li>
4714
+ # <li>PublicIP- string - 是否必填:否 - 外网IP。</li>
4715
+ # @type Filters: Array
4716
+ # @param Limit: 需要返回的数量,最大值为100000
4717
+ # @type Limit: Integer
4718
+ # @param Offset: 偏移量,默认为0。
4719
+ # @type Offset: Integer
4720
+ # @param Order: 排序方式:asc/desc
4721
+ # @type Order: String
4722
+ # @param By: 排序字段:事件数量:EventCount
4723
+ # @type By: String
4724
+
4725
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
4726
+
4727
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
4728
+ @Filters = filters
4729
+ @Limit = limit
4730
+ @Offset = offset
4731
+ @Order = order
4732
+ @By = by
4733
+ end
4734
+
4735
+ def deserialize(params)
4736
+ unless params['Filters'].nil?
4737
+ @Filters = []
4738
+ params['Filters'].each do |i|
4739
+ runtimefilters_tmp = RunTimeFilters.new
4740
+ runtimefilters_tmp.deserialize(i)
4741
+ @Filters << runtimefilters_tmp
4742
+ end
4743
+ end
4744
+ @Limit = params['Limit']
4745
+ @Offset = params['Offset']
4746
+ @Order = params['Order']
4747
+ @By = params['By']
4748
+ end
4749
+ end
4750
+
4751
+ # CreateRiskDnsEventExportJob返回参数结构体
4752
+ class CreateRiskDnsEventExportJobResponse < TencentCloud::Common::AbstractModel
4753
+ # @param JobId: 导出任务ID,前端拿着任务ID查询任务进度
4754
+ # @type JobId: String
4755
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4756
+ # @type RequestId: String
4757
+
4758
+ attr_accessor :JobId, :RequestId
4759
+
4760
+ def initialize(jobid=nil, requestid=nil)
4761
+ @JobId = jobid
4762
+ @RequestId = requestid
4763
+ end
4764
+
4765
+ def deserialize(params)
4766
+ @JobId = params['JobId']
4767
+ @RequestId = params['RequestId']
4768
+ end
4769
+ end
4770
+
4698
4771
  # CreateSearchTemplate请求参数结构体
4699
4772
  class CreateSearchTemplateRequest < TencentCloud::Common::AbstractModel
4700
4773
  # @param SearchTemplate: 搜索模板
@@ -11232,18 +11305,25 @@ module TencentCloud
11232
11305
  # @type UnhandledFileCnt: Integer
11233
11306
  # @param UnhandledVirusEventCnt: 未处理木马事件
11234
11307
  # @type UnhandledVirusEventCnt: Integer
11308
+ # @param UnhandledMaliciousConnectionEventCnt: 未处理恶意外连事件
11309
+ # @type UnhandledMaliciousConnectionEventCnt: Integer
11310
+ # @param UnhandledK8sApiEventCnt: 未处理k8sApi事件
11311
+ # 注意:此字段可能返回 null,表示取不到有效值。
11312
+ # @type UnhandledK8sApiEventCnt: Integer
11235
11313
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11236
11314
  # @type RequestId: String
11237
11315
 
11238
- attr_accessor :UnhandledEscapeCnt, :UnhandledReverseShellCnt, :UnhandledRiskSyscallCnt, :UnhandledAbnormalProcessCnt, :UnhandledFileCnt, :UnhandledVirusEventCnt, :RequestId
11316
+ attr_accessor :UnhandledEscapeCnt, :UnhandledReverseShellCnt, :UnhandledRiskSyscallCnt, :UnhandledAbnormalProcessCnt, :UnhandledFileCnt, :UnhandledVirusEventCnt, :UnhandledMaliciousConnectionEventCnt, :UnhandledK8sApiEventCnt, :RequestId
11239
11317
 
11240
- def initialize(unhandledescapecnt=nil, unhandledreverseshellcnt=nil, unhandledrisksyscallcnt=nil, unhandledabnormalprocesscnt=nil, unhandledfilecnt=nil, unhandledviruseventcnt=nil, requestid=nil)
11318
+ def initialize(unhandledescapecnt=nil, unhandledreverseshellcnt=nil, unhandledrisksyscallcnt=nil, unhandledabnormalprocesscnt=nil, unhandledfilecnt=nil, unhandledviruseventcnt=nil, unhandledmaliciousconnectioneventcnt=nil, unhandledk8sapieventcnt=nil, requestid=nil)
11241
11319
  @UnhandledEscapeCnt = unhandledescapecnt
11242
11320
  @UnhandledReverseShellCnt = unhandledreverseshellcnt
11243
11321
  @UnhandledRiskSyscallCnt = unhandledrisksyscallcnt
11244
11322
  @UnhandledAbnormalProcessCnt = unhandledabnormalprocesscnt
11245
11323
  @UnhandledFileCnt = unhandledfilecnt
11246
11324
  @UnhandledVirusEventCnt = unhandledviruseventcnt
11325
+ @UnhandledMaliciousConnectionEventCnt = unhandledmaliciousconnectioneventcnt
11326
+ @UnhandledK8sApiEventCnt = unhandledk8sapieventcnt
11247
11327
  @RequestId = requestid
11248
11328
  end
11249
11329
 
@@ -11254,6 +11334,8 @@ module TencentCloud
11254
11334
  @UnhandledAbnormalProcessCnt = params['UnhandledAbnormalProcessCnt']
11255
11335
  @UnhandledFileCnt = params['UnhandledFileCnt']
11256
11336
  @UnhandledVirusEventCnt = params['UnhandledVirusEventCnt']
11337
+ @UnhandledMaliciousConnectionEventCnt = params['UnhandledMaliciousConnectionEventCnt']
11338
+ @UnhandledK8sApiEventCnt = params['UnhandledK8sApiEventCnt']
11257
11339
  @RequestId = params['RequestId']
11258
11340
  end
11259
11341
  end
@@ -21999,6 +22081,26 @@ module TencentCloud
21999
22081
  end
22000
22082
  end
22001
22083
 
22084
+ # 漏洞防御插件 rasp信息
22085
+ class RaspInfo < TencentCloud::Common::AbstractModel
22086
+ # @param Name: rasp名称
22087
+ # @type Name: String
22088
+ # @param Value: rasp 描述
22089
+ # @type Value: String
22090
+
22091
+ attr_accessor :Name, :Value
22092
+
22093
+ def initialize(name=nil, value=nil)
22094
+ @Name = name
22095
+ @Value = value
22096
+ end
22097
+
22098
+ def deserialize(params)
22099
+ @Name = params['Name']
22100
+ @Value = params['Value']
22101
+ end
22102
+ end
22103
+
22002
22104
  # 地域信息
22003
22105
  class RegionInfo < TencentCloud::Common::AbstractModel
22004
22106
  # @param Region: 地域标识
@@ -23234,6 +23336,8 @@ module TencentCloud
23234
23336
  # ET_RISK_SYSCALL:高危系统调用
23235
23337
  # ET_ABNORMAL_PROCESS: 异常进程
23236
23338
  # ET_ACCESS_CONTROL 文件篡改
23339
+ # ET_VIRUS 木马事件
23340
+ # ET_MALICIOUS_CONNECTION 恶意外连事件
23237
23341
  # @type EventType: String
23238
23342
 
23239
23343
  attr_accessor :EventSet, :EventType
@@ -24699,10 +24803,13 @@ module TencentCloud
24699
24803
  # @param JNDIUrl: 接口Url
24700
24804
  # 注意:此字段可能返回 null,表示取不到有效值。
24701
24805
  # @type JNDIUrl: String
24806
+ # @param RaspDetail: rasp detail
24807
+ # 注意:此字段可能返回 null,表示取不到有效值。
24808
+ # @type RaspDetail: Array
24702
24809
 
24703
- attr_accessor :CVEID, :VulName, :PocID, :EventType, :SourceIP, :City, :EventCount, :ContainerID, :ContainerName, :ImageID, :ImageName, :Status, :SourcePort, :EventID, :HostName, :HostIP, :PublicIP, :PodName, :Description, :OfficialSolution, :NetworkPayload, :PID, :MainClass, :StackTrace, :ServerAccount, :ServerPort, :ServerExe, :ServerArg, :QUUID, :ContainerNetStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :ContainerStatus, :JNDIUrl
24810
+ attr_accessor :CVEID, :VulName, :PocID, :EventType, :SourceIP, :City, :EventCount, :ContainerID, :ContainerName, :ImageID, :ImageName, :Status, :SourcePort, :EventID, :HostName, :HostIP, :PublicIP, :PodName, :Description, :OfficialSolution, :NetworkPayload, :PID, :MainClass, :StackTrace, :ServerAccount, :ServerPort, :ServerExe, :ServerArg, :QUUID, :ContainerNetStatus, :ContainerNetSubStatus, :ContainerIsolateOperationSrc, :ContainerStatus, :JNDIUrl, :RaspDetail
24704
24811
 
24705
- def initialize(cveid=nil, vulname=nil, pocid=nil, eventtype=nil, sourceip=nil, city=nil, eventcount=nil, containerid=nil, containername=nil, imageid=nil, imagename=nil, status=nil, sourceport=nil, eventid=nil, hostname=nil, hostip=nil, publicip=nil, podname=nil, description=nil, officialsolution=nil, networkpayload=nil, pid=nil, mainclass=nil, stacktrace=nil, serveraccount=nil, serverport=nil, serverexe=nil, serverarg=nil, quuid=nil, containernetstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, containerstatus=nil, jndiurl=nil)
24812
+ def initialize(cveid=nil, vulname=nil, pocid=nil, eventtype=nil, sourceip=nil, city=nil, eventcount=nil, containerid=nil, containername=nil, imageid=nil, imagename=nil, status=nil, sourceport=nil, eventid=nil, hostname=nil, hostip=nil, publicip=nil, podname=nil, description=nil, officialsolution=nil, networkpayload=nil, pid=nil, mainclass=nil, stacktrace=nil, serveraccount=nil, serverport=nil, serverexe=nil, serverarg=nil, quuid=nil, containernetstatus=nil, containernetsubstatus=nil, containerisolateoperationsrc=nil, containerstatus=nil, jndiurl=nil, raspdetail=nil)
24706
24813
  @CVEID = cveid
24707
24814
  @VulName = vulname
24708
24815
  @PocID = pocid
@@ -24737,6 +24844,7 @@ module TencentCloud
24737
24844
  @ContainerIsolateOperationSrc = containerisolateoperationsrc
24738
24845
  @ContainerStatus = containerstatus
24739
24846
  @JNDIUrl = jndiurl
24847
+ @RaspDetail = raspdetail
24740
24848
  end
24741
24849
 
24742
24850
  def deserialize(params)
@@ -24774,6 +24882,14 @@ module TencentCloud
24774
24882
  @ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc']
24775
24883
  @ContainerStatus = params['ContainerStatus']
24776
24884
  @JNDIUrl = params['JNDIUrl']
24885
+ unless params['RaspDetail'].nil?
24886
+ @RaspDetail = []
24887
+ params['RaspDetail'].each do |i|
24888
+ raspinfo_tmp = RaspInfo.new
24889
+ raspinfo_tmp.deserialize(i)
24890
+ @RaspDetail << raspinfo_tmp
24891
+ end
24892
+ end
24777
24893
  end
24778
24894
  end
24779
24895
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcss
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.440
4
+ version: 3.0.442
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-31 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common