-
Notifications
You must be signed in to change notification settings - Fork 391
fix(telemetry): remove sensitive data exposure #1557
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
Conversation
MarcosNicolau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
uri-99
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm missing the information of version and rpc, but may be a local issue
|
Ran locally and saw the described information. |
This may happen if the operator is started before the telemetry service is on, since said information is provided at operator startup on |
JulianVentura
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good and it worked as expected locally
Co-authored-by: Julian Arce <[email protected]>
Telemetry: remove sensitive data exposure
Description
Changes the
/versionsendpoint to only expose the following fields of the operator:How to Test
Go to
localhost:4001/versionsand check that the displayed data is the expected.Also check the endpoint for that specific operator in
localhost:4001/versions/{operator_address}.Finally, check that
localhost:4001/api/operatorsandlocalhost:4001/api/operators/{operator_address}keeps displaying all operator data, not just the public.Note
The version may appear with a
nullvalue. This is because theversionvariable in the operator is set in compile time and we are not running the operator compiled binary.Type of change
Checklist
testnet, everything else tostaging