mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Sharepoint Server] Add RCF for Authentication type (#189030)
## Summary Related to https://github.com/elastic/connectors/issues/2112. Adding a new RCF for authentication type having options as Basic Auth and NTLM Auth in the Sharepoint server connector. ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: Artem Shelkovnikov <artem.shelkovnikov@elastic.co> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
63a1cbe25e
commit
340887d44c
1 changed files with 50 additions and 11 deletions
|
@ -4662,6 +4662,45 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
},
|
||||
sharepoint_server: {
|
||||
configuration: {
|
||||
authentication: {
|
||||
default_value: null,
|
||||
depends_on: [],
|
||||
display: DisplayType.DROPDOWN,
|
||||
label: i18n.translate(
|
||||
'searchConnectors.nativeConnectors.sharepoint_server.configuration.authentication',
|
||||
{
|
||||
defaultMessage: 'Authentication',
|
||||
}
|
||||
),
|
||||
options: [
|
||||
{
|
||||
label: i18n.translate(
|
||||
'searchConnectors.nativeConnectors.sharepoint_server.options.basicLabel',
|
||||
{
|
||||
defaultMessage: 'Basic',
|
||||
}
|
||||
),
|
||||
value: 'basic_auth',
|
||||
},
|
||||
{
|
||||
label: i18n.translate(
|
||||
'searchConnectors.nativeConnectors.sharepoint_server.options.ntlmLabel',
|
||||
{
|
||||
defaultMessage: 'NTLM',
|
||||
}
|
||||
),
|
||||
value: 'ntlm_auth',
|
||||
},
|
||||
],
|
||||
order: 1,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
type: FieldType.STRING,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: 'basic_auth',
|
||||
},
|
||||
username: {
|
||||
default_value: null,
|
||||
depends_on: [],
|
||||
|
@ -4673,7 +4712,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 1,
|
||||
order: 2,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: '',
|
||||
|
@ -4693,7 +4732,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 2,
|
||||
order: 3,
|
||||
required: true,
|
||||
sensitive: true,
|
||||
tooltip: '',
|
||||
|
@ -4713,7 +4752,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 3,
|
||||
order: 4,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: '',
|
||||
|
@ -4733,7 +4772,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 4,
|
||||
order: 5,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: '',
|
||||
|
@ -4748,7 +4787,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TOGGLE,
|
||||
label: ENABLE_SSL_LABEL,
|
||||
options: [],
|
||||
order: 5,
|
||||
order: 6,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -4768,7 +4807,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TEXTBOX,
|
||||
label: SSL_CERTIFICATE_LABEL,
|
||||
options: [],
|
||||
order: 6,
|
||||
order: 7,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -4783,7 +4822,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.NUMERIC,
|
||||
label: RETRIES_PER_REQUEST_LABEL,
|
||||
options: [],
|
||||
order: 7,
|
||||
order: 8,
|
||||
required: false,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -4798,7 +4837,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TOGGLE,
|
||||
label: USE_TEXT_EXTRACTION_SERVICE_LABEL,
|
||||
options: [],
|
||||
order: 8,
|
||||
order: 9,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: USE_TEXT_EXTRACTION_SERVICE_TOOLTIP,
|
||||
|
@ -4813,7 +4852,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TOGGLE,
|
||||
label: ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL,
|
||||
options: [],
|
||||
order: 9,
|
||||
order: 10,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: getEnableDocumentLevelSecurityTooltip(
|
||||
|
@ -4842,7 +4881,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 10,
|
||||
order: 11,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
|
@ -4873,7 +4912,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
}
|
||||
),
|
||||
options: [],
|
||||
order: 11,
|
||||
order: 12,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue