Skip to content

Fix deployment security checks

Tim Orling yocto-patches 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Enable SecurityMiddleware and XFrameOptionsMiddleware.Post/test.py project/settings.py project/settings.py.docker+12 -80 replies
2/2Read security settings from the environment and expect a proxy.Post/test.py README docker/run-tests.sh +2 more+49 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [error-report-web][PATCH 0/2] Fix deployment security checks

The SecurityMiddleware was commented out/optional. We really should be enabling it all the time.

Security settings should come from the environment and we should always be using a proxy like nginx in production.

Tim Orling (2):
Enable SecurityMiddleware and XFrameOptionsMiddleware. Read security settings from the environment and expect a proxy.

 Post/test.py               | 11 +++++++++++
 README                     |  5 ++++-
 docker/run-tests.sh        |  7 ++++---
 project/settings.py        | 27 +++++++++++++++++++++------
 project/settings.py.docker | 27 +++++++++++++++++++++------
 5 files changed, 61 insertions(+), 16 deletions(-)

base-commit: 752b7188d04c2fd0e2f32f0cd2dd437c43058d82
prerequisite-patch-id: 9c9d012e1163dd1d335531d0451657823f17eb64
prerequisite-patch-id: ddb4df3e54736ed25846f91d4918299e601f4071
prerequisite-patch-id: ab69f4aa494291611cbe0e916f18b07f4aeebe57
prerequisite-patch-id: ac2b802ea065536df3854c48e265f5508d201cff
prerequisite-patch-id: 81a7de0e9568848efc8c66d397abb5f56218db95
prerequisite-patch-id: cf32dcaef20903890a020211a35f46b2384207da
prerequisite-patch-id: 6920bc5c70071bbd42b55b08bfc2bff04133c3ab
prerequisite-patch-id: a72bee4356db80ccb45321967d18081961f60860
prerequisite-patch-id: a2285b682329ba20d838085588b7c6681a86d273
prerequisite-patch-id: c3980e46d49b00b419cf4a7c2bc32c346478a453
prerequisite-patch-id: 627f58daa68852066f56558f08b07ad4af7bef9f

Signature · 1 line
2.56.0