Class: Mdm::Macro
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Mdm::Macro
- Extended by:
- MetasploitDataModels::SerializedPrefs
- Defined in:
- app/models/mdm/macro.rb
Overview
Macro of #actions to run at once.
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
When this macro was created.
-
#description ⇒ String
Long description of what the macro does.
-
#name ⇒ String
The name of this macro.
-
#owner ⇒ String
Name of user that owns this macro.
-
#updated_at ⇒ DateTime
When this macro was last updated.
Instance Method Summary collapse
-
#actions ⇒ Array<Hash{Symbol=>Object}>
Actions run by this macro.
-
#max_time ⇒ Integer
The maximum number of seconds that this macro is allowed to run.
-
#prefs ⇒ Hash
Preference for this macro, shared across all actions.
Methods included from MetasploitDataModels::SerializedPrefs
serialized_prefs_attr_accessor
Instance Attribute Details
#created_at ⇒ DateTime
When this macro was created.
|
# File 'app/models/mdm/macro.rb', line 9
|
#description ⇒ String
Long description of what the macro does.
|
# File 'app/models/mdm/macro.rb', line 14
|
#name ⇒ String
The name of this macro.
|
# File 'app/models/mdm/macro.rb', line 19
|
#updated_at ⇒ DateTime
When this macro was last updated.
|
# File 'app/models/mdm/macro.rb', line 29
|
Instance Method Details
#actions ⇒ Array<Hash{Symbol=>Object}>
Actions run by this macro.
42 |
# File 'app/models/mdm/macro.rb', line 42 serialize :actions, MetasploitDataModels::Base64Serializer.new |
#max_time ⇒ Integer
The maximum number of seconds that this macro is allowed to run.
52 |
# File 'app/models/mdm/macro.rb', line 52 serialized_prefs_attr_accessor :max_time |
#prefs ⇒ Hash
Preference for this macro, shared across all actions.
47 |
# File 'app/models/mdm/macro.rb', line 47 serialize :prefs, MetasploitDataModels::Base64Serializer.new |