[8.11] [Enterprise Search][Connectors] Update extraction service UI restrictions of native connectors (#169104) (#169152)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[Enterprise Search][Connectors] Update extraction service UI
restrictions of native connectors
(#169104)](https://github.com/elastic/kibana/pull/169104)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Jedr
Blaszyk","email":"jedrazb@gmail.com"},"sourceCommit":{"committedDate":"2023-10-17T17:07:55Z","message":"[Enterprise
Search][Connectors] Update extraction service UI restrictions of native
connectors
(#169104)","sha":"26421473f6c7594663180a23cc9cf3a8945d8d8d","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.11.0","v8.12.0"],"number":169104,"url":"https://github.com/elastic/kibana/pull/169104","mergeCommit":{"message":"[Enterprise
Search][Connectors] Update extraction service UI restrictions of native
connectors
(#169104)","sha":"26421473f6c7594663180a23cc9cf3a8945d8d8d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169104","number":169104,"mergeCommit":{"message":"[Enterprise
Search][Connectors] Update extraction service UI restrictions of native
connectors
(#169104)","sha":"26421473f6c7594663180a23cc9cf3a8945d8d8d"}}]}]
BACKPORT-->

Co-authored-by: Jedr Blaszyk <jedrazb@gmail.com>
This commit is contained in:
Kibana Machine 2023-10-17 15:11:45 -04:00 committed by GitHub
parent 84a6e65bf9
commit 96faa97f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -743,7 +743,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
sensitive: false,
tooltip: USE_TEXT_EXTRACTION_SERVICE_TOOLTIP,
type: FieldType.BOOLEAN,
ui_restrictions: [],
ui_restrictions: ['advanced'],
validations: [],
value: false,
},
@ -963,7 +963,7 @@ export const NATIVE_CONNECTOR_DEFINITIONS: Record<string, NativeConnector | unde
sensitive: false,
tooltip: USE_TEXT_EXTRACTION_SERVICE_TOOLTIP,
type: FieldType.BOOLEAN,
ui_restrictions: [],
ui_restrictions: ['advanced'],
validations: [],
value: false,
},