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

add django-csp based on doj-crt policies #1388

Merged
merged 3 commits into from
Dec 13, 2021
Merged

add django-csp based on doj-crt policies #1388

merged 3 commits into from
Dec 13, 2021

Conversation

lauraGgit
Copy link

@lauraGgit lauraGgit commented Dec 8, 2021

Description

Add a CSP policy for our site. Not entirely sure how to validate this.

Additional information

using mozilla's django-csp to set a production middleware that sets the apps CSP, heaviliy leveraging the csp used on doj-crt

@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2021

Codecov Report

Merging #1388 (c23d8d7) into main (f344996) will not change coverage.
The diff coverage is n/a.

❗ Current head c23d8d7 differs from pull request most recent head eb7d5dd. Consider uploading reports for the commit eb7d5dd to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1388   +/-   ##
=======================================
  Coverage   90.08%   90.08%           
=======================================
  Files          51       51           
  Lines        2280     2280           
=======================================
  Hits         2054     2054           
  Misses        226      226           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f344996...eb7d5dd. Read the comment docs.

@lauraGgit lauraGgit marked this pull request as ready for review December 10, 2021 16:06
@lauraGgit lauraGgit requested a review from Jkrzy December 10, 2021 16:07
Copy link
Member

@neilmb neilmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it, thanks to packages that do just what is needed and @lauraGgit knowing how to use them.

@lauraGgit lauraGgit merged commit 668b5bb into main Dec 13, 2021
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