mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Search] Add new RCF index_labels in confluence native config (#183481)
## Summary Related to https://github.com/elastic/connectors/issues/2453. With the introduction of new RCF index_labels, the same needs to be reflected in native Confluence 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)
This commit is contained in:
parent
97350c263b
commit
7dd1d5ee98
1 changed files with 26 additions and 6 deletions
|
@ -631,13 +631,33 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
validations: [],
|
||||
value: '*',
|
||||
},
|
||||
index_labels: {
|
||||
default_value: null,
|
||||
depends_on: [],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: i18n.translate('searchConnectors.nativeConnectors.confluence.indexLabelsLabel', {
|
||||
defaultMessage: 'Enable indexing labels',
|
||||
}),
|
||||
options: [],
|
||||
order: 10,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate('searchConnectors.nativeConnectors.confluence.indexLabelsTooltip', {
|
||||
defaultMessage:
|
||||
'Enabling this will increase the amount of network calls to the source, and may decrease performance',
|
||||
}),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
ssl_enabled: {
|
||||
default_value: null,
|
||||
depends_on: [],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: ENABLE_SSL_LABEL,
|
||||
options: [],
|
||||
order: 10,
|
||||
order: 11,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -657,7 +677,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TEXTBOX,
|
||||
label: SSL_CERTIFICATE_LABEL,
|
||||
options: [],
|
||||
order: 11,
|
||||
order: 12,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -672,7 +692,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.NUMERIC,
|
||||
label: RETRIES_PER_REQUEST_LABEL,
|
||||
options: [],
|
||||
order: 12,
|
||||
order: 13,
|
||||
required: false,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -687,7 +707,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.NUMERIC,
|
||||
label: MAX_CONCURRENT_DOWNLOADS_LABEL,
|
||||
options: [],
|
||||
order: 13,
|
||||
order: 14,
|
||||
required: false,
|
||||
sensitive: false,
|
||||
tooltip: null,
|
||||
|
@ -712,7 +732,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TOGGLE,
|
||||
label: ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL,
|
||||
options: [],
|
||||
order: 14,
|
||||
order: 15,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: getEnableDocumentLevelSecurityTooltip(
|
||||
|
@ -731,7 +751,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
display: DisplayType.TOGGLE,
|
||||
label: USE_TEXT_EXTRACTION_SERVICE_LABEL,
|
||||
options: [],
|
||||
order: 15,
|
||||
order: 16,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: USE_TEXT_EXTRACTION_SERVICE_TOOLTIP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue