Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CORE-34] Add CSP Header to Swagger Page #103

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

kevinmarete
Copy link
Contributor

https://broadworkbench.atlassian.net/browse/CORE-34

Description:

This PR adds a Content Security Policy (CSP) header to the Terra Policy Service (TPS) Swagger page to enhance security by reducing the risk of cross-site scripting (XSS) and data injection attacks.

Testing:

  • Verified the Swagger page displays correctly with the CSP header.
  • Checked for any security warnings or content issues.

@kevinmarete kevinmarete requested review from a team, dvoet and samanehsan and removed request for a team October 16, 2024 19:56
@kevinmarete kevinmarete self-assigned this Oct 16, 2024
Copy link

sonarcloud bot commented Oct 16, 2024

@kevinmarete kevinmarete marked this pull request as ready for review October 16, 2024 20:06
@kevinmarete kevinmarete requested review from calypsomatic and removed request for samanehsan October 16, 2024 20:07
@kevinmarete kevinmarete merged commit ba2857d into main Oct 17, 2024
8 checks passed
@kevinmarete kevinmarete deleted the km_CORE-34_add_csp_header branch October 17, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants