Class: TencentCloud::Cwp::V20180228::ScanVulSettingRequest

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

Overview

ScanVulSetting请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(timerinterval = nil, vulcategories = nil, vullevels = nil, timertime = nil, vulemergency = nil, starttime = nil, endtime = nil, enablescan = nil, uuids = nil, scanmethod = nil) ⇒ ScanVulSettingRequest

Returns a new instance of ScanVulSettingRequest.



38182
38183
38184
38185
38186
38187
38188
38189
38190
38191
38192
38193
# File 'lib/v20180228/models.rb', line 38182

def initialize(timerinterval=nil, vulcategories=nil, vullevels=nil, timertime=nil, vulemergency=nil, starttime=nil, endtime=nil, enablescan=nil, uuids=nil, scanmethod=nil)
  @TimerInterval = timerinterval
  @VulCategories = vulcategories
  @VulLevels = vullevels
  @TimerTime = timertime
  @VulEmergency = vulemergency
  @StartTime = starttime
  @EndTime = endtime
  @EnableScan = enablescan
  @Uuids = uuids
  @ScanMethod = scanmethod
end

Instance Attribute Details

#EnableScanObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def EnableScan
  @EnableScan
end

#EndTimeObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def EndTime
  @EndTime
end

#ScanMethodObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def ScanMethod
  @ScanMethod
end

#StartTimeObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def StartTime
  @StartTime
end

#TimerIntervalObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def TimerInterval
  @TimerInterval
end

#TimerTimeObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def TimerTime
  @TimerTime
end

#UuidsObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def Uuids
  @Uuids
end

#VulCategoriesObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def VulCategories
  @VulCategories
end

#VulEmergencyObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def VulEmergency
  @VulEmergency
end

#VulLevelsObject

Parameters:

  • TimerInterval:

    定期检测间隔时间(天)

  • VulCategories:

    漏洞类型:1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞, 以数组方式传参

  • VulLevels:
  • TimerTime:

    定期检测时间,如:02:10:50

  • VulEmergency:

    是否是应急漏洞 0 否 1 是

  • StartTime:

    扫描开始时间,如:00:00

  • EndTime:

    扫描结束时间,如:08:00

  • EnableScan:

    是否开启扫描 1开启 0不开启

  • Uuids:

    为空默认扫描全部专业版、旗舰版、轻量版主机,不为空只扫描选中主机

  • ScanMethod:

    0版本比对,2版本比对+poc



38180
38181
38182
# File 'lib/v20180228/models.rb', line 38180

def VulLevels
  @VulLevels
end

Instance Method Details

#deserialize(params) ⇒ Object



38195
38196
38197
38198
38199
38200
38201
38202
38203
38204
38205
38206
# File 'lib/v20180228/models.rb', line 38195

def deserialize(params)
  @TimerInterval = params['TimerInterval']
  @VulCategories = params['VulCategories']
  @VulLevels = params['VulLevels']
  @TimerTime = params['TimerTime']
  @VulEmergency = params['VulEmergency']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @EnableScan = params['EnableScan']
  @Uuids = params['Uuids']
  @ScanMethod = params['ScanMethod']
end