mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Add DLS to native dropbox connector (#186092)
## Summary We missed updating dls configs for dropbox native connector, see config in [connector repo](https://github.com/elastic/connectors/blob/main/connectors/sources/dropbox.py#L733C12-L749C15). ### 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)
This commit is contained in:
parent
4f8cc78920
commit
e90a83d8bc
1 changed files with 48 additions and 0 deletions
|
@ -886,8 +886,56 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
|
|||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
use_document_level_security: {
|
||||
default_value: null,
|
||||
depends_on: [],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL,
|
||||
options: [],
|
||||
order: 8,
|
||||
required: true,
|
||||
sensitive: false,
|
||||
tooltip: getEnableDocumentLevelSecurityTooltip(
|
||||
i18n.translate('searchConnectors.nativeConnectors.dropbox.tooltipName', {
|
||||
defaultMessage: 'Dropbox',
|
||||
})
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
include_inherited_users_and_groups: {
|
||||
default_value: null,
|
||||
depends_on: [{ field: 'use_document_level_security', value: true }],
|
||||
display: DisplayType.TOGGLE,
|
||||
label: i18n.translate(
|
||||
'searchConnectors.nativeConnectors.dropbox.includeInheritedUsersAndGroups.label',
|
||||
{
|
||||
defaultMessage: 'Include groups and inherited users',
|
||||
}
|
||||
),
|
||||
options: [],
|
||||
order: 9,
|
||||
required: false,
|
||||
sensitive: false,
|
||||
tooltip: i18n.translate(
|
||||
'searchConnectors.nativeConnectors.dropbox.includeInheritedUsersAndGroups.tooltip',
|
||||
{
|
||||
defaultMessage:
|
||||
'Include groups and inherited users when indexing permissions. Enabling this configurable field will cause a significant performance degradation.',
|
||||
}
|
||||
),
|
||||
type: FieldType.BOOLEAN,
|
||||
ui_restrictions: [],
|
||||
validations: [],
|
||||
value: false,
|
||||
},
|
||||
},
|
||||
features: {
|
||||
[FeatureName.DOCUMENT_LEVEL_SECURITY]: {
|
||||
enabled: true,
|
||||
},
|
||||
[FeatureName.SYNC_RULES]: {
|
||||
advanced: { enabled: true },
|
||||
basic: { enabled: true },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue