NUWCDIVNPT / stig-manager

An API and client for managing STIG assessments
Other
120 stars 28 forks source link

fix: elevate handling for stig import #1343

Closed csmig closed 3 months ago

csmig commented 3 months ago

Resolves #1342 by adding elevate=true to the web app code for importing new benchmarks.

This PR also refactors the STIG import handler code in the API so it does not continue execution after detecting an unelevated request.

sonarcloud[bot] commented 3 months ago

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

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

sonarcloud[bot] commented 3 months ago

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

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud