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

Trusted events #21

Open
jaipreet-s opened this issue Aug 1, 2019 · 1 comment
Open

Trusted events #21

jaipreet-s opened this issue Aug 1, 2019 · 1 comment

Comments

@jaipreet-s
Copy link
Collaborator

From the JEP, a conversation came up around being able to identify if events came from trusted components. For example, if a system is interested in capturing an audit trail of server activity, an important required would be to validate that these audit events came from a trusted source.

I'm writing down my thoughts on how the telemetry framework could make this easier

  1. Provide a set of helper libraries to for publishers to sign events, and for consumers to validate the digest
  2. Add fields in the record_event interface to allow event publishers to sign these events.
  3. Provide other types of abstractions like a SigningEventConsumer or SigningEventPublisherto allow easier signing of events

cc @westurner @betatim @Zsailer @yuvipanda

@betatim
Copy link
Member

betatim commented Aug 2, 2019

I think for the audit use-case a set of guidelines/instructions about what properties a trusted source has to have would be important and helpful to users. For example a source that runs in the frontend or takes inputs (that it can't verify) from a thing that runs in the frontend should not be a trusted source. For a server extension it is less clear, for example what if the jupyter server uses a Python installation that allows users to install modules. Is that trusted or not (a user could probably install some code that modifies the server extension)?

-> having a set of guidelines how to assess if something is a trusted source and best practices for setting one up (where to store keys, where to run the code, etc) would be as important as signing events.

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

2 participants