Class: Finding

Inherits:
Object
  • Object
show all
Defined in:
lib/model/data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#aObject

Returns the value of attribute a.



8
9
10
# File 'lib/model/data.rb', line 8

def a
  @a
end

#acObject

Returns the value of attribute ac.



8
9
10
# File 'lib/model/data.rb', line 8

def ac
  @ac
end

#affected_hostsObject

Returns the value of attribute affected_hosts.



8
9
10
# File 'lib/model/data.rb', line 8

def affected_hosts
  @affected_hosts
end

#affected_usersObject

Returns the value of attribute affected_users.



8
9
10
# File 'lib/model/data.rb', line 8

def affected_users
  @affected_users
end

#arObject

Returns the value of attribute ar.



8
9
10
# File 'lib/model/data.rb', line 8

def ar
  @ar
end

#assessment_typeObject

Returns the value of attribute assessment_type.



8
9
10
# File 'lib/model/data.rb', line 8

def assessment_type
  @assessment_type
end

#attack_complexityObject

Returns the value of attribute attack_complexity.



8
9
10
# File 'lib/model/data.rb', line 8

def attack_complexity
  @attack_complexity
end

#attack_vectorObject

Returns the value of attribute attack_vector.



8
9
10
# File 'lib/model/data.rb', line 8

def attack_vector
  @attack_vector
end

#auObject

Returns the value of attribute au.



8
9
10
# File 'lib/model/data.rb', line 8

def au
  @au
end

#avObject

Returns the value of attribute av.



8
9
10
# File 'lib/model/data.rb', line 8

def av
  @av
end

#availabilityObject

Returns the value of attribute availability.



8
9
10
# File 'lib/model/data.rb', line 8

def availability
  @availability
end

#availability_requirementObject

Returns the value of attribute availability_requirement.



8
9
10
# File 'lib/model/data.rb', line 8

def availability_requirement
  @availability_requirement
end

#cObject

Returns the value of attribute c.



8
9
10
# File 'lib/model/data.rb', line 8

def c
  @c
end

#c2_vsObject

Returns the value of attribute c2_vs.



8
9
10
# File 'lib/model/data.rb', line 8

def c2_vs
  @c2_vs
end

#c3_vsObject

Returns the value of attribute c3_vs.



8
9
10
# File 'lib/model/data.rb', line 8

def c3_vs
  @c3_vs
end

#cdpObject

Returns the value of attribute cdp.



8
9
10
# File 'lib/model/data.rb', line 8

def cdp
  @cdp
end

#confidentialityObject

Returns the value of attribute confidentiality.



8
9
10
# File 'lib/model/data.rb', line 8

def confidentiality
  @confidentiality
end

#confidentiality_requirementObject

Returns the value of attribute confidentiality_requirement.



8
9
10
# File 'lib/model/data.rb', line 8

def confidentiality_requirement
  @confidentiality_requirement
end

#crObject

Returns the value of attribute cr.



8
9
10
# File 'lib/model/data.rb', line 8

def cr
  @cr
end

#cvss_baseObject

Returns the value of attribute cvss_base.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_base
  @cvss_base
end

#cvss_base_scoreObject

Returns the value of attribute cvss_base_score.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_base_score
  @cvss_base_score
end

#cvss_environmentalObject

Returns the value of attribute cvss_environmental.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_environmental
  @cvss_environmental
end

#cvss_exploitabilityObject

Returns the value of attribute cvss_exploitability.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_exploitability
  @cvss_exploitability
end

#cvss_impactObject

Returns the value of attribute cvss_impact.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_impact
  @cvss_impact
end

#cvss_impact_scoreObject

Returns the value of attribute cvss_impact_score.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_impact_score
  @cvss_impact_score
end

#cvss_mod_impact_scoreObject

Returns the value of attribute cvss_mod_impact_score.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_mod_impact_score
  @cvss_mod_impact_score
end

#cvss_modified_impactObject

Returns the value of attribute cvss_modified_impact.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_modified_impact
  @cvss_modified_impact
end

#cvss_temporalObject

Returns the value of attribute cvss_temporal.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_temporal
  @cvss_temporal
end

#cvss_totalObject

Returns the value of attribute cvss_total.



8
9
10
# File 'lib/model/data.rb', line 8

def cvss_total
  @cvss_total
end

#damageObject

Returns the value of attribute damage.



8
9
10
# File 'lib/model/data.rb', line 8

def damage
  @damage
end

#discoverabilityObject

Returns the value of attribute discoverability.



8
9
10
# File 'lib/model/data.rb', line 8

def discoverability
  @discoverability
end

#dread_totalObject

Returns the value of attribute dread_total.



8
9
10
# File 'lib/model/data.rb', line 8

def dread_total
  @dread_total
end

#eObject

Returns the value of attribute e.



8
9
10
# File 'lib/model/data.rb', line 8

def e
  @e
end

#easeObject

Returns the value of attribute ease.



8
9
10
# File 'lib/model/data.rb', line 8

def ease
  @ease
end

#effortObject

Returns the value of attribute effort.



8
9
10
# File 'lib/model/data.rb', line 8

def effort
  @effort
end

#exploit_maturityObject

Returns the value of attribute exploit_maturity.



8
9
10
# File 'lib/model/data.rb', line 8

def exploit_maturity
  @exploit_maturity
end

#exploitabilityObject

Returns the value of attribute exploitability.



8
9
10
# File 'lib/model/data.rb', line 8

def exploitability
  @exploitability
end

#iObject

Returns the value of attribute i.



8
9
10
# File 'lib/model/data.rb', line 8

def i
  @i
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/model/data.rb', line 8

def id
  @id
end

#integrityObject

Returns the value of attribute integrity.



8
9
10
# File 'lib/model/data.rb', line 8

def integrity
  @integrity
end

#integrity_requirementObject

Returns the value of attribute integrity_requirement.



8
9
10
# File 'lib/model/data.rb', line 8

def integrity_requirement
  @integrity_requirement
end

#irObject

Returns the value of attribute ir.



8
9
10
# File 'lib/model/data.rb', line 8

def ir
  @ir
end

#likelihoodObject

Returns the value of attribute likelihood.



8
9
10
# File 'lib/model/data.rb', line 8

def likelihood
  @likelihood
end

#likelihood_rationaleObject

Returns the value of attribute likelihood_rationale.



8
9
10
# File 'lib/model/data.rb', line 8

def likelihood_rationale
  @likelihood_rationale
end

#mod_attack_complexityObject

Returns the value of attribute mod_attack_complexity.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_attack_complexity
  @mod_attack_complexity
end

#mod_attack_vectorObject

Returns the value of attribute mod_attack_vector.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_attack_vector
  @mod_attack_vector
end

#mod_availabilityObject

Returns the value of attribute mod_availability.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_availability
  @mod_availability
end

#mod_confidentialityObject

Returns the value of attribute mod_confidentiality.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_confidentiality
  @mod_confidentiality
end

#mod_integrityObject

Returns the value of attribute mod_integrity.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_integrity
  @mod_integrity
end

#mod_privileges_requiredObject

Returns the value of attribute mod_privileges_required.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_privileges_required
  @mod_privileges_required
end

#mod_scopeObject

Returns the value of attribute mod_scope.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_scope
  @mod_scope
end

#mod_user_interactionObject

Returns the value of attribute mod_user_interaction.



8
9
10
# File 'lib/model/data.rb', line 8

def mod_user_interaction
  @mod_user_interaction
end

#notesObject

Returns the value of attribute notes.



8
9
10
# File 'lib/model/data.rb', line 8

def notes
  @notes
end

#overviewObject

Returns the value of attribute overview.



8
9
10
# File 'lib/model/data.rb', line 8

def overview
  @overview
end

#pocObject

Returns the value of attribute poc.



8
9
10
# File 'lib/model/data.rb', line 8

def poc
  @poc
end

#privileges_requiredObject

Returns the value of attribute privileges_required.



8
9
10
# File 'lib/model/data.rb', line 8

def privileges_required
  @privileges_required
end

#rcObject

Returns the value of attribute rc.



8
9
10
# File 'lib/model/data.rb', line 8

def rc
  @rc
end

#referencesObject

Returns the value of attribute references.



8
9
10
# File 'lib/model/data.rb', line 8

def references
  @references
end

#remediationObject

Returns the value of attribute remediation.



8
9
10
# File 'lib/model/data.rb', line 8

def remediation
  @remediation
end

#remeditation_levelObject

Returns the value of attribute remeditation_level.



8
9
10
# File 'lib/model/data.rb', line 8

def remeditation_level
  @remeditation_level
end

#report_confidenceObject

Returns the value of attribute report_confidence.



8
9
10
# File 'lib/model/data.rb', line 8

def report_confidence
  @report_confidence
end

#reproducabilityObject

Returns the value of attribute reproducability.



8
9
10
# File 'lib/model/data.rb', line 8

def reproducability
  @reproducability
end

#riskObject

Returns the value of attribute risk.



8
9
10
# File 'lib/model/data.rb', line 8

def risk
  @risk
end

#rlObject

Returns the value of attribute rl.



8
9
10
# File 'lib/model/data.rb', line 8

def rl
  @rl
end

#scope_cvssObject

Returns the value of attribute scope_cvss.



8
9
10
# File 'lib/model/data.rb', line 8

def scope_cvss
  @scope_cvss
end

#severityObject

Returns the value of attribute severity.



8
9
10
# File 'lib/model/data.rb', line 8

def severity
  @severity
end

#severity_rationaleObject

Returns the value of attribute severity_rationale.



8
9
10
# File 'lib/model/data.rb', line 8

def severity_rationale
  @severity_rationale
end

#tdObject

Returns the value of attribute td.



8
9
10
# File 'lib/model/data.rb', line 8

def td
  @td
end

#titleObject

Returns the value of attribute title.



8
9
10
# File 'lib/model/data.rb', line 8

def title
  @title
end

#typeObject

Returns the value of attribute type.



8
9
10
# File 'lib/model/data.rb', line 8

def type
  @type
end

#user_interactionObject

Returns the value of attribute user_interaction.



8
9
10
# File 'lib/model/data.rb', line 8

def user_interaction
  @user_interaction
end

Instance Method Details

#to_hashObject



10
11
12
13
14
15
16
17
# File 'lib/model/data.rb', line 10

def to_hash
    hash = {}
    self.instance_variables.each do |var|
    	#p var.to_s.gsub("@","")
        hash[var.to_s.gsub("@","").gsub("\"","")] = self.instance_variable_get var
    end
    return hash
end