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.8.6.pre.realm.pre.uniqueness app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.4-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.4 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.3-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.3 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.2 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.2-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.1-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.1 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.17-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.17 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.16-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.16 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.15-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.15 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.14 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.13-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.13 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.12-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.7.12 app/concerns/mdm/task/metasploit_credential_core.rb