tencentcloud-sdk-cwp 3.0.545 → 3.0.547
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 +192 -0
- data/lib/v20180228/models.rb +1082 -21
- 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: e9efda1b2a89ebe0a7aa67258819ee7b44dc819b
|
4
|
+
data.tar.gz: dacf6dcc32b1bc9c5a69a5795ef43e07e776efca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22ceebdc08f694942575f18efa037b7317daa45aeb8989a9a4de28a9c187a993d4bd014040e0d3a55814c58c5d875bef30c23b26c4a11b932b07385e8b5d6377
|
7
|
+
data.tar.gz: 01fc854d46e1aa5524215c552dde5d3a3c21c74356c20706da8bf7863142fad90165850048906f5b31e5771b270764a2f289fd3b5b30631c97221632bdae8259
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.547
|
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.
|
@@ -2816,6 +2888,30 @@ module TencentCloud
|
|
2816
2888
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2817
2889
|
end
|
2818
2890
|
|
2891
|
+
# 核心文件监控事件列表
|
2892
|
+
|
2893
|
+
# @param request: Request instance for DescribeFileTamperEvents.
|
2894
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeFileTamperEventsRequest`
|
2895
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeFileTamperEventsResponse`
|
2896
|
+
def DescribeFileTamperEvents(request)
|
2897
|
+
body = send_request('DescribeFileTamperEvents', request.serialize)
|
2898
|
+
response = JSON.parse(body)
|
2899
|
+
if response['Response'].key?('Error') == false
|
2900
|
+
model = DescribeFileTamperEventsResponse.new
|
2901
|
+
model.deserialize(response['Response'])
|
2902
|
+
model
|
2903
|
+
else
|
2904
|
+
code = response['Response']['Error']['Code']
|
2905
|
+
message = response['Response']['Error']['Message']
|
2906
|
+
reqid = response['Response']['RequestId']
|
2907
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2908
|
+
end
|
2909
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2910
|
+
raise e
|
2911
|
+
rescue StandardError => e
|
2912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2913
|
+
end
|
2914
|
+
|
2819
2915
|
# 获取主机相关统计
|
2820
2916
|
|
2821
2917
|
# @param request: Request instance for DescribeGeneralStat.
|
@@ -3560,6 +3656,30 @@ module TencentCloud
|
|
3560
3656
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3561
3657
|
end
|
3562
3658
|
|
3659
|
+
# 本地提权信息详情
|
3660
|
+
|
3661
|
+
# @param request: Request instance for DescribePrivilegeEventInfo.
|
3662
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribePrivilegeEventInfoRequest`
|
3663
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribePrivilegeEventInfoResponse`
|
3664
|
+
def DescribePrivilegeEventInfo(request)
|
3665
|
+
body = send_request('DescribePrivilegeEventInfo', request.serialize)
|
3666
|
+
response = JSON.parse(body)
|
3667
|
+
if response['Response'].key?('Error') == false
|
3668
|
+
model = DescribePrivilegeEventInfoResponse.new
|
3669
|
+
model.deserialize(response['Response'])
|
3670
|
+
model
|
3671
|
+
else
|
3672
|
+
code = response['Response']['Error']['Code']
|
3673
|
+
message = response['Response']['Error']['Message']
|
3674
|
+
reqid = response['Response']['RequestId']
|
3675
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3676
|
+
end
|
3677
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3678
|
+
raise e
|
3679
|
+
rescue StandardError => e
|
3680
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3681
|
+
end
|
3682
|
+
|
3563
3683
|
# 获取本地提权事件列表
|
3564
3684
|
|
3565
3685
|
# @param request: Request instance for DescribePrivilegeEvents.
|
@@ -3752,6 +3872,30 @@ module TencentCloud
|
|
3752
3872
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3753
3873
|
end
|
3754
3874
|
|
3875
|
+
# 反弹shell信息详情
|
3876
|
+
|
3877
|
+
# @param request: Request instance for DescribeReverseShellEventInfo.
|
3878
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeReverseShellEventInfoRequest`
|
3879
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeReverseShellEventInfoResponse`
|
3880
|
+
def DescribeReverseShellEventInfo(request)
|
3881
|
+
body = send_request('DescribeReverseShellEventInfo', request.serialize)
|
3882
|
+
response = JSON.parse(body)
|
3883
|
+
if response['Response'].key?('Error') == false
|
3884
|
+
model = DescribeReverseShellEventInfoResponse.new
|
3885
|
+
model.deserialize(response['Response'])
|
3886
|
+
model
|
3887
|
+
else
|
3888
|
+
code = response['Response']['Error']['Code']
|
3889
|
+
message = response['Response']['Error']['Message']
|
3890
|
+
reqid = response['Response']['RequestId']
|
3891
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3892
|
+
end
|
3893
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3894
|
+
raise e
|
3895
|
+
rescue StandardError => e
|
3896
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3897
|
+
end
|
3898
|
+
|
3755
3899
|
# 获取反弹Shell列表
|
3756
3900
|
|
3757
3901
|
# @param request: Request instance for DescribeReverseShellEvents.
|
@@ -3800,6 +3944,30 @@ module TencentCloud
|
|
3800
3944
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3801
3945
|
end
|
3802
3946
|
|
3947
|
+
# 查询恶意请求事件详情
|
3948
|
+
|
3949
|
+
# @param request: Request instance for DescribeRiskDnsEventInfo.
|
3950
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventInfoRequest`
|
3951
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeRiskDnsEventInfoResponse`
|
3952
|
+
def DescribeRiskDnsEventInfo(request)
|
3953
|
+
body = send_request('DescribeRiskDnsEventInfo', request.serialize)
|
3954
|
+
response = JSON.parse(body)
|
3955
|
+
if response['Response'].key?('Error') == false
|
3956
|
+
model = DescribeRiskDnsEventInfoResponse.new
|
3957
|
+
model.deserialize(response['Response'])
|
3958
|
+
model
|
3959
|
+
else
|
3960
|
+
code = response['Response']['Error']['Code']
|
3961
|
+
message = response['Response']['Error']['Message']
|
3962
|
+
reqid = response['Response']['RequestId']
|
3963
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3964
|
+
end
|
3965
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3966
|
+
raise e
|
3967
|
+
rescue StandardError => e
|
3968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3969
|
+
end
|
3970
|
+
|
3803
3971
|
# 获取恶意请求事件列表
|
3804
3972
|
|
3805
3973
|
# @param request: Request instance for DescribeRiskDnsEventList.
|
@@ -4376,6 +4544,30 @@ module TencentCloud
|
|
4376
4544
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4377
4545
|
end
|
4378
4546
|
|
4547
|
+
# 获取指定点属性信息
|
4548
|
+
|
4549
|
+
# @param request: Request instance for DescribeVertexDetail.
|
4550
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeVertexDetailRequest`
|
4551
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeVertexDetailResponse`
|
4552
|
+
def DescribeVertexDetail(request)
|
4553
|
+
body = send_request('DescribeVertexDetail', request.serialize)
|
4554
|
+
response = JSON.parse(body)
|
4555
|
+
if response['Response'].key?('Error') == false
|
4556
|
+
model = DescribeVertexDetailResponse.new
|
4557
|
+
model.deserialize(response['Response'])
|
4558
|
+
model
|
4559
|
+
else
|
4560
|
+
code = response['Response']['Error']['Code']
|
4561
|
+
message = response['Response']['Error']['Message']
|
4562
|
+
reqid = response['Response']['RequestId']
|
4563
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4564
|
+
end
|
4565
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4566
|
+
raise e
|
4567
|
+
rescue StandardError => e
|
4568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4569
|
+
end
|
4570
|
+
|
4379
4571
|
# 漏洞管理模块,获取近日指定类型的漏洞数量和主机数量
|
4380
4572
|
|
4381
4573
|
# @param request: Request instance for DescribeVulCountByDates.
|