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.13.6 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.5 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.3 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.2 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.1 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.0 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.12.0 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.10.2 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.10.1 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.10.1-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.10.1.pre.dep.pre.railties app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.10.0.pre.dep.pre.railties app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.9.1 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.9.0 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.9.0-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.9 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.8 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.7-java app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.7 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.8.6 app/concerns/mdm/task/metasploit_credential_core.rb