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

personal information in logfiles on trust gateways #11

Open
alexstuart opened this issue Oct 29, 2014 · 1 comment
Open

personal information in logfiles on trust gateways #11

alexstuart opened this issue Oct 29, 2014 · 1 comment
Labels

Comments

@alexstuart
Copy link

Logs contain personal information from google, FB, twitter so ensure that we know what's being stored, for how long, and include that in the data retention policy.

Note: it's not good enough just to dial down the logging and say "no personal data stored" because we may need to turn the logging up to debug problems.

@alexstuart alexstuart changed the title logfile rotation on trust gateways personal information in logfiles on trust gateways Feb 19, 2015
@alexstuart
Copy link
Author

Have added following code to lib/Auth/Source/Facebook.php on FB gateway. This logs the email address of the user session; need to have logging of UUID so that privacy is preserved, yet we can keep logging of distinct users.

                if (array_key_exists('facebook.email', $attributes)) {
                        /* is_string and !empty checked when populating $attributes */
                        SimpleSAML_Logger::debug('Facebook session with email address: ' . implode(", ", $attributes['facebook.email']));
                } else {
                        SimpleSAML_Logger::debug('Facebook session with no email address');
                }

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

No branches or pull requests

1 participant