NUWCDIVNPT / stig-manager

An API and client for managing STIG assessments
Other
112 stars 29 forks source link

Refactor: Removes manually creating sql query, uses makeQueryString() function. #1258

Closed Matte22 closed 5 months ago

Matte22 commented 5 months ago

This PR removes all instances in the API where the SQL query is manually constructed. Instead the dbUtils.makeQueryString function will now be used to construct the query. Many functions were refactored so that this function could be used. This gives a more normalized approach throughout the API.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed for 'nuwcdivnpt_stig-manager-api'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud