Hello !
- What language is this for? Java
- Which rule? java:S6437
- Why do you believe it’s a false-positive/false-negative? False positive
- Are you using
- SonarCloud
okta:
client:
orgUrl: https://staging.okta.com
token: ENC(+tIDGRE1oE1W8DNZtE9efVxCac8LMM3LUD0dlMvSGLqs0jrg7ilf4bhl+ZSWcp+xRHIs7qOlXIhpOoWLFscxaY=)
user:
groupNames: _sb_group
userTypeName: _sb_user
technician:
groupNames: _sb_group
userTypeName: _sb_user
node: sb9
spring:
datasource:
password: ENC(0yNpzOSi8YyeVIytkEGeYxoTlsV+byfEwLi8EJ8z20Kv6X+/TCbD0U2jLjUrJrnn+A==)
url: jdbc:postgresql://postgresql-sb:5432/_sb9?ssl=true&sslmode=require
username: "_user"
The second encrypted password is detected as hard coded.