Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Search] Add new RCF use_document_level_security in Salesforce native configs #183600

Merged

Conversation

moxarth-elastic
Copy link
Contributor

@moxarth-elastic moxarth-elastic commented May 16, 2024

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.

For maintainers

@moxarth-elastic moxarth-elastic requested a review from a team as a code owner May 16, 2024 08:50
sensitive: false,
tooltip: getEnableDocumentLevelSecurityTooltip(
i18n.translate('searchConnectors.content.nativeConnectors.salesforce.useDocumentLevelSecurity.tooltip', {
defaultMessage: 'Salesforce',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use the const USE_TEXT_EXTRACTION_SERVICE_TOOLTIP instead of creating a new translation string here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I'm just blind, I see it's a func. Nevermind.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That being said, the translation key should be different:

searchConnectors.nativeConnectors.salesforce.name

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/search-connectors 3661 3675 +14

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.7MB 2.7MB +305.0B
serverlessSearch 471.4KB 471.5KB +125.0B
total +430.0B
Unknown metric groups

API count

id before after diff
@kbn/search-connectors 3661 3675 +14

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@navarone-feekery navarone-feekery merged commit fb8ba21 into elastic:main May 16, 2024
17 checks passed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 16, 2024
…ve configs (elastic#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)

(cherry picked from commit fb8ba21)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request May 16, 2024
…ve configs (elastic#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)

(cherry picked from commit fb8ba21)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.13
8.14

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 16, 2024
…n Salesforce native configs (#183600) (#183634)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[Search] Add new RCF `use_document_level_security` in
Salesforce native configs
(#183600)](#183600)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"moxarth-elastic","email":"96762084+moxarth-elastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-05-16T12:00:53Z","message":"[Search]
Add new RCF `use_document_level_security` in Salesforce native configs
(#183600)\n\n## Summary\r\n\r\nRelated to
elastic/connectors#2566. With
the\r\nintroduction of new RCF `use_document_level_security` in the
Salesforce\r\nconnector, the same needs to be reflected in native
Confluence\r\nconnector.\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\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)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"fb8ba21e28fe0152eeb21f2a0d6622ed36787ebf","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.14.0","v8.15.0"],"title":"[Search]
Add new RCF `use_document_level_security` in Salesforce native
configs","number":183600,"url":"#183600
Add new RCF `use_document_level_security` in Salesforce native configs
(#183600)\n\n## Summary\r\n\r\nRelated to
elastic/connectors#2566. With
the\r\nintroduction of new RCF `use_document_level_security` in the
Salesforce\r\nconnector, the same needs to be reflected in native
Confluence\r\nconnector.\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\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)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"fb8ba21e28fe0152eeb21f2a0d6622ed36787ebf"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.14"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/183600","number":183600,"mergeCommit":{"message":"[Search]
Add new RCF `use_document_level_security` in Salesforce native configs
(#183600)\n\n## Summary\r\n\r\nRelated to
elastic/connectors#2566. With
the\r\nintroduction of new RCF `use_document_level_security` in the
Salesforce\r\nconnector, the same needs to be reflected in native
Confluence\r\nconnector.\r\n\r\n### Checklist\r\n\r\nDelete any items
that are not applicable to this PR.\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)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"fb8ba21e28fe0152eeb21f2a0d6622ed36787ebf"}}]}]
BACKPORT-->

Co-authored-by: moxarth-elastic <96762084+moxarth-elastic@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label May 20, 2024
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

2 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

3 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport missing Added to PRs automatically when the are determined to be missing a backport. release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.13.0 v8.14.0 v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants