Hello,
in my project (mainly Java/Spring) I get a secrets:S6703 (“Make sure this database password gets changed and removed from the code”) and java:S6437 (" Revoke and change this password, as it is compromised") on a properties file like this: spring.datasource.password={{spring_datasource_password}}
For me it should not be seen as an issue since it is not a password but the way Ansible uses “{{ var }}” for variables.
The value (password) will be set at deployment time.
Is there a way to not have this which look like a false positive to me?
I can confirm that we have an open ticket in our (private) backlog to tackle this false-positive. I will add your report to the list of feedback we’ve gotten, which helps us to prioritize.
For now, you can mark the issue as a false-positive.
Only the latest version of SonarQube Community Build is considered active, so you’ll need to upgrade and see if the situation is still replicable before we can help you.