Class: TencentCloud::Cdn::V20180606::DescribeWafDataRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180606/models.rb

Overview

DescribeWafData请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(starttime = nil, endtime = nil, interval = nil, domain = nil, attacktype = nil, defencemode = nil, area = nil, attacktypes = nil, domains = nil) ⇒ DescribeWafDataRequest

Returns a new instance of DescribeWafDataRequest.



6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
# File 'lib/v20180606/models.rb', line 6231

def initialize(starttime=nil, endtime=nil, interval=nil, domain=nil, attacktype=nil, defencemode=nil, area=nil, attacktypes=nil, domains=nil)
  @StartTime = starttime
  @EndTime = endtime
  @Interval = interval
  @Domain = domain
  @AttackType = attacktype
  @DefenceMode = defencemode
  @Area = area
  @AttackTypes = attacktypes
  @Domains = domains
end

Instance Attribute Details

#AreaObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def Area
  @Area
end

#AttackTypeObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def AttackType
  @AttackType
end

#AttackTypesObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def AttackTypes
  @AttackTypes
end

#DefenceModeObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def DefenceMode
  @DefenceMode
end

#DomainObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def Domain
  @Domain
end

#DomainsObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def Domains
  @Domains
end

#EndTimeObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def EndTime
  @EndTime
end

#IntervalObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def Interval
  @Interval
end

#StartTimeObject

仅支持30天内数据查询,且查询时间范围在 7 到 30 天最小粒度是 hour。不填则查询所有攻击类型的数据分布AttackType 映射如下: “webshell” : Webshell检测防护“oa” : 常见OA漏洞防护“xss” : XSS跨站脚本攻击防护“xxe” : XXE攻击防护“webscan” : 扫描器攻击漏洞防护“cms” : 常见CMS漏洞防护“upload” : 恶意文件上传攻击防护“sql” : SQL注入攻击防护“cmd_inject”: 命令/代码注入攻击防护“osc” : 开源组件漏洞防护“file_read” : 任意文件读取“ldap” : LDAP注入攻击防护“other” : 其它漏洞防护不填则查询所有防御模式的数据总和DefenceMode映射如下:

observe = '观察模式'
intercept = '拦截模式'

Parameters:

  • Domain:

    指定域名查询

  • AttackType:

    指定攻击类型

  • DefenceMode:

    指定防御模式

  • Area:

    地域:mainland 或 overseas

  • AttackTypes:

    指定多个攻击类型,取值参考AttackType

  • Domains:

    指定域名列表查询



6229
6230
6231
# File 'lib/v20180606/models.rb', line 6229

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
# File 'lib/v20180606/models.rb', line 6243

def deserialize(params)
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Interval = params['Interval']
  @Domain = params['Domain']
  @AttackType = params['AttackType']
  @DefenceMode = params['DefenceMode']
  @Area = params['Area']
  @AttackTypes = params['AttackTypes']
  @Domains = params['Domains']
end