File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import absolute_import
2
2
from __future__ import unicode_literals
3
3
4
+ import os
4
5
import subprocess
5
6
import sys
6
7
import textwrap
@@ -205,9 +206,15 @@ def _print_secrets_found(secrets):
205
206
206
207
207
208
def _print_mitigation_suggestions ():
209
+ security_team = os .environ .get (
210
+ 'DETECT_SECRETS_SECURITY_TEAM' ,
211
+ 'in #security' ,
212
+ )
208
213
suggestions = [
209
- 'For information about putting your secrets in a safer place, please ask in #security' ,
210
- 'Mark false positives with an inline `pragma: allowlist secret` comment' ,
214
+ 'For information about putting your secrets in a safer place, ' +
215
+ 'please ask ' + security_team ,
216
+ 'Mark false positives with an inline ' +
217
+ '`pragma: allowlist secret` comment' ,
211
218
'Commit with `--no-verify` if this is a one-time false positive' ,
212
219
]
213
220
You can’t perform that action at this time.
0 commit comments