Skip to content

Commit

Permalink
[Search] Add new RCF use_document_level_security in Salesforce nati…
Browse files Browse the repository at this point in the history
…ve configs (#183600)

## Summary

Related to elastic/connectors#2566. With the
introduction of new RCF `use_document_level_security` in the Salesforce
connector, 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)
  • Loading branch information
moxarth-elastic committed May 16, 2024
1 parent 75ff271 commit fb8ba21
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion packages/kbn-search-connectors/types/native_connectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4023,13 +4023,32 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
validations: [],
value: '',
},
use_document_level_security: {
default_value: null,
depends_on: [],
display: DisplayType.TOGGLE,
label: ENABLE_DOCUMENT_LEVEL_SECURITY_LABEL,
options: [],
order: 4,
required: true,
sensitive: false,
tooltip: getEnableDocumentLevelSecurityTooltip(
i18n.translate('searchConnectors.nativeConnectors.salesforce.name', {
defaultMessage: 'Salesforce',
})
),
type: FieldType.BOOLEAN,
ui_restrictions: [],
validations: [],
value: false,
},
use_text_extraction_service: {
default_value: null,
depends_on: [],
display: DisplayType.TOGGLE,
label: USE_TEXT_EXTRACTION_SERVICE_LABEL,
options: [],
order: 4,
order: 5,
required: true,
sensitive: false,
tooltip: USE_TEXT_EXTRACTION_SERVICE_TOOLTIP,
Expand Down

0 comments on commit fb8ba21

Please sign in to comment.