summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-09-10 13:05:22 +0100
committerNick Thomas <nick@gitlab.com>2018-10-01 15:33:36 +0100
commitfb48eaba4600c1e0e36afae6ec7638d52265a62c (patch)
treecc4d0c6799d7dd4a45aa55b8f0a59ccd3ef37753 /lib
parent1b7fd53ae37bb7836e7fd3be80077717d1b3cd4d (diff)
downloadgitlab-ce-fb48eaba4600c1e0e36afae6ec7638d52265a62c.tar.gz
Encrypt webhook tokens and URLs in the database
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/import_export/import_export.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gitlab/import_export/import_export.yml b/lib/gitlab/import_export/import_export.yml
index a19b3c88627..2bed470514b 100644
--- a/lib/gitlab/import_export/import_export.yml
+++ b/lib/gitlab/import_export/import_export.yml
@@ -147,6 +147,12 @@ excluded_attributes:
- :reference
- :reference_html
- :epic_id
+ hooks:
+ - :token
+ - :encrypted_token
+ - :encrypted_token_iv
+ - :encrypted_url
+ - :encrypted_url_iv
methods:
labels: