diff options
Diffstat (limited to 'app/assets/javascripts/lib/utils/secret_detection.js')
-rw-r--r-- | app/assets/javascripts/lib/utils/secret_detection.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/utils/secret_detection.js b/app/assets/javascripts/lib/utils/secret_detection.js index 8e673855631..49de7b3a081 100644 --- a/app/assets/javascripts/lib/utils/secret_detection.js +++ b/app/assets/javascripts/lib/utils/secret_detection.js @@ -24,6 +24,10 @@ export const containsSensitiveToken = (message) => { name: 'Feed Token', regex: 'feed_token=((glft-)?[0-9a-zA-Z_-]{20}|glft-[a-h0-9]+-[0-9]+_)', }, + { + name: 'GitLab OAuth Application Secret', + regex: `gloas-[0-9a-zA-Z_-]{64}`, + }, ]; for (const rule of sensitiveDataPatterns) { |