Sha256: 8df6aa68d442bca1193931bb90341fe2312a59d7cc1d93fa93249057a9135a83

Contents?: true

Size: 607 Bytes

Versions: 68

Compression:

Stored size: 607 Bytes

Contents

# Add `credential_cores` association to `Mdm::Task`.
module Mdm::Task::MetasploitCredentialCore
  extend ActiveSupport::Concern

  included do
    #
    # Associations
    #

    # @!attribute credential_cores
    #   The {Metasploit::Credential::Core credential origins} from this import task.
    #
    #   @return [ActiveRecord::Relation<Metasploit::Credential::Core>]
    has_and_belongs_to_many :credential_cores, 
                            class_name: "Metasploit::Credential::Core", 
                            join_table: "credential_cores_tasks",
                            uniq: true
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
metasploit-credential-0.7.11-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.11 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.10-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.10 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.10.pre.core.pre.search app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.9.pre.core.pre.search app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.8 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.8-java app/concerns/mdm/task/metasploit_credential_core.rb