NUWCDIVNPT / stig-manager

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

Refactor: gets to asset metadata no longer require grant >= manage #1280

Closed Matte22 closed 1 month ago

Matte22 commented 1 month ago

This PR extends on PR #1270

The following functions no longer require an access level >= manage in order to retrieve asset metadata. They now will only require an access level of restricted.

Tests under postman collection STIGMan OSS / GETs / Asset GET / {asset Id} / metadata were altered to account for these new access level rules. Some of the test data and assertions were altered also.

sonarcloud[bot] commented 1 month 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