Uh oh!
There was an error while loading. Please reload this page.
New changes 20260122 - #7
Conversation
|
| String myJDBCPasswd = "myJDBCPasswd"; | ||
| connection = DriverManager.getConnection( | ||
| "mYJDBCUrl", "myJDBCUser", "myJDBCPasswd"); | ||
| "mYJDBCUrl", "myJDBCUser", myJDBCPasswd); |
Check failure
Code scanning / SonarCloud
Credentials should not be hard-coded
| String myJDBCPasswd = "myJDBCPasswd"; | ||
| connection = DriverManager.getConnection( | ||
| "mYJDBCUrl", "myJDBCUser", "myJDBCPasswd"); | ||
| "mYJDBCUrl", "myJDBCUser", myJDBCPasswd); |
Check failure
Code scanning / SonarCloud
Credentials should not be hard-coded
SonarQube reviewer guideSummary: Downgrade Java from 21 to 17, update Sonar configuration, and remove vulnerable/complex code methods. Review Focus: Removal of SQL injection vulnerable Start review at:
|
|
| } | ||
| public List<String> findItem(String itemId) throws Exception { | ||
| String query = "SELECT item_id FROM items WHERE item_id = '" + itemId + "'"; |
Check failure
Code scanning / SonarCloudDev7
Credentials should not be hard-coded High




No description provided.