-
Notifications
You must be signed in to change notification settings - Fork 142
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
Audit sensitive attributes #458
Audit sensitive attributes #458
Conversation
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.
Interesting. I wouldn't necessarily have thought the email to be sensitive, but in some ways I guess this makes sense. @smaeda-ks any thoughts on that?
@Integralist @Hiieu and I were just discussing this and thought we'd raise this for discussion for two reasons: firstly the API docs call this field Ps I planning to add more context before we marked it "ready for review" but you beat me to it 😉 |
Thanks @bengesoff 🙂 So I think the naming should be aligned with the API, so I would probably follow the API documentation in this case (which has a completely different description 🤦🏻 I always prefer to copy the description rather than write up our own custom description)...
Nothing about that suggests the user email is 'sensitive'? It's also returned in the API when doing a GET or UPDATE for example (which could well be a mistake on our part if this is supposed to be sensitive). Reading about GCS 'service accounts' didn't suggest to me that the user email is sensitive either: https://cloud.google.com/iam/docs/service-accounts |
Yes As for the |
Thanks @Integralist and @smaeda-ks , I'll change the have the same fields set as sensitive, so I wonder if we should desensitise these blocks as well? 🤔 |
Yes, client CA and cert are generally not considered as sensitive, but client "key". So I'm +1 with desensitise those tls attributes as well. Thanks for flagging that! |
All comments have been addressed:
The PR is ready for review. |
Due to the change of |
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. But because the email
change to user
is a breaking change, maybe we move that change to a separate PR otherwise these 'sensitive' audit changes won't be mergeable until we're ready to release a 1.0.0 release.
Thoughts?
@Integralist, sounds good, I can move the email change to a separate PR. |
The PR for the email change: #461 |
Thanks @Hiieu let me know if this PR is ready to merge. |
@Integralist, it's ready to be merged 👍 |
Hi there 👋 ,
in this PR we've updated sensitive attributes.