Class: Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule
- Inherits:
-
Object
- Object
- Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb
Overview
Represents an instance of an Event Threat Detection custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by child folders and projects.
Defined Under Namespace
Modules: EnablementState
Instance Attribute Summary collapse
-
#ancestor_module ⇒ ::String
readonly
Output only.
-
#config ⇒ ::Google::Protobuf::Struct
Config for the module.
-
#description ⇒ ::String
The description for the module.
-
#display_name ⇒ ::String
The human readable name to be displayed for the module.
-
#enablement_state ⇒ ::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule::EnablementState
The state of enablement for the module at the given level of the hierarchy.
-
#last_editor ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
Immutable.
-
#type ⇒ ::String
Type for the module.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#ancestor_module ⇒ ::String (readonly)
Returns Output only. The closest ancestor module that this module inherits the enablement state from. The format is the same as the EventThreatDetectionCustomModule resource name.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#config ⇒ ::Google::Protobuf::Struct
Returns Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config value is inherited from the ancestor module.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#description ⇒ ::String
Returns The description for the module.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#display_name ⇒ ::String
Returns The human readable name to be displayed for the module.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#enablement_state ⇒ ::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule::EnablementState
Returns The state of enablement for the module at the given level of the hierarchy.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#last_editor ⇒ ::String (readonly)
Returns Output only. The editor the module was last updated by.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#name ⇒ ::String
Returns Immutable. The resource name of the Event Threat Detection custom module.
Its format is:
organizations/{organization}/eventThreatDetectionSettings/customModules/{module}
.folders/{folder}/eventThreatDetectionSettings/customModules/{module}
.projects/{project}/eventThreatDetectionSettings/customModules/{module}
.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#type ⇒ ::String
Returns Type for the module. e.g. CONFIGURABLE_BAD_IP.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The time the module was last updated.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb', line 66 class EventThreatDetectionCustomModule include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The enablement state of the module. module EnablementState # Unspecified enablement state. ENABLEMENT_STATE_UNSPECIFIED = 0 # The module is enabled at the given level. ENABLED = 1 # The module is disabled at the given level. DISABLED = 2 # When the enablement state is inherited. INHERITED = 3 end end |