tencentcloud-sdk-cwp 3.0.813 → 3.0.815
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 +0 -26
- data/lib/v20180228/models.rb +4 -100
- 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: afd554c170596ca5e6e194f304b8f4f8b46aae40
|
4
|
+
data.tar.gz: 70164be00944580e82bfa96bb336821a7eabf9fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0825679d4d0d4422f403eed040c4c8518ec20bc064cd5c7456167f636fa61e228890e8d24e9f345e35ac6d69c85ff415df3622e00bb12d48a1ac05f308b8c6fc
|
7
|
+
data.tar.gz: 0f7a111888aa4714bfc89d00e9abcace8aab4102b9d94fd98fce957dc5bdcba2e6285ebb60a8c76c52ba4b8b1efcc0766d848ed9e72b009a2bbc50eb2d46f12b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.815
|
data/lib/v20180228/client.rb
CHANGED
@@ -2962,32 +2962,6 @@ module TencentCloud
|
|
2962
2962
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2963
2963
|
end
|
2964
2964
|
|
2965
|
-
# DescribeAttackEventInfo 接口替代
|
2966
|
-
|
2967
|
-
# 网络攻击日志详情
|
2968
|
-
|
2969
|
-
# @param request: Request instance for DescribeAttackLogInfo.
|
2970
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAttackLogInfoRequest`
|
2971
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAttackLogInfoResponse`
|
2972
|
-
def DescribeAttackLogInfo(request)
|
2973
|
-
body = send_request('DescribeAttackLogInfo', request.serialize)
|
2974
|
-
response = JSON.parse(body)
|
2975
|
-
if response['Response'].key?('Error') == false
|
2976
|
-
model = DescribeAttackLogInfoResponse.new
|
2977
|
-
model.deserialize(response['Response'])
|
2978
|
-
model
|
2979
|
-
else
|
2980
|
-
code = response['Response']['Error']['Code']
|
2981
|
-
message = response['Response']['Error']['Message']
|
2982
|
-
reqid = response['Response']['RequestId']
|
2983
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2984
|
-
end
|
2985
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2986
|
-
raise e
|
2987
|
-
rescue StandardError => e
|
2988
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2989
|
-
end
|
2990
|
-
|
2991
2965
|
# 按分页形式展示网络攻击日志列表
|
2992
2966
|
|
2993
2967
|
# @param request: Request instance for DescribeAttackLogs.
|
data/lib/v20180228/models.rb
CHANGED
@@ -4756,8 +4756,8 @@ module TencentCloud
|
|
4756
4756
|
|
4757
4757
|
attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
|
4758
4758
|
extend Gem::Deprecate
|
4759
|
-
deprecate :Decription, :none, 2024,
|
4760
|
-
deprecate :Decription=, :none, 2024,
|
4759
|
+
deprecate :Decription, :none, 2024, 5
|
4760
|
+
deprecate :Decription=, :none, 2024, 5
|
4761
4761
|
|
4762
4762
|
def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
|
4763
4763
|
@Id = id
|
@@ -11702,102 +11702,6 @@ module TencentCloud
|
|
11702
11702
|
end
|
11703
11703
|
end
|
11704
11704
|
|
11705
|
-
# DescribeAttackLogInfo请求参数结构体
|
11706
|
-
class DescribeAttackLogInfoRequest < TencentCloud::Common::AbstractModel
|
11707
|
-
# @param Id: 日志ID
|
11708
|
-
# @type Id: Integer
|
11709
|
-
|
11710
|
-
attr_accessor :Id
|
11711
|
-
|
11712
|
-
def initialize(id=nil)
|
11713
|
-
@Id = id
|
11714
|
-
end
|
11715
|
-
|
11716
|
-
def deserialize(params)
|
11717
|
-
@Id = params['Id']
|
11718
|
-
end
|
11719
|
-
end
|
11720
|
-
|
11721
|
-
# DescribeAttackLogInfo返回参数结构体
|
11722
|
-
class DescribeAttackLogInfoResponse < TencentCloud::Common::AbstractModel
|
11723
|
-
# @param Id: 日志ID
|
11724
|
-
# @type Id: Integer
|
11725
|
-
# @param Quuid: 主机ID
|
11726
|
-
# @type Quuid: String
|
11727
|
-
# @param SrcPort: 攻击来源端口
|
11728
|
-
# @type SrcPort: Integer
|
11729
|
-
# @param SrcIp: 攻击来源IP
|
11730
|
-
# @type SrcIp: String
|
11731
|
-
# @param DstPort: 攻击目标端口
|
11732
|
-
# @type DstPort: Integer
|
11733
|
-
# @param DstIp: 攻击目标IP
|
11734
|
-
# @type DstIp: String
|
11735
|
-
# @param HttpMethod: 攻击方法
|
11736
|
-
# @type HttpMethod: String
|
11737
|
-
# @param HttpHost: 攻击目标主机
|
11738
|
-
# @type HttpHost: String
|
11739
|
-
# @param HttpHead: 攻击头信息
|
11740
|
-
# @type HttpHead: String
|
11741
|
-
# @param HttpUserAgent: 攻击者浏览器标识
|
11742
|
-
# @type HttpUserAgent: String
|
11743
|
-
# @param HttpReferer: 请求源
|
11744
|
-
# @type HttpReferer: String
|
11745
|
-
# @param VulType: 威胁类型
|
11746
|
-
# @type VulType: String
|
11747
|
-
# @param HttpCgi: 攻击路径
|
11748
|
-
# @type HttpCgi: String
|
11749
|
-
# @param HttpParam: 攻击参数
|
11750
|
-
# @type HttpParam: String
|
11751
|
-
# @param CreatedAt: 攻击时间
|
11752
|
-
# @type CreatedAt: String
|
11753
|
-
# @param HttpContent: 攻击内容
|
11754
|
-
# @type HttpContent: String
|
11755
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11756
|
-
# @type RequestId: String
|
11757
|
-
|
11758
|
-
attr_accessor :Id, :Quuid, :SrcPort, :SrcIp, :DstPort, :DstIp, :HttpMethod, :HttpHost, :HttpHead, :HttpUserAgent, :HttpReferer, :VulType, :HttpCgi, :HttpParam, :CreatedAt, :HttpContent, :RequestId
|
11759
|
-
|
11760
|
-
def initialize(id=nil, quuid=nil, srcport=nil, srcip=nil, dstport=nil, dstip=nil, httpmethod=nil, httphost=nil, httphead=nil, httpuseragent=nil, httpreferer=nil, vultype=nil, httpcgi=nil, httpparam=nil, createdat=nil, httpcontent=nil, requestid=nil)
|
11761
|
-
@Id = id
|
11762
|
-
@Quuid = quuid
|
11763
|
-
@SrcPort = srcport
|
11764
|
-
@SrcIp = srcip
|
11765
|
-
@DstPort = dstport
|
11766
|
-
@DstIp = dstip
|
11767
|
-
@HttpMethod = httpmethod
|
11768
|
-
@HttpHost = httphost
|
11769
|
-
@HttpHead = httphead
|
11770
|
-
@HttpUserAgent = httpuseragent
|
11771
|
-
@HttpReferer = httpreferer
|
11772
|
-
@VulType = vultype
|
11773
|
-
@HttpCgi = httpcgi
|
11774
|
-
@HttpParam = httpparam
|
11775
|
-
@CreatedAt = createdat
|
11776
|
-
@HttpContent = httpcontent
|
11777
|
-
@RequestId = requestid
|
11778
|
-
end
|
11779
|
-
|
11780
|
-
def deserialize(params)
|
11781
|
-
@Id = params['Id']
|
11782
|
-
@Quuid = params['Quuid']
|
11783
|
-
@SrcPort = params['SrcPort']
|
11784
|
-
@SrcIp = params['SrcIp']
|
11785
|
-
@DstPort = params['DstPort']
|
11786
|
-
@DstIp = params['DstIp']
|
11787
|
-
@HttpMethod = params['HttpMethod']
|
11788
|
-
@HttpHost = params['HttpHost']
|
11789
|
-
@HttpHead = params['HttpHead']
|
11790
|
-
@HttpUserAgent = params['HttpUserAgent']
|
11791
|
-
@HttpReferer = params['HttpReferer']
|
11792
|
-
@VulType = params['VulType']
|
11793
|
-
@HttpCgi = params['HttpCgi']
|
11794
|
-
@HttpParam = params['HttpParam']
|
11795
|
-
@CreatedAt = params['CreatedAt']
|
11796
|
-
@HttpContent = params['HttpContent']
|
11797
|
-
@RequestId = params['RequestId']
|
11798
|
-
end
|
11799
|
-
end
|
11800
|
-
|
11801
11705
|
# DescribeAttackLogs请求参数结构体
|
11802
11706
|
class DescribeAttackLogsRequest < TencentCloud::Common::AbstractModel
|
11803
11707
|
# @param Limit: 返回数量,最大值为100。
|
@@ -28587,8 +28491,8 @@ module TencentCloud
|
|
28587
28491
|
|
28588
28492
|
attr_accessor :Filters, :Fileds, :Fields
|
28589
28493
|
extend Gem::Deprecate
|
28590
|
-
deprecate :Fileds, :none, 2024,
|
28591
|
-
deprecate :Fileds=, :none, 2024,
|
28494
|
+
deprecate :Fileds, :none, 2024, 5
|
28495
|
+
deprecate :Fileds=, :none, 2024, 5
|
28592
28496
|
|
28593
28497
|
def initialize(filters=nil, fileds=nil, fields=nil)
|
28594
28498
|
@Filters = filters
|
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.815
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|