Co-authored-by: jokego <100397366+jokego@users.noreply.github.com> Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com> Co-authored-by: SiaraMist <siaramist@github.com>
975 B
975 B
Beyond tracking user identity via the id field, you should retain data for the organization or enterprise each user is operating under. This will help ensure you don't leak sensitive information if a user switches roles.
For example:
- A user is in the
Monaorganization, which requires SAML SSO, and signs into your app after performing SSO. Your app now has access to whatever the user does withinMona. - The user pulls a bunch of code out of a repository in
Monaand saves it in your app for analysis. - Later, the user switches jobs, and is removed from the
Monaorganization.
When the user accesses your app, can they still see the code and analysis from the Mona organization in their user account?
This is why it's critical to track the source of the data that your app is saving. Otherwise, your app is a data protection threat for organizations, and they're likely to ban your app if they can't trust that your app correctly protects their data.