Skip to content

Commit

Permalink
[Search] Add DLS parameters in native Outlook connector (elastic#184098)
Browse files Browse the repository at this point in the history
## Summary

Related to elastic/connectors#2405

Add new config parameter in Outlook Connector related to Document Level
Security

### 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)

Version: 8.15.0
  • Loading branch information
parthpuri-elastic authored and rshen91 committed May 29, 2024
1 parent d76209c commit 544bf1a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/kbn-search-connectors/types/native_connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3583,12 +3583,34 @@ 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: 13,
required: true,
sensitive: false,
tooltip: getEnableDocumentLevelSecurityTooltip(
i18n.translate('searchConnectors.nativeConnectors.outlookTooltip.name', {
defaultMessage: 'Outlook',
})
),
type: FieldType.BOOLEAN,
ui_restrictions: [],
validations: [],
value: false,
},
},
features: {
[FeatureName.SYNC_RULES]: {
advanced: { enabled: false },
basic: { enabled: true },
},
[FeatureName.DOCUMENT_LEVEL_SECURITY]: {
enabled: true,
},
[FeatureName.INCREMENTAL_SYNC]: {
enabled: true,
},
Expand Down

0 comments on commit 544bf1a

Please sign in to comment.