tencentcloud-sdk-cwp 3.0.545 → 3.0.546
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180228/client.rb +168 -0
- data/lib/v20180228/models.rb +849 -30
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6a862959b6c7c3ef82eed0b8583b5a05b4fee3b
|
4
|
+
data.tar.gz: ffd1ad1814ebe386efe08da313cf21248da9f54b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f98842830211c540939daa5615414242edbd4c56fc1640d2b6dabc4bf4260641d62c20c4776659c1672c52e493973a5b549e2229fc29b68e93d9465c6e9cb90
|
7
|
+
data.tar.gz: 7f8c595e7aaba304d9be6c83f242ae5843700f1a90775700fdd30c4d64977d2a4aaa11ccbab37c10c050dfd9edec398a6677521b64674101c54c1edd95497076
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.546
|
data/lib/v20180228/client.rb
CHANGED
@@ -920,6 +920,54 @@ module TencentCloud
|
|
920
920
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
921
921
|
end
|
922
922
|
|
923
|
+
# 获取告警点所在事件的所有节点信息
|
924
|
+
|
925
|
+
# @param request: Request instance for DescribeAlarmIncidentNodes.
|
926
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAlarmIncidentNodesRequest`
|
927
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAlarmIncidentNodesResponse`
|
928
|
+
def DescribeAlarmIncidentNodes(request)
|
929
|
+
body = send_request('DescribeAlarmIncidentNodes', request.serialize)
|
930
|
+
response = JSON.parse(body)
|
931
|
+
if response['Response'].key?('Error') == false
|
932
|
+
model = DescribeAlarmIncidentNodesResponse.new
|
933
|
+
model.deserialize(response['Response'])
|
934
|
+
model
|
935
|
+
else
|
936
|
+
code = response['Response']['Error']['Code']
|
937
|
+
message = response['Response']['Error']['Message']
|
938
|
+
reqid = response['Response']['RequestId']
|
939
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
940
|
+
end
|
941
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
942
|
+
raise e
|
943
|
+
rescue StandardError => e
|
944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
945
|
+
end
|
946
|
+
|
947
|
+
# 查询告警点id列表
|
948
|
+
|
949
|
+
# @param request: Request instance for DescribeAlarmVertexId.
|
950
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAlarmVertexIdRequest`
|
951
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAlarmVertexIdResponse`
|
952
|
+
def DescribeAlarmVertexId(request)
|
953
|
+
body = send_request('DescribeAlarmVertexId', request.serialize)
|
954
|
+
response = JSON.parse(body)
|
955
|
+
if response['Response'].key?('Error') == false
|
956
|
+
model = DescribeAlarmVertexIdResponse.new
|
957
|
+
model.deserialize(response['Response'])
|
958
|
+
model
|
959
|
+
else
|
960
|
+
code = response['Response']['Error']['Code']
|
961
|
+
message = response['Response']['Error']['Message']
|
962
|
+
reqid = response['Response']['RequestId']
|
963
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
964
|
+
end
|
965
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
966
|
+
raise e
|
967
|
+
rescue StandardError => e
|
968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
969
|
+
end
|
970
|
+
|
923
971
|
# 查询应用列表
|
924
972
|
|
925
973
|
# @param request: Request instance for DescribeAssetAppList.
|
@@ -2744,6 +2792,30 @@ module TencentCloud
|
|
2744
2792
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2745
2793
|
end
|
2746
2794
|
|
2795
|
+
# 根据事件表名和id查询告警事件详情
|
2796
|
+
|
2797
|
+
# @param request: Request instance for DescribeEventByTable.
|
2798
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeEventByTableRequest`
|
2799
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeEventByTableResponse`
|
2800
|
+
def DescribeEventByTable(request)
|
2801
|
+
body = send_request('DescribeEventByTable', request.serialize)
|
2802
|
+
response = JSON.parse(body)
|
2803
|
+
if response['Response'].key?('Error') == false
|
2804
|
+
model = DescribeEventByTableResponse.new
|
2805
|
+
model.deserialize(response['Response'])
|
2806
|
+
model
|
2807
|
+
else
|
2808
|
+
code = response['Response']['Error']['Code']
|
2809
|
+
message = response['Response']['Error']['Message']
|
2810
|
+
reqid = response['Response']['RequestId']
|
2811
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2812
|
+
end
|
2813
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2814
|
+
raise e
|
2815
|
+
rescue StandardError => e
|
2816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2817
|
+
end
|
2818
|
+
|
2747
2819
|
# 专家服务-安全管家列表
|
2748
2820
|
|
2749
2821
|
# @param request: Request instance for DescribeExpertServiceList.
|
@@ -3560,6 +3632,30 @@ module TencentCloud
|
|
3560
3632
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3561
3633
|
end
|
3562
3634
|
|
3635
|
+
# 本地提权信息详情
|
3636
|
+
|
3637
|
+
# @param request: Request instance for DescribePrivilegeEventInfo.
|
3638
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribePrivilegeEventInfoRequest`
|
3639
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribePrivilegeEventInfoResponse`
|
3640
|
+
def DescribePrivilegeEventInfo(request)
|
3641
|
+
body = send_request('DescribePrivilegeEventInfo', request.serialize)
|
3642
|
+
response = JSON.parse(body)
|
3643
|
+
if response['Response'].key?('Error') == false
|
3644
|
+
model = DescribePrivilegeEventInfoResponse.new
|
3645
|
+
model.deserialize(response['Response'])
|
3646
|
+
model
|
3647
|
+
else
|
3648
|
+
code = response['Response']['Error']['Code']
|
3649
|
+
message = response['Response']['Error']['Message']
|
3650
|
+
reqid = response['Response']['RequestId']
|
3651
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3652
|
+
end
|
3653
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3654
|
+
raise e
|
3655
|
+
rescue StandardError => e
|
3656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3657
|
+
end
|
3658
|
+
|
3563
3659
|
# 获取本地提权事件列表
|
3564
3660
|
|
3565
3661
|
# @param request: Request instance for DescribePrivilegeEvents.
|
@@ -3752,6 +3848,30 @@ module TencentCloud
|
|
3752
3848
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3753
3849
|
end
|
3754
3850
|
|
3851
|
+
# 反弹shell信息详情
|
3852
|
+
|
3853
|
+
# @param request: Request instance for DescribeReverseShellEventInfo.
|
3854
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeReverseShellEventInfoRequest`
|
3855
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeReverseShellEventInfoResponse`
|
3856
|
+
def DescribeReverseShellEventInfo(request)
|
3857
|
+
body = send_request('DescribeReverseShellEventInfo', request.serialize)
|
3858
|
+
response = JSON.parse(body)
|
3859
|
+
if response['Response'].key?('Error') == false
|
3860
|
+
model = DescribeReverseShellEventInfoResponse.new
|
3861
|
+
model.deserialize(response['Response'])
|
3862
|
+
model
|
3863
|
+
else
|
3864
|
+
code = response['Response']['Error']['Code']
|
3865
|
+
message = response['Response']['Error']['Message']
|
3866
|
+
reqid = response['Response']['RequestId']
|
3867
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3868
|
+
end
|
3869
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3870
|
+
raise e
|
3871
|
+
rescue StandardError => e
|
3872
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3873
|
+
end
|
3874
|
+
|
3755
3875
|
# 获取反弹Shell列表
|
3756
3876
|
|
3757
3877
|
# @param request: Request instance for DescribeReverseShellEvents.
|
@@ -3800,6 +3920,30 @@ module TencentCloud
|
|
3800
3920
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3801
3921
|
end
|
3802
3922
|
|
3923
|
+
# 查询恶意请求事件详情
|
3924
|
+
|
3925
|
+
# @param request: Request instance for DescribeRiskDnsEventInfo.
|
3926
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventInfoRequest`
|
3927
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventInfoResponse`
|
3928
|
+
def DescribeRiskDnsEventInfo(request)
|
3929
|
+
body = send_request('DescribeRiskDnsEventInfo', request.serialize)
|
3930
|
+
response = JSON.parse(body)
|
3931
|
+
if response['Response'].key?('Error') == false
|
3932
|
+
model = DescribeRiskDnsEventInfoResponse.new
|
3933
|
+
model.deserialize(response['Response'])
|
3934
|
+
model
|
3935
|
+
else
|
3936
|
+
code = response['Response']['Error']['Code']
|
3937
|
+
message = response['Response']['Error']['Message']
|
3938
|
+
reqid = response['Response']['RequestId']
|
3939
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3940
|
+
end
|
3941
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3942
|
+
raise e
|
3943
|
+
rescue StandardError => e
|
3944
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3945
|
+
end
|
3946
|
+
|
3803
3947
|
# 获取恶意请求事件列表
|
3804
3948
|
|
3805
3949
|
# @param request: Request instance for DescribeRiskDnsEventList.
|
@@ -4376,6 +4520,30 @@ module TencentCloud
|
|
4376
4520
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4377
4521
|
end
|
4378
4522
|
|
4523
|
+
# 获取指定点属性信息
|
4524
|
+
|
4525
|
+
# @param request: Request instance for DescribeVertexDetail.
|
4526
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeVertexDetailRequest`
|
4527
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeVertexDetailResponse`
|
4528
|
+
def DescribeVertexDetail(request)
|
4529
|
+
body = send_request('DescribeVertexDetail', request.serialize)
|
4530
|
+
response = JSON.parse(body)
|
4531
|
+
if response['Response'].key?('Error') == false
|
4532
|
+
model = DescribeVertexDetailResponse.new
|
4533
|
+
model.deserialize(response['Response'])
|
4534
|
+
model
|
4535
|
+
else
|
4536
|
+
code = response['Response']['Error']['Code']
|
4537
|
+
message = response['Response']['Error']['Message']
|
4538
|
+
reqid = response['Response']['RequestId']
|
4539
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4540
|
+
end
|
4541
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4542
|
+
raise e
|
4543
|
+
rescue StandardError => e
|
4544
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4545
|
+
end
|
4546
|
+
|
4379
4547
|
# 漏洞管理模块,获取近日指定类型的漏洞数量和主机数量
|
4380
4548
|
|
4381
4549
|
# @param request: Request instance for DescribeVulCountByDates.
|
data/lib/v20180228/models.rb
CHANGED
@@ -37,6 +37,26 @@ module TencentCloud
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
# 节点关联的告警信息
|
41
|
+
class AlarmInfo < TencentCloud::Common::AbstractModel
|
42
|
+
# @param AlarmId: 该节点关联的告警,告警的table_name+id(t1:id1,t2:id2,...)
|
43
|
+
# @type AlarmId: String
|
44
|
+
# @param Status: 告警事件表状态,当该节点为告警点时生效
|
45
|
+
# @type Status: Integer
|
46
|
+
|
47
|
+
attr_accessor :AlarmId, :Status
|
48
|
+
|
49
|
+
def initialize(alarmid=nil, status=nil)
|
50
|
+
@AlarmId = alarmid
|
51
|
+
@Status = status
|
52
|
+
end
|
53
|
+
|
54
|
+
def deserialize(params)
|
55
|
+
@AlarmId = params['AlarmId']
|
56
|
+
@Status = params['Status']
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
40
60
|
# 资源管理进程基本信息
|
41
61
|
class AssetAppBaseInfo < TencentCloud::Common::AbstractModel
|
42
62
|
# @param MachineIp: 主机内网IP
|
@@ -4154,10 +4174,13 @@ module TencentCloud
|
|
4154
4174
|
# @param MachineExtraInfo: 附加信息
|
4155
4175
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4156
4176
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
4177
|
+
# @param Location: 地理位置中文名
|
4178
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4179
|
+
# @type Location: String
|
4157
4180
|
|
4158
|
-
attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :CreateTime, :BanStatus, :EventType, :Count, :Quuid, :IsProVersion, :Protocol, :Port, :ModifyTime, :InstanceId, :DataStatus, :MachineExtraInfo
|
4181
|
+
attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :CreateTime, :BanStatus, :EventType, :Count, :Quuid, :IsProVersion, :Protocol, :Port, :ModifyTime, :InstanceId, :DataStatus, :MachineExtraInfo, :Location
|
4159
4182
|
|
4160
|
-
def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, createtime=nil, banstatus=nil, eventtype=nil, count=nil, quuid=nil, isproversion=nil, protocol=nil, port=nil, modifytime=nil, instanceid=nil, datastatus=nil, machineextrainfo=nil)
|
4183
|
+
def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, createtime=nil, banstatus=nil, eventtype=nil, count=nil, quuid=nil, isproversion=nil, protocol=nil, port=nil, modifytime=nil, instanceid=nil, datastatus=nil, machineextrainfo=nil, location=nil)
|
4161
4184
|
@Id = id
|
4162
4185
|
@Uuid = uuid
|
4163
4186
|
@MachineIp = machineip
|
@@ -4180,6 +4203,7 @@ module TencentCloud
|
|
4180
4203
|
@InstanceId = instanceid
|
4181
4204
|
@DataStatus = datastatus
|
4182
4205
|
@MachineExtraInfo = machineextrainfo
|
4206
|
+
@Location = location
|
4183
4207
|
end
|
4184
4208
|
|
4185
4209
|
def deserialize(params)
|
@@ -4208,6 +4232,7 @@ module TencentCloud
|
|
4208
4232
|
@MachineExtraInfo = MachineExtraInfo.new
|
4209
4233
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
4210
4234
|
end
|
4235
|
+
@Location = params['Location']
|
4211
4236
|
end
|
4212
4237
|
end
|
4213
4238
|
|
@@ -5789,6 +5814,103 @@ module TencentCloud
|
|
5789
5814
|
end
|
5790
5815
|
end
|
5791
5816
|
|
5817
|
+
# DescribeAlarmIncidentNodes请求参数结构体
|
5818
|
+
class DescribeAlarmIncidentNodesRequest < TencentCloud::Common::AbstractModel
|
5819
|
+
# @param Uuid: 机器uuid
|
5820
|
+
# @type Uuid: String
|
5821
|
+
# @param AlarmVid: 告警vid
|
5822
|
+
# @type AlarmVid: String
|
5823
|
+
# @param AlarmTime: 告警时间
|
5824
|
+
# @type AlarmTime: Integer
|
5825
|
+
|
5826
|
+
attr_accessor :Uuid, :AlarmVid, :AlarmTime
|
5827
|
+
|
5828
|
+
def initialize(uuid=nil, alarmvid=nil, alarmtime=nil)
|
5829
|
+
@Uuid = uuid
|
5830
|
+
@AlarmVid = alarmvid
|
5831
|
+
@AlarmTime = alarmtime
|
5832
|
+
end
|
5833
|
+
|
5834
|
+
def deserialize(params)
|
5835
|
+
@Uuid = params['Uuid']
|
5836
|
+
@AlarmVid = params['AlarmVid']
|
5837
|
+
@AlarmTime = params['AlarmTime']
|
5838
|
+
end
|
5839
|
+
end
|
5840
|
+
|
5841
|
+
# DescribeAlarmIncidentNodes返回参数结构体
|
5842
|
+
class DescribeAlarmIncidentNodesResponse < TencentCloud::Common::AbstractModel
|
5843
|
+
# @param IncidentNodes: 告警点所在事件的所有节点信息,可能包含多事件
|
5844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5845
|
+
# @type IncidentNodes: Array
|
5846
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5847
|
+
# @type RequestId: String
|
5848
|
+
|
5849
|
+
attr_accessor :IncidentNodes, :RequestId
|
5850
|
+
|
5851
|
+
def initialize(incidentnodes=nil, requestid=nil)
|
5852
|
+
@IncidentNodes = incidentnodes
|
5853
|
+
@RequestId = requestid
|
5854
|
+
end
|
5855
|
+
|
5856
|
+
def deserialize(params)
|
5857
|
+
unless params['IncidentNodes'].nil?
|
5858
|
+
@IncidentNodes = []
|
5859
|
+
params['IncidentNodes'].each do |i|
|
5860
|
+
incidentvertexinfo_tmp = IncidentVertexInfo.new
|
5861
|
+
incidentvertexinfo_tmp.deserialize(i)
|
5862
|
+
@IncidentNodes << incidentvertexinfo_tmp
|
5863
|
+
end
|
5864
|
+
end
|
5865
|
+
@RequestId = params['RequestId']
|
5866
|
+
end
|
5867
|
+
end
|
5868
|
+
|
5869
|
+
# DescribeAlarmVertexId请求参数结构体
|
5870
|
+
class DescribeAlarmVertexIdRequest < TencentCloud::Common::AbstractModel
|
5871
|
+
# @param Uuid: 机器uuid
|
5872
|
+
# @type Uuid: String
|
5873
|
+
# @param StartTime: 开始时间戳
|
5874
|
+
# @type StartTime: Integer
|
5875
|
+
# @param EndTime: 结束时间戳
|
5876
|
+
# @type EndTime: Integer
|
5877
|
+
|
5878
|
+
attr_accessor :Uuid, :StartTime, :EndTime
|
5879
|
+
|
5880
|
+
def initialize(uuid=nil, starttime=nil, endtime=nil)
|
5881
|
+
@Uuid = uuid
|
5882
|
+
@StartTime = starttime
|
5883
|
+
@EndTime = endtime
|
5884
|
+
end
|
5885
|
+
|
5886
|
+
def deserialize(params)
|
5887
|
+
@Uuid = params['Uuid']
|
5888
|
+
@StartTime = params['StartTime']
|
5889
|
+
@EndTime = params['EndTime']
|
5890
|
+
end
|
5891
|
+
end
|
5892
|
+
|
5893
|
+
# DescribeAlarmVertexId返回参数结构体
|
5894
|
+
class DescribeAlarmVertexIdResponse < TencentCloud::Common::AbstractModel
|
5895
|
+
# @param AlarmVertexIds: 告警点id列表
|
5896
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5897
|
+
# @type AlarmVertexIds: Array
|
5898
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5899
|
+
# @type RequestId: String
|
5900
|
+
|
5901
|
+
attr_accessor :AlarmVertexIds, :RequestId
|
5902
|
+
|
5903
|
+
def initialize(alarmvertexids=nil, requestid=nil)
|
5904
|
+
@AlarmVertexIds = alarmvertexids
|
5905
|
+
@RequestId = requestid
|
5906
|
+
end
|
5907
|
+
|
5908
|
+
def deserialize(params)
|
5909
|
+
@AlarmVertexIds = params['AlarmVertexIds']
|
5910
|
+
@RequestId = params['RequestId']
|
5911
|
+
end
|
5912
|
+
end
|
5913
|
+
|
5792
5914
|
# DescribeAssetAppList请求参数结构体
|
5793
5915
|
class DescribeAssetAppListRequest < TencentCloud::Common::AbstractModel
|
5794
5916
|
# @param Quuid: 查询指定Quuid主机的信息
|
@@ -10919,6 +11041,50 @@ module TencentCloud
|
|
10919
11041
|
end
|
10920
11042
|
end
|
10921
11043
|
|
11044
|
+
# DescribeEventByTable请求参数结构体
|
11045
|
+
class DescribeEventByTableRequest < TencentCloud::Common::AbstractModel
|
11046
|
+
# @param TableName: 事件表名
|
11047
|
+
# @type TableName: String
|
11048
|
+
# @param Ids: 事件表id号
|
11049
|
+
# @type Ids: Array
|
11050
|
+
|
11051
|
+
attr_accessor :TableName, :Ids
|
11052
|
+
|
11053
|
+
def initialize(tablename=nil, ids=nil)
|
11054
|
+
@TableName = tablename
|
11055
|
+
@Ids = ids
|
11056
|
+
end
|
11057
|
+
|
11058
|
+
def deserialize(params)
|
11059
|
+
@TableName = params['TableName']
|
11060
|
+
@Ids = params['Ids']
|
11061
|
+
end
|
11062
|
+
end
|
11063
|
+
|
11064
|
+
# DescribeEventByTable返回参数结构体
|
11065
|
+
class DescribeEventByTableResponse < TencentCloud::Common::AbstractModel
|
11066
|
+
# @param Type: 告警类型,爆破bruteattack,高危命令bash,恶意文件malware,恶意请求risk_dns,本地提权privilege_escalation,反弹shell reverse_shell,内存马java_shell
|
11067
|
+
# @type Type: String
|
11068
|
+
# @param Value: 事件内容的json编码字符串,字段结构对齐事件表
|
11069
|
+
# @type Value: String
|
11070
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11071
|
+
# @type RequestId: String
|
11072
|
+
|
11073
|
+
attr_accessor :Type, :Value, :RequestId
|
11074
|
+
|
11075
|
+
def initialize(type=nil, value=nil, requestid=nil)
|
11076
|
+
@Type = type
|
11077
|
+
@Value = value
|
11078
|
+
@RequestId = requestid
|
11079
|
+
end
|
11080
|
+
|
11081
|
+
def deserialize(params)
|
11082
|
+
@Type = params['Type']
|
11083
|
+
@Value = params['Value']
|
11084
|
+
@RequestId = params['RequestId']
|
11085
|
+
end
|
11086
|
+
end
|
11087
|
+
|
10922
11088
|
# DescribeExpertServiceList请求参数结构体
|
10923
11089
|
class DescribeExpertServiceListRequest < TencentCloud::Common::AbstractModel
|
10924
11090
|
# @param Filters: 过滤条件。
|
@@ -13234,6 +13400,46 @@ module TencentCloud
|
|
13234
13400
|
end
|
13235
13401
|
end
|
13236
13402
|
|
13403
|
+
# DescribePrivilegeEventInfo请求参数结构体
|
13404
|
+
class DescribePrivilegeEventInfoRequest < TencentCloud::Common::AbstractModel
|
13405
|
+
# @param Id: 事件id
|
13406
|
+
# @type Id: Integer
|
13407
|
+
|
13408
|
+
attr_accessor :Id
|
13409
|
+
|
13410
|
+
def initialize(id=nil)
|
13411
|
+
@Id = id
|
13412
|
+
end
|
13413
|
+
|
13414
|
+
def deserialize(params)
|
13415
|
+
@Id = params['Id']
|
13416
|
+
end
|
13417
|
+
end
|
13418
|
+
|
13419
|
+
# DescribePrivilegeEventInfo返回参数结构体
|
13420
|
+
class DescribePrivilegeEventInfoResponse < TencentCloud::Common::AbstractModel
|
13421
|
+
# @param PrivilegeEventInfo: 本地提权详情
|
13422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13423
|
+
# @type PrivilegeEventInfo: :class:`Tencentcloud::Cwp.v20180228.models.PrivilegeEventInfo`
|
13424
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13425
|
+
# @type RequestId: String
|
13426
|
+
|
13427
|
+
attr_accessor :PrivilegeEventInfo, :RequestId
|
13428
|
+
|
13429
|
+
def initialize(privilegeeventinfo=nil, requestid=nil)
|
13430
|
+
@PrivilegeEventInfo = privilegeeventinfo
|
13431
|
+
@RequestId = requestid
|
13432
|
+
end
|
13433
|
+
|
13434
|
+
def deserialize(params)
|
13435
|
+
unless params['PrivilegeEventInfo'].nil?
|
13436
|
+
@PrivilegeEventInfo = PrivilegeEventInfo.new
|
13437
|
+
@PrivilegeEventInfo.deserialize(params['PrivilegeEventInfo'])
|
13438
|
+
end
|
13439
|
+
@RequestId = params['RequestId']
|
13440
|
+
end
|
13441
|
+
end
|
13442
|
+
|
13237
13443
|
# DescribePrivilegeEvents请求参数结构体
|
13238
13444
|
class DescribePrivilegeEventsRequest < TencentCloud::Common::AbstractModel
|
13239
13445
|
# @param Limit: 返回数量,最大值为100。
|
@@ -13723,6 +13929,46 @@ module TencentCloud
|
|
13723
13929
|
end
|
13724
13930
|
end
|
13725
13931
|
|
13932
|
+
# DescribeReverseShellEventInfo请求参数结构体
|
13933
|
+
class DescribeReverseShellEventInfoRequest < TencentCloud::Common::AbstractModel
|
13934
|
+
# @param Id: 事件id
|
13935
|
+
# @type Id: Integer
|
13936
|
+
|
13937
|
+
attr_accessor :Id
|
13938
|
+
|
13939
|
+
def initialize(id=nil)
|
13940
|
+
@Id = id
|
13941
|
+
end
|
13942
|
+
|
13943
|
+
def deserialize(params)
|
13944
|
+
@Id = params['Id']
|
13945
|
+
end
|
13946
|
+
end
|
13947
|
+
|
13948
|
+
# DescribeReverseShellEventInfo返回参数结构体
|
13949
|
+
class DescribeReverseShellEventInfoResponse < TencentCloud::Common::AbstractModel
|
13950
|
+
# @param ReverseShellEventInfo: 反弹shell详情信息
|
13951
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
13952
|
+
# @type ReverseShellEventInfo: :class:`Tencentcloud::Cwp.v20180228.models.ReverseShellEventInfo`
|
13953
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
13954
|
+
# @type RequestId: String
|
13955
|
+
|
13956
|
+
attr_accessor :ReverseShellEventInfo, :RequestId
|
13957
|
+
|
13958
|
+
def initialize(reverseshelleventinfo=nil, requestid=nil)
|
13959
|
+
@ReverseShellEventInfo = reverseshelleventinfo
|
13960
|
+
@RequestId = requestid
|
13961
|
+
end
|
13962
|
+
|
13963
|
+
def deserialize(params)
|
13964
|
+
unless params['ReverseShellEventInfo'].nil?
|
13965
|
+
@ReverseShellEventInfo = ReverseShellEventInfo.new
|
13966
|
+
@ReverseShellEventInfo.deserialize(params['ReverseShellEventInfo'])
|
13967
|
+
end
|
13968
|
+
@RequestId = params['RequestId']
|
13969
|
+
end
|
13970
|
+
end
|
13971
|
+
|
13726
13972
|
# DescribeReverseShellEvents请求参数结构体
|
13727
13973
|
class DescribeReverseShellEventsRequest < TencentCloud::Common::AbstractModel
|
13728
13974
|
# @param Limit: 返回数量,最大值为100。
|
@@ -13857,6 +14103,46 @@ module TencentCloud
|
|
13857
14103
|
end
|
13858
14104
|
end
|
13859
14105
|
|
14106
|
+
# DescribeRiskDnsEventInfo请求参数结构体
|
14107
|
+
class DescribeRiskDnsEventInfoRequest < TencentCloud::Common::AbstractModel
|
14108
|
+
# @param Id: 恶意请求事件Id
|
14109
|
+
# @type Id: Integer
|
14110
|
+
|
14111
|
+
attr_accessor :Id
|
14112
|
+
|
14113
|
+
def initialize(id=nil)
|
14114
|
+
@Id = id
|
14115
|
+
end
|
14116
|
+
|
14117
|
+
def deserialize(params)
|
14118
|
+
@Id = params['Id']
|
14119
|
+
end
|
14120
|
+
end
|
14121
|
+
|
14122
|
+
# DescribeRiskDnsEventInfo返回参数结构体
|
14123
|
+
class DescribeRiskDnsEventInfoResponse < TencentCloud::Common::AbstractModel
|
14124
|
+
# @param Info: 恶意请求事件详情
|
14125
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14126
|
+
# @type Info: :class:`Tencentcloud::Cwp.v20180228.models.RiskDnsEvent`
|
14127
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
14128
|
+
# @type RequestId: String
|
14129
|
+
|
14130
|
+
attr_accessor :Info, :RequestId
|
14131
|
+
|
14132
|
+
def initialize(info=nil, requestid=nil)
|
14133
|
+
@Info = info
|
14134
|
+
@RequestId = requestid
|
14135
|
+
end
|
14136
|
+
|
14137
|
+
def deserialize(params)
|
14138
|
+
unless params['Info'].nil?
|
14139
|
+
@Info = RiskDnsEvent.new
|
14140
|
+
@Info.deserialize(params['Info'])
|
14141
|
+
end
|
14142
|
+
@RequestId = params['RequestId']
|
14143
|
+
end
|
14144
|
+
end
|
14145
|
+
|
13860
14146
|
# DescribeRiskDnsEventList请求参数结构体
|
13861
14147
|
class DescribeRiskDnsEventListRequest < TencentCloud::Common::AbstractModel
|
13862
14148
|
# @param Filters: <li>IpOrName - String - 是否必填:否 - 主机Ip或别名筛选</li>
|
@@ -15474,6 +15760,58 @@ module TencentCloud
|
|
15474
15760
|
end
|
15475
15761
|
end
|
15476
15762
|
|
15763
|
+
# DescribeVertexDetail请求参数结构体
|
15764
|
+
class DescribeVertexDetailRequest < TencentCloud::Common::AbstractModel
|
15765
|
+
# @param VertexIds: 点id列表
|
15766
|
+
# @type VertexIds: Array
|
15767
|
+
# @param IncidentId: 事件id
|
15768
|
+
# @type IncidentId: String
|
15769
|
+
# @param TableName: 事件所在表名
|
15770
|
+
# @type TableName: String
|
15771
|
+
|
15772
|
+
attr_accessor :VertexIds, :IncidentId, :TableName
|
15773
|
+
|
15774
|
+
def initialize(vertexids=nil, incidentid=nil, tablename=nil)
|
15775
|
+
@VertexIds = vertexids
|
15776
|
+
@IncidentId = incidentid
|
15777
|
+
@TableName = tablename
|
15778
|
+
end
|
15779
|
+
|
15780
|
+
def deserialize(params)
|
15781
|
+
@VertexIds = params['VertexIds']
|
15782
|
+
@IncidentId = params['IncidentId']
|
15783
|
+
@TableName = params['TableName']
|
15784
|
+
end
|
15785
|
+
end
|
15786
|
+
|
15787
|
+
# DescribeVertexDetail返回参数结构体
|
15788
|
+
class DescribeVertexDetailResponse < TencentCloud::Common::AbstractModel
|
15789
|
+
# @param VertexDetails: 指定点列表的属性信息
|
15790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15791
|
+
# @type VertexDetails: Array
|
15792
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
15793
|
+
# @type RequestId: String
|
15794
|
+
|
15795
|
+
attr_accessor :VertexDetails, :RequestId
|
15796
|
+
|
15797
|
+
def initialize(vertexdetails=nil, requestid=nil)
|
15798
|
+
@VertexDetails = vertexdetails
|
15799
|
+
@RequestId = requestid
|
15800
|
+
end
|
15801
|
+
|
15802
|
+
def deserialize(params)
|
15803
|
+
unless params['VertexDetails'].nil?
|
15804
|
+
@VertexDetails = []
|
15805
|
+
params['VertexDetails'].each do |i|
|
15806
|
+
vertexdetail_tmp = VertexDetail.new
|
15807
|
+
vertexdetail_tmp.deserialize(i)
|
15808
|
+
@VertexDetails << vertexdetail_tmp
|
15809
|
+
end
|
15810
|
+
end
|
15811
|
+
@RequestId = params['RequestId']
|
15812
|
+
end
|
15813
|
+
end
|
15814
|
+
|
15477
15815
|
# DescribeVulCountByDates请求参数结构体
|
15478
15816
|
class DescribeVulCountByDatesRequest < TencentCloud::Common::AbstractModel
|
15479
15817
|
# @param LastDays: 需要查询最近几天的数据,需要都 -1后传入
|
@@ -18453,10 +18791,13 @@ module TencentCloud
|
|
18453
18791
|
# @param MachineExtraInfo: 附加信息
|
18454
18792
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18455
18793
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
18794
|
+
# @param Port: 请求目的端口
|
18795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18796
|
+
# @type Port: Integer
|
18456
18797
|
|
18457
|
-
attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :LoginTime, :ModifyTime, :IsRiskArea, :IsRiskUser, :IsRiskTime, :IsRiskSrcIp, :RiskLevel, :Location, :Quuid, :Desc, :MachineExtraInfo
|
18798
|
+
attr_accessor :Id, :Uuid, :MachineIp, :MachineName, :UserName, :SrcIp, :Status, :Country, :City, :Province, :LoginTime, :ModifyTime, :IsRiskArea, :IsRiskUser, :IsRiskTime, :IsRiskSrcIp, :RiskLevel, :Location, :Quuid, :Desc, :MachineExtraInfo, :Port
|
18458
18799
|
|
18459
|
-
def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, logintime=nil, modifytime=nil, isriskarea=nil, isriskuser=nil, isrisktime=nil, isrisksrcip=nil, risklevel=nil, location=nil, quuid=nil, desc=nil, machineextrainfo=nil)
|
18800
|
+
def initialize(id=nil, uuid=nil, machineip=nil, machinename=nil, username=nil, srcip=nil, status=nil, country=nil, city=nil, province=nil, logintime=nil, modifytime=nil, isriskarea=nil, isriskuser=nil, isrisktime=nil, isrisksrcip=nil, risklevel=nil, location=nil, quuid=nil, desc=nil, machineextrainfo=nil, port=nil)
|
18460
18801
|
@Id = id
|
18461
18802
|
@Uuid = uuid
|
18462
18803
|
@MachineIp = machineip
|
@@ -18478,6 +18819,7 @@ module TencentCloud
|
|
18478
18819
|
@Quuid = quuid
|
18479
18820
|
@Desc = desc
|
18480
18821
|
@MachineExtraInfo = machineextrainfo
|
18822
|
+
@Port = port
|
18481
18823
|
end
|
18482
18824
|
|
18483
18825
|
def deserialize(params)
|
@@ -18505,6 +18847,7 @@ module TencentCloud
|
|
18505
18847
|
@MachineExtraInfo = MachineExtraInfo.new
|
18506
18848
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
18507
18849
|
end
|
18850
|
+
@Port = params['Port']
|
18508
18851
|
end
|
18509
18852
|
end
|
18510
18853
|
|
@@ -18661,6 +19004,45 @@ module TencentCloud
|
|
18661
19004
|
end
|
18662
19005
|
end
|
18663
19006
|
|
19007
|
+
# 事件点信息
|
19008
|
+
class IncidentVertexInfo < TencentCloud::Common::AbstractModel
|
19009
|
+
# @param IncidentId: 事件id
|
19010
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19011
|
+
# @type IncidentId: String
|
19012
|
+
# @param TableName: 事件所在表名
|
19013
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19014
|
+
# @type TableName: String
|
19015
|
+
# @param Vertex: 节点信息列表,数组项中包含节点详细信息
|
19016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19017
|
+
# @type Vertex: Array
|
19018
|
+
# @param VertexCount: 节点总个数
|
19019
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19020
|
+
# @type VertexCount: Integer
|
19021
|
+
|
19022
|
+
attr_accessor :IncidentId, :TableName, :Vertex, :VertexCount
|
19023
|
+
|
19024
|
+
def initialize(incidentid=nil, tablename=nil, vertex=nil, vertexcount=nil)
|
19025
|
+
@IncidentId = incidentid
|
19026
|
+
@TableName = tablename
|
19027
|
+
@Vertex = vertex
|
19028
|
+
@VertexCount = vertexcount
|
19029
|
+
end
|
19030
|
+
|
19031
|
+
def deserialize(params)
|
19032
|
+
@IncidentId = params['IncidentId']
|
19033
|
+
@TableName = params['TableName']
|
19034
|
+
unless params['Vertex'].nil?
|
19035
|
+
@Vertex = []
|
19036
|
+
params['Vertex'].each do |i|
|
19037
|
+
vertexinfo_tmp = VertexInfo.new
|
19038
|
+
vertexinfo_tmp.deserialize(i)
|
19039
|
+
@Vertex << vertexinfo_tmp
|
19040
|
+
end
|
19041
|
+
end
|
19042
|
+
@VertexCount = params['VertexCount']
|
19043
|
+
end
|
19044
|
+
end
|
19045
|
+
|
18664
19046
|
# 项
|
18665
19047
|
class Item < TencentCloud::Common::AbstractModel
|
18666
19048
|
# @param ItemId: Id
|
@@ -20631,10 +21013,13 @@ module TencentCloud
|
|
20631
21013
|
# @param MachineExtraInfo: 附加信息
|
20632
21014
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
20633
21015
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
21016
|
+
# @param Pid: 进程id
|
21017
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21018
|
+
# @type Pid: Integer
|
20634
21019
|
|
20635
|
-
attr_accessor :Id, :Uuid, :Quuid, :Hostip, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ProcFilePrivilege, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :ProcTree, :Status, :CreateTime, :MachineName, :MachineExtraInfo
|
21020
|
+
attr_accessor :Id, :Uuid, :Quuid, :Hostip, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ProcFilePrivilege, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :ProcTree, :Status, :CreateTime, :MachineName, :MachineExtraInfo, :Pid
|
20636
21021
|
|
20637
|
-
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, procfileprivilege=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, proctree=nil, status=nil, createtime=nil, machinename=nil, machineextrainfo=nil)
|
21022
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, procfileprivilege=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, proctree=nil, status=nil, createtime=nil, machinename=nil, machineextrainfo=nil, pid=nil)
|
20638
21023
|
@Id = id
|
20639
21024
|
@Uuid = uuid
|
20640
21025
|
@Quuid = quuid
|
@@ -20654,6 +21039,7 @@ module TencentCloud
|
|
20654
21039
|
@CreateTime = createtime
|
20655
21040
|
@MachineName = machinename
|
20656
21041
|
@MachineExtraInfo = machineextrainfo
|
21042
|
+
@Pid = pid
|
20657
21043
|
end
|
20658
21044
|
|
20659
21045
|
def deserialize(params)
|
@@ -20679,35 +21065,152 @@ module TencentCloud
|
|
20679
21065
|
@MachineExtraInfo = MachineExtraInfo.new
|
20680
21066
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
20681
21067
|
end
|
21068
|
+
@Pid = params['Pid']
|
20682
21069
|
end
|
20683
21070
|
end
|
20684
21071
|
|
20685
|
-
#
|
20686
|
-
class
|
20687
|
-
# @param Id:
|
21072
|
+
# 本地提权数据
|
21073
|
+
class PrivilegeEventInfo < TencentCloud::Common::AbstractModel
|
21074
|
+
# @param Id: 数据ID
|
20688
21075
|
# @type Id: Integer
|
20689
|
-
# @param Uuid:
|
21076
|
+
# @param Uuid: 云镜ID
|
20690
21077
|
# @type Uuid: String
|
21078
|
+
# @param Quuid: 主机ID
|
21079
|
+
# @type Quuid: String
|
21080
|
+
# @param HostIp: 主机内网IP
|
21081
|
+
# @type HostIp: String
|
20691
21082
|
# @param ProcessName: 进程名
|
20692
21083
|
# @type ProcessName: String
|
20693
|
-
# @param
|
20694
|
-
# @type
|
20695
|
-
# @param
|
20696
|
-
# @type
|
20697
|
-
# @param
|
20698
|
-
# @type
|
20699
|
-
# @param
|
20700
|
-
# @type
|
20701
|
-
# @param
|
20702
|
-
# @type
|
20703
|
-
# @param
|
20704
|
-
# @type
|
20705
|
-
# @param
|
20706
|
-
# @type
|
20707
|
-
|
20708
|
-
|
20709
|
-
|
20710
|
-
|
21084
|
+
# @param FullPath: 进程路径
|
21085
|
+
# @type FullPath: String
|
21086
|
+
# @param CmdLine: 执行命令
|
21087
|
+
# @type CmdLine: String
|
21088
|
+
# @param UserName: 用户名
|
21089
|
+
# @type UserName: String
|
21090
|
+
# @param UserGroup: 用户组
|
21091
|
+
# @type UserGroup: String
|
21092
|
+
# @param ProcFilePrivilege: 进程文件权限
|
21093
|
+
# @type ProcFilePrivilege: String
|
21094
|
+
# @param ParentProcName: 父进程名
|
21095
|
+
# @type ParentProcName: String
|
21096
|
+
# @param ParentProcUser: 父进程用户名
|
21097
|
+
# @type ParentProcUser: String
|
21098
|
+
# @param ParentProcGroup: 父进程用户组
|
21099
|
+
# @type ParentProcGroup: String
|
21100
|
+
# @param ParentProcPath: 父进程路径
|
21101
|
+
# @type ParentProcPath: String
|
21102
|
+
# @param PsTree: 进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源
|
21103
|
+
# @type PsTree: String
|
21104
|
+
# @param Status: 处理状态:0-待处理 2-白名单 3-已处理 4-已忽略
|
21105
|
+
# @type Status: Integer
|
21106
|
+
# @param CreateTime: 发生时间
|
21107
|
+
# @type CreateTime: String
|
21108
|
+
# @param MachineName: 机器名
|
21109
|
+
# @type MachineName: String
|
21110
|
+
# @param SuggestScheme: 建议方案
|
21111
|
+
# @type SuggestScheme: String
|
21112
|
+
# @param HarmDescribe: 危害描述信息
|
21113
|
+
# @type HarmDescribe: String
|
21114
|
+
# @param Tags: 标签
|
21115
|
+
# @type Tags: Array
|
21116
|
+
# @param References: 参考链接
|
21117
|
+
# @type References: Array
|
21118
|
+
# @param MachineWanIp: 主机外网ip
|
21119
|
+
# @type MachineWanIp: String
|
21120
|
+
# @param NewCaps: 权限列表|隔开
|
21121
|
+
# @type NewCaps: String
|
21122
|
+
# @param MachineStatus: 主机在线状态 OFFLINE ONLINE
|
21123
|
+
# @type MachineStatus: String
|
21124
|
+
# @param ModifyTime: 处理时间
|
21125
|
+
# @type ModifyTime: String
|
21126
|
+
|
21127
|
+
attr_accessor :Id, :Uuid, :Quuid, :HostIp, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ProcFilePrivilege, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :PsTree, :Status, :CreateTime, :MachineName, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :NewCaps, :MachineStatus, :ModifyTime
|
21128
|
+
|
21129
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, procfileprivilege=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, pstree=nil, status=nil, createtime=nil, machinename=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, newcaps=nil, machinestatus=nil, modifytime=nil)
|
21130
|
+
@Id = id
|
21131
|
+
@Uuid = uuid
|
21132
|
+
@Quuid = quuid
|
21133
|
+
@HostIp = hostip
|
21134
|
+
@ProcessName = processname
|
21135
|
+
@FullPath = fullpath
|
21136
|
+
@CmdLine = cmdline
|
21137
|
+
@UserName = username
|
21138
|
+
@UserGroup = usergroup
|
21139
|
+
@ProcFilePrivilege = procfileprivilege
|
21140
|
+
@ParentProcName = parentprocname
|
21141
|
+
@ParentProcUser = parentprocuser
|
21142
|
+
@ParentProcGroup = parentprocgroup
|
21143
|
+
@ParentProcPath = parentprocpath
|
21144
|
+
@PsTree = pstree
|
21145
|
+
@Status = status
|
21146
|
+
@CreateTime = createtime
|
21147
|
+
@MachineName = machinename
|
21148
|
+
@SuggestScheme = suggestscheme
|
21149
|
+
@HarmDescribe = harmdescribe
|
21150
|
+
@Tags = tags
|
21151
|
+
@References = references
|
21152
|
+
@MachineWanIp = machinewanip
|
21153
|
+
@NewCaps = newcaps
|
21154
|
+
@MachineStatus = machinestatus
|
21155
|
+
@ModifyTime = modifytime
|
21156
|
+
end
|
21157
|
+
|
21158
|
+
def deserialize(params)
|
21159
|
+
@Id = params['Id']
|
21160
|
+
@Uuid = params['Uuid']
|
21161
|
+
@Quuid = params['Quuid']
|
21162
|
+
@HostIp = params['HostIp']
|
21163
|
+
@ProcessName = params['ProcessName']
|
21164
|
+
@FullPath = params['FullPath']
|
21165
|
+
@CmdLine = params['CmdLine']
|
21166
|
+
@UserName = params['UserName']
|
21167
|
+
@UserGroup = params['UserGroup']
|
21168
|
+
@ProcFilePrivilege = params['ProcFilePrivilege']
|
21169
|
+
@ParentProcName = params['ParentProcName']
|
21170
|
+
@ParentProcUser = params['ParentProcUser']
|
21171
|
+
@ParentProcGroup = params['ParentProcGroup']
|
21172
|
+
@ParentProcPath = params['ParentProcPath']
|
21173
|
+
@PsTree = params['PsTree']
|
21174
|
+
@Status = params['Status']
|
21175
|
+
@CreateTime = params['CreateTime']
|
21176
|
+
@MachineName = params['MachineName']
|
21177
|
+
@SuggestScheme = params['SuggestScheme']
|
21178
|
+
@HarmDescribe = params['HarmDescribe']
|
21179
|
+
@Tags = params['Tags']
|
21180
|
+
@References = params['References']
|
21181
|
+
@MachineWanIp = params['MachineWanIp']
|
21182
|
+
@NewCaps = params['NewCaps']
|
21183
|
+
@MachineStatus = params['MachineStatus']
|
21184
|
+
@ModifyTime = params['ModifyTime']
|
21185
|
+
end
|
21186
|
+
end
|
21187
|
+
|
21188
|
+
# 本地提权规则
|
21189
|
+
class PrivilegeRule < TencentCloud::Common::AbstractModel
|
21190
|
+
# @param Id: 规则ID
|
21191
|
+
# @type Id: Integer
|
21192
|
+
# @param Uuid: 客户端ID
|
21193
|
+
# @type Uuid: String
|
21194
|
+
# @param ProcessName: 进程名
|
21195
|
+
# @type ProcessName: String
|
21196
|
+
# @param SMode: 是否S权限
|
21197
|
+
# @type SMode: Integer
|
21198
|
+
# @param Operator: 操作人
|
21199
|
+
# @type Operator: String
|
21200
|
+
# @param IsGlobal: 是否全局规则
|
21201
|
+
# @type IsGlobal: Integer
|
21202
|
+
# @param Status: 状态(0: 有效 1: 无效)
|
21203
|
+
# @type Status: Integer
|
21204
|
+
# @param CreateTime: 创建时间
|
21205
|
+
# @type CreateTime: String
|
21206
|
+
# @param ModifyTime: 修改时间
|
21207
|
+
# @type ModifyTime: String
|
21208
|
+
# @param Hostip: 主机IP
|
21209
|
+
# @type Hostip: String
|
21210
|
+
|
21211
|
+
attr_accessor :Id, :Uuid, :ProcessName, :SMode, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip
|
21212
|
+
|
21213
|
+
def initialize(id=nil, uuid=nil, processname=nil, smode=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil)
|
20711
21214
|
@Id = id
|
20712
21215
|
@Uuid = uuid
|
20713
21216
|
@ProcessName = processname
|
@@ -21242,10 +21745,13 @@ module TencentCloud
|
|
21242
21745
|
# @param MachineExtraInfo: 主机额外信息
|
21243
21746
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21244
21747
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
21748
|
+
# @param Pid: 进程id
|
21749
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21750
|
+
# @type Pid: Integer
|
21245
21751
|
|
21246
|
-
attr_accessor :Id, :Uuid, :Quuid, :Hostip, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :ProcTree, :DetectBy, :MachineExtraInfo
|
21752
|
+
attr_accessor :Id, :Uuid, :Quuid, :Hostip, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :ProcTree, :DetectBy, :MachineExtraInfo, :Pid
|
21247
21753
|
|
21248
|
-
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, proctree=nil, detectby=nil, machineextrainfo=nil)
|
21754
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, proctree=nil, detectby=nil, machineextrainfo=nil, pid=nil)
|
21249
21755
|
@Id = id
|
21250
21756
|
@Uuid = uuid
|
21251
21757
|
@Quuid = quuid
|
@@ -21267,6 +21773,7 @@ module TencentCloud
|
|
21267
21773
|
@ProcTree = proctree
|
21268
21774
|
@DetectBy = detectby
|
21269
21775
|
@MachineExtraInfo = machineextrainfo
|
21776
|
+
@Pid = pid
|
21270
21777
|
end
|
21271
21778
|
|
21272
21779
|
def deserialize(params)
|
@@ -21294,6 +21801,128 @@ module TencentCloud
|
|
21294
21801
|
@MachineExtraInfo = MachineExtraInfo.new
|
21295
21802
|
@MachineExtraInfo.deserialize(params['MachineExtraInfo'])
|
21296
21803
|
end
|
21804
|
+
@Pid = params['Pid']
|
21805
|
+
end
|
21806
|
+
end
|
21807
|
+
|
21808
|
+
# 反弹Shell数据详情
|
21809
|
+
class ReverseShellEventInfo < TencentCloud::Common::AbstractModel
|
21810
|
+
# @param Id: ID 主键
|
21811
|
+
# @type Id: Integer
|
21812
|
+
# @param Uuid: 云镜UUID
|
21813
|
+
# @type Uuid: String
|
21814
|
+
# @param Quuid: 主机ID
|
21815
|
+
# @type Quuid: String
|
21816
|
+
# @param HostIp: 主机内网IP
|
21817
|
+
# @type HostIp: String
|
21818
|
+
# @param DstIp: 目标IP
|
21819
|
+
# @type DstIp: String
|
21820
|
+
# @param DstPort: 目标端口
|
21821
|
+
# @type DstPort: Integer
|
21822
|
+
# @param ProcessName: 进程名
|
21823
|
+
# @type ProcessName: String
|
21824
|
+
# @param FullPath: 进程路径
|
21825
|
+
# @type FullPath: String
|
21826
|
+
# @param CmdLine: 命令详情
|
21827
|
+
# @type CmdLine: String
|
21828
|
+
# @param UserName: 执行用户
|
21829
|
+
# @type UserName: String
|
21830
|
+
# @param UserGroup: 执行用户组
|
21831
|
+
# @type UserGroup: String
|
21832
|
+
# @param ParentProcName: 父进程名
|
21833
|
+
# @type ParentProcName: String
|
21834
|
+
# @param ParentProcUser: 父进程用户
|
21835
|
+
# @type ParentProcUser: String
|
21836
|
+
# @param ParentProcGroup: 父进程用户组
|
21837
|
+
# @type ParentProcGroup: String
|
21838
|
+
# @param ParentProcPath: 父进程路径
|
21839
|
+
# @type ParentProcPath: String
|
21840
|
+
# @param Status: 处理状态:0-待处理 2-白名单 3-已处理 4-已忽略
|
21841
|
+
# @type Status: Integer
|
21842
|
+
# @param CreateTime: 产生时间
|
21843
|
+
# @type CreateTime: String
|
21844
|
+
# @param MachineName: 主机名
|
21845
|
+
# @type MachineName: String
|
21846
|
+
# @param DetectBy: 检测方法
|
21847
|
+
# @type DetectBy: Integer
|
21848
|
+
# @param PsTree: 进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源
|
21849
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21850
|
+
# @type PsTree: String
|
21851
|
+
# @param SuggestScheme: 建议方案
|
21852
|
+
# @type SuggestScheme: String
|
21853
|
+
# @param HarmDescribe: 描述
|
21854
|
+
# @type HarmDescribe: String
|
21855
|
+
# @param Tags: 标签
|
21856
|
+
# @type Tags: Array
|
21857
|
+
# @param References: 参考链接
|
21858
|
+
# @type References: Array
|
21859
|
+
# @param MachineWanIp: 主机外网ip
|
21860
|
+
# @type MachineWanIp: String
|
21861
|
+
# @param MachineStatus: 主机在线状态 OFFLINE ONLINE
|
21862
|
+
# @type MachineStatus: String
|
21863
|
+
# @param ModifyTime: 处理时间
|
21864
|
+
# @type ModifyTime: String
|
21865
|
+
|
21866
|
+
attr_accessor :Id, :Uuid, :Quuid, :HostIp, :DstIp, :DstPort, :ProcessName, :FullPath, :CmdLine, :UserName, :UserGroup, :ParentProcName, :ParentProcUser, :ParentProcGroup, :ParentProcPath, :Status, :CreateTime, :MachineName, :DetectBy, :PsTree, :SuggestScheme, :HarmDescribe, :Tags, :References, :MachineWanIp, :MachineStatus, :ModifyTime
|
21867
|
+
|
21868
|
+
def initialize(id=nil, uuid=nil, quuid=nil, hostip=nil, dstip=nil, dstport=nil, processname=nil, fullpath=nil, cmdline=nil, username=nil, usergroup=nil, parentprocname=nil, parentprocuser=nil, parentprocgroup=nil, parentprocpath=nil, status=nil, createtime=nil, machinename=nil, detectby=nil, pstree=nil, suggestscheme=nil, harmdescribe=nil, tags=nil, references=nil, machinewanip=nil, machinestatus=nil, modifytime=nil)
|
21869
|
+
@Id = id
|
21870
|
+
@Uuid = uuid
|
21871
|
+
@Quuid = quuid
|
21872
|
+
@HostIp = hostip
|
21873
|
+
@DstIp = dstip
|
21874
|
+
@DstPort = dstport
|
21875
|
+
@ProcessName = processname
|
21876
|
+
@FullPath = fullpath
|
21877
|
+
@CmdLine = cmdline
|
21878
|
+
@UserName = username
|
21879
|
+
@UserGroup = usergroup
|
21880
|
+
@ParentProcName = parentprocname
|
21881
|
+
@ParentProcUser = parentprocuser
|
21882
|
+
@ParentProcGroup = parentprocgroup
|
21883
|
+
@ParentProcPath = parentprocpath
|
21884
|
+
@Status = status
|
21885
|
+
@CreateTime = createtime
|
21886
|
+
@MachineName = machinename
|
21887
|
+
@DetectBy = detectby
|
21888
|
+
@PsTree = pstree
|
21889
|
+
@SuggestScheme = suggestscheme
|
21890
|
+
@HarmDescribe = harmdescribe
|
21891
|
+
@Tags = tags
|
21892
|
+
@References = references
|
21893
|
+
@MachineWanIp = machinewanip
|
21894
|
+
@MachineStatus = machinestatus
|
21895
|
+
@ModifyTime = modifytime
|
21896
|
+
end
|
21897
|
+
|
21898
|
+
def deserialize(params)
|
21899
|
+
@Id = params['Id']
|
21900
|
+
@Uuid = params['Uuid']
|
21901
|
+
@Quuid = params['Quuid']
|
21902
|
+
@HostIp = params['HostIp']
|
21903
|
+
@DstIp = params['DstIp']
|
21904
|
+
@DstPort = params['DstPort']
|
21905
|
+
@ProcessName = params['ProcessName']
|
21906
|
+
@FullPath = params['FullPath']
|
21907
|
+
@CmdLine = params['CmdLine']
|
21908
|
+
@UserName = params['UserName']
|
21909
|
+
@UserGroup = params['UserGroup']
|
21910
|
+
@ParentProcName = params['ParentProcName']
|
21911
|
+
@ParentProcUser = params['ParentProcUser']
|
21912
|
+
@ParentProcGroup = params['ParentProcGroup']
|
21913
|
+
@ParentProcPath = params['ParentProcPath']
|
21914
|
+
@Status = params['Status']
|
21915
|
+
@CreateTime = params['CreateTime']
|
21916
|
+
@MachineName = params['MachineName']
|
21917
|
+
@DetectBy = params['DetectBy']
|
21918
|
+
@PsTree = params['PsTree']
|
21919
|
+
@SuggestScheme = params['SuggestScheme']
|
21920
|
+
@HarmDescribe = params['HarmDescribe']
|
21921
|
+
@Tags = params['Tags']
|
21922
|
+
@References = params['References']
|
21923
|
+
@MachineWanIp = params['MachineWanIp']
|
21924
|
+
@MachineStatus = params['MachineStatus']
|
21925
|
+
@ModifyTime = params['ModifyTime']
|
21297
21926
|
end
|
21298
21927
|
end
|
21299
21928
|
|
@@ -22745,6 +23374,196 @@ module TencentCloud
|
|
22745
23374
|
end
|
22746
23375
|
end
|
22747
23376
|
|
23377
|
+
# 点详细信息
|
23378
|
+
class VertexDetail < TencentCloud::Common::AbstractModel
|
23379
|
+
# @param Type: 该节点类型,进程:1;网络:2;文件:3;ssh:4
|
23380
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23381
|
+
# @type Type: Integer
|
23382
|
+
# @param Time: 各节点类型用到的时间,2022-11-29 00:00:00 格式
|
23383
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23384
|
+
# @type Time: String
|
23385
|
+
# @param AlarmInfo: 告警信息
|
23386
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23387
|
+
# @type AlarmInfo: Array
|
23388
|
+
# @param ProcName: 进程名,当该节点为进程时生效
|
23389
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23390
|
+
# @type ProcName: String
|
23391
|
+
# @param CmdLine: 命令行,当该节点为进程时生效
|
23392
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23393
|
+
# @type CmdLine: String
|
23394
|
+
# @param Pid: 进程id,当该节点为进程时生效
|
23395
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23396
|
+
# @type Pid: String
|
23397
|
+
# @param FileMd5: 文件md5,当该节点为文件时生效
|
23398
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23399
|
+
# @type FileMd5: String
|
23400
|
+
# @param FileContent: 文件写入内容,当该节点为文件时生效
|
23401
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23402
|
+
# @type FileContent: String
|
23403
|
+
# @param FilePath: 文件路径,当该节点为文件时生效
|
23404
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23405
|
+
# @type FilePath: String
|
23406
|
+
# @param FileCreateTime: 文件创建时间,当该节点为文件时生效
|
23407
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23408
|
+
# @type FileCreateTime: String
|
23409
|
+
# @param Address: 请求目的地址,当该节点为网络时生效
|
23410
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23411
|
+
# @type Address: String
|
23412
|
+
# @param DstPort: 目标端口,当该节点为网络时生效
|
23413
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23414
|
+
# @type DstPort: Integer
|
23415
|
+
# @param SrcIP: 登录源ip,当该节点为ssh时生效
|
23416
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23417
|
+
# @type SrcIP: String
|
23418
|
+
# @param User: 登录用户名用户组,当该节点为ssh时生效
|
23419
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23420
|
+
# @type User: String
|
23421
|
+
# @param VulName: 漏洞名称,当该节点为漏洞时生效
|
23422
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23423
|
+
# @type VulName: String
|
23424
|
+
# @param VulTime: 漏洞利用时间,当该节点为漏洞时生效
|
23425
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23426
|
+
# @type VulTime: String
|
23427
|
+
# @param HttpContent: http请求内容,当该节点为漏洞时生效
|
23428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23429
|
+
# @type HttpContent: String
|
23430
|
+
# @param VulSrcIP: 漏洞利用者来源ip,当该节点为漏洞时生效
|
23431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23432
|
+
# @type VulSrcIP: String
|
23433
|
+
# @param VertexId: 点id
|
23434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23435
|
+
# @type VertexId: String
|
23436
|
+
|
23437
|
+
attr_accessor :Type, :Time, :AlarmInfo, :ProcName, :CmdLine, :Pid, :FileMd5, :FileContent, :FilePath, :FileCreateTime, :Address, :DstPort, :SrcIP, :User, :VulName, :VulTime, :HttpContent, :VulSrcIP, :VertexId
|
23438
|
+
|
23439
|
+
def initialize(type=nil, time=nil, alarminfo=nil, procname=nil, cmdline=nil, pid=nil, filemd5=nil, filecontent=nil, filepath=nil, filecreatetime=nil, address=nil, dstport=nil, srcip=nil, user=nil, vulname=nil, vultime=nil, httpcontent=nil, vulsrcip=nil, vertexid=nil)
|
23440
|
+
@Type = type
|
23441
|
+
@Time = time
|
23442
|
+
@AlarmInfo = alarminfo
|
23443
|
+
@ProcName = procname
|
23444
|
+
@CmdLine = cmdline
|
23445
|
+
@Pid = pid
|
23446
|
+
@FileMd5 = filemd5
|
23447
|
+
@FileContent = filecontent
|
23448
|
+
@FilePath = filepath
|
23449
|
+
@FileCreateTime = filecreatetime
|
23450
|
+
@Address = address
|
23451
|
+
@DstPort = dstport
|
23452
|
+
@SrcIP = srcip
|
23453
|
+
@User = user
|
23454
|
+
@VulName = vulname
|
23455
|
+
@VulTime = vultime
|
23456
|
+
@HttpContent = httpcontent
|
23457
|
+
@VulSrcIP = vulsrcip
|
23458
|
+
@VertexId = vertexid
|
23459
|
+
end
|
23460
|
+
|
23461
|
+
def deserialize(params)
|
23462
|
+
@Type = params['Type']
|
23463
|
+
@Time = params['Time']
|
23464
|
+
unless params['AlarmInfo'].nil?
|
23465
|
+
@AlarmInfo = []
|
23466
|
+
params['AlarmInfo'].each do |i|
|
23467
|
+
alarminfo_tmp = AlarmInfo.new
|
23468
|
+
alarminfo_tmp.deserialize(i)
|
23469
|
+
@AlarmInfo << alarminfo_tmp
|
23470
|
+
end
|
23471
|
+
end
|
23472
|
+
@ProcName = params['ProcName']
|
23473
|
+
@CmdLine = params['CmdLine']
|
23474
|
+
@Pid = params['Pid']
|
23475
|
+
@FileMd5 = params['FileMd5']
|
23476
|
+
@FileContent = params['FileContent']
|
23477
|
+
@FilePath = params['FilePath']
|
23478
|
+
@FileCreateTime = params['FileCreateTime']
|
23479
|
+
@Address = params['Address']
|
23480
|
+
@DstPort = params['DstPort']
|
23481
|
+
@SrcIP = params['SrcIP']
|
23482
|
+
@User = params['User']
|
23483
|
+
@VulName = params['VulName']
|
23484
|
+
@VulTime = params['VulTime']
|
23485
|
+
@HttpContent = params['HttpContent']
|
23486
|
+
@VulSrcIP = params['VulSrcIP']
|
23487
|
+
@VertexId = params['VertexId']
|
23488
|
+
end
|
23489
|
+
end
|
23490
|
+
|
23491
|
+
# 攻击溯源节点信息
|
23492
|
+
class VertexInfo < TencentCloud::Common::AbstractModel
|
23493
|
+
# @param Type: 该结点类型,进程:1;网络:2;文件:3;ssh:4;
|
23494
|
+
# @type Type: Integer
|
23495
|
+
# @param Vid: 该节点包含的vid
|
23496
|
+
# @type Vid: String
|
23497
|
+
# @param ParentVid: 该节点的父节点vid
|
23498
|
+
# @type ParentVid: String
|
23499
|
+
# @param IsLeaf: 是否叶子
|
23500
|
+
# @type IsLeaf: Boolean
|
23501
|
+
# @param ProcNamePrefix: 进程名,当Type=1时使用
|
23502
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23503
|
+
# @type ProcNamePrefix: String
|
23504
|
+
# @param ProcNameMd5: 进程名md5,当Type=1时使用
|
23505
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23506
|
+
# @type ProcNameMd5: String
|
23507
|
+
# @param CmdLinePrefix: 命令行,当Type=1时使用
|
23508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23509
|
+
# @type CmdLinePrefix: String
|
23510
|
+
# @param CmdLineMd5: 命令行md5,当Type=1时使用
|
23511
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23512
|
+
# @type CmdLineMd5: String
|
23513
|
+
# @param FilePathPrefix: 文件路径,当Type=3时使用
|
23514
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23515
|
+
# @type FilePathPrefix: String
|
23516
|
+
# @param AddressPrefix: 请求目的地址,当Type=2时使用
|
23517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23518
|
+
# @type AddressPrefix: String
|
23519
|
+
# @param IsWeDetect: 是否漏洞节点
|
23520
|
+
# @type IsWeDetect: Boolean
|
23521
|
+
# @param IsAlarm: 是否告警节点
|
23522
|
+
# @type IsAlarm: Boolean
|
23523
|
+
# @param FilePathMd5: 文件路径md5,当Type=3时使用
|
23524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23525
|
+
# @type FilePathMd5: String
|
23526
|
+
# @param AddressMd5: 请求目的地址md5,当Type=2时使用
|
23527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
23528
|
+
# @type AddressMd5: String
|
23529
|
+
|
23530
|
+
attr_accessor :Type, :Vid, :ParentVid, :IsLeaf, :ProcNamePrefix, :ProcNameMd5, :CmdLinePrefix, :CmdLineMd5, :FilePathPrefix, :AddressPrefix, :IsWeDetect, :IsAlarm, :FilePathMd5, :AddressMd5
|
23531
|
+
|
23532
|
+
def initialize(type=nil, vid=nil, parentvid=nil, isleaf=nil, procnameprefix=nil, procnamemd5=nil, cmdlineprefix=nil, cmdlinemd5=nil, filepathprefix=nil, addressprefix=nil, iswedetect=nil, isalarm=nil, filepathmd5=nil, addressmd5=nil)
|
23533
|
+
@Type = type
|
23534
|
+
@Vid = vid
|
23535
|
+
@ParentVid = parentvid
|
23536
|
+
@IsLeaf = isleaf
|
23537
|
+
@ProcNamePrefix = procnameprefix
|
23538
|
+
@ProcNameMd5 = procnamemd5
|
23539
|
+
@CmdLinePrefix = cmdlineprefix
|
23540
|
+
@CmdLineMd5 = cmdlinemd5
|
23541
|
+
@FilePathPrefix = filepathprefix
|
23542
|
+
@AddressPrefix = addressprefix
|
23543
|
+
@IsWeDetect = iswedetect
|
23544
|
+
@IsAlarm = isalarm
|
23545
|
+
@FilePathMd5 = filepathmd5
|
23546
|
+
@AddressMd5 = addressmd5
|
23547
|
+
end
|
23548
|
+
|
23549
|
+
def deserialize(params)
|
23550
|
+
@Type = params['Type']
|
23551
|
+
@Vid = params['Vid']
|
23552
|
+
@ParentVid = params['ParentVid']
|
23553
|
+
@IsLeaf = params['IsLeaf']
|
23554
|
+
@ProcNamePrefix = params['ProcNamePrefix']
|
23555
|
+
@ProcNameMd5 = params['ProcNameMd5']
|
23556
|
+
@CmdLinePrefix = params['CmdLinePrefix']
|
23557
|
+
@CmdLineMd5 = params['CmdLineMd5']
|
23558
|
+
@FilePathPrefix = params['FilePathPrefix']
|
23559
|
+
@AddressPrefix = params['AddressPrefix']
|
23560
|
+
@IsWeDetect = params['IsWeDetect']
|
23561
|
+
@IsAlarm = params['IsAlarm']
|
23562
|
+
@FilePathMd5 = params['FilePathMd5']
|
23563
|
+
@AddressMd5 = params['AddressMd5']
|
23564
|
+
end
|
23565
|
+
end
|
23566
|
+
|
22748
23567
|
# 漏洞详细信息
|
22749
23568
|
class VulDetailInfo < TencentCloud::Common::AbstractModel
|
22750
23569
|
# @param VulId: 漏洞ID
|
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.546
|
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-04-
|
11
|
+
date: 2023-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20180228/models.rb
|
37
36
|
- lib/v20180228/client.rb
|
37
|
+
- lib/v20180228/models.rb
|
38
38
|
- lib/tencentcloud-sdk-cwp.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|