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-0.14.2 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.14.1 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.14.0 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.19 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.18 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.17 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.16 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.15 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.12 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.11 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.10 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.9 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.8 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.7 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.6 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.5 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.3 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.2 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.1 app/concerns/mdm/session/metasploit_credential_origin_session.rb
metasploit-credential-0.13.0 app/concerns/mdm/session/metasploit_credential_origin_session.rb