π‘οΈ Google App Engine Application HTTPS Connection is not enforcedπ’βͺ
- Contextual name: π‘οΈ Application HTTPS Connection is not enforcedπ’βͺ
- ID:
/ce/ca/google/app-engine/app-engine-application-https-connection - Tags:
- βͺ Impossible policy
- π’ Policy with categories
- π’ Policy with type
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Similar Policiesβ
- Cloud Conformity: Enforce HTTPS Connections for App Engine Applications
Descriptionβ
Descriptionβ
To maintain the highest level of security, all connections to an application should be secure by default.
Rationaleβ
Insecure HTTP connections may be subject to eavesdropping, which can expose sensitive data.
Impactβ
All connections to App Engine 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 that enforces secure connections. For example:
handlers:
- url: /.*
secure: always
redirect_http_response_code: 301
script: autohttps://cloud.google.com/appengine/docs/standard/python3/config/appref
Default Valueβ
By default, both HTTP and HTTPS are supported.
Referencesβ
Remediationβ
Remediationβ
Add a line to the app.yaml file controlling the application that enforces secure connections. For example:
handlers:
- url: /.*
**secure: always**
redirect_http_response_code: 301
script: autohttps://cloud.google.com/appengine/docs/standard/python3/config/appref
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ CIS GCP v1.2.0 β πΌ 4.10 Ensure that App Engine applications enforce HTTPS connections - Level 2 (Manual _ Not supported, requires a manual assessment) | 1 | no data | |||
| πΌ CIS GCP v1.3.0 β πΌ 4.10 Ensure That App Engine Applications Enforce HTTPS Connections - Level 2 (Manual) | 1 | no data | |||
| πΌ CIS GCP v2.0.0 β πΌ 4.10 Ensure That App Engine Applications Enforce HTTPS Connections - Level 2 (Manual) | 1 | no data | |||
| πΌ CIS GCP v3.0.0 β πΌ 4.10 Ensure That App Engine Applications Enforce HTTPS Connections - Level 2 (Manual) | 1 | no data | |||
| πΌ Cloudaware Framework β πΌ Data Encryption | 70 | no data |