We have Hardcoded The username & Pawword in the Login.Vue Component But SonarCloud found any Security HotSpots
Can we know the reason ?
Our code is something like below
We were using User name and Password Inputs inside login form in which we have the Username and Password values hardcoded and also we have one more login form with Username and Password Input tags inside Comments in the same component…
My Query is why the Hardcoded Username and Password values for the Username and password inputs are not caught as Vulnerability/ Security Hotspots.
Also, What do you mean by the “ID of the Rule”.? Please help us understand if something related to SonarCloud settings/Configuration
The question is not about any specific rules or something… When there is Sensitive data like usernames and Passwords hardcoded in the inputs directly in the component they are not watched as vulnerable in the git repo.