Resource: SecurityHealthAnalyticsCustomModule
Represents an instance of a Security Health Analytics 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 the child folders and projects.
JSON representation |
---|
{ "name": string, "displayName": string, "enablementState": enum ( |
Fields | |
---|---|
name |
Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits. |
display |
The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only. |
enablement |
The enablement state of the custom module. |
update |
Output only. The time at which the custom module was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
Output only. The editor that last updated the custom module. |
ancestor |
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, |
custom |
The user specified custom configuration for the module. |
EnablementState
Possible enablement states of a custom module.
Enums | |
---|---|
ENABLEMENT_STATE_UNSPECIFIED |
Unspecified enablement state. |
ENABLED |
The module is enabled at the given CRM resource. |
DISABLED |
The module is disabled at the given CRM resource. |
INHERITED |
State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy. |
Methods |
|
---|---|
|
Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. |
|
Deletes the specified SecurityHealthAnalyticsCustomModule and all of its descendants in the CRM hierarchy. |
|
Retrieves a SecurityHealthAnalyticsCustomModule. |
|
Returns a list of all SecurityHealthAnalyticsCustomModules for the given parent. |
|
Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants. |
|
Updates the SecurityHealthAnalyticsCustomModule under the given name based on the given update mask. |
|
Simulates a given SecurityHealthAnalyticsCustomModule and Resource. |