Sha256: 1f46e0d80cb545c42074841837fcee42a00db2e1b6adfc92c29ea90b07c689c4

Contents?: true

Size: 588 Bytes

Versions: 122

Compression:

Stored size: 588 Bytes

Contents

# Add `credential_origins` association to `Mdm::Session`.
module Mdm::Session::MetasploitCredentialOriginSession
  extend ActiveSupport::Concern

  included do
    #
    # Associations
    #

    # @!attribute credential_origins
    #   The {Metasploit::Credential::Origin::Session credential origins} from this session.
    #
    #   @return [ActiveRecord::Relation<Metasploit::Credential::Origin::Session>]
    has_many :credential_origins,
             class_name: 'Metasploit::Credential::Origin::Session',
             dependent: :destroy,
             inverse_of: :session
  end
end

Version data entries

122 entries across 122 versions & 1 rubygems

Version Path
metasploit-credential-6.0.11 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.10 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.9 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.8 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.7 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.6 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.5 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.4 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.3 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.2 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.1 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-6.0.0 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.9 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.8 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.7 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.6 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.5 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.4 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.3 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-5.0.2 app/concerns/mdm/session/metasploit_credential_origin_session.rb