Class: Mdm::Module::Ref
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Mdm::Module::Ref
- Defined in:
- app/models/mdm/module/ref.rb
Overview
External references to the vulnerability exploited by this module.
Instance Attribute Summary collapse
-
#detail ⇒ Mdm::Module::Detail
The root of the module metadata tree.
-
#name ⇒ String
Designation for external reference.
-
#refs ⇒ Array<Mdm::Ref>
readonly
References with the same name attached to Mdm::Vulns.
Instance Attribute Details
#detail ⇒ Mdm::Module::Detail
The root of the module metadata tree.
13 |
# File 'app/models/mdm/module/ref.rb', line 13 belongs_to :detail, :class_name => 'Mdm::Module::Detail' |
#name ⇒ String
Designation for external reference. May include a prefix for the authority, such as 'CVE-', in which case the rest of the name is the designation assigned by that authority.
|
# File 'app/models/mdm/module/ref.rb', line 28
|
#refs ⇒ Array<Mdm::Ref> (readonly)
References with the same name attached to Mdm::Vulns.
19 20 21 22 |
# File 'app/models/mdm/module/ref.rb', line 19 has_many :refs, :class_name => 'Mdm::Ref', :foreign_key => :name, :primary_key => :name |