From 3221988b1e253763baf5f084009f732d7823935d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 07:40:06 +0000 Subject: [PATCH] build(deps): bump github.com/aiven/go-api-schemas from 1.49.0 to 1.50.0 (#1486) --- docs/resources/opensearch.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- internal/schemautil/userconfig/dist/service_types.go | 6 ++---- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/resources/opensearch.md b/docs/resources/opensearch.md index 22944ad6c..3e8067212 100644 --- a/docs/resources/opensearch.md +++ b/docs/resources/opensearch.md @@ -150,10 +150,10 @@ Required: - `client_id` (String) The ID of the OpenID Connect client configured in your IdP. Required. - `client_secret` (String) The client secret of the OpenID Connect client configured in your IdP. Required. - `connect_url` (String) The URL of your IdP where the Security plugin can find the OpenID Connect metadata/configuration settings. +- `enabled` (Boolean) Enables or disables OpenID Connect authentication for OpenSearch. When enabled, users can authenticate using OpenID Connect with an Identity Provider. The default value is `true`. Optional: -- `enabled` (Boolean) Enables or disables OpenID Connect authentication for OpenSearch. When enabled, users can authenticate using OpenID Connect with an Identity Provider. The default value is `true`. - `header` (String) HTTP header name of the JWT token. Optional. Default is Authorization. The default value is `Authorization`. - `jwt_header` (String) The HTTP header that stores the token. Typically the Authorization header with the Bearer schema: Authorization: Bearer . Optional. Default is Authorization. - `jwt_url_parameter` (String) If the token is not transmitted in the HTTP header, but as an URL parameter, define the name of the parameter here. Optional. diff --git a/go.mod b/go.mod index ba9ded2a9..8a9490ae5 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.49.0 + github.com/aiven/go-api-schemas v1.50.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 36cb68fa7..9cc45b19c 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.49.0 h1:9ccN0ZzrxZSo7Fc/Ejprv6pw6oKJdp8n28UnOEAke+s= -github.com/aiven/go-api-schemas v1.49.0/go.mod h1:/bPxBUHza/2Aeer6hIIdB++GxKiw9K1KCBtRa2rtZ5I= +github.com/aiven/go-api-schemas v1.50.0 h1:EQDtMdsvT/X7yM0j+5oGSV+cdj35WpfMpKFyYwrTnho= +github.com/aiven/go-api-schemas v1.50.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 f38503447..71a204f35 100644 --- a/internal/schemautil/userconfig/dist/service_types.go +++ b/internal/schemautil/userconfig/dist/service_types.go @@ -5544,9 +5544,8 @@ func ServiceTypeOpensearch() *schema.Schema { Type: schema.TypeString, }, "enabled": { - Default: true, Description: "Enables or disables OpenID Connect authentication for OpenSearch. When enabled, users can authenticate using OpenID Connect with an Identity Provider. The default value is `true`.", - Optional: true, + Required: true, Type: schema.TypeBool, }, "header": { @@ -5610,9 +5609,8 @@ func ServiceTypeOpensearch() *schema.Schema { Type: schema.TypeString, }, "enabled": { - Default: true, Description: "Enables or disables OpenID Connect authentication for OpenSearch. When enabled, users can authenticate using OpenID Connect with an Identity Provider. The default value is `true`.", - Optional: true, + Required: true, Type: schema.TypeBool, }, "header": {