Open rubenandre opened 3 years ago
@rubenandre any idea what the 1 suppressed issue was? Could you investigate by running credscan directly?
I run credscan directly (gitleaks) and the output does not show any issue.
@rubenandre this is going to require some testing. I think scan is looking for a minimum of 10 characters, where as your password is only 9 characters.
https://github.com/ShiftLeftSecurity/sast-scan/blob/master/tools_config/credscan-config.toml#L177
Could you override the config and let me know how it looks? I'm happy to accept a PR.
The credscan component does not detect hardcoded credentials in a php associative array (also, potentially in multidimensional associative array).
Example Code:
Command output
scan-full-report.json output