From 69d57dab885ee201cac7e16082aa025524b12d11 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Thu, 7 Mar 2024 12:29:40 +0000 Subject: [PATCH] chore(userconfig): generate schema --- docs/data-sources/opensearch.md | 1 + docs/resources/opensearch.md | 1 + internal/schemautil/userconfig/dist/service_types.go | 10 ++++++++++ internal/sdkprovider/userconfig/service/opensearch.go | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/docs/data-sources/opensearch.md b/docs/data-sources/opensearch.md index 2a81aff5b..1f7b7cb17 100644 --- a/docs/data-sources/opensearch.md +++ b/docs/data-sources/opensearch.md @@ -189,6 +189,7 @@ Read-Only: - `ism_history_rollover_check_period` (Number) - `ism_history_rollover_retention_period` (Number) - `override_main_response_version` (Boolean) +- `plugins_alerting_filter_by_backend_roles` (Boolean) - `reindex_remote_whitelist` (List of String) - `script_max_compilations_rate` (String) - `search_max_buckets` (Number) diff --git a/docs/resources/opensearch.md b/docs/resources/opensearch.md index a6beb93d3..ef741dfcf 100644 --- a/docs/resources/opensearch.md +++ b/docs/resources/opensearch.md @@ -197,6 +197,7 @@ Optional: - `ism_history_rollover_check_period` (Number) The time between rollover checks for the audit history index in hours. The default value is `8`. - `ism_history_rollover_retention_period` (Number) How long audit history indices are kept in days. The default value is `30`. - `override_main_response_version` (Boolean) Compatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false. +- `plugins_alerting_filter_by_backend_roles` (Boolean) Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false. - `reindex_remote_whitelist` (List of String) Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart. - `script_max_compilations_rate` (String) Script compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context. - `search_max_buckets` (Number) Maximum number of aggregation buckets allowed in a single response. OpenSearch default value is used when this is not defined. diff --git a/internal/schemautil/userconfig/dist/service_types.go b/internal/schemautil/userconfig/dist/service_types.go index 2c8973f60..6a34883b3 100644 --- a/internal/schemautil/userconfig/dist/service_types.go +++ b/internal/schemautil/userconfig/dist/service_types.go @@ -6453,6 +6453,11 @@ func ServiceTypeOpensearch() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "plugins_alerting_filter_by_backend_roles": { + Description: "Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.", + Optional: true, + Type: schema.TypeBool, + }, "reindex_remote_whitelist": { Description: "Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.", Elem: &schema.Schema{Type: schema.TypeString}, @@ -6975,6 +6980,11 @@ func ServiceTypeOpensearch() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "plugins_alerting_filter_by_backend_roles": { + Description: "Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.", + Optional: true, + Type: schema.TypeBool, + }, "reindex_remote_whitelist": { Description: "Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.", Elem: &schema.Schema{Type: schema.TypeString}, diff --git a/internal/sdkprovider/userconfig/service/opensearch.go b/internal/sdkprovider/userconfig/service/opensearch.go index 012a63646..d2bd38b5f 100644 --- a/internal/sdkprovider/userconfig/service/opensearch.go +++ b/internal/sdkprovider/userconfig/service/opensearch.go @@ -424,6 +424,11 @@ func opensearchUserConfig() *schema.Schema { Optional: true, Type: schema.TypeBool, }, + "plugins_alerting_filter_by_backend_roles": { + Description: "Enable or disable filtering of alerting by backend roles. Requires Security plugin. Defaults to false.", + Optional: true, + Type: schema.TypeBool, + }, "reindex_remote_whitelist": { Description: "Whitelisted addresses for reindexing. Changing this value will cause all OpenSearch instances to restart.", Elem: &schema.Schema{