tencentcloud-sdk-csip 3.0.664 → 3.0.666
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/v20221121/client.rb +168 -0
- data/lib/v20221121/models.rb +1031 -50
- 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: 188ede8eba3fc4f683b351649a3d0f61c88ea075
|
4
|
+
data.tar.gz: e27b70989f77b41706252f5390770a0c4d9c8f14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda226ea7da16640311de78115161fbf1ae9cd92413c3bb77ae9d4cd5f3789858cb9c72136a3b4e28ba2bc3797e825646b57cad9a035a4bd2c4fa4aa15d8d75c
|
7
|
+
data.tar.gz: d887ae33a4c490264f7551cf3d5ef1a9f3beff17b6509efd6d50a06917b427924c8e4e2eb3b796ce424f41fd239062c11bdcb77b35c9300adefe76d256ebca51
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.666
|
data/lib/v20221121/client.rb
CHANGED
@@ -101,6 +101,54 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 删除域名和ip请求
|
105
|
+
|
106
|
+
# @param request: Request instance for DeleteDomainAndIp.
|
107
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DeleteDomainAndIpRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DeleteDomainAndIpResponse`
|
109
|
+
def DeleteDomainAndIp(request)
|
110
|
+
body = send_request('DeleteDomainAndIp', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = DeleteDomainAndIpResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 删除风险中心扫描任务
|
129
|
+
|
130
|
+
# @param request: Request instance for DeleteRiskScanTask.
|
131
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DeleteRiskScanTaskRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DeleteRiskScanTaskResponse`
|
133
|
+
def DeleteRiskScanTask(request)
|
134
|
+
body = send_request('DeleteRiskScanTask', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = DeleteRiskScanTaskResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
104
152
|
# cvm详情
|
105
153
|
|
106
154
|
# @param request: Request instance for DescribeCVMAssetInfo.
|
@@ -293,6 +341,30 @@ module TencentCloud
|
|
293
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
342
|
end
|
295
343
|
|
344
|
+
# 获取资产视角的配置风险列表
|
345
|
+
|
346
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewCFGRiskList.
|
347
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewCFGRiskListRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewCFGRiskListResponse`
|
349
|
+
def DescribeRiskCenterAssetViewCFGRiskList(request)
|
350
|
+
body = send_request('DescribeRiskCenterAssetViewCFGRiskList', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = DescribeRiskCenterAssetViewCFGRiskListResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
296
368
|
# 获取资产视角的端口风险列表
|
297
369
|
|
298
370
|
# @param request: Request instance for DescribeRiskCenterAssetViewPortRiskList.
|
@@ -341,6 +413,78 @@ module TencentCloud
|
|
341
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
414
|
end
|
343
415
|
|
416
|
+
# 获取资产视角的弱口令风险列表
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribeRiskCenterAssetViewWeakPasswordRiskList.
|
419
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewWeakPasswordRiskListRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterAssetViewWeakPasswordRiskListResponse`
|
421
|
+
def DescribeRiskCenterAssetViewWeakPasswordRiskList(request)
|
422
|
+
body = send_request('DescribeRiskCenterAssetViewWeakPasswordRiskList', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribeRiskCenterAssetViewWeakPasswordRiskListResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 获取风险服务列表
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribeRiskCenterServerRiskList.
|
443
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterServerRiskListRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterServerRiskListResponse`
|
445
|
+
def DescribeRiskCenterServerRiskList(request)
|
446
|
+
body = send_request('DescribeRiskCenterServerRiskList', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribeRiskCenterServerRiskListResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
464
|
+
# 获取网站风险列表
|
465
|
+
|
466
|
+
# @param request: Request instance for DescribeRiskCenterWebsiteRiskList.
|
467
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterWebsiteRiskListRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeRiskCenterWebsiteRiskListResponse`
|
469
|
+
def DescribeRiskCenterWebsiteRiskList(request)
|
470
|
+
body = send_request('DescribeRiskCenterWebsiteRiskList', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DescribeRiskCenterWebsiteRiskListResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
344
488
|
# 获取扫描报告列表
|
345
489
|
|
346
490
|
# @param request: Request instance for DescribeScanReportList.
|
@@ -509,6 +653,30 @@ module TencentCloud
|
|
509
653
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
654
|
end
|
511
655
|
|
656
|
+
# 停止扫风险中心扫描任务
|
657
|
+
|
658
|
+
# @param request: Request instance for StopRiskCenterTask.
|
659
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::StopRiskCenterTaskRequest`
|
660
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::StopRiskCenterTaskResponse`
|
661
|
+
def StopRiskCenterTask(request)
|
662
|
+
body = send_request('StopRiskCenterTask', request.serialize)
|
663
|
+
response = JSON.parse(body)
|
664
|
+
if response['Response'].key?('Error') == false
|
665
|
+
model = StopRiskCenterTaskResponse.new
|
666
|
+
model.deserialize(response['Response'])
|
667
|
+
model
|
668
|
+
else
|
669
|
+
code = response['Response']['Error']['Code']
|
670
|
+
message = response['Response']['Error']['Message']
|
671
|
+
reqid = response['Response']['RequestId']
|
672
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
673
|
+
end
|
674
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
675
|
+
raise e
|
676
|
+
rescue StandardError => e
|
677
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
678
|
+
end
|
679
|
+
|
512
680
|
|
513
681
|
end
|
514
682
|
end
|