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

[8.x] [APM] Update deprecated access tags to the new security configuration in routes (#204058) #204245

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

… in routes (elastic#204058)

## Summary

Closes elastic#203792

This PR replaces the deprecated `access` tags with the new `security`
configuration.

All instances of `options: {tags: ['access:<privilege>']}` are now
updated to `security: {authz: {requiredPrivileges: [<privilege>]}}`.

These are the access tags currently used in APM that have been migrated:
- `access:apm`
- `access:apm_write`
- `access:apm_settings_write`
- `access:ml:canGetJobs`
- `access:ml:canCreateJob`
- `access:ml:canCloseJob`
- `access:ai_assistant`

(cherry picked from commit a4cf54c)
@kibanamachine kibanamachine enabled auto-merge (squash) December 13, 2024 15:48
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Dec 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 13, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: daf477e
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-204245-daf477ed9391

Metrics [docs]

✅ unchanged

History

cc @iblancof

@kibanamachine kibanamachine merged commit a6e263e into elastic:8.x Dec 13, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants