Class: TencentCloud::Waf::V20180125::OwaspRuleType

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

Overview

Owasp规则类型

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(typeid = nil, typename = nil, description = nil, classification = nil, action = nil, level = nil, status = nil, totalrule = nil, activerule = nil) ⇒ OwaspRuleType

Returns a new instance of OwaspRuleType.



16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
# File 'lib/v20180125/models.rb', line 16947

def initialize(typeid=nil, typename=nil, description=nil, classification=nil, action=nil, level=nil, status=nil, totalrule=nil, activerule=nil)
  @TypeId = typeid
  @TypeName = typename
  @Description = description
  @Classification = classification
  @Action = action
  @Level = level
  @Status = status
  @TotalRule = totalrule
  @ActiveRule = activerule
end

Instance Attribute Details

#ActionObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def Action
  @Action
end

#ActiveRuleObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def ActiveRule
  @ActiveRule
end

#ClassificationObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def Classification
  @Classification
end

#DescriptionObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def Description
  @Description
end

#LevelObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def Level
  @Level
end

#StatusObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def Status
  @Status
end

#TotalRuleObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def TotalRule
  @TotalRule
end

#TypeIdObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def TypeId
  @TypeId
end

#TypeNameObject

Parameters:

  • TypeId:

    类型ID

  • TypeName:

    类型名称

  • Description:

    类型描述

  • Classification:

    类型分类

  • Action:

    规则类型的防护模式,0:观察、1:拦截

  • Level:

    规则类型的防护等级,100:宽松、200:正常、300:严格、400:超严格

  • Status:

    规则类型的开关状态,0:关闭、1:开启

  • TotalRule:

    规则类型下的所有规则总是

  • ActiveRule:

    规则类型下的启用的规则总数



16945
16946
16947
# File 'lib/v20180125/models.rb', line 16945

def TypeName
  @TypeName
end

Instance Method Details

#deserialize(params) ⇒ Object



16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
# File 'lib/v20180125/models.rb', line 16959

def deserialize(params)
  @TypeId = params['TypeId']
  @TypeName = params['TypeName']
  @Description = params['Description']
  @Classification = params['Classification']
  @Action = params['Action']
  @Level = params['Level']
  @Status = params['Status']
  @TotalRule = params['TotalRule']
  @ActiveRule = params['ActiveRule']
end