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

Expose the encrypted saved objects key rotation API as internal in serverless #189238

Merged

Conversation

jeramysoucy
Copy link
Contributor

Summary

In order to begin work for encryption key rotation in serverless, we will need to expose the endpoint use to bulk re-encrypt saved objects. This endpoint was previously unregistered in serverless. This PR registers the API and marks it as internal when a serverless build flavor is detected.

Tests

  • x-pack/test_serverless/api_integration/test_suites/common/platform_security/encrypted_saved_objects.ts

@jeramysoucy jeramysoucy self-assigned this Jul 25, 2024
@jeramysoucy jeramysoucy added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.16.0 Project:Serverless Work as part of the Serverless project for its initial release Feature:Security/Encrypted Saved Objects release_note:skip Skip the PR/issue when compiling release notes backport:skip This commit does not require backporting labels Jul 25, 2024
@jeramysoucy
Copy link
Contributor Author

/ci

@jeramysoucy
Copy link
Contributor Author

/ci

@jeramysoucy jeramysoucy marked this pull request as ready for review July 25, 2024 22:15
@jeramysoucy jeramysoucy requested a review from a team as a code owner July 25, 2024 22:15
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@jeramysoucy jeramysoucy changed the title Expose the encrypted saved object key rotation API as an internal in serverless Expose the encrypted saved object key rotation API as internal in serverless Jul 25, 2024
@jeramysoucy jeramysoucy changed the title Expose the encrypted saved object key rotation API as internal in serverless Expose the encrypted saved objects key rotation API as internal in serverless Jul 25, 2024
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

cc @jeramysoucy

@jeramysoucy jeramysoucy merged commit b51c503 into elastic:main Jul 26, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Security/Encrypted Saved Objects Project:Serverless Work as part of the Serverless project for its initial release release_note:skip Skip the PR/issue when compiling release notes Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants