``w.settings.esm_enablement``: Enhanced Security Monitoring =========================================================== .. currentmodule:: databricks.sdk.service.settings .. py:class:: EsmEnablementAPI Controls whether enhanced security monitoring is enabled for the current workspace. If the compliance security profile is enabled, this is automatically enabled. By default, it is disabled. However, if the compliance security profile is enabled, this is automatically enabled. If the compliance security profile is disabled, you can enable or disable this setting and it is not permanent. .. py:method:: get( [, etag: Optional[str]]) -> EsmEnablementSetting Get the enhanced security monitoring setting. Gets the enhanced security monitoring setting. :param etag: str (optional) etag used for versioning. The response is at least as fresh as the eTag provided. This is used for optimistic concurrency control as a way to help prevent simultaneous writes of a setting overwriting each other. It is strongly suggested that systems make use of the etag in the read -> delete pattern to perform setting deletions in order to avoid race conditions. That is, get an etag from a GET request, and pass it with the DELETE request to identify the rule set version you are deleting. :returns: :class:`EsmEnablementSetting` .. py:method:: update(allow_missing: bool, setting: EsmEnablementSetting, field_mask: str) -> EsmEnablementSetting Update the enhanced security monitoring setting. Updates the enhanced security monitoring setting for the workspace. A fresh etag needs to be provided in `PATCH` requests (as part of the setting field). The etag can be retrieved by making a `GET` request before the `PATCH` request. If the setting is updated concurrently, `PATCH` fails with 409 and the request must be retried by using the fresh etag in the 409 response. :param allow_missing: bool This should always be set to true for Settings API. Added for AIP compliance. :param setting: :class:`EsmEnablementSetting` :param field_mask: str Field mask is required to be passed into the PATCH request. Field mask specifies which fields of the setting payload will be updated. The field mask needs to be supplied as single string. To specify multiple fields in the field mask, use comma as the separator (no space). :returns: :class:`EsmEnablementSetting`