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

change file namespace type to multiple-isolated #147198

Merged
merged 4 commits into from
Dec 13, 2022
Merged

Conversation

vadimkibana
Copy link
Contributor

Summary

Changes file saved object namespace to multiple-isolated.

@vadimkibana vadimkibana requested a review from a team as a code owner December 7, 2022 15:57
@vadimkibana vadimkibana added backport release_note:fix auto-backport Deprecated - use backport:version if exact versions are needed v8.6.0 v8.7.0 v8.6.1 labels Dec 7, 2022
@@ -51,7 +51,7 @@ const properties: Properties = {
export const fileObjectType: SavedObjectsType<FileMetadata> = {
name: FILE_SO_TYPE,
hidden: true,
namespaceType: 'agnostic',
namespaceType: 'multiple-isolated',
Copy link
Contributor

Choose a reason for hiding this comment

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

Reading the docs:

In other words, objects with a "multiple-isolated" namespace type will be share-capable

I guess that means that are not shareable right now? CC @rudolf

Copy link
Contributor

Choose a reason for hiding this comment

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

Correct. The security team has docs on what needs to be done to make a multiple-isolated saved object shareable.

@vadimkibana
Copy link
Contributor Author

@elasticmachine merge upstream

@vadimkibana vadimkibana requested a review from a team as a code owner December 12, 2022 13:17
@vadimkibana
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
osquery 1 2 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
fleet 60 66 +6
osquery 109 115 +6
securitySolution 445 451 +6
total +20

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
fleet 69 75 +6
osquery 110 117 +7
securitySolution 521 527 +6
total +21

History

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

@vadimkibana vadimkibana requested a review from Dosant December 13, 2022 13:00
@vadimkibana vadimkibana merged commit 0aa6e1c into main Dec 13, 2022
@vadimkibana vadimkibana deleted the file-so-ns-type branch December 13, 2022 13:24
kibanamachine pushed a commit that referenced this pull request Dec 13, 2022
## Summary

Changes file saved object namespace to `multiple-isolated`.

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 0aa6e1c)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.6

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

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

kibanamachine added a commit that referenced this pull request Dec 13, 2022
)

# Backport

This will backport the following commits from `main` to `8.6`:
- [change file namespace type to multiple-isolated
(#147198)](#147198)

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

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

<!--BACKPORT [{"author":{"name":"Vadim
Kibana","email":"[email protected]"},"sourceCommit":{"committedDate":"2022-12-13T13:24:40Z","message":"change
file namespace type to multiple-isolated (#147198)\n\n##
Summary\r\n\r\nChanges file saved object namespace to
`multiple-isolated`.\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0aa6e1c398ee5945bb9f9dd250dc6f19fad9f561","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","auto-backport","v8.6.0","v8.7.0","v8.6.1"],"number":147198,"url":"https://github.com/elastic/kibana/pull/147198","mergeCommit":{"message":"change
file namespace type to multiple-isolated (#147198)\n\n##
Summary\r\n\r\nChanges file saved object namespace to
`multiple-isolated`.\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0aa6e1c398ee5945bb9f9dd250dc6f19fad9f561"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147198","number":147198,"mergeCommit":{"message":"change
file namespace type to multiple-isolated (#147198)\n\n##
Summary\r\n\r\nChanges file saved object namespace to
`multiple-isolated`.\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0aa6e1c398ee5945bb9f9dd250dc6f19fad9f561"}}]}]
BACKPORT-->

Co-authored-by: Vadim Kibana <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed backport release_note:fix v8.6.0 v8.6.1 v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants