Pentest - NC1.0 K8S –Security HTTP Headers Not Present – TCP 6443
The server should send an X-Content-Type-Options: nosniff to make sure the browser does not try to detect a different Content-Type than what is actually sent (can lead to XSS). Additionally the server should send an X-Frame-Options: deny to protect against drag'n drop clickjacking attacks in older browsers. Change-Id: I779c519cf75bbee23d3a8348291c0fd053e61e4e
This commit is contained in:
parent
ded5de14fa
commit
c49207819e
@ -111,6 +111,9 @@ network:
|
||||
# .deployment.cluster.class
|
||||
kubernetes.io/ingress.class: null
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||
nginx.ingress.kubernetes.io/configuration-snippet: |
|
||||
more_set_headers "X-Content-Type-Options: nosniff";
|
||||
more_set_headers "X-Frame-Options: deny";
|
||||
external_policy_local: false
|
||||
|
||||
dependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user