lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.440 vs lib/v20201101/models.rb in tencentcloud-sdk-tcss-3.0.441

- old
+ new

@@ -11230,32 +11230,41 @@ # @type UnhandledAbnormalProcessCnt: Integer # @param UnhandledFileCnt: 未处理文件篡改 # @type UnhandledFileCnt: Integer # @param UnhandledVirusEventCnt: 未处理木马事件 # @type UnhandledVirusEventCnt: Integer + # @param UnhandledMaliciousConnectionEventCnt: 未处理恶意外连事件 + # @type UnhandledMaliciousConnectionEventCnt: Integer + # @param UnhandledK8sApiEventCnt: 未处理k8sApi事件 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type UnhandledK8sApiEventCnt: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :UnhandledEscapeCnt, :UnhandledReverseShellCnt, :UnhandledRiskSyscallCnt, :UnhandledAbnormalProcessCnt, :UnhandledFileCnt, :UnhandledVirusEventCnt, :RequestId + attr_accessor :UnhandledEscapeCnt, :UnhandledReverseShellCnt, :UnhandledRiskSyscallCnt, :UnhandledAbnormalProcessCnt, :UnhandledFileCnt, :UnhandledVirusEventCnt, :UnhandledMaliciousConnectionEventCnt, :UnhandledK8sApiEventCnt, :RequestId - def initialize(unhandledescapecnt=nil, unhandledreverseshellcnt=nil, unhandledrisksyscallcnt=nil, unhandledabnormalprocesscnt=nil, unhandledfilecnt=nil, unhandledviruseventcnt=nil, requestid=nil) + def initialize(unhandledescapecnt=nil, unhandledreverseshellcnt=nil, unhandledrisksyscallcnt=nil, unhandledabnormalprocesscnt=nil, unhandledfilecnt=nil, unhandledviruseventcnt=nil, unhandledmaliciousconnectioneventcnt=nil, unhandledk8sapieventcnt=nil, requestid=nil) @UnhandledEscapeCnt = unhandledescapecnt @UnhandledReverseShellCnt = unhandledreverseshellcnt @UnhandledRiskSyscallCnt = unhandledrisksyscallcnt @UnhandledAbnormalProcessCnt = unhandledabnormalprocesscnt @UnhandledFileCnt = unhandledfilecnt @UnhandledVirusEventCnt = unhandledviruseventcnt + @UnhandledMaliciousConnectionEventCnt = unhandledmaliciousconnectioneventcnt + @UnhandledK8sApiEventCnt = unhandledk8sapieventcnt @RequestId = requestid end def deserialize(params) @UnhandledEscapeCnt = params['UnhandledEscapeCnt'] @UnhandledReverseShellCnt = params['UnhandledReverseShellCnt'] @UnhandledRiskSyscallCnt = params['UnhandledRiskSyscallCnt'] @UnhandledAbnormalProcessCnt = params['UnhandledAbnormalProcessCnt'] @UnhandledFileCnt = params['UnhandledFileCnt'] @UnhandledVirusEventCnt = params['UnhandledVirusEventCnt'] + @UnhandledMaliciousConnectionEventCnt = params['UnhandledMaliciousConnectionEventCnt'] + @UnhandledK8sApiEventCnt = params['UnhandledK8sApiEventCnt'] @RequestId = params['RequestId'] end end # DescribeESAggregations请求参数结构体 @@ -21997,10 +22006,30 @@ @ProfessionalDiscount = params['ProfessionalDiscount'] @ImageAuthorizationNum = params['ImageAuthorizationNum'] end end + # 漏洞防御插件 rasp信息 + class RaspInfo < TencentCloud::Common::AbstractModel + # @param Name: rasp名称 + # @type Name: String + # @param Value: rasp 描述 + # @type Value: String + + attr_accessor :Name, :Value + + def initialize(name=nil, value=nil) + @Name = name + @Value = value + end + + def deserialize(params) + @Name = params['Name'] + @Value = params['Value'] + end + end + # 地域信息 class RegionInfo < TencentCloud::Common::AbstractModel # @param Region: 地域标识 # @type Region: String # @param RegionName: 地域名称 @@ -23232,10 +23261,12 @@ # ET_ESCAPE : 容器逃逸 # ET_REVERSE_SHELL: 反弹shell # ET_RISK_SYSCALL:高危系统调用 # ET_ABNORMAL_PROCESS: 异常进程 # ET_ACCESS_CONTROL 文件篡改 + # ET_VIRUS 木马事件 + # ET_MALICIOUS_CONNECTION 恶意外连事件 # @type EventType: String attr_accessor :EventSet, :EventType def initialize(eventset=nil, eventtype=nil) @@ -24697,14 +24728,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerStatus: String # @param JNDIUrl: 接口Url # 注意:此字段可能返回 null,表示取不到有效值。 # @type JNDIUrl: String + # @param RaspDetail: rasp detail + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type RaspDetail: Array - 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 + 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 - 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) + 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) @CVEID = cveid @VulName = vulname @PocID = pocid @EventType = eventtype @SourceIP = sourceip @@ -24735,10 +24769,11 @@ @ContainerNetStatus = containernetstatus @ContainerNetSubStatus = containernetsubstatus @ContainerIsolateOperationSrc = containerisolateoperationsrc @ContainerStatus = containerstatus @JNDIUrl = jndiurl + @RaspDetail = raspdetail end def deserialize(params) @CVEID = params['CVEID'] @VulName = params['VulName'] @@ -24772,9 +24807,17 @@ @ContainerNetStatus = params['ContainerNetStatus'] @ContainerNetSubStatus = params['ContainerNetSubStatus'] @ContainerIsolateOperationSrc = params['ContainerIsolateOperationSrc'] @ContainerStatus = params['ContainerStatus'] @JNDIUrl = params['JNDIUrl'] + unless params['RaspDetail'].nil? + @RaspDetail = [] + params['RaspDetail'].each do |i| + raspinfo_tmp = RaspInfo.new + raspinfo_tmp.deserialize(i) + @RaspDetail << raspinfo_tmp + end + end end end # 漏洞防御攻击事件趋势 class VulDefenceEventTendency < TencentCloud::Common::AbstractModel