tencentcloud-sdk-cwp 3.0.540 → 3.0.542
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +48 -0
- data/lib/v20180228/models.rb +369 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd80a2bd287ee68aa40ee82d40ccf4231b48473a
|
4
|
+
data.tar.gz: cee1edbab4b4d7b7a9257f34b1ca089ab6c245ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13907923bcdecd6bda711b408dcf0d0808d0f8782f427fa0faff49260829796d5111b799e0594518ee685b429020bcf14359760422559ae87036500429a9db9f
|
7
|
+
data.tar.gz: b8655d1c97fd569d36bd3f9a8b867b30358f9a8951b9083b953f869c01dc9709412fcb4d8de98e4956562d61c4137de7c8a6a3acfb316045ef0d88e577c8f827
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.542
|
data/lib/v20180228/client.rb
CHANGED
@@ -2504,6 +2504,30 @@ module TencentCloud
|
|
2504
2504
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2505
2505
|
end
|
2506
2506
|
|
2507
|
+
# 查询高危命令事件详情(新)
|
2508
|
+
|
2509
|
+
# @param request: Request instance for DescribeBashEventsInfoNew.
|
2510
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeBashEventsInfoNewRequest`
|
2511
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeBashEventsInfoNewResponse`
|
2512
|
+
def DescribeBashEventsInfoNew(request)
|
2513
|
+
body = send_request('DescribeBashEventsInfoNew', request.serialize)
|
2514
|
+
response = JSON.parse(body)
|
2515
|
+
if response['Response'].key?('Error') == false
|
2516
|
+
model = DescribeBashEventsInfoNewResponse.new
|
2517
|
+
model.deserialize(response['Response'])
|
2518
|
+
model
|
2519
|
+
else
|
2520
|
+
code = response['Response']['Error']['Code']
|
2521
|
+
message = response['Response']['Error']['Message']
|
2522
|
+
reqid = response['Response']['RequestId']
|
2523
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2524
|
+
end
|
2525
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2526
|
+
raise e
|
2527
|
+
rescue StandardError => e
|
2528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2529
|
+
end
|
2530
|
+
|
2507
2531
|
# 获取高危命令列表(新)
|
2508
2532
|
|
2509
2533
|
# @param request: Request instance for DescribeBashEventsNew.
|
@@ -3776,6 +3800,30 @@ module TencentCloud
|
|
3776
3800
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3777
3801
|
end
|
3778
3802
|
|
3803
|
+
# 获取恶意请求事件列表
|
3804
|
+
|
3805
|
+
# @param request: Request instance for DescribeRiskDnsEventList.
|
3806
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventListRequest`
|
3807
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventListResponse`
|
3808
|
+
def DescribeRiskDnsEventList(request)
|
3809
|
+
body = send_request('DescribeRiskDnsEventList', request.serialize)
|
3810
|
+
response = JSON.parse(body)
|
3811
|
+
if response['Response'].key?('Error') == false
|
3812
|
+
model = DescribeRiskDnsEventListResponse.new
|
3813
|
+
model.deserialize(response['Response'])
|
3814
|
+
model
|
3815
|
+
else
|
3816
|
+
code = response['Response']['Error']['Code']
|
3817
|
+
message = response['Response']['Error']['Message']
|
3818
|
+
reqid = response['Response']['RequestId']
|
3819
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3820
|
+
end
|
3821
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3822
|
+
raise e
|
3823
|
+
rescue StandardError => e
|
3824
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3825
|
+
end
|
3826
|
+
|
3779
3827
|
# 入侵检测,获取恶意请求列表
|
3780
3828
|
|
3781
3829
|
# @param request: Request instance for DescribeRiskDnsList.
|
data/lib/v20180228/models.rb
CHANGED
@@ -3877,6 +3877,141 @@ module TencentCloud
|
|
3877
3877
|
end
|
3878
3878
|
end
|
3879
3879
|
|
3880
|
+
# 高危命令数据详情(新)
|
3881
|
+
class BashEventsInfoNew < TencentCloud::Common::AbstractModel
|
3882
|
+
# @param Id: 数据ID
|
3883
|
+
# @type Id: Integer
|
3884
|
+
# @param Uuid: 云镜ID
|
3885
|
+
# @type Uuid: String
|
3886
|
+
# @param Quuid: 主机ID
|
3887
|
+
# @type Quuid: String
|
3888
|
+
# @param HostIp: 主机内网IP
|
3889
|
+
# @type HostIp: String
|
3890
|
+
# @param Platform: 平台类型
|
3891
|
+
# @type Platform: Integer
|
3892
|
+
# @param BashCmd: 执行命令
|
3893
|
+
# @type BashCmd: String
|
3894
|
+
# @param RuleId: 规则ID,等于0表示已规则已被删除或生效范围已修改
|
3895
|
+
# @type RuleId: Integer
|
3896
|
+
# @param RuleName: 规则名称
|
3897
|
+
# @type RuleName: String
|
3898
|
+
# @param RuleLevel: 规则等级:1-高 2-中 3-低
|
3899
|
+
# @type RuleLevel: Integer
|
3900
|
+
# @param Status: 处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略
|
3901
|
+
# @type Status: Integer
|
3902
|
+
# @param CreateTime: 发生时间
|
3903
|
+
# @type CreateTime: String
|
3904
|
+
# @param MachineName: 主机名
|
3905
|
+
# @type MachineName: String
|
3906
|
+
# @param Exe: 进程名称
|
3907
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3908
|
+
# @type Exe: String
|
3909
|
+
# @param ModifyTime: 处理时间
|
3910
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3911
|
+
# @type ModifyTime: String
|
3912
|
+
# @param RuleCategory: 规则类别 0=系统规则,1=用户规则
|
3913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3914
|
+
# @type RuleCategory: Integer
|
3915
|
+
# @param RegexBashCmd: 自动生成的正则表达式
|
3916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3917
|
+
# @type RegexBashCmd: String
|
3918
|
+
# @param PsTree: 进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源
|
3919
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3920
|
+
# @type PsTree: String
|
3921
|
+
# @param SuggestScheme: 建议方案
|
3922
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3923
|
+
# @type SuggestScheme: String
|
3924
|
+
# @param HarmDescribe: 描述
|
3925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3926
|
+
# @type HarmDescribe: String
|
3927
|
+
# @param Tags: 标签
|
3928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3929
|
+
# @type Tags: Array
|
3930
|
+
# @param References: 参考链接
|
3931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3932
|
+
# @type References: Array
|
3933
|
+
# @param MachineWanIp: 主机外网ip
|
3934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3935
|
+
# @type MachineWanIp: String
|
3936
|
+
# @param MachineStatus: 主机在线状态 OFFLINE ONLINE
|
3937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3938
|
+
# @type MachineStatus: String
|
3939
|
+
# @param User: 登录用户
|
3940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3941
|
+
# @type User: String
|
3942
|
+
# @param Pid: 进程号
|
3943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3944
|
+
# @type Pid: String
|
3945
|
+
# @param MachineType: 0:普通 1:专业版 2:旗舰版
|
3946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3947
|
+
# @type MachineType: Integer
|
3948
|
+
# @param DetectBy: 检测来源 0:bash日志 1:实时监控
|
3949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3950
|
+
# @type DetectBy: Integer
|
3951
|
+
|
3952
|
+
attr_accessor :Id, :Uuid, :Quuid, :HostIp, :Platform, :BashCmd, :RuleId, :RuleName, :RuleLevel, :Status, :CreateTime, :MachineName, :Exe, :ModifyTime, :RuleCategory, :RegexBashCmd, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :User, :Pid, :MachineType, :DetectBy
|
3953
|
+
|
3954
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, platform=nil, bashcmd=nil, ruleid=nil, rulename=nil, rulelevel=nil, status=nil, createtime=nil, machinename=nil, exe=nil, modifytime=nil, rulecategory=nil, regexbashcmd=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, user=nil, pid=nil, machinetype=nil, detectby=nil)
|
3955
|
+
@Id = id
|
3956
|
+
@Uuid = uuid
|
3957
|
+
@Quuid = quuid
|
3958
|
+
@HostIp = hostip
|
3959
|
+
@Platform = platform
|
3960
|
+
@BashCmd = bashcmd
|
3961
|
+
@RuleId = ruleid
|
3962
|
+
@RuleName = rulename
|
3963
|
+
@RuleLevel = rulelevel
|
3964
|
+
@Status = status
|
3965
|
+
@CreateTime = createtime
|
3966
|
+
@MachineName = machinename
|
3967
|
+
@Exe = exe
|
3968
|
+
@ModifyTime = modifytime
|
3969
|
+
@RuleCategory = rulecategory
|
3970
|
+
@RegexBashCmd = regexbashcmd
|
3971
|
+
@PsTree = pstree
|
3972
|
+
@SuggestScheme = suggestscheme
|
3973
|
+
@HarmDescribe = harmdescribe
|
3974
|
+
@Tags = tags
|
3975
|
+
@References = references
|
3976
|
+
@MachineWanIp = machinewanip
|
3977
|
+
@MachineStatus = machinestatus
|
3978
|
+
@User = user
|
3979
|
+
@Pid = pid
|
3980
|
+
@MachineType = machinetype
|
3981
|
+
@DetectBy = detectby
|
3982
|
+
end
|
3983
|
+
|
3984
|
+
def deserialize(params)
|
3985
|
+
@Id = params['Id']
|
3986
|
+
@Uuid = params['Uuid']
|
3987
|
+
@Quuid = params['Quuid']
|
3988
|
+
@HostIp = params['HostIp']
|
3989
|
+
@Platform = params['Platform']
|
3990
|
+
@BashCmd = params['BashCmd']
|
3991
|
+
@RuleId = params['RuleId']
|
3992
|
+
@RuleName = params['RuleName']
|
3993
|
+
@RuleLevel = params['RuleLevel']
|
3994
|
+
@Status = params['Status']
|
3995
|
+
@CreateTime = params['CreateTime']
|
3996
|
+
@MachineName = params['MachineName']
|
3997
|
+
@Exe = params['Exe']
|
3998
|
+
@ModifyTime = params['ModifyTime']
|
3999
|
+
@RuleCategory = params['RuleCategory']
|
4000
|
+
@RegexBashCmd = params['RegexBashCmd']
|
4001
|
+
@PsTree = params['PsTree']
|
4002
|
+
@SuggestScheme = params['SuggestScheme']
|
4003
|
+
@HarmDescribe = params['HarmDescribe']
|
4004
|
+
@Tags = params['Tags']
|
4005
|
+
@References = params['References']
|
4006
|
+
@MachineWanIp = params['MachineWanIp']
|
4007
|
+
@MachineStatus = params['MachineStatus']
|
4008
|
+
@User = params['User']
|
4009
|
+
@Pid = params['Pid']
|
4010
|
+
@MachineType = params['MachineType']
|
4011
|
+
@DetectBy = params['DetectBy']
|
4012
|
+
end
|
4013
|
+
end
|
4014
|
+
|
3880
4015
|
# 高危命令规则
|
3881
4016
|
class BashRule < TencentCloud::Common::AbstractModel
|
3882
4017
|
# @param Id: 规则ID
|
@@ -10089,6 +10224,46 @@ module TencentCloud
|
|
10089
10224
|
end
|
10090
10225
|
end
|
10091
10226
|
|
10227
|
+
# DescribeBashEventsInfoNew请求参数结构体
|
10228
|
+
class DescribeBashEventsInfoNewRequest < TencentCloud::Common::AbstractModel
|
10229
|
+
# @param Id: 事件id
|
10230
|
+
# @type Id: Integer
|
10231
|
+
|
10232
|
+
attr_accessor :Id
|
10233
|
+
|
10234
|
+
def initialize(id=nil)
|
10235
|
+
@Id = id
|
10236
|
+
end
|
10237
|
+
|
10238
|
+
def deserialize(params)
|
10239
|
+
@Id = params['Id']
|
10240
|
+
end
|
10241
|
+
end
|
10242
|
+
|
10243
|
+
# DescribeBashEventsInfoNew返回参数结构体
|
10244
|
+
class DescribeBashEventsInfoNewResponse < TencentCloud::Common::AbstractModel
|
10245
|
+
# @param BashEventsInfo: 事件详情
|
10246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10247
|
+
# @type BashEventsInfo: :class:`Tencentcloud::Cwp.v20180228.models.BashEventsInfoNew`
|
10248
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
10249
|
+
# @type RequestId: String
|
10250
|
+
|
10251
|
+
attr_accessor :BashEventsInfo, :RequestId
|
10252
|
+
|
10253
|
+
def initialize(basheventsinfo=nil, requestid=nil)
|
10254
|
+
@BashEventsInfo = basheventsinfo
|
10255
|
+
@RequestId = requestid
|
10256
|
+
end
|
10257
|
+
|
10258
|
+
def deserialize(params)
|
10259
|
+
unless params['BashEventsInfo'].nil?
|
10260
|
+
@BashEventsInfo = BashEventsInfoNew.new
|
10261
|
+
@BashEventsInfo.deserialize(params['BashEventsInfo'])
|
10262
|
+
end
|
10263
|
+
@RequestId = params['RequestId']
|
10264
|
+
end
|
10265
|
+
end
|
10266
|
+
|
10092
10267
|
# DescribeBashEventsNew请求参数结构体
|
10093
10268
|
class DescribeBashEventsNewRequest < TencentCloud::Common::AbstractModel
|
10094
10269
|
# @param Limit: 返回数量,默认为10,最大值为100。
|
@@ -13682,6 +13857,84 @@ module TencentCloud
|
|
13682
13857
|
end
|
13683
13858
|
end
|
13684
13859
|
|
13860
|
+
# DescribeRiskDnsEventList请求参数结构体
|
13861
|
+
class DescribeRiskDnsEventListRequest < TencentCloud::Common::AbstractModel
|
13862
|
+
# @param Filters: <li>IpOrName - String - 是否必填:否 - 主机Ip或别名筛选</li>
|
13863
|
+
# <li>HostId - String - 是否必填:否 - 主机Id</li>
|
13864
|
+
# <li>AgentId - String - 是否必填:否 - 客户端Id</li>
|
13865
|
+
# <li>PolicyType - String - 是否必填:否 - 策略类型,0:系统策略1:用户自定义策略</li>
|
13866
|
+
# <li>Domain - String - 是否必填:否 - 域名(先对域名做urlencode,再base64)</li>
|
13867
|
+
# <li>HandleStatus - String - 是否必填:否 - 状态筛选0:待处理;2:信任;3:不信任</li>
|
13868
|
+
# <li>BeginTime - String - 是否必填:否 - 最近访问开始时间</li>
|
13869
|
+
# <li>EndTime - String - 是否必填:否 - 最近访问结束时间</li>
|
13870
|
+
# @type Filters: Array
|
13871
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
13872
|
+
# @type Limit: Integer
|
13873
|
+
# @param Offset: 偏移量,默认为0。
|
13874
|
+
# @type Offset: Integer
|
13875
|
+
# @param Order: 排序方式:根据请求次数排序:[asc:升序|desc:降序]
|
13876
|
+
# @type Order: String
|
13877
|
+
# @param By: 排序字段:[AccessCount:请求次数|LastTime:最近请求时间]
|
13878
|
+
# @type By: String
|
13879
|
+
|
13880
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
13881
|
+
|
13882
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
13883
|
+
@Filters = filters
|
13884
|
+
@Limit = limit
|
13885
|
+
@Offset = offset
|
13886
|
+
@Order = order
|
13887
|
+
@By = by
|
13888
|
+
end
|
13889
|
+
|
13890
|
+
def deserialize(params)
|
13891
|
+
unless params['Filters'].nil?
|
13892
|
+
@Filters = []
|
13893
|
+
params['Filters'].each do |i|
|
13894
|
+
filter_tmp = Filter.new
|
13895
|
+
filter_tmp.deserialize(i)
|
13896
|
+
@Filters << filter_tmp
|
13897
|
+
end
|
13898
|
+
end
|
13899
|
+
@Limit = params['Limit']
|
13900
|
+
@Offset = params['Offset']
|
13901
|
+
@Order = params['Order']
|
13902
|
+
@By = params['By']
|
13903
|
+
end
|
13904
|
+
end
|
13905
|
+
|
13906
|
+
# DescribeRiskDnsEventList返回参数结构体
|
13907
|
+
class DescribeRiskDnsEventListResponse < TencentCloud::Common::AbstractModel
|
13908
|
+
# @param List: 恶意请求事件列表
|
13909
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13910
|
+
# @type List: Array
|
13911
|
+
# @param TotalCount: 总数
|
13912
|
+
# @type TotalCount: Integer
|
13913
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13914
|
+
# @type RequestId: String
|
13915
|
+
|
13916
|
+
attr_accessor :List, :TotalCount, :RequestId
|
13917
|
+
|
13918
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
13919
|
+
@List = list
|
13920
|
+
@TotalCount = totalcount
|
13921
|
+
@RequestId = requestid
|
13922
|
+
end
|
13923
|
+
|
13924
|
+
def deserialize(params)
|
13925
|
+
unless params['List'].nil?
|
13926
|
+
@List = []
|
13927
|
+
params['List'].each do |i|
|
13928
|
+
riskdnsevent_tmp = RiskDnsEvent.new
|
13929
|
+
riskdnsevent_tmp.deserialize(i)
|
13930
|
+
@List << riskdnsevent_tmp
|
13931
|
+
end
|
13932
|
+
end
|
13933
|
+
@TotalCount = params['TotalCount']
|
13934
|
+
@RequestId = params['RequestId']
|
13935
|
+
end
|
13936
|
+
end
|
13937
|
+
|
13685
13938
|
# DescribeRiskDnsList请求参数结构体
|
13686
13939
|
class DescribeRiskDnsListRequest < TencentCloud::Common::AbstractModel
|
13687
13940
|
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
@@ -21100,6 +21353,122 @@ module TencentCloud
|
|
21100
21353
|
end
|
21101
21354
|
end
|
21102
21355
|
|
21356
|
+
# 恶意请求事件
|
21357
|
+
class RiskDnsEvent < TencentCloud::Common::AbstractModel
|
21358
|
+
# @param Id: 事件Id
|
21359
|
+
# @type Id: Integer
|
21360
|
+
# @param PolicyId: 策略ID
|
21361
|
+
# @type PolicyId: Integer
|
21362
|
+
# @param PolicyType: 命中策略类型[-1:未知|0系统|1:用户]
|
21363
|
+
# @type PolicyType: Integer
|
21364
|
+
# @param PolicyName: 命中策略名称
|
21365
|
+
# @type PolicyName: String
|
21366
|
+
# @param ProtectLevel: 保护级别[0:基础版|1:专业版|2:旗舰版]
|
21367
|
+
# @type ProtectLevel: Integer
|
21368
|
+
# @param HostId: 主机ID
|
21369
|
+
# @type HostId: String
|
21370
|
+
# @param HostName: 主机名称
|
21371
|
+
# @type HostName: String
|
21372
|
+
# @param HostIp: 主机IP
|
21373
|
+
# @type HostIp: String
|
21374
|
+
# @param WanIp: 外网IP
|
21375
|
+
# @type WanIp: String
|
21376
|
+
# @param AgentId: 客户端ID
|
21377
|
+
# @type AgentId: String
|
21378
|
+
# @param Domain: 访问域名
|
21379
|
+
# @type Domain: String
|
21380
|
+
# @param Tags: 标签特性
|
21381
|
+
# @type Tags: Array
|
21382
|
+
# @param AccessCount: 访问次数
|
21383
|
+
# @type AccessCount: Integer
|
21384
|
+
# @param ThreatDesc: 威胁描述
|
21385
|
+
# @type ThreatDesc: String
|
21386
|
+
# @param SuggestSolution: 修复方案
|
21387
|
+
# @type SuggestSolution: String
|
21388
|
+
# @param ReferenceLink: 参考链接
|
21389
|
+
# @type ReferenceLink: String
|
21390
|
+
# @param HandleStatus: 处理状态;[0:待处理|2:已加白|3:非信任状态|4:已处理|5:已忽略]
|
21391
|
+
# @type HandleStatus: Integer
|
21392
|
+
# @param Pid: 进程ID
|
21393
|
+
# @type Pid: Integer
|
21394
|
+
# @param ProcessName: 进程名
|
21395
|
+
# @type ProcessName: String
|
21396
|
+
# @param ProcessMd5: 进程MD5
|
21397
|
+
# @type ProcessMd5: String
|
21398
|
+
# @param CmdLine: 命令行
|
21399
|
+
# @type CmdLine: String
|
21400
|
+
# @param FirstTime: 首次访问时间
|
21401
|
+
# @type FirstTime: String
|
21402
|
+
# @param LastTime: 最近访问时间
|
21403
|
+
# @type LastTime: String
|
21404
|
+
# @param HostStatus: 主机在线状态[OFFLINE:离线|ONLINE:在线|UNKNOWN:未知]
|
21405
|
+
# @type HostStatus: String
|
21406
|
+
# @param MachineExtraInfo: 附加信息
|
21407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21408
|
+
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
21409
|
+
|
21410
|
+
attr_accessor :Id, :PolicyId, :PolicyType, :PolicyName, :ProtectLevel, :HostId, :HostName, :HostIp, :WanIp, :AgentId, :Domain, :Tags, :AccessCount, :ThreatDesc, :SuggestSolution, :ReferenceLink, :HandleStatus, :Pid, :ProcessName, :ProcessMd5, :CmdLine, :FirstTime, :LastTime, :HostStatus, :MachineExtraInfo
|
21411
|
+
|
21412
|
+
def initialize(id=nil, policyid=nil, policytype=nil, policyname=nil, protectlevel=nil, hostid=nil, hostname=nil, hostip=nil, wanip=nil, agentid=nil, domain=nil, tags=nil, accesscount=nil, threatdesc=nil, suggestsolution=nil, referencelink=nil, handlestatus=nil, pid=nil, processname=nil, processmd5=nil, cmdline=nil, firsttime=nil, lasttime=nil, hoststatus=nil, machineextrainfo=nil)
|
21413
|
+
@Id = id
|
21414
|
+
@PolicyId = policyid
|
21415
|
+
@PolicyType = policytype
|
21416
|
+
@PolicyName = policyname
|
21417
|
+
@ProtectLevel = protectlevel
|
21418
|
+
@HostId = hostid
|
21419
|
+
@HostName = hostname
|
21420
|
+
@HostIp = hostip
|
21421
|
+
@WanIp = wanip
|
21422
|
+
@AgentId = agentid
|
21423
|
+
@Domain = domain
|
21424
|
+
@Tags = tags
|
21425
|
+
@AccessCount = accesscount
|
21426
|
+
@ThreatDesc = threatdesc
|
21427
|
+
@SuggestSolution = suggestsolution
|
21428
|
+
@ReferenceLink = referencelink
|
21429
|
+
@HandleStatus = handlestatus
|
21430
|
+
@Pid = pid
|
21431
|
+
@ProcessName = processname
|
21432
|
+
@ProcessMd5 = processmd5
|
21433
|
+
@CmdLine = cmdline
|
21434
|
+
@FirstTime = firsttime
|
21435
|
+
@LastTime = lasttime
|
21436
|
+
@HostStatus = hoststatus
|
21437
|
+
@MachineExtraInfo = machineextrainfo
|
21438
|
+
end
|
21439
|
+
|
21440
|
+
def deserialize(params)
|
21441
|
+
@Id = params['Id']
|
21442
|
+
@PolicyId = params['PolicyId']
|
21443
|
+
@PolicyType = params['PolicyType']
|
21444
|
+
@PolicyName = params['PolicyName']
|
21445
|
+
@ProtectLevel = params['ProtectLevel']
|
21446
|
+
@HostId = params['HostId']
|
21447
|
+
@HostName = params['HostName']
|
21448
|
+
@HostIp = params['HostIp']
|
21449
|
+
@WanIp = params['WanIp']
|
21450
|
+
@AgentId = params['AgentId']
|
21451
|
+
@Domain = params['Domain']
|
21452
|
+
@Tags = params['Tags']
|
21453
|
+
@AccessCount = params['AccessCount']
|
21454
|
+
@ThreatDesc = params['ThreatDesc']
|
21455
|
+
@SuggestSolution = params['SuggestSolution']
|
21456
|
+
@ReferenceLink = params['ReferenceLink']
|
21457
|
+
@HandleStatus = params['HandleStatus']
|
21458
|
+
@Pid = params['Pid']
|
21459
|
+
@ProcessName = params['ProcessName']
|
21460
|
+
@ProcessMd5 = params['ProcessMd5']
|
21461
|
+
@CmdLine = params['CmdLine']
|
21462
|
+
@FirstTime = params['FirstTime']
|
21463
|
+
@LastTime = params['LastTime']
|
21464
|
+
@HostStatus = params['HostStatus']
|
21465
|
+
unless params['MachineExtraInfo'].nil?
|
21466
|
+
@MachineExtraInfo = MachineExtraInfo.new
|
21467
|
+
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
21468
|
+
end
|
21469
|
+
end
|
21470
|
+
end
|
21471
|
+
|
21103
21472
|
# 恶意请求列表
|
21104
21473
|
class RiskDnsList < TencentCloud::Common::AbstractModel
|
21105
21474
|
# @param Url: 对外访问域名
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.542
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03
|
11
|
+
date: 2023-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|