summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-05-27 00:35:45 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-05-27 00:35:45 +0200
commit087f74073fdc81ec5707f2989c99b34770e864eb (patch)
tree0e4fdf746faebed166875e6aed75f6d6120b5098 /contrib
parenta9277f75d0f1ebc39e7e55c2ae820e88d4bc43ca (diff)
downloadbugzilla-087f74073fdc81ec5707f2989c99b34770e864eb.tar.gz
bugzilla-087f74073fdc81ec5707f2989c99b34770e864eb.tar.xz
Bug 1165355: sanitizeme.pl script should remove webservice api keys from database to remove sensitive information
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/sanitizeme.pl1
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");