Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.17`: - [Align native box connector configs (#203241)](#203241) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sean Story","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-18T21:38:45Z","message":"Align native box connector configs (#203241)\n\n## Summary\r\n\r\nRaised in [this community slack\r\npost](https://elasticstack.slack.com/archives/C06U8G8NJBY/p1733445905372799?thread_ts=1733378189.186729&cid=C06U8G8NJBY),\r\nthe Native Connector definition from Kibana was using some config fields\r\n(`app_key`, `app_secret`) that didn't align with what the connector\r\nitself expects (`client_id`, `client_secret`). There were also a number\r\nof configurations defined here that are not used by the Box connector\r\n(`use_document_level_security`, `include_inherited_users_and_groups`,\r\n`use_text_extraction_service`, `retry_count`, `path`)\r\n\r\n\r\nThis change moves to align this definition with the source of truth in\r\nthe connectors codebase:\r\nhttps://github.com/elastic/connectors/blob/38c2fdbfe71330d6e95de33a30bf114c29ae4cae/connectors/sources/box.py#L263-L311\r\n\r\nT\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"db56f019001ae98bc251798f1d8ab1e5511e8bb4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:EnterpriseSearch","backport:prev-major"],"title":"Align native box connector configs","number":203241,"url":"https://github.com/elastic/kibana/pull/203241","mergeCommit":{"message":"Align native box connector configs (#203241)\n\n## Summary\r\n\r\nRaised in [this community slack\r\npost](https://elasticstack.slack.com/archives/C06U8G8NJBY/p1733445905372799?thread_ts=1733378189.186729&cid=C06U8G8NJBY),\r\nthe Native Connector definition from Kibana was using some config fields\r\n(`app_key`, `app_secret`) that didn't align with what the connector\r\nitself expects (`client_id`, `client_secret`). There were also a number\r\nof configurations defined here that are not used by the Box connector\r\n(`use_document_level_security`, `include_inherited_users_and_groups`,\r\n`use_text_extraction_service`, `retry_count`, `path`)\r\n\r\n\r\nThis change moves to align this definition with the source of truth in\r\nthe connectors codebase:\r\nhttps://github.com/elastic/connectors/blob/38c2fdbfe71330d6e95de33a30bf114c29ae4cae/connectors/sources/box.py#L263-L311\r\n\r\nT\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"db56f019001ae98bc251798f1d8ab1e5511e8bb4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203241","number":203241,"mergeCommit":{"message":"Align native box connector configs (#203241)\n\n## Summary\r\n\r\nRaised in [this community slack\r\npost](https://elasticstack.slack.com/archives/C06U8G8NJBY/p1733445905372799?thread_ts=1733378189.186729&cid=C06U8G8NJBY),\r\nthe Native Connector definition from Kibana was using some config fields\r\n(`app_key`, `app_secret`) that didn't align with what the connector\r\nitself expects (`client_id`, `client_secret`). There were also a number\r\nof configurations defined here that are not used by the Box connector\r\n(`use_document_level_security`, `include_inherited_users_and_groups`,\r\n`use_text_extraction_service`, `retry_count`, `path`)\r\n\r\n\r\nThis change moves to align this definition with the source of truth in\r\nthe connectors codebase:\r\nhttps://github.com/elastic/connectors/blob/38c2fdbfe71330d6e95de33a30bf114c29ae4cae/connectors/sources/box.py#L263-L311\r\n\r\nT\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"db56f019001ae98bc251798f1d8ab1e5511e8bb4"}}]}] BACKPORT--> Co-authored-by: Sean Story <[email protected]>
- Loading branch information