We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6790bdb commit 8a0f6adCopy full SHA for 8a0f6ad
sonar-text-plugin/src/main/resources/org/sonar/plugins/secrets/configuration/odbc.yaml
@@ -41,6 +41,7 @@ provider:
41
- "^%[sv]$"
42
- "^\\${1,2}\\w+$"
43
- "^\\${1,2}[{(]"
44
+ - "^\\{{2,}"
45
examples:
46
- text: |
47
spring.datasource.url= jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
@@ -79,6 +80,10 @@ provider:
79
80
app.datasource.cardholder.driverClassName=com.mysql.cj.jdbc.Driver
81
containsSecret: true
82
match: P@ssw0rd
83
+ - text: |
84
+ spring.datasource.username={{`{{ secret "user" }}`}}
85
+ spring.datasource.password={{`{{ secret "p@ssword" }}`}}
86
+ containsSecret: false
87
88
- id: java-datasource-quoted
89
rspecKey: S6703
0 commit comments