Class: Mdm::Task
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Mdm::Task
- Defined in:
- app/models/mdm/task.rb
Overview
A task run by Metasploit Pro.
Instance Attribute Summary collapse
-
#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
#module
that 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
#description ⇒ String
Description of what the this task does.
|
# File 'app/models/mdm/task.rb', line 80
|
#error ⇒ String
Error raised while task was running that caused this task to fail.
|
# File 'app/models/mdm/task.rb', line 85
|
#info ⇒ String
Information about the task's current status. What the task is currently doing.
|
# File 'app/models/mdm/task.rb', line 90
|
#module ⇒ String
Module full name that was run for this task.
|
# File 'app/models/mdm/task.rb', line 95
|
#module_uuid ⇒ String
UUID of #module
that was run by this task.
|
# File 'app/models/mdm/task.rb', line 100
|
#path ⇒ String
Path to the log for this task.
|
# File 'app/models/mdm/task.rb', line 105
|
#progress ⇒ Integer
Percentage complete.
|
# File 'app/models/mdm/task.rb', line 110
|
#updated_at ⇒ DateTime
When this task was last updated.
|
# File 'app/models/mdm/task.rb', line 115
|
Instance Method Details
#options ⇒ Hash
Options passed to #module
.
133 |
# File 'app/models/mdm/task.rb', line 133 serialize :options, MetasploitDataModels::Base64Serializer.new |
#result ⇒ Hash
Result of task running.
138 |
# File 'app/models/mdm/task.rb', line 138 serialize :result, MetasploitDataModels::Base64Serializer.new |
#settings ⇒ Hash
Settings used to configure this task outside of the module options.
143 |
# File 'app/models/mdm/task.rb', line 143 serialize :settings, MetasploitDataModels::Base64Serializer.new |