tencentcloud-sdk-waf 3.0.640 → 3.0.641

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: 9600557315c8b0b6316f730274b440c72b54a12d
4
- data.tar.gz: 422f03ff479a1aadacb2a3db1a23c5c474b4ac2f
3
+ metadata.gz: 646799a450e8efec1297a42edd7fb42d730c139f
4
+ data.tar.gz: 78138ca35ccd1ac30ff60fe2cd7cf9121a5431a1
5
5
  SHA512:
6
- metadata.gz: 6cbe0a118288da2743047a65a30ede6108998709d4677210131db76540bb32d13c0fc75579d4d7c9d99c0006f418f26fd30b5efcc0d9d071fefa54cb3ecf86b3
7
- data.tar.gz: 9fcb118fb87743be366a7270456f2af0678f9d35832b7018faeaa40972aea9736edd0b9dc6edade41fd78d788e78995708bb414c8cb533bef17cc7e9713a32a3
6
+ metadata.gz: 353b04c55814850bed619fc1c28230d6d059cd0321b5e5fec0f8b65519a5526003a481a95511fd5cd91e831f59c1d182dbb2c1a58b5ccd1dce80dc68474e605a
7
+ data.tar.gz: e6a42b0b245fe1235aa42a5d4d4085fd17111dbcae6e181908918fdd7e3a2501bccc5b0971fe51a3d10c645b460c347b9546b391f77897701bcb2cdea886b118
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.640
1
+ 3.0.641
@@ -967,6 +967,30 @@ module TencentCloud
967
967
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
968
968
  end
969
969
 
970
+ # 按照条件查询展示攻击总次数
971
+
972
+ # @param request: Request instance for GetAttackTotalCount.
973
+ # @type request: :class:`Tencentcloud::waf::V20180125::GetAttackTotalCountRequest`
974
+ # @rtype: :class:`Tencentcloud::waf::V20180125::GetAttackTotalCountResponse`
975
+ def GetAttackTotalCount(request)
976
+ body = send_request('GetAttackTotalCount', request.serialize)
977
+ response = JSON.parse(body)
978
+ if response['Response'].key?('Error') == false
979
+ model = GetAttackTotalCountResponse.new
980
+ model.deserialize(response['Response'])
981
+ model
982
+ else
983
+ code = response['Response']['Error']['Code']
984
+ message = response['Response']['Error']['Message']
985
+ reqid = response['Response']['RequestId']
986
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
987
+ end
988
+ rescue TencentCloud::Common::TencentCloudSDKException => e
989
+ raise e
990
+ rescue StandardError => e
991
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
992
+ end
993
+
970
994
  # 本接口用于修改访问日志保存期限及大字段是否存储
971
995
 
972
996
  # @param request: Request instance for ModifyAccessPeriod.
@@ -2987,7 +2987,7 @@ module TencentCloud
2987
2987
  # @param Ciphers: 加密套件信息
2988
2988
  # 注意:此字段可能返回 null,表示取不到有效值。
2989
2989
  # @type Ciphers: Array
2990
- # @param CipherTemplate: 模版
2990
+ # @param CipherTemplate: 模板
2991
2991
  # 注意:此字段可能返回 null,表示取不到有效值。
2992
2992
  # @type CipherTemplate: Integer
2993
2993
  # @param ProxyReadTimeout: 300s
@@ -3387,6 +3387,54 @@ module TencentCloud
3387
3387
  end
3388
3388
  end
3389
3389
 
3390
+ # GetAttackTotalCount请求参数结构体
3391
+ class GetAttackTotalCountRequest < TencentCloud::Common::AbstractModel
3392
+ # @param StartTime: 起始时间
3393
+ # @type StartTime: String
3394
+ # @param EndTime: 结束时间
3395
+ # @type EndTime: String
3396
+ # @param Domain: 查询的域名,全部域名不指定
3397
+ # @type Domain: String
3398
+ # @param QueryString: 查询条件,默认为""
3399
+ # @type QueryString: String
3400
+
3401
+ attr_accessor :StartTime, :EndTime, :Domain, :QueryString
3402
+
3403
+ def initialize(starttime=nil, endtime=nil, domain=nil, querystring=nil)
3404
+ @StartTime = starttime
3405
+ @EndTime = endtime
3406
+ @Domain = domain
3407
+ @QueryString = querystring
3408
+ end
3409
+
3410
+ def deserialize(params)
3411
+ @StartTime = params['StartTime']
3412
+ @EndTime = params['EndTime']
3413
+ @Domain = params['Domain']
3414
+ @QueryString = params['QueryString']
3415
+ end
3416
+ end
3417
+
3418
+ # GetAttackTotalCount返回参数结构体
3419
+ class GetAttackTotalCountResponse < TencentCloud::Common::AbstractModel
3420
+ # @param TotalCount: 攻击总次数
3421
+ # @type TotalCount: Integer
3422
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3423
+ # @type RequestId: String
3424
+
3425
+ attr_accessor :TotalCount, :RequestId
3426
+
3427
+ def initialize(totalcount=nil, requestid=nil)
3428
+ @TotalCount = totalcount
3429
+ @RequestId = requestid
3430
+ end
3431
+
3432
+ def deserialize(params)
3433
+ @TotalCount = params['TotalCount']
3434
+ @RequestId = params['RequestId']
3435
+ end
3436
+ end
3437
+
3390
3438
  # clb-waf防护域名
3391
3439
  class HostRecord < TencentCloud::Common::AbstractModel
3392
3440
  # @param Domain: 域名
@@ -3956,7 +4004,7 @@ module TencentCloud
3956
4004
 
3957
4005
  # ModifyAreaBanStatus请求参数结构体
3958
4006
  class ModifyAreaBanStatusRequest < TencentCloud::Common::AbstractModel
3959
- # @param Domain: 修要修改的域名
4007
+ # @param Domain: 需要修改的域名
3960
4008
  # @type Domain: String
3961
4009
  # @param Status: 状态值,0表示关闭,1表示开启
3962
4010
  # @type Status: Integer
@@ -4049,7 +4097,7 @@ module TencentCloud
4049
4097
  # @type RuleId: Integer
4050
4098
  # @param RuleName: 编辑的规则名称
4051
4099
  # @type RuleName: String
4052
- # @param Bypass: 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果多个勾选那么以,串接。
4100
+ # @param Bypass: 放行时是否继续执行其它检查逻辑,继续执行地域封禁防护:geoip、继续执行CC策略防护:cc、继续执行WEB应用防护:owasp、继续执行AI引擎防护:ai、继续执行信息防泄漏防护:antileakage。如果勾选多个,则以“,”串接。
4053
4101
  # @type Bypass: String
4054
4102
  # @param SortId: 优先级,1~100的整数,数字越小,代表这条规则的执行优先级越高。
4055
4103
  # @type SortId: 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.640
4
+ version: 3.0.641
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-21 00:00:00.000000000 Z
11
+ date: 2023-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common