Class: BscanHelper::Issue
- Inherits:
-
Object
- Object
- BscanHelper::Issue
- Defined in:
- lib/bscan/utils/bscan_helper.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Object
Returns the value of attribute confidence.
-
#http_messages ⇒ Object
Returns the value of attribute http_messages.
-
#issue_background ⇒ Object
Returns the value of attribute issue_background.
-
#issue_detail ⇒ Object
Returns the value of attribute issue_detail.
-
#issue_name ⇒ Object
Returns the value of attribute issue_name.
-
#remediation_background ⇒ Object
Returns the value of attribute remediation_background.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(n, u, sev, conf, req, rsp, id = '', ib = '', rb = '') ⇒ Issue
constructor
A new instance of Issue.
Constructor Details
#initialize(n, u, sev, conf, req, rsp, id = '', ib = '', rb = '') ⇒ Issue
Returns a new instance of Issue.
47 48 49 50 |
# File 'lib/bscan/utils/bscan_helper.rb', line 47 def initialize(n, u, sev, conf, req, rsp, id='', ib='', rb='') @issue_name,@url,@severity,@confidence,@issue_background,@issue_detail,@remediation_background,@http_messages= n,u,sev,conf,ib,id,rb,[Message.new(req,rsp)] end |
Instance Attribute Details
#confidence ⇒ Object
Returns the value of attribute confidence.
41 42 43 |
# File 'lib/bscan/utils/bscan_helper.rb', line 41 def confidence @confidence end |
#http_messages ⇒ Object
Returns the value of attribute http_messages.
45 46 47 |
# File 'lib/bscan/utils/bscan_helper.rb', line 45 def @http_messages end |
#issue_background ⇒ Object
Returns the value of attribute issue_background.
42 43 44 |
# File 'lib/bscan/utils/bscan_helper.rb', line 42 def issue_background @issue_background end |
#issue_detail ⇒ Object
Returns the value of attribute issue_detail.
43 44 45 |
# File 'lib/bscan/utils/bscan_helper.rb', line 43 def issue_detail @issue_detail end |
#issue_name ⇒ Object
Returns the value of attribute issue_name.
38 39 40 |
# File 'lib/bscan/utils/bscan_helper.rb', line 38 def issue_name @issue_name end |
#remediation_background ⇒ Object
Returns the value of attribute remediation_background.
44 45 46 |
# File 'lib/bscan/utils/bscan_helper.rb', line 44 def remediation_background @remediation_background end |
#severity ⇒ Object
Returns the value of attribute severity.
40 41 42 |
# File 'lib/bscan/utils/bscan_helper.rb', line 40 def severity @severity end |
#url ⇒ Object
Returns the value of attribute url.
39 40 41 |
# File 'lib/bscan/utils/bscan_helper.rb', line 39 def url @url end |