diff options
author | David Lawrence <dkl@mozilla.com> | 2015-05-27 00:35:45 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-05-27 00:35:45 +0200 |
commit | 087f74073fdc81ec5707f2989c99b34770e864eb (patch) | |
tree | 0e4fdf746faebed166875e6aed75f6d6120b5098 | |
parent | a9277f75d0f1ebc39e7e55c2ae820e88d4bc43ca (diff) | |
download | bugzilla-087f74073fdc81ec5707f2989c99b34770e864eb.tar.gz bugzilla-087f74073fdc81ec5707f2989c99b34770e864eb.tar.xz |
Bug 1165355: sanitizeme.pl script should remove webservice api keys from database to remove sensitive information
-rwxr-xr-x | contrib/sanitizeme.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/sanitizeme.pl b/contrib/sanitizeme.pl index be1fc9706..af0c167bf 100755 --- a/contrib/sanitizeme.pl +++ b/contrib/sanitizeme.pl @@ -192,6 +192,7 @@ sub delete_sensitive_user_data { # Remove sensitive user account data. print "Deleting sensitive user account data...\n"; $dbh->do("UPDATE profiles SET cryptpassword = 'deleted'") unless $keep_passwords; + $dbh->do("DELETE FROM user_api_keys"); $dbh->do("DELETE FROM profiles_activity"); $dbh->do("DELETE FROM profile_search"); $dbh->do("DELETE FROM namedqueries"); |