diff --git a/docs/data-sources/opensearch.md b/docs/data-sources/opensearch.md index f1ab0fec9..62dbc7aaf 100644 --- a/docs/data-sources/opensearch.md +++ b/docs/data-sources/opensearch.md @@ -169,6 +169,7 @@ Read-Only: - `email_sender_name` (String) - `email_sender_password` (String) - `email_sender_username` (String) +- `enable_security_audit` (Boolean) - `http_max_content_length` (Number) - `http_max_header_size` (Number) - `http_max_initial_line_length` (Number) diff --git a/docs/resources/opensearch.md b/docs/resources/opensearch.md index 96fc535b9..22944ad6c 100644 --- a/docs/resources/opensearch.md +++ b/docs/resources/opensearch.md @@ -177,6 +177,7 @@ Optional: - `email_sender_name` (String) This should be identical to the Sender name defined in Opensearch dashboards. - `email_sender_password` (String, Sensitive) Sender password for Opensearch alerts to authenticate with SMTP server. - `email_sender_username` (String) Sender username for Opensearch alerts. +- `enable_security_audit` (Boolean) Enable/Disable security audit. The default value is `false`. - `http_max_content_length` (Number) Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes. - `http_max_header_size` (Number) The max size of allowed headers, in bytes. - `http_max_initial_line_length` (Number) The max length of an HTTP URL, in bytes. diff --git a/go.mod b/go.mod index 062b886af..f41bb289f 100644 --- a/go.mod +++ b/go.mod @@ -46,7 +46,7 @@ require ( cloud.google.com/go v0.110.8 // indirect cloud.google.com/go/storage v1.30.1 // indirect github.com/agext/levenshtein v1.2.3 // indirect - github.com/aiven/go-api-schemas v1.48.0 + github.com/aiven/go-api-schemas v1.49.0 github.com/aws/aws-sdk-go v1.44.122 // indirect github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index bb20aaaef..36cb68fa7 100644 --- a/go.sum +++ b/go.sum @@ -199,8 +199,8 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= github.com/aiven/aiven-go-client/v2 v2.4.0 h1:vBBKgYEYyFZp/f+vcdxTkWnJ2b09Wlto3kwEzj5uvBQ= github.com/aiven/aiven-go-client/v2 v2.4.0/go.mod h1:x0xhzxWEKAwKv0xY5FvECiI6tesWshcPHvjwl0B/1SU= -github.com/aiven/go-api-schemas v1.48.0 h1:igci7tl0cDG6CSCrfyquOVGBs0blWRbsZUxkLsD+EmI= -github.com/aiven/go-api-schemas v1.48.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= +github.com/aiven/go-api-schemas v1.49.0 h1:9ccN0ZzrxZSo7Fc/Ejprv6pw6oKJdp8n28UnOEAke+s= +github.com/aiven/go-api-schemas v1.49.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/apparentlymart/go-dump v0.0.0-20180507223929-23540a00eaa3/go.mod h1:oL81AME2rN47vu18xqj1S1jPIPuN7afo62yKTNn3XMM= github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/Nj9VFpLOpjS5yuumk= diff --git a/internal/schemautil/userconfig/dist/service_types.go b/internal/schemautil/userconfig/dist/service_types.go index 147cfebb8..f38503447 100644 --- a/internal/schemautil/userconfig/dist/service_types.go +++ b/internal/schemautil/userconfig/dist/service_types.go @@ -6012,6 +6012,12 @@ func ServiceTypeOpensearch() *schema.Schema { Optional: true, Type: schema.TypeString, }, + "enable_security_audit": { + Default: false, + Description: "Enable/Disable security audit. The default value is `false`.", + Optional: true, + Type: schema.TypeBool, + }, "http_max_content_length": { Description: "Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.", Optional: true, @@ -6528,6 +6534,12 @@ func ServiceTypeOpensearch() *schema.Schema { Optional: true, Type: schema.TypeString, }, + "enable_security_audit": { + Default: false, + Description: "Enable/Disable security audit. The default value is `false`.", + Optional: true, + Type: schema.TypeBool, + }, "http_max_content_length": { Description: "Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.", Optional: true,