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

Session Access Controls #1223

Closed
russjones opened this issue Aug 25, 2017 · 0 comments
Closed

Session Access Controls #1223

russjones opened this issue Aug 25, 2017 · 0 comments
Milestone

Comments

@russjones
Copy link
Contributor

Problem

At the moment we use a mix of services.KindSession and services.KindEvent used to control access to active and recorded sessions. We need to differentiate between active and recorded sessions internally as well as only expose services.KindSession to users to control access to recorded sessions.

In addition right now the client we use to access a remote cluster (and fetch sessions) takes the role of the proxy not of the user making the request. We need the client use the role of the logged in user so we can only see recorded sessions if their role has access to them.

Proposed Solution

Split rules into three rules:

  • services.KindSSHSession this controls active sessions. This should be hidden from user roles because this is only used by proxies and nodes.
  • services.KindSession this controls recorded sessions. This should be exposed to users and used to gate access to endpoints from the audit log where we fetch session playback related events.
  • services.KindEvent which is used to access the full audit log and emit events to the audit log.

In addition, update the remote tunnel server to return a net.Conn for the remote auth server so we can build a SSH connection with the appropriate authMethods in the web/proxy server.

@russjones russjones added this to the 2.3 milestone Aug 25, 2017
@russjones russjones mentioned this issue Aug 26, 2017
30 tasks
hatched pushed a commit that referenced this issue Feb 1, 2023
* Add audit log changes for SSM executions

* prettier

* copy changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant