File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
sonar-text-plugin/src/main/resources/org/sonar/plugins/secrets/configuration Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ provider:
24
24
message : Make sure this Azure Storage Account Key gets revoked, changed, and removed from the code.
25
25
detection :
26
26
post :
27
- patternNot : " EXAMPLE"
27
+ patternNot : " ( EXAMPLE|Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==|C2y6yDjf5/R \\ +ob0N8A7Cgv30VRDJIWEHLM \\ +4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==) "
28
28
29
29
rules :
30
30
- rspecKey : S6338
@@ -74,6 +74,11 @@ provider:
74
74
const connStr = "DefaultEndpointsProtocol=https;AccountName=testaccountname;AccountKey=4dVw+l0W8My+FwuZ08dWXn+gHxcmBtS7esLAQSrm6/Om3jeyUKKGMkfAh38kWZlItThQYsg31v23A0w/uVP4pg==;EndpointSuffix=core.windows.net";
75
75
containsSecret: true
76
76
match: 4dVw+l0W8My+FwuZ08dWXn+gHxcmBtS7esLAQSrm6/Om3jeyUKKGMkfAh38kWZlItThQYsg31v23A0w/uVP4pg==
77
+ - text : |
78
+ const connStr = "DefaultEndpointsProtocol=https;AccountName=testaccountname;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==";
79
+ const connStr = "DefaultEndpointsProtocol=https;AccountName=testaccountname;AccountKey=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==";
80
+ # These are well-known keys used in emulators only
81
+ containsSecret: false
77
82
detection :
78
83
matching :
79
84
pattern : " AccountKey=([a-zA-Z0-9/\\ +]{86}==)"
You can’t perform that action at this time.
0 commit comments