Class: TencentCloud::Csip::V20221121::VULRiskAdvanceCFGList

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

Overview

漏洞风险高级配置列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(riskid = nil, vulname = nil, risklevel = nil, checkfrom = nil, enable = nil, vultype = nil, impactversion = nil, cve = nil, vultag = nil, fixmethod = nil, releasetime = nil, emgcvultype = nil, vuldescribe = nil, impactcomponent = nil, payload = nil, references = nil, cvss = nil, attackheat = nil, servicesupport = nil, recentscantime = nil) ⇒ VULRiskAdvanceCFGList



13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
# File 'lib/v20221121/models.rb', line 13210

def initialize(riskid=nil, vulname=nil, risklevel=nil, checkfrom=nil, enable=nil, vultype=nil, impactversion=nil, cve=nil, vultag=nil, fixmethod=nil, releasetime=nil, emgcvultype=nil, vuldescribe=nil, impactcomponent=nil, payload=nil, references=nil, cvss=nil, attackheat=nil, servicesupport=nil, recentscantime=nil)
  @RiskId = riskid
  @VULName = vulname
  @RiskLevel = risklevel
  @CheckFrom = checkfrom
  @Enable = enable
  @VULType = vultype
  @ImpactVersion = impactversion
  @CVE = cve
  @VULTag = vultag
  @FixMethod = fixmethod
  @ReleaseTime = releasetime
  @EMGCVulType = emgcvultype
  @VULDescribe = vuldescribe
  @ImpactComponent = impactcomponent
  @Payload = payload
  @References = references
  @CVSS = cvss
  @AttackHeat = attackheat
  @ServiceSupport = servicesupport
  @RecentScanTime = recentscantime
end

Instance Attribute Details

#AttackHeatObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def AttackHeat
  @AttackHeat
end

#CheckFromObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def CheckFrom
  @CheckFrom
end

#CVEObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def CVE
  @CVE
end

#CVSSObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def CVSS
  @CVSS
end

#EMGCVulTypeObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def EMGCVulType
  @EMGCVulType
end

#EnableObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def Enable
  @Enable
end

#FixMethodObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def FixMethod
  @FixMethod
end

#ImpactComponentObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def ImpactComponent
  @ImpactComponent
end

#ImpactVersionObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def ImpactVersion
  @ImpactVersion
end

#PayloadObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def Payload
  @Payload
end

#RecentScanTimeObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def RecentScanTime
  @RecentScanTime
end

#ReferencesObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def References
  @References
end

#ReleaseTimeObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def ReleaseTime
  @ReleaseTime
end

#RiskIdObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def RiskId
  @RiskId
end

#RiskLevelObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def RiskLevel
  @RiskLevel
end

#ServiceSupportObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def ServiceSupport
  @ServiceSupport
end

#VULDescribeObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def VULDescribe
  @VULDescribe
end

#VULNameObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def VULName
  @VULName
end

#VULTagObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def VULTag
  @VULTag
end

#VULTypeObject



13208
13209
13210
# File 'lib/v20221121/models.rb', line 13208

def VULType
  @VULType
end

Instance Method Details

#deserialize(params) ⇒ Object



13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
# File 'lib/v20221121/models.rb', line 13233

def deserialize(params)
  @RiskId = params['RiskId']
  @VULName = params['VULName']
  @RiskLevel = params['RiskLevel']
  @CheckFrom = params['CheckFrom']
  @Enable = params['Enable']
  @VULType = params['VULType']
  @ImpactVersion = params['ImpactVersion']
  @CVE = params['CVE']
  @VULTag = params['VULTag']
  @FixMethod = params['FixMethod']
  @ReleaseTime = params['ReleaseTime']
  @EMGCVulType = params['EMGCVulType']
  @VULDescribe = params['VULDescribe']
  @ImpactComponent = params['ImpactComponent']
  @Payload = params['Payload']
  @References = params['References']
  @CVSS = params['CVSS']
  @AttackHeat = params['AttackHeat']
  unless params['ServiceSupport'].nil?
    @ServiceSupport = []
    params['ServiceSupport'].each do |i|
      servicesupport_tmp = ServiceSupport.new
      servicesupport_tmp.deserialize(i)
      @ServiceSupport << servicesupport_tmp
    end
  end
  @RecentScanTime = params['RecentScanTime']
end