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.14.8 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.7 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.6 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.5 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.4 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.3 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.2 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.1 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.14.0 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.19 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.18 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.17 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.16 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.15 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.12 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.11 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.10 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.9 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.8 app/concerns/mdm/task/metasploit_credential_core.rb
metasploit-credential-0.13.7 app/concerns/mdm/task/metasploit_credential_core.rb