Class: Mdm::Task
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::Task
- Defined in:
- app/models/mdm/task.rb
Overview
A task run by Metasploit Pro.
Instance Attribute Summary collapse
-
#completed_at ⇒ DateTime?
When this task completed.
-
#created_at ⇒ DateTime
When this task was created.
-
#created_by ⇒ String
Name of user that created this task.
-
#description ⇒ String
Description of what the this task does.
-
#error ⇒ String
Error raised while task was running that caused this task to fail.
-
#info ⇒ String
Information about the task's current status.
-
#module ⇒ String
Module full name that was run for this task.
-
#module_uuid ⇒ String
UUID of
#modulethat was run by this task. -
#path ⇒ String
Path to the log for this task.
-
#progress ⇒ Integer
Percentage complete.
-
#updated_at ⇒ DateTime
When this task was last updated.
Instance Method Summary collapse
-
#options ⇒ Hash
Options passed to
#module. -
#result ⇒ Hash
Result of task running.
-
#settings ⇒ Hash
Settings used to configure this task outside of the module options.
Instance Attribute Details
#completed_at ⇒ DateTime?
When this task completed.
|
|
# File 'app/models/mdm/task.rb', line 76
|
#created_at ⇒ DateTime
When this task was created.
|
|
# File 'app/models/mdm/task.rb', line 82
|
#description ⇒ String
Description of what the this task does.
|
|
# File 'app/models/mdm/task.rb', line 92
|
#error ⇒ String
Error raised while task was running that caused this task to fail.
|
|
# File 'app/models/mdm/task.rb', line 97
|
#info ⇒ String
Information about the task's current status. What the task is currently doing.
|
|
# File 'app/models/mdm/task.rb', line 102
|
#module ⇒ String
Module full name that was run for this task.
|
|
# File 'app/models/mdm/task.rb', line 107
|
#module_uuid ⇒ String
UUID of #module that was run by this task.
|
|
# File 'app/models/mdm/task.rb', line 112
|
#path ⇒ String
Path to the log for this task.
|
|
# File 'app/models/mdm/task.rb', line 117
|
#progress ⇒ Integer
Percentage complete.
|
|
# File 'app/models/mdm/task.rb', line 122
|
#updated_at ⇒ DateTime
When this task was last updated.
|
|
# File 'app/models/mdm/task.rb', line 127
|
Instance Method Details
#options ⇒ Hash
Options passed to #module.
145 |
# File 'app/models/mdm/task.rb', line 145 serialize :options, MetasploitDataModels::Base64Serializer.new |
#result ⇒ Hash
Result of task running.
150 |
# File 'app/models/mdm/task.rb', line 150 serialize :result, MetasploitDataModels::Base64Serializer.new |
#settings ⇒ Hash
Settings used to configure this task outside of the module options.
155 |
# File 'app/models/mdm/task.rb', line 155 serialize :settings, MetasploitDataModels::Base64Serializer.new |