Class: Dockscan::Scan::Issue

Inherits:
Object
  • Object
show all
Defined in:
lib/dockscan/scan/issue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeIssue

Returns a new instance of Issue.



6
7
8
9
10
11
12
13
14
15
# File 'lib/dockscan/scan/issue.rb', line 6

def initialize
  severity=0
  description="Forgot to add description"
  solution="Information only."
  title="Forgot to add title"
  tags=Hash.new
  references=Hash.new
  risk=Hash.new
  reflinks=Hash.new
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def description
  @description
end

#referencesObject

Returns the value of attribute references.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def references
  @references
end

Returns the value of attribute reflinks.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def reflinks
  @reflinks
end

#riskObject

Returns the value of attribute risk.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def risk
  @risk
end

#severityObject

Returns the value of attribute severity.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def severity
  @severity
end

#solutionObject

Returns the value of attribute solution.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def solution
  @solution
end

#tagsObject

Returns the value of attribute tags.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def tags
  @tags
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/dockscan/scan/issue.rb', line 4

def title
  @title
end