tencentcloud-sdk-waf 3.0.935 → 3.0.937

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4672a0288770dddf43696a9fa7526a4cfbaa5b83
4
- data.tar.gz: 2a8c39aca117b96489994a6308f17f0d9c29c8c0
3
+ metadata.gz: 04a7d5c4402042ebd274727f383424a6424a2c5b
4
+ data.tar.gz: 774962b5e5ce7769ae8e37b15a964c17957ea7ba
5
5
  SHA512:
6
- metadata.gz: cd97c42a1aa1dfee5b6eb0839853c85d630ebe9b25eafb3c40c773a074ea6e147a9eb0d90f52e2397fd3c979d98150ee95cffdd78e9708eff04798e5a1fcd834
7
- data.tar.gz: bf3d09076434825327ec12105488c71c2959af0ef56767ede0f89a7ced5bd43147a03caa7c67e43d26b860fe8eed4ce0af0ec3c57399a8abfd7fc146c66af312
6
+ metadata.gz: 3e51be5887244746fe5a42baadec306285d40ba34deaa96bfc57532bbdefca573d31dffc7751b54c30ffbd3a88c32d87dc36f29375159f82ba9575eaae7140ef
7
+ data.tar.gz: ba957c4fb670eb1158269c789c81361781f5403a84f05468fbe91da571f365e4f8fef1aad93bd6cceaf633659f8ecfa969f9f15e783cc93b9377fb4edd54804e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.935
1
+ 3.0.937
@@ -773,58 +773,6 @@ module TencentCloud
773
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
774
  end
775
775
 
776
- # 废弃接口
777
-
778
- # 获取防篡改url
779
-
780
- # @param request: Request instance for DescribeAntiFakeUrl.
781
- # @type request: :class:`Tencentcloud::waf::V20180125::DescribeAntiFakeUrlRequest`
782
- # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeAntiFakeUrlResponse`
783
- def DescribeAntiFakeUrl(request)
784
- body = send_request('DescribeAntiFakeUrl', request.serialize)
785
- response = JSON.parse(body)
786
- if response['Response'].key?('Error') == false
787
- model = DescribeAntiFakeUrlResponse.new
788
- model.deserialize(response['Response'])
789
- model
790
- else
791
- code = response['Response']['Error']['Code']
792
- message = response['Response']['Error']['Message']
793
- reqid = response['Response']['RequestId']
794
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
795
- end
796
- rescue TencentCloud::Common::TencentCloudSDKException => e
797
- raise e
798
- rescue StandardError => e
799
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
800
- end
801
-
802
- # 老接口已经不再使用。
803
-
804
- # 获取信息防泄漏规则列表
805
-
806
- # @param request: Request instance for DescribeAntiInfoLeakRules.
807
- # @type request: :class:`Tencentcloud::waf::V20180125::DescribeAntiInfoLeakRulesRequest`
808
- # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeAntiInfoLeakRulesResponse`
809
- def DescribeAntiInfoLeakRules(request)
810
- body = send_request('DescribeAntiInfoLeakRules', request.serialize)
811
- response = JSON.parse(body)
812
- if response['Response'].key?('Error') == false
813
- model = DescribeAntiInfoLeakRulesResponse.new
814
- model.deserialize(response['Response'])
815
- model
816
- else
817
- code = response['Response']['Error']['Code']
818
- message = response['Response']['Error']['Message']
819
- reqid = response['Response']['RequestId']
820
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
821
- end
822
- rescue TencentCloud::Common::TencentCloudSDKException => e
823
- raise e
824
- rescue StandardError => e
825
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
826
- end
827
-
828
776
  # 取得信息防泄漏规则列表
829
777
 
830
778
  # @param request: Request instance for DescribeAntiInfoLeakageRules.
@@ -1809,6 +1757,30 @@ module TencentCloud
1809
1757
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1810
1758
  end
1811
1759
 
1760
+ # 查询扫描ip
1761
+
1762
+ # @param request: Request instance for DescribeScanIp.
1763
+ # @type request: :class:`Tencentcloud::waf::V20180125::DescribeScanIpRequest`
1764
+ # @rtype: :class:`Tencentcloud::waf::V20180125::DescribeScanIpResponse`
1765
+ def DescribeScanIp(request)
1766
+ body = send_request('DescribeScanIp', request.serialize)
1767
+ response = JSON.parse(body)
1768
+ if response['Response'].key?('Error') == false
1769
+ model = DescribeScanIpResponse.new
1770
+ model.deserialize(response['Response'])
1771
+ model
1772
+ else
1773
+ code = response['Response']['Error']['Code']
1774
+ message = response['Response']['Error']['Message']
1775
+ reqid = response['Response']['RequestId']
1776
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1777
+ end
1778
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1779
+ raise e
1780
+ rescue StandardError => e
1781
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1782
+ end
1783
+
1812
1784
  # Waf 会话定义查询接口
1813
1785
 
1814
1786
  # @param request: Request instance for DescribeSession.
@@ -121,26 +121,19 @@ module TencentCloud
121
121
  # @param Time: 日志时间,单位ms
122
122
  # @type Time: Integer
123
123
  # @param TopicId: 日志主题ID
124
- # 注意:此字段可能返回 null,表示取不到有效值。
125
124
  # @type TopicId: String
126
125
  # @param TopicName: 日志主题名称
127
- # 注意:此字段可能返回 null,表示取不到有效值。
128
126
  # @type TopicName: String
129
127
  # @param Source: 日志来源IP
130
- # 注意:此字段可能返回 null,表示取不到有效值。
131
128
  # @type Source: String
132
129
  # @param FileName: 日志文件名称
133
- # 注意:此字段可能返回 null,表示取不到有效值。
134
130
  # @type FileName: String
135
131
  # @param PkgId: 日志上报请求包的ID
136
- # 注意:此字段可能返回 null,表示取不到有效值。
137
132
  # @type PkgId: String
138
133
  # @param PkgLogId: 请求包内日志的ID
139
- # 注意:此字段可能返回 null,表示取不到有效值。
140
134
  # @type PkgLogId: String
141
135
  # @param LogJson: 日志内容的Json序列化字符串
142
136
  # 注意:此字段可能返回 null,表示取不到有效值。
143
- # 注意:此字段可能返回 null,表示取不到有效值。
144
137
  # @type LogJson: String
145
138
 
146
139
  attr_accessor :Time, :TopicId, :TopicName, :Source, :FileName, :PkgId, :PkgLogId, :LogJson
@@ -215,15 +208,12 @@ module TencentCloud
215
208
  class AccessRuleInfo < TencentCloud::Common::AbstractModel
216
209
  # @param FullText: 全文索引配置
217
210
  # 注意:此字段可能返回 null,表示取不到有效值。
218
- # 注意:此字段可能返回 null,表示取不到有效值。
219
211
  # @type FullText: :class:`Tencentcloud::Waf.v20180125.models.AccessFullTextInfo`
220
212
  # @param KeyValue: 键值索引配置
221
213
  # 注意:此字段可能返回 null,表示取不到有效值。
222
- # 注意:此字段可能返回 null,表示取不到有效值。
223
214
  # @type KeyValue: :class:`Tencentcloud::Waf.v20180125.models.AccessRuleKeyValueInfo`
224
215
  # @param Tag: 元字段索引配置
225
216
  # 注意:此字段可能返回 null,表示取不到有效值。
226
- # 注意:此字段可能返回 null,表示取不到有效值。
227
217
  # @type Tag: :class:`Tencentcloud::Waf.v20180125.models.AccessRuleTagInfo`
228
218
 
229
219
  attr_accessor :FullText, :KeyValue, :Tag
@@ -1657,7 +1647,6 @@ module TencentCloud
1657
1647
  # @param ValidTime: 策略动作有效时间
1658
1648
  # @type ValidTime: Integer
1659
1649
  # @param OptionsArr: 高级参数
1660
- # 注意:此字段可能返回 null,表示取不到有效值。
1661
1650
  # @type OptionsArr: String
1662
1651
  # @param Length: url长度
1663
1652
  # @type Length: Integer
@@ -1742,12 +1731,10 @@ module TencentCloud
1742
1731
  # @param RuleId: 规则ID
1743
1732
  # @type RuleId: Integer
1744
1733
  # @param EventId: 事件id
1745
- # 注意:此字段可能返回 null,表示取不到有效值。
1746
1734
  # @type EventId: String
1747
1735
  # @param SessionApplied: 关联的Session规则
1748
1736
  # @type SessionApplied: Array
1749
1737
  # @param CreateTime: 创建时间
1750
- # 注意:此字段可能返回 null,表示取不到有效值。
1751
1738
  # @type CreateTime: Integer
1752
1739
 
1753
1740
  attr_accessor :Name, :Status, :Advance, :Limit, :Interval, :Url, :MatchFunc, :ActionType, :Priority, :ValidTime, :TsVersion, :Options, :RuleId, :EventId, :SessionApplied, :CreateTime
@@ -1796,7 +1783,6 @@ module TencentCloud
1796
1783
  # @param TotalCount: 总数
1797
1784
  # @type TotalCount: Integer
1798
1785
  # @param Res: 规则
1799
- # 注意:此字段可能返回 null,表示取不到有效值。
1800
1786
  # @type Res: Array
1801
1787
 
1802
1788
  attr_accessor :TotalCount, :Res
@@ -1819,42 +1805,6 @@ module TencentCloud
1819
1805
  end
1820
1806
  end
1821
1807
 
1822
- # 防篡改url元素
1823
- class CacheUrlItem < TencentCloud::Common::AbstractModel
1824
- # @param Id: Id
1825
- # @type Id: String
1826
- # @param Name: 名称
1827
- # @type Name: String
1828
- # @param Domain: 域名
1829
- # @type Domain: String
1830
- # @param Uri: uri
1831
- # @type Uri: String
1832
- # @param Protocol: 协议
1833
- # @type Protocol: String
1834
- # @param Status: 状态
1835
- # @type Status: String
1836
-
1837
- attr_accessor :Id, :Name, :Domain, :Uri, :Protocol, :Status
1838
-
1839
- def initialize(id=nil, name=nil, domain=nil, uri=nil, protocol=nil, status=nil)
1840
- @Id = id
1841
- @Name = name
1842
- @Domain = domain
1843
- @Uri = uri
1844
- @Protocol = protocol
1845
- @Status = status
1846
- end
1847
-
1848
- def deserialize(params)
1849
- @Id = params['Id']
1850
- @Name = params['Name']
1851
- @Domain = params['Domain']
1852
- @Uri = params['Uri']
1853
- @Protocol = params['Protocol']
1854
- @Status = params['Status']
1855
- end
1856
- end
1857
-
1858
1808
  # 防篡改url元素
1859
1809
  class CacheUrlItems < TencentCloud::Common::AbstractModel
1860
1810
  # @param Id: 标识
@@ -1924,7 +1874,6 @@ module TencentCloud
1924
1874
  # @param Region: 地域
1925
1875
  # @type Region: String
1926
1876
  # @param Clusters: 该地域对应的集群信息
1927
- # 注意:此字段可能返回 null,表示取不到有效值。
1928
1877
  # @type Clusters: Array
1929
1878
 
1930
1879
  attr_accessor :Region, :Clusters
@@ -2748,7 +2697,6 @@ module TencentCloud
2748
2697
  # DeleteAttackWhiteRule返回参数结构体
2749
2698
  class DeleteAttackWhiteRuleResponse < TencentCloud::Common::AbstractModel
2750
2699
  # @param FailIds: 删除失败的规则序号组
2751
- # 注意:此字段可能返回 null,表示取不到有效值。
2752
2700
  # @type FailIds: Array
2753
2701
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2754
2702
  # @type RequestId: String
@@ -2797,7 +2745,6 @@ module TencentCloud
2797
2745
  # DeleteCCRule返回参数结构体
2798
2746
  class DeleteCCRuleResponse < TencentCloud::Common::AbstractModel
2799
2747
  # @param Data: 一般为null
2800
- # 注意:此字段可能返回 null,表示取不到有效值。
2801
2748
  # @type Data: String
2802
2749
  # @param RuleId: 操作的规则Id
2803
2750
  # @type RuleId: Integer
@@ -2943,7 +2890,6 @@ module TencentCloud
2943
2890
  # DeleteDomainWhiteRules返回参数结构体
2944
2891
  class DeleteDomainWhiteRulesResponse < TencentCloud::Common::AbstractModel
2945
2892
  # @param Data: 出参
2946
- # 注意:此字段可能返回 null,表示取不到有效值。
2947
2893
  # @type Data: String
2948
2894
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2949
2895
  # @type RequestId: String
@@ -3146,7 +3092,6 @@ module TencentCloud
3146
3092
  # DeleteSession返回参数结构体
3147
3093
  class DeleteSessionResponse < TencentCloud::Common::AbstractModel
3148
3094
  # @param Data: 结果
3149
- # 注意:此字段可能返回 null,表示取不到有效值。
3150
3095
  # @type Data: String
3151
3096
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3152
3097
  # @type RequestId: String
@@ -3305,7 +3250,6 @@ module TencentCloud
3305
3250
  # DescribeAccessFastAnalysis返回参数结构体
3306
3251
  class DescribeAccessFastAnalysisResponse < TencentCloud::Common::AbstractModel
3307
3252
  # @param FieldValueRatioInfos: 注意:此字段可能返回 null,表示取不到有效值
3308
- # 注意:此字段可能返回 null,表示取不到有效值。
3309
3253
  # @type FieldValueRatioInfos: Array
3310
3254
  # @param TotalCount: 日志条数
3311
3255
  # @type TotalCount: Integer
@@ -3373,7 +3317,6 @@ module TencentCloud
3373
3317
  # @param TotalCount: 满足条件的日志条数
3374
3318
  # @type TotalCount: Integer
3375
3319
  # @param HistogramInfos: 注意:此字段可能返回 null,表示取不到有效值
3376
- # 注意:此字段可能返回 null,表示取不到有效值。
3377
3320
  # @type HistogramInfos: Array
3378
3321
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3379
3322
  # @type RequestId: String
@@ -3419,7 +3362,6 @@ module TencentCloud
3419
3362
  # @type Status: Boolean
3420
3363
  # @param Rule: 索引配置信息
3421
3364
  # 注意:此字段可能返回 null,表示取不到有效值。
3422
- # 注意:此字段可能返回 null,表示取不到有效值。
3423
3365
  # @type Rule: :class:`Tencentcloud::Waf.v20180125.models.AccessRuleInfo`
3424
3366
  # @param ModifyTime: 索引修改时间,初始值为索引创建时间。
3425
3367
  # @type ModifyTime: String
@@ -3520,161 +3462,6 @@ module TencentCloud
3520
3462
  end
3521
3463
  end
3522
3464
 
3523
- # DescribeAntiFakeUrl请求参数结构体
3524
- class DescribeAntiFakeUrlRequest < TencentCloud::Common::AbstractModel
3525
- # @param Domain: 域名
3526
- # @type Domain: String
3527
- # @param PageInfo: 翻页参数
3528
- # @type PageInfo: :class:`Tencentcloud::Waf.v20180125.models.PageInfo`
3529
-
3530
- attr_accessor :Domain, :PageInfo
3531
-
3532
- def initialize(domain=nil, pageinfo=nil)
3533
- @Domain = domain
3534
- @PageInfo = pageinfo
3535
- end
3536
-
3537
- def deserialize(params)
3538
- @Domain = params['Domain']
3539
- unless params['PageInfo'].nil?
3540
- @PageInfo = PageInfo.new
3541
- @PageInfo.deserialize(params['PageInfo'])
3542
- end
3543
- end
3544
- end
3545
-
3546
- # DescribeAntiFakeUrl返回参数结构体
3547
- class DescribeAntiFakeUrlResponse < TencentCloud::Common::AbstractModel
3548
- # @param Total: 总数
3549
- # @type Total: String
3550
- # @param List: 信息
3551
- # @type List: Array
3552
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3553
- # @type RequestId: String
3554
-
3555
- attr_accessor :Total, :List, :RequestId
3556
-
3557
- def initialize(total=nil, list=nil, requestid=nil)
3558
- @Total = total
3559
- @List = list
3560
- @RequestId = requestid
3561
- end
3562
-
3563
- def deserialize(params)
3564
- @Total = params['Total']
3565
- unless params['List'].nil?
3566
- @List = []
3567
- params['List'].each do |i|
3568
- cacheurlitem_tmp = CacheUrlItem.new
3569
- cacheurlitem_tmp.deserialize(i)
3570
- @List << cacheurlitem_tmp
3571
- end
3572
- end
3573
- @RequestId = params['RequestId']
3574
- end
3575
- end
3576
-
3577
- # DescribeAntiInfoLeakRules请求参数结构体
3578
- class DescribeAntiInfoLeakRulesRequest < TencentCloud::Common::AbstractModel
3579
- # @param Domain: 域名
3580
- # @type Domain: String
3581
- # @param ActionType: 动作类型
3582
- # @type ActionType: Integer
3583
- # @param PageInfo: 翻页
3584
- # @type PageInfo: :class:`Tencentcloud::Waf.v20180125.models.PageInfo`
3585
-
3586
- attr_accessor :Domain, :ActionType, :PageInfo
3587
-
3588
- def initialize(domain=nil, actiontype=nil, pageinfo=nil)
3589
- @Domain = domain
3590
- @ActionType = actiontype
3591
- @PageInfo = pageinfo
3592
- end
3593
-
3594
- def deserialize(params)
3595
- @Domain = params['Domain']
3596
- @ActionType = params['ActionType']
3597
- unless params['PageInfo'].nil?
3598
- @PageInfo = PageInfo.new
3599
- @PageInfo.deserialize(params['PageInfo'])
3600
- end
3601
- end
3602
- end
3603
-
3604
- # DescribeAntiInfoLeakRules返回参数结构体
3605
- class DescribeAntiInfoLeakRulesResponse < TencentCloud::Common::AbstractModel
3606
- # @param TotalCount: 记录条数
3607
- # @type TotalCount: String
3608
- # @param RuleList: 规则列表
3609
- # @type RuleList: Array
3610
- # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3611
- # @type RequestId: String
3612
-
3613
- attr_accessor :TotalCount, :RuleList, :RequestId
3614
-
3615
- def initialize(totalcount=nil, rulelist=nil, requestid=nil)
3616
- @TotalCount = totalcount
3617
- @RuleList = rulelist
3618
- @RequestId = requestid
3619
- end
3620
-
3621
- def deserialize(params)
3622
- @TotalCount = params['TotalCount']
3623
- unless params['RuleList'].nil?
3624
- @RuleList = []
3625
- params['RuleList'].each do |i|
3626
- describeantiinfoleakrulesruleitem_tmp = DescribeAntiInfoLeakRulesRuleItem.new
3627
- describeantiinfoleakrulesruleitem_tmp.deserialize(i)
3628
- @RuleList << describeantiinfoleakrulesruleitem_tmp
3629
- end
3630
- end
3631
- @RequestId = params['RequestId']
3632
- end
3633
- end
3634
-
3635
- # DescribeAntiInfoLeakRules返回的规则列表元素
3636
- class DescribeAntiInfoLeakRulesRuleItem < TencentCloud::Common::AbstractModel
3637
- # @param RuleId: 规则ID
3638
- # @type RuleId: String
3639
- # @param Name: 规则名称
3640
- # @type Name: String
3641
- # @param Status: 规则状态
3642
- # @type Status: String
3643
- # @param ActionType: 规则动作类型
3644
- # @type ActionType: String
3645
- # @param CreateTime: 规则创建时间
3646
- # @type CreateTime: String
3647
- # @param Strategies: 详细的规则
3648
- # @type Strategies: Array
3649
-
3650
- attr_accessor :RuleId, :Name, :Status, :ActionType, :CreateTime, :Strategies
3651
-
3652
- def initialize(ruleid=nil, name=nil, status=nil, actiontype=nil, createtime=nil, strategies=nil)
3653
- @RuleId = ruleid
3654
- @Name = name
3655
- @Status = status
3656
- @ActionType = actiontype
3657
- @CreateTime = createtime
3658
- @Strategies = strategies
3659
- end
3660
-
3661
- def deserialize(params)
3662
- @RuleId = params['RuleId']
3663
- @Name = params['Name']
3664
- @Status = params['Status']
3665
- @ActionType = params['ActionType']
3666
- @CreateTime = params['CreateTime']
3667
- unless params['Strategies'].nil?
3668
- @Strategies = []
3669
- params['Strategies'].each do |i|
3670
- describeantiinfoleakrulesstrategyitem_tmp = DescribeAntiInfoLeakRulesStrategyItem.new
3671
- describeantiinfoleakrulesstrategyitem_tmp.deserialize(i)
3672
- @Strategies << describeantiinfoleakrulesstrategyitem_tmp
3673
- end
3674
- end
3675
- end
3676
- end
3677
-
3678
3465
  # DescribeAntiInfoLeakRules返回的规则元素中的具体的规则元素
3679
3466
  class DescribeAntiInfoLeakRulesStrategyItem < TencentCloud::Common::AbstractModel
3680
3467
  # @param Field: 字段
@@ -3783,10 +3570,8 @@ module TencentCloud
3783
3570
  # @param CreateTime: 创建时间
3784
3571
  # @type CreateTime: String
3785
3572
  # @param Strategies: 匹配条件
3786
- # 注意:此字段可能返回 null,表示取不到有效值。
3787
3573
  # @type Strategies: Array
3788
3574
  # @param Uri: 匹配的URL
3789
- # 注意:此字段可能返回 null,表示取不到有效值。
3790
3575
  # @type Uri: String
3791
3576
  # @param ModifyTime: 修改时间
3792
3577
  # @type ModifyTime: String
@@ -4069,7 +3854,6 @@ module TencentCloud
4069
3854
  # @param JobType: 定时任务类型
4070
3855
  # @type JobType: String
4071
3856
  # @param JobDateTime: 定时任务详细配置
4072
- # 注意:此字段可能返回 null,表示取不到有效值。
4073
3857
  # @type JobDateTime: :class:`Tencentcloud::Waf.v20180125.models.JobDateTime`
4074
3858
  # @param CronType: 周期任务配置
4075
3859
  # @type CronType: String
@@ -4336,7 +4120,6 @@ module TencentCloud
4336
4120
  # @param Total: 规则总数
4337
4121
  # @type Total: Integer
4338
4122
  # @param List: 规则白名单列表
4339
- # 注意:此字段可能返回 null,表示取不到有效值。
4340
4123
  # @type List: Array
4341
4124
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4342
4125
  # @type RequestId: String
@@ -4586,7 +4369,6 @@ module TencentCloud
4586
4369
  # DescribeCCRuleList返回参数结构体
4587
4370
  class DescribeCCRuleListResponse < TencentCloud::Common::AbstractModel
4588
4371
  # @param Data: 查询到的CC规则的列表
4589
- # 注意:此字段可能返回 null,表示取不到有效值。
4590
4372
  # @type Data: :class:`Tencentcloud::Waf.v20180125.models.CCRuleLists`
4591
4373
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4592
4374
  # @type RequestId: String
@@ -4646,7 +4428,6 @@ module TencentCloud
4646
4428
  # DescribeCCRule返回参数结构体
4647
4429
  class DescribeCCRuleResponse < TencentCloud::Common::AbstractModel
4648
4430
  # @param Data: 结果
4649
- # 注意:此字段可能返回 null,表示取不到有效值。
4650
4431
  # @type Data: :class:`Tencentcloud::Waf.v20180125.models.CCRuleData`
4651
4432
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4652
4433
  # @type RequestId: String
@@ -5418,7 +5199,7 @@ module TencentCloud
5418
5199
  # @type Limit: Integer
5419
5200
  # @param Key: 过滤条件
5420
5201
  # @type Key: String
5421
- # @param IsWafDomain: 是否接入waf
5202
+ # @param IsWafDomain: 是否接入waf;传"1"返回接入域名的详情,传"0"返回未接入域名的详情,传""返回接入和未接入域名的详情
5422
5203
  # @type IsWafDomain: String
5423
5204
  # @param By: 排序参数
5424
5205
  # @type By: String
@@ -6466,6 +6247,89 @@ module TencentCloud
6466
6247
  end
6467
6248
  end
6468
6249
 
6250
+ # DescribeScanIp请求参数结构体
6251
+ class DescribeScanIpRequest < TencentCloud::Common::AbstractModel
6252
+ # @param Ip: 要查询的ip地址
6253
+ # @type Ip: String
6254
+
6255
+ attr_accessor :Ip
6256
+
6257
+ def initialize(ip=nil)
6258
+ @Ip = ip
6259
+ end
6260
+
6261
+ def deserialize(params)
6262
+ @Ip = params['Ip']
6263
+ end
6264
+ end
6265
+
6266
+ # DescribeScanIp返回参数结构体
6267
+ class DescribeScanIpResponse < TencentCloud::Common::AbstractModel
6268
+ # @param IpList: ip列表,当入参Ip为all时,返回所有已知ip列表
6269
+ # @type IpList: Array
6270
+ # @param Bussiness: 所属业务
6271
+ # @type Bussiness: String
6272
+ # @param Characteristic: 业务特征
6273
+ # @type Characteristic: String
6274
+ # @param Descibe: 扫描说明
6275
+ # @type Descibe: String
6276
+ # @param Referer: 官方公告
6277
+ # @type Referer: String
6278
+ # @param Demo: 扫描示例
6279
+ # @type Demo: String
6280
+ # @param Target: 扫描对象
6281
+ # @type Target: String
6282
+ # @param Purpose: 扫描目的
6283
+ # @type Purpose: String
6284
+ # @param Announcement: 产品文案
6285
+ # @type Announcement: String
6286
+ # @param UpdateTime: 更新时间
6287
+ # @type UpdateTime: Integer
6288
+ # @param IpOwner: ipowner
6289
+ # @type IpOwner: String
6290
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6291
+ # @type RequestId: String
6292
+
6293
+ attr_accessor :IpList, :Bussiness, :Characteristic, :Descibe, :Referer, :Demo, :Target, :Purpose, :Announcement, :UpdateTime, :IpOwner, :RequestId
6294
+
6295
+ def initialize(iplist=nil, bussiness=nil, characteristic=nil, descibe=nil, referer=nil, demo=nil, target=nil, purpose=nil, announcement=nil, updatetime=nil, ipowner=nil, requestid=nil)
6296
+ @IpList = iplist
6297
+ @Bussiness = bussiness
6298
+ @Characteristic = characteristic
6299
+ @Descibe = descibe
6300
+ @Referer = referer
6301
+ @Demo = demo
6302
+ @Target = target
6303
+ @Purpose = purpose
6304
+ @Announcement = announcement
6305
+ @UpdateTime = updatetime
6306
+ @IpOwner = ipowner
6307
+ @RequestId = requestid
6308
+ end
6309
+
6310
+ def deserialize(params)
6311
+ unless params['IpList'].nil?
6312
+ @IpList = []
6313
+ params['IpList'].each do |i|
6314
+ scanipinfo_tmp = ScanIpInfo.new
6315
+ scanipinfo_tmp.deserialize(i)
6316
+ @IpList << scanipinfo_tmp
6317
+ end
6318
+ end
6319
+ @Bussiness = params['Bussiness']
6320
+ @Characteristic = params['Characteristic']
6321
+ @Descibe = params['Descibe']
6322
+ @Referer = params['Referer']
6323
+ @Demo = params['Demo']
6324
+ @Target = params['Target']
6325
+ @Purpose = params['Purpose']
6326
+ @Announcement = params['Announcement']
6327
+ @UpdateTime = params['UpdateTime']
6328
+ @IpOwner = params['IpOwner']
6329
+ @RequestId = params['RequestId']
6330
+ end
6331
+ end
6332
+
6469
6333
  # DescribeSession请求参数结构体
6470
6334
  class DescribeSessionRequest < TencentCloud::Common::AbstractModel
6471
6335
  # @param Domain: 域名
@@ -6489,7 +6353,6 @@ module TencentCloud
6489
6353
  # DescribeSession返回参数结构体
6490
6354
  class DescribeSessionResponse < TencentCloud::Common::AbstractModel
6491
6355
  # @param Data: 返回结果
6492
- # 注意:此字段可能返回 null,表示取不到有效值。
6493
6356
  # @type Data: :class:`Tencentcloud::Waf.v20180125.models.SessionData`
6494
6357
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6495
6358
  # @type RequestId: String
@@ -6587,7 +6450,6 @@ module TencentCloud
6587
6450
  # @param IsKeepAlive: 与源站是否保持长连接
6588
6451
  # @type IsKeepAlive: String
6589
6452
  # @param Anycast: 0:BGP 1:Anycast
6590
- # 注意:此字段可能返回 null,表示取不到有效值。
6591
6453
  # @type Anycast: String
6592
6454
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6593
6455
  # @type RequestId: String
@@ -7077,8 +6939,6 @@ module TencentCloud
7077
6939
  # @param DefenseStatus: 自动封禁状态
7078
6940
  # @type DefenseStatus: Integer
7079
6941
  # @param Source: 数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名
7080
-
7081
- # 注意:此字段可能返回 null,表示取不到有效值。
7082
6942
  # @type Source: String
7083
6943
  # @param HWState: 重保护网域名状态
7084
6944
  # @type HWState: Integer
@@ -9280,10 +9140,8 @@ module TencentCloud
9280
9140
  # 规则执行的时间结构体
9281
9141
  class JobDateTime < TencentCloud::Common::AbstractModel
9282
9142
  # @param Timed: 定时执行的时间参数
9283
- # 注意:此字段可能返回 null,表示取不到有效值。
9284
9143
  # @type Timed: Array
9285
9144
  # @param Cron: 周期执行的时间参数
9286
- # 注意:此字段可能返回 null,表示取不到有效值。
9287
9145
  # @type Cron: Array
9288
9146
  # @param TimeTZone: 时区
9289
9147
  # @type TimeTZone: String
@@ -10155,13 +10013,10 @@ module TencentCloud
10155
10013
  # ModifyBotStatus返回参数结构体
10156
10014
  class ModifyBotStatusResponse < TencentCloud::Common::AbstractModel
10157
10015
  # @param Data: 正常情况为null
10158
- # 注意:此字段可能返回 null,表示取不到有效值。
10159
10016
  # @type Data: String
10160
10017
  # @param UnSupportedList: 未购买BOT的域名列表
10161
- # 注意:此字段可能返回 null,表示取不到有效值。
10162
10018
  # @type UnSupportedList: Array
10163
10019
  # @param FailDomainList: 已购买但操作失败的域名列表
10164
- # 注意:此字段可能返回 null,表示取不到有效值。
10165
10020
  # @type FailDomainList: Array
10166
10021
  # @param Count: 成功数目
10167
10022
  # @type Count: Integer
@@ -11852,26 +11707,6 @@ module TencentCloud
11852
11707
  end
11853
11708
  end
11854
11709
 
11855
- # 公共翻页参数
11856
- class PageInfo < TencentCloud::Common::AbstractModel
11857
- # @param PageNumber: 页码
11858
- # @type PageNumber: String
11859
- # @param PageSize: 页条目数量
11860
- # @type PageSize: String
11861
-
11862
- attr_accessor :PageNumber, :PageSize
11863
-
11864
- def initialize(pagenumber=nil, pagesize=nil)
11865
- @PageNumber = pagenumber
11866
- @PageSize = pagesize
11867
- end
11868
-
11869
- def deserialize(params)
11870
- @PageNumber = params['PageNumber']
11871
- @PageSize = params['PageSize']
11872
- end
11873
- end
11874
-
11875
11710
  # PeakPoints数组项
11876
11711
  class PeakPointsItem < TencentCloud::Common::AbstractModel
11877
11712
  # @param Time: 秒级别时间戳
@@ -12293,22 +12128,18 @@ module TencentCloud
12293
12128
  # @param Id: 规则id
12294
12129
  # @type Id: Integer
12295
12130
  # @param Type: 规则类型
12296
- # 注意:此字段可能返回 null,表示取不到有效值。
12297
12131
  # @type Type: String
12298
12132
  # @param Level: 规则等级
12299
12133
  # @type Level: String
12300
12134
  # @param Description: 规则描述
12301
- # 注意:此字段可能返回 null,表示取不到有效值。
12302
12135
  # @type Description: String
12303
12136
  # @param CVE: 规则防护的CVE编号
12304
- # 注意:此字段可能返回 null,表示取不到有效值。
12305
12137
  # @type CVE: String
12306
12138
  # @param Status: 规则的状态
12307
12139
  # @type Status: Integer
12308
12140
  # @param ModifyTime: 规则修改的时间
12309
12141
  # @type ModifyTime: String
12310
12142
  # @param AddTime: 门神规则新增/更新时间
12311
- # 注意:此字段可能返回 null,表示取不到有效值。
12312
12143
  # @type AddTime: String
12313
12144
 
12314
12145
  attr_accessor :Id, :Type, :Level, :Description, :CVE, :Status, :ModifyTime, :AddTime
@@ -12376,6 +12207,42 @@ module TencentCloud
12376
12207
  end
12377
12208
  end
12378
12209
 
12210
+ # 扫描ip信息
12211
+ class ScanIpInfo < TencentCloud::Common::AbstractModel
12212
+ # @param Bussiness: 所属业务
12213
+ # @type Bussiness: String
12214
+ # @param Target: 扫描对象
12215
+ # @type Target: String
12216
+ # @param IpList: ip列表
12217
+ # @type IpList: Array
12218
+ # @param Descibe: 扫描说明
12219
+ # @type Descibe: String
12220
+ # @param Referer: 官方公告
12221
+ # @type Referer: String
12222
+ # @param UpdateTime: 更新时间
12223
+ # @type UpdateTime: Integer
12224
+
12225
+ attr_accessor :Bussiness, :Target, :IpList, :Descibe, :Referer, :UpdateTime
12226
+
12227
+ def initialize(bussiness=nil, target=nil, iplist=nil, descibe=nil, referer=nil, updatetime=nil)
12228
+ @Bussiness = bussiness
12229
+ @Target = target
12230
+ @IpList = iplist
12231
+ @Descibe = descibe
12232
+ @Referer = referer
12233
+ @UpdateTime = updatetime
12234
+ end
12235
+
12236
+ def deserialize(params)
12237
+ @Bussiness = params['Bussiness']
12238
+ @Target = params['Target']
12239
+ @IpList = params['IpList']
12240
+ @Descibe = params['Descibe']
12241
+ @Referer = params['Referer']
12242
+ @UpdateTime = params['UpdateTime']
12243
+ end
12244
+ end
12245
+
12379
12246
  # SearchAccessLog请求参数结构体
12380
12247
  class SearchAccessLogRequest < TencentCloud::Common::AbstractModel
12381
12248
  # @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题,新版本此字段填空字符串
@@ -12430,14 +12297,12 @@ module TencentCloud
12430
12297
  # @type Analysis: Boolean
12431
12298
  # @param ColNames: 如果Analysis为True,则返回分析结果的列名,否则为空
12432
12299
  # 注意:此字段可能返回 null,表示取不到有效值。
12433
- # 注意:此字段可能返回 null,表示取不到有效值。
12434
12300
  # @type ColNames: Array
12435
12301
  # @param Results: 日志查询结果;当Analysis为True时,可能返回为null
12436
12302
  # 注意:此字段可能返回 null,表示取不到有效值
12437
12303
  # @type Results: Array
12438
12304
  # @param AnalysisResults: 日志分析结果;当Analysis为False时,可能返回为null
12439
12305
  # 注意:此字段可能返回 null,表示取不到有效值
12440
- # 注意:此字段可能返回 null,表示取不到有效值。
12441
12306
  # @type AnalysisResults: Array
12442
12307
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12443
12308
  # @type RequestId: String
@@ -13125,7 +12990,6 @@ module TencentCloud
13125
12990
  # UpsertCCRule返回参数结构体
13126
12991
  class UpsertCCRuleResponse < TencentCloud::Common::AbstractModel
13127
12992
  # @param Data: 一般为null
13128
- # 注意:此字段可能返回 null,表示取不到有效值。
13129
12993
  # @type Data: String
13130
12994
  # @param RuleId: 操作的RuleId
13131
12995
  # @type RuleId: Integer
@@ -13263,7 +13127,6 @@ module TencentCloud
13263
13127
  # UpsertSession返回参数结构体
13264
13128
  class UpsertSessionResponse < TencentCloud::Common::AbstractModel
13265
13129
  # @param Data: 结果
13266
- # 注意:此字段可能返回 null,表示取不到有效值。
13267
13130
  # @type Data: String
13268
13131
  # @param SessionID: SessionID
13269
13132
  # @type SessionID: Integer
@@ -13631,7 +13494,6 @@ module TencentCloud
13631
13494
  # 当前WAF威胁情报封禁模块详情
13632
13495
  class WafThreatenIntelligenceDetails < TencentCloud::Common::AbstractModel
13633
13496
  # @param Tags: 封禁属性标签
13634
- # 注意:此字段可能返回 null,表示取不到有效值。
13635
13497
  # @type Tags: Array
13636
13498
  # @param DefenseStatus: 封禁模组启用状态
13637
13499
  # @type DefenseStatus: Integer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.935
4
+ version: 3.0.937
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-03 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common