tencentcloud-sdk-cwp 3.0.986 → 3.0.988

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2eb70c3a0c249c9c4cf8d013da472d6d5002c615
4
- data.tar.gz: b36fbb57d53fb9d27a145b00169e92d4ddcd88d0
3
+ metadata.gz: ec06f35850a391d39429dfb671297bdf2868afd5
4
+ data.tar.gz: 3dcd93551fbc21a7678b11acff5036493fbf8814
5
5
  SHA512:
6
- metadata.gz: a1ee1c1c81a1d0badecd453322fbe6a732817ce1426d2410760834de3f4a1c7a38e31409912fae4cc73d6f21c141918b22d4c2753ab815d5cb630509fca04627
7
- data.tar.gz: 3afaea261a252d5b0bc2569a14229333268545ab75150f034970cb01a2faad593522139caa11b8647f80a4735e707d868abc755fe4de1114e6381b999cf31cda
6
+ metadata.gz: 0f079da9032a22398a365881796b53e7490787585c0d857c7e02364d656332df72c03e1823fdf39356df67e4daad8f1b8217729c338aba1d0aaf5bac921fc794
7
+ data.tar.gz: 80f002d6b159a6164fc2bbf4272104a25fe77cbc8d033d0aedbadc68f1e327cc26cbfa85bfd001d9696633ca750c22445ef5127d249d9c6ea3f98ae193c2d3c7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.986
1
+ 3.0.988
@@ -2962,58 +2962,6 @@ module TencentCloud
2962
2962
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2963
2963
  end
2964
2964
 
2965
- # 已废弃
2966
-
2967
- # 查询攻击溯源
2968
-
2969
- # @param request: Request instance for DescribeAttackSource.
2970
- # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAttackSourceRequest`
2971
- # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAttackSourceResponse`
2972
- def DescribeAttackSource(request)
2973
- body = send_request('DescribeAttackSource', request.serialize)
2974
- response = JSON.parse(body)
2975
- if response['Response'].key?('Error') == false
2976
- model = DescribeAttackSourceResponse.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
- # 已废弃
2992
-
2993
- # 查询攻击溯源事件
2994
-
2995
- # @param request: Request instance for DescribeAttackSourceEvents.
2996
- # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAttackSourceEventsRequest`
2997
- # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAttackSourceEventsResponse`
2998
- def DescribeAttackSourceEvents(request)
2999
- body = send_request('DescribeAttackSourceEvents', request.serialize)
3000
- response = JSON.parse(body)
3001
- if response['Response'].key?('Error') == false
3002
- model = DescribeAttackSourceEventsResponse.new
3003
- model.deserialize(response['Response'])
3004
- model
3005
- else
3006
- code = response['Response']['Error']['Code']
3007
- message = response['Response']['Error']['Message']
3008
- reqid = response['Response']['RequestId']
3009
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3010
- end
3011
- rescue TencentCloud::Common::TencentCloudSDKException => e
3012
- raise e
3013
- rescue StandardError => e
3014
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3015
- end
3016
-
3017
2965
  # 网络攻击数据统计
3018
2966
 
3019
2967
  # @param request: Request instance for DescribeAttackStatistics.
@@ -2700,160 +2700,6 @@ module TencentCloud
2700
2700
  end
2701
2701
  end
2702
2702
 
2703
- # 攻击溯源
2704
- class AttackSource < TencentCloud::Common::AbstractModel
2705
- # @param Nodes: 攻击溯源节点描述
2706
- # @type Nodes: Array
2707
- # @param Edges: 攻击溯源节点路径
2708
- # @type Edges: Array
2709
- # @param EventInfoParam: 请求节点相关事件详情的参数
2710
- # @type EventInfoParam: String
2711
-
2712
- attr_accessor :Nodes, :Edges, :EventInfoParam
2713
-
2714
- def initialize(nodes=nil, edges=nil, eventinfoparam=nil)
2715
- @Nodes = nodes
2716
- @Edges = edges
2717
- @EventInfoParam = eventinfoparam
2718
- end
2719
-
2720
- def deserialize(params)
2721
- unless params['Nodes'].nil?
2722
- @Nodes = []
2723
- params['Nodes'].each do |i|
2724
- attacksourcenode_tmp = AttackSourceNode.new
2725
- attacksourcenode_tmp.deserialize(i)
2726
- @Nodes << attacksourcenode_tmp
2727
- end
2728
- end
2729
- unless params['Edges'].nil?
2730
- @Edges = []
2731
- params['Edges'].each do |i|
2732
- attacksourceedge_tmp = AttackSourceEdge.new
2733
- attacksourceedge_tmp.deserialize(i)
2734
- @Edges << attacksourceedge_tmp
2735
- end
2736
- end
2737
- @EventInfoParam = params['EventInfoParam']
2738
- end
2739
- end
2740
-
2741
- # 攻击溯源路线描述
2742
- class AttackSourceEdge < TencentCloud::Common::AbstractModel
2743
- # @param From: 出发节点
2744
- # @type From: String
2745
- # @param To: 目标节点
2746
- # @type To: String
2747
-
2748
- attr_accessor :From, :To
2749
-
2750
- def initialize(from=nil, to=nil)
2751
- @From = from
2752
- @To = to
2753
- end
2754
-
2755
- def deserialize(params)
2756
- @From = params['From']
2757
- @To = params['To']
2758
- end
2759
- end
2760
-
2761
- # 攻击溯源事件
2762
- class AttackSourceEvent < TencentCloud::Common::AbstractModel
2763
- # @param EventType: 事件类型:0:文件查杀,1:异常登录, 2:密码破解,3:恶意请求,4:高危命令
2764
- # @type EventType: Integer
2765
- # @param Content: 【文件查杀】病毒名 VirusName、文件名 FileName、文件路径 FilePath、文件大小 FileSize、文件MD5 MD5、首次发现时间 CreateTime、最近检测时间LatestScanTime、危害描述 HarmDescribe、修复建议SuggestScheme
2766
- # 【异常登录】来源IP SrcIp、来源地 Location、登录用户名 UserName、登录时间 LoginTime
2767
- # 【密码破解】来源IP SrcIp、来源地 City,Country 、协议 Protocol、登录用户名UserName 、端口 Port、尝试次数 Count、首次攻击时间 CreateTime、最近攻击时间 ModifyTime
2768
- # 【恶意请求】恶意请求域名 Url、进程ProcessName 、MD5 ProcessMd5、PID Pid、请求次数 AccessCount、最近请求时间 MergeTime、危害描述 HarmDescribe、修复建议SuggestScheme
2769
- # 【高危命令】命中规则名 RuleName、规则类别 RuleCategory、命令内容 BashCmd、数据来源 DetectBy、登录用户 User、PID Pid、发生时间 CreateTime 、危害描述 HarmDescribe、修复建议SuggestScheme
2770
- # @type Content: String
2771
- # @param CreatedTime: 入侵时间
2772
- # @type CreatedTime: String
2773
- # @param Level: 等级 事件统一等级 0:提示,1:低危, 2:中危, 3:高危, 4:严重
2774
- # @type Level: Integer
2775
- # @param LevelZh: 等级中文展示字符串
2776
- # @type LevelZh: String
2777
- # @param Id: 事件id
2778
- # @type Id: Integer
2779
- # @param Uuid: 主机uuid
2780
- # @type Uuid: String
2781
-
2782
- attr_accessor :EventType, :Content, :CreatedTime, :Level, :LevelZh, :Id, :Uuid
2783
-
2784
- def initialize(eventtype=nil, content=nil, createdtime=nil, level=nil, levelzh=nil, id=nil, uuid=nil)
2785
- @EventType = eventtype
2786
- @Content = content
2787
- @CreatedTime = createdtime
2788
- @Level = level
2789
- @LevelZh = levelzh
2790
- @Id = id
2791
- @Uuid = uuid
2792
- end
2793
-
2794
- def deserialize(params)
2795
- @EventType = params['EventType']
2796
- @Content = params['Content']
2797
- @CreatedTime = params['CreatedTime']
2798
- @Level = params['Level']
2799
- @LevelZh = params['LevelZh']
2800
- @Id = params['Id']
2801
- @Uuid = params['Uuid']
2802
- end
2803
- end
2804
-
2805
- # 攻击溯源节点
2806
- class AttackSourceNode < TencentCloud::Common::AbstractModel
2807
- # @param EventId: 事件ID,为空的时候表示没有对应事件
2808
- # @type EventId: Integer
2809
- # @param EventType: BRUTEFORCE:密码破解、MALWARE:木马、BASH:高危命令、RISK_DNS:恶意请求、LOGIN:异地登录、HOST:主机节点, TIME_ORDER:通用节点
2810
- # @type EventType: String
2811
- # @param Ip: 节点ip 当节点为HOST时
2812
- # @type Ip: String
2813
- # @param Level: 等级 0:提示,1:低危, 2:中危, 3:高危, 4:严重
2814
- # @type Level: Integer
2815
- # @param NodeId: 节点ID
2816
- # @type NodeId: String
2817
- # @param StartTime: 开始时间
2818
- # @type StartTime: String
2819
- # @param EndTime: 结束时间
2820
- # @type EndTime: String
2821
- # @param NodeDesc: 通用节点的描述
2822
- # @type NodeDesc: String
2823
- # @param TimeLineNum: 时间线编号,同一个编号的节点属于同一个时间线
2824
- # @type TimeLineNum: Integer
2825
- # @param NodeDetail: 节点详情
2826
- # @type NodeDetail: String
2827
-
2828
- attr_accessor :EventId, :EventType, :Ip, :Level, :NodeId, :StartTime, :EndTime, :NodeDesc, :TimeLineNum, :NodeDetail
2829
-
2830
- def initialize(eventid=nil, eventtype=nil, ip=nil, level=nil, nodeid=nil, starttime=nil, endtime=nil, nodedesc=nil, timelinenum=nil, nodedetail=nil)
2831
- @EventId = eventid
2832
- @EventType = eventtype
2833
- @Ip = ip
2834
- @Level = level
2835
- @NodeId = nodeid
2836
- @StartTime = starttime
2837
- @EndTime = endtime
2838
- @NodeDesc = nodedesc
2839
- @TimeLineNum = timelinenum
2840
- @NodeDetail = nodedetail
2841
- end
2842
-
2843
- def deserialize(params)
2844
- @EventId = params['EventId']
2845
- @EventType = params['EventType']
2846
- @Ip = params['Ip']
2847
- @Level = params['Level']
2848
- @NodeId = params['NodeId']
2849
- @StartTime = params['StartTime']
2850
- @EndTime = params['EndTime']
2851
- @NodeDesc = params['NodeDesc']
2852
- @TimeLineNum = params['TimeLineNum']
2853
- @NodeDetail = params['NodeDetail']
2854
- end
2855
- end
2856
-
2857
2703
  # 阻断白名单规则
2858
2704
  class BanWhiteList < TencentCloud::Common::AbstractModel
2859
2705
  # @param Id: 白名单ID。
@@ -11546,120 +11392,6 @@ module TencentCloud
11546
11392
  end
11547
11393
  end
11548
11394
 
11549
- # DescribeAttackSourceEvents请求参数结构体
11550
- class DescribeAttackSourceEventsRequest < TencentCloud::Common::AbstractModel
11551
- # @param Uuid: 主机uuid
11552
- # @type Uuid: String
11553
- # @param BeginDate: 开始日期
11554
- # @type BeginDate: String
11555
- # @param EndDate: 结束日期
11556
- # @type EndDate: String
11557
- # @param EventInfoParam: 接口DescribeAttackSource 返回的EventInfoParam
11558
- # @type EventInfoParam: String
11559
- # @param Limit: 限制分页条数默认10
11560
- # @type Limit: Integer
11561
- # @param Offset: 起始步长默认0
11562
- # @type Offset: Integer
11563
-
11564
- attr_accessor :Uuid, :BeginDate, :EndDate, :EventInfoParam, :Limit, :Offset
11565
-
11566
- def initialize(uuid=nil, begindate=nil, enddate=nil, eventinfoparam=nil, limit=nil, offset=nil)
11567
- @Uuid = uuid
11568
- @BeginDate = begindate
11569
- @EndDate = enddate
11570
- @EventInfoParam = eventinfoparam
11571
- @Limit = limit
11572
- @Offset = offset
11573
- end
11574
-
11575
- def deserialize(params)
11576
- @Uuid = params['Uuid']
11577
- @BeginDate = params['BeginDate']
11578
- @EndDate = params['EndDate']
11579
- @EventInfoParam = params['EventInfoParam']
11580
- @Limit = params['Limit']
11581
- @Offset = params['Offset']
11582
- end
11583
- end
11584
-
11585
- # DescribeAttackSourceEvents返回参数结构体
11586
- class DescribeAttackSourceEventsResponse < TencentCloud::Common::AbstractModel
11587
- # @param TotalCount: 总条数
11588
- # @type TotalCount: Integer
11589
- # @param List: 攻击溯源事件列表
11590
- # @type List: Array
11591
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11592
- # @type RequestId: String
11593
-
11594
- attr_accessor :TotalCount, :List, :RequestId
11595
-
11596
- def initialize(totalcount=nil, list=nil, requestid=nil)
11597
- @TotalCount = totalcount
11598
- @List = list
11599
- @RequestId = requestid
11600
- end
11601
-
11602
- def deserialize(params)
11603
- @TotalCount = params['TotalCount']
11604
- unless params['List'].nil?
11605
- @List = []
11606
- params['List'].each do |i|
11607
- attacksourceevent_tmp = AttackSourceEvent.new
11608
- attacksourceevent_tmp.deserialize(i)
11609
- @List << attacksourceevent_tmp
11610
- end
11611
- end
11612
- @RequestId = params['RequestId']
11613
- end
11614
- end
11615
-
11616
- # DescribeAttackSource请求参数结构体
11617
- class DescribeAttackSourceRequest < TencentCloud::Common::AbstractModel
11618
- # @param Uuid: 主机uuid
11619
- # @type Uuid: String
11620
- # @param BeginDate: 开始日期
11621
- # @type BeginDate: String
11622
- # @param EndDate: 结束日期
11623
- # @type EndDate: String
11624
-
11625
- attr_accessor :Uuid, :BeginDate, :EndDate
11626
-
11627
- def initialize(uuid=nil, begindate=nil, enddate=nil)
11628
- @Uuid = uuid
11629
- @BeginDate = begindate
11630
- @EndDate = enddate
11631
- end
11632
-
11633
- def deserialize(params)
11634
- @Uuid = params['Uuid']
11635
- @BeginDate = params['BeginDate']
11636
- @EndDate = params['EndDate']
11637
- end
11638
- end
11639
-
11640
- # DescribeAttackSource返回参数结构体
11641
- class DescribeAttackSourceResponse < TencentCloud::Common::AbstractModel
11642
- # @param AttackSource: 攻击溯源数据
11643
- # @type AttackSource: :class:`Tencentcloud::Cwp.v20180228.models.AttackSource`
11644
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11645
- # @type RequestId: String
11646
-
11647
- attr_accessor :AttackSource, :RequestId
11648
-
11649
- def initialize(attacksource=nil, requestid=nil)
11650
- @AttackSource = attacksource
11651
- @RequestId = requestid
11652
- end
11653
-
11654
- def deserialize(params)
11655
- unless params['AttackSource'].nil?
11656
- @AttackSource = AttackSource.new
11657
- @AttackSource.deserialize(params['AttackSource'])
11658
- end
11659
- @RequestId = params['RequestId']
11660
- end
11661
- end
11662
-
11663
11395
  # DescribeAttackStatistics请求参数结构体
11664
11396
  class DescribeAttackStatisticsRequest < TencentCloud::Common::AbstractModel
11665
11397
 
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.986
4
+ version: 3.0.988
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-20 00:00:00.000000000 Z
11
+ date: 2025-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common