SecurityCenterService(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a particular Security Command Center service. This includes settings information such as top-level enablement in addition to individual module settings. Service settings can be configured at the organization, folder, or project level. Service settings at the organization or folder level are inherited by those in descendant folders and projects.
Attributes |
|
---|---|
Name | Description |
name |
str
Identifier. The name of the service, in one of the following formats: - organizations/{organization}/locations/{location}/securityCenterServices/{service}
- folders/{folder}/locations/{location}/securityCenterServices/{service}
- projects/{project}/locations/{location}/securityCenterServices/{service}
The following values are valid for {service} :
- container-threat-detection
- event-threat-detection
- security-health-analytics
- vm-threat-detection
- web-security-scanner
|
intended_enablement_state |
google.cloud.securitycentermanagement_v1.types.SecurityCenterService.EnablementState
Optional. The intended enablement state for the service at its level of the resource hierarchy. A DISABLED state
will override all module enablement states to DISABLED .
|
effective_enablement_state |
google.cloud.securitycentermanagement_v1.types.SecurityCenterService.EnablementState
Output only. The effective enablement state for the service at its level of the resource hierarchy. If the intended state is set to INHERITED , the effective state will be
inherited from the enablement state of an ancestor. This
state may differ from the intended enablement state due to
billing eligibility or onboarding status.
|
modules |
MutableMapping[str, google.cloud.securitycentermanagement_v1.types.SecurityCenterService.ModuleSettings]
Optional. The module configurations, including the enablement state for the service's modules. The absence of a module in the map implies that its configuration is inherited from its parents. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time the service was last updated. This could be due to an explicit user update or due to a side effect of another system change, such as billing subscription expiry. |
service_config |
google.protobuf.struct_pb2.Struct
Optional. Additional service-specific configuration. Not all services will utilize this field. |
Classes
EnablementState
EnablementState(value)
Represents the possible enablement states for a service or module.
ModuleSettings
ModuleSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The settings for individual modules.
ModulesEntry
ModulesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |