Skip to content

Commit

Permalink
Adds sign_in_options field to structs
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <[email protected]>
  • Loading branch information
Jakob3xD committed May 21, 2024
1 parent a7a70a6 commit 4de9c34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Adds the `Routing` field in SearchHit interface. ([#516](https://github.com/opensearch-project/opensearch-go/pull/516))
- Adds the `SearchPipelines` field to `SearchParams` ([#532](https://github.com/opensearch-project/opensearch-go/pull/532))
- Adds `search_idle_reactivate_count_total` field to structs ([#552](https://github.com/opensearch-project/opensearch-go/pull/552))
- Adds `sign_in_options` field to structs ([#552](https://github.com/opensearch-project/opensearch-go/pull/552))

### Changed
- CI tests against opensearch 2.14 ([#552](https://github.com/opensearch-project/opensearch-go/pull/552))
Expand Down
11 changes: 6 additions & 5 deletions plugins/security/api_securityconfig-get.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ type ConfigDynamic struct {

// ConfigDynamicKibana is a sub type of ConfigDynamic containing security settings for kibana
type ConfigDynamicKibana struct {
MultitenancyEnabled bool `json:"multitenancy_enabled"`
PrivateTenantEnabled *bool `json:"private_tenant_enabled,omitempty"`
DefaultTenant *string `json:"default_tenant,omitempty"`
ServerUsername string `json:"server_username"`
Index string `json:"index"`
MultitenancyEnabled bool `json:"multitenancy_enabled"`
PrivateTenantEnabled *bool `json:"private_tenant_enabled,omitempty"`
DefaultTenant *string `json:"default_tenant,omitempty"`
ServerUsername string `json:"server_username"`
Index string `json:"index"`
SignInOptions []string `json:"sign_in_options,omitempty"`
}

// ConfigDynamicHTTP is a sub type of ConfigDynamic containing security settings for HTTP
Expand Down

0 comments on commit 4de9c34

Please sign in to comment.