Sha256: 9a6b5e79e7f96a2e0c7a2d443fc9d89d77b386d464091c1194fd2afa7985e028
Contents?: true
Size: 1.21 KB
Versions: 20
Compression:
Stored size: 1.21 KB
Contents
# An origin for {#cores core credentials} that were imported by a {#task} from a {#filename file}. class Metasploit::Credential::Origin::Import < ApplicationRecord # # Associations # # @!attribute cores # {Metasploit::Credential::Core Core credentials} imported from {#filename}. # # @return [ActiveRecord::Relation<Metasploit::Credential::Core>] has_many :cores, as: :origin, class_name: 'Metasploit::Credential::Core', dependent: :destroy # @!attribute task # The task that did the import. # # @return [Mdm::Task] belongs_to :task, class_name: 'Mdm::Task', optional: true, inverse_of: :import_credential_origins # # Attribute # # @!attribute created_at # When the credentials were imported. # # @return [DateTime] # @!attribute filename # The `File.basename` of the file from which the {#cores core credentials} were imported. Because only a # basename is available, a {#filename} may be used more than once for the same {#task}. # # @return [String] # @!attribute updated_at # When this origin was last updated. # # @return [DateTime] Metasploit::Concern.run(self) end
Version data entries
20 entries across 20 versions & 1 rubygems