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

Manage snapshot cluster privilege #67538

Open
albertzaharovits opened this issue Jan 14, 2021 · 1 comment
Open

Manage snapshot cluster privilege #67538

albertzaharovits opened this issue Jan 14, 2021 · 1 comment
Assignees
Labels
>enhancement :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team

Comments

@albertzaharovits
Copy link
Contributor

Drawing inspiration from https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-and-security.html it appears that we're lacking a kind of manage_snapshot cluster privilege.
We currently have the monitor_snapshot and create_snapshot privileges and I think it would be sensible to also add a new manage_snapshot one.

  • monitor_snapshot permits listing the repositories, not only the snapshots inside the repositories, in addition to the obvious snapshot status check.
  • create_snapshot extends monitor_snapshot, to also grant permission to create snapshots to existing repositories
  • manage_snapshots , I think, should extend create_snapshot to permit deleting snapshots and deleting repositories.
    Importantly, I don't think it should grant permissions to create repositories, because that would grant access to transfer data to any accessible location of the user's choice (IMO manage is a fitting privilege for that).
@albertzaharovits albertzaharovits added >enhancement :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC labels Jan 14, 2021
@albertzaharovits albertzaharovits self-assigned this Jan 14, 2021
@elasticmachine elasticmachine added the Team:Security Meta label for security team label Jan 14, 2021
@elasticmachine
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC Team:Security Meta label for security team
Projects
None yet
Development

No branches or pull requests

2 participants