Class: Mdm::Vuln
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::Vuln
- Defined in:
- app/models/mdm/vuln.rb
Overview
Instance Attribute Summary collapse
-
#exploited_at ⇒ DateTime
When the vulnerability was exploited.
-
#host ⇒ Mdm::Host
The host with this vulnerability.
-
#info ⇒ String
Additional information about the vulnerability.
-
#module_details ⇒ Array<Mdm::Module::Detail>
readonly
Modules that share the same external references as this vuln.
- #module_refs ⇒ Array<Mdm::Module::Ref> readonly
-
#name ⇒ String
The name of the vulnerability in metasploit-framework or from the import source.
-
#refs ⇒ Array<Mdm::Ref>
readonly
External references to this vulnerability.
-
#service ⇒ Mdm::Service
The service with the vulnerability.
-
#vuln_attempt_count ⇒ Integer
Counter cache for number of #vuln_attempts.
-
#vuln_attempts ⇒ Array<Mdm::VulnAttempt>
Attempts to exploit this vulnerability.
-
#vuln_detail_count ⇒ Integer
Counter cache for number of #vuln_details.
-
#vuln_details ⇒ Array<Mdm::VulnDetail>
Additional information about this vulnerability.
-
#vulns_refs ⇒ Array<Mdm::VulnRef>
Join model that joins this vuln to its external references.
Instance Attribute Details
#exploited_at ⇒ DateTime
When the vulnerability was exploited
|
|
# File 'app/models/mdm/vuln.rb', line 77
|
#host ⇒ Mdm::Host
The host with this vulnerability.
11 |
# File 'app/models/mdm/vuln.rb', line 11 belongs_to :host, :class_name => 'Mdm::Host', :counter_cache => :vuln_count |
#info ⇒ String
Additional information about the vulnerability
|
|
# File 'app/models/mdm/vuln.rb', line 87
|
#module_details ⇒ Array<Mdm::Module::Detail> (readonly)
Modules that share the same external references as this vuln.
67 68 69 70 71 |
# File 'app/models/mdm/vuln.rb', line 67 has_many :module_details, :class_name => 'Mdm::Module::Detail', :source => :detail, :through => :module_refs, :uniq => true |
#module_refs ⇒ Array<Mdm::Module::Ref> (readonly)
57 |
# File 'app/models/mdm/vuln.rb', line 57 has_many :module_refs, :class_name => 'Mdm::Module::Ref', :through => :refs |
#name ⇒ String
The name of the vulnerability in metasploit-framework or from the import source.
|
|
# File 'app/models/mdm/vuln.rb', line 82
|
#refs ⇒ Array<Mdm::Ref> (readonly)
External references to this vulnerability.
47 |
# File 'app/models/mdm/vuln.rb', line 47 has_many :refs, :class_name => 'Mdm::Ref', :through => :vulns_refs |
#service ⇒ Mdm::Service
The service with the vulnerability.
17 |
# File 'app/models/mdm/vuln.rb', line 17 belongs_to :service, :class_name => 'Mdm::Service' |
#vuln_attempt_count ⇒ Integer
Counter cache for number of #vuln_attempts.
|
|
# File 'app/models/mdm/vuln.rb', line 92
|
#vuln_attempts ⇒ Array<Mdm::VulnAttempt>
Attempts to exploit this vulnerability.
23 |
# File 'app/models/mdm/vuln.rb', line 23 has_many :vuln_attempts, :class_name => 'Mdm::VulnAttempt', :dependent => :destroy |
#vuln_detail_count ⇒ Integer
Counter cache for number of #vuln_details.
|
|
# File 'app/models/mdm/vuln.rb', line 97
|
#vuln_details ⇒ Array<Mdm::VulnDetail>
Additional information about this vulnerability.
29 |
# File 'app/models/mdm/vuln.rb', line 29 has_many :vuln_details, :class_name => 'Mdm::VulnDetail', :dependent => :destroy |
#vulns_refs ⇒ Array<Mdm::VulnRef>
Join model that joins this vuln to its external references.
36 |
# File 'app/models/mdm/vuln.rb', line 36 has_many :vulns_refs, :class_name => 'Mdm::VulnRef', :dependent => :destroy |