Class: TencentCloud::Cwp::V20180228::DescribeVulListRequest

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

Overview

DescribeVulList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, filters = nil, by = nil, order = nil) ⇒ DescribeVulListRequest

Returns a new instance of DescribeVulListRequest.



23864
23865
23866
23867
23868
23869
23870
# File 'lib/v20180228/models.rb', line 23864

def initialize(limit=nil, offset=nil, filters=nil, by=nil, order=nil)
  @Limit = limit
  @Offset = offset
  @Filters = filters
  @By = by
  @Order = order
end

Instance Attribute Details

#ByObject

Parameters:

  • Limit:

    返回数量,最大值为100。

  • Offset:

    偏移量,默认为0。

  • Filters:

    过滤条件。

  • Status - String - 是否必填:否 - 处理状态 0-待处理 1-已加白 2-已删除 3-已修复 5-检测中 6-修复中 8-修复失败
  • ModifyTime - String - 是否必填:否 - 最近发生时间
  • Uuid- String - 是否必填:否 - 主机uuid查询
  • VulName- string -
  • VulCategory- string - 是否必填:否 - 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
  • IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持
  • Labels- string- 是否必填:否 - 标签搜索
  • IsSupportAutoFix- string- 是否必填:否 - 是否支持自动修复 0:不支持 1:支持
  • CvssScore- string- 是否必填:否 - CvssScore大于多少
  • AttackLevel- string- 是否必填:否 - 攻击热度大于多少
  • By:

    可选排序字段 Level,LastTime,HostCount

  • Order:

    排序顺序:desc 默认asc

  • 
    
    23862
    23863
    23864
    # File 'lib/v20180228/models.rb', line 23862
    
    def By
      @By
    end

    #FiltersObject

    Parameters:

    • Limit:

      返回数量,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    • Status - String - 是否必填:否 - 处理状态 0-待处理 1-已加白 2-已删除 3-已修复 5-检测中 6-修复中 8-修复失败
    • ModifyTime - String - 是否必填:否 - 最近发生时间
    • Uuid- String - 是否必填:否 - 主机uuid查询
    • VulName- string -
    • VulCategory- string - 是否必填:否 - 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
    • IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持
    • Labels- string- 是否必填:否 - 标签搜索
    • IsSupportAutoFix- string- 是否必填:否 - 是否支持自动修复 0:不支持 1:支持
    • CvssScore- string- 是否必填:否 - CvssScore大于多少
    • AttackLevel- string- 是否必填:否 - 攻击热度大于多少
  • By:

    可选排序字段 Level,LastTime,HostCount

  • Order:

    排序顺序:desc 默认asc

  • 
    
    23862
    23863
    23864
    # File 'lib/v20180228/models.rb', line 23862
    
    def Filters
      @Filters
    end

    #LimitObject

    Parameters:

    • Limit:

      返回数量,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    • Status - String - 是否必填:否 - 处理状态 0-待处理 1-已加白 2-已删除 3-已修复 5-检测中 6-修复中 8-修复失败
    • ModifyTime - String - 是否必填:否 - 最近发生时间
    • Uuid- String - 是否必填:否 - 主机uuid查询
    • VulName- string -
    • VulCategory- string - 是否必填:否 - 漏洞类别 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞
    • IsSupportDefense - int- 是否必填:否 - 是否支持防御 0:不支持 1:支持
    • Labels- string- 是否必填:否 - 标签搜索
    • IsSupportAutoFix- string- 是否必填:否 - 是否支持自动修复 0:不支持 1:支持
    • CvssScore- string- 是否必填:否 - CvssScore大于多少
    • AttackLevel- string- 是否必填:否 - 攻击热度大于多少
  • By:

    可选排序字段 Level,LastTime,HostCount

  • Order:

    排序顺序:desc 默认asc

  • 
    
    23862
    23863
    23864
    # File 'lib/v20180228/models.rb', line 23862
    
    def Limit
      @Limit
    end

    #OffsetObject

    Parameters:

  • By:

    可选排序字段 Level,LastTime,HostCount

  • Order:

    排序顺序:desc 默认asc

  • 
    
    23862
    23863
    23864
    # File 'lib/v20180228/models.rb', line 23862
    
    def Offset
      @Offset
    end

    #OrderObject

    Parameters:

  • By:

    可选排序字段 Level,LastTime,HostCount

  • Order:

    排序顺序:desc 默认asc

  • 
    
    23862
    23863
    23864
    # File 'lib/v20180228/models.rb', line 23862
    
    def Order
      @Order
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    23872
    23873
    23874
    23875
    23876
    23877
    23878
    23879
    23880
    23881
    23882
    23883
    23884
    23885
    # File 'lib/v20180228/models.rb', line 23872
    
    def deserialize(params)
      @Limit = params['Limit']
      @Offset = params['Offset']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filters_tmp = Filters.new
          filters_tmp.deserialize(i)
          @Filters << filters_tmp
        end
      end
      @By = params['By']
      @Order = params['Order']
    end