Sha256: 70d2acb11380e62fc3ad2ad5316bd6232441726a65b53e7428c3e6414651bf76
Contents?: true
Size: 612 Bytes
Versions: 26
Compression:
Stored size: 612 Bytes
Contents
# Add `credential_cores` association to `Mdm::Task`. module Mdm::Task::MetasploitCredentialLogin 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_logins, -> { uniq }, class_name: "Metasploit::Credential::Login", join_table: "credential_logins_tasks" end end
Version data entries
26 entries across 26 versions & 1 rubygems