Description
In order to maintain the highest level of security all connections to an application should be secure by default.
Rationaleβ
Insecure HTTP connections maybe subject to eavesdropping which can expose sensitive data.
Impactβ
All connections to appengine will automatically be redirected to the HTTPS endpoint ensuring that all connections are secured by TLS.
Auditβ
Verify that the app.yaml file controlling the application contains a line which enforces secure connections. For example
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
https://cloud.google.com/appengine/docs/standard/python3/config/appref
Default Valueβ
By default both HTTP and HTTP are supported