bcgov / common-object-management-service

A microservice for managing access control to S3 Objects
https://bcgov.github.io/common-object-management-service/
Apache License 2.0
6 stars 9 forks source link

Add CSP rules to support redocs rendering #236

Closed jujaga closed 10 months ago

jujaga commented 10 months ago

Description

The addition of Helmet broke the ability to render the OpenAPI page. This commit fixes this by ensuring the required CSP rules are added in. This also applies a critical npm audit security fix.

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

Further comments

codeclimate[bot] commented 10 months ago

Code Climate has analyzed commit f5aabdbb and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 65.8% (0.0% change).

View more on Code Climate.

github-actions[bot] commented 10 months ago

Coverage Report

Totals Coverage
Statements: 59.23% ( 2737 / 4621 )
Methods: 49.21% ( 310 / 630 )
Lines: 65.81% ( 1646 / 2501 )
Branches: 52.42% ( 781 / 1490 )