Compliancemanzill.com
CIS Google Cloud Platform Foundation Benchmark v1.2.0

CIS Google Cloud Platform Foundation Benchmark v1.2.0/Virtual Machines/47 of 83

4.10Ensure that App Engine applications enforce HTTPS connections

Control family: Virtual Machines

Control description

In order to maintain the highest level of security all connections to an application should be secure by default.

How to implement

ResponsibilityCustomerYou configure and operate this in your own cloud accounts.

An App Engine app that answers plain HTTP lets anyone on the network path read or change what users send and receive. Every handler in the app is set to require HTTPS, so HTTP requests are redirected before any data is exchanged.

Before you start

The same on every cloud, before the steps in the tabs.

  • List the App Engine services and who owns each one.
  • Make HTTPS-only handlers part of the code review checklist for app.yaml changes.

Evidence

  • The service list and the review checklist

On Google Cloud the setting lives in each service's app.yaml file, so the tasks change it there and deploy, then check the result in the App Engine console and with a test request.

Task 1Require HTTPS for every handler

  1. Sign in to the Google Cloud console at console.cloud.google.com and open App Engine > Services to list the services that need the change.
  2. In each service's app.yaml file, give every entry under handlers the setting secure with the value always.
  3. Deploy the new version through your usual pipeline.
  4. In App Engine > Versions, check that the new version serves 100% of the traffic.
  5. Check it: a request to the app's http address is redirected to https.

Task 2Check every service and version

  1. In App Engine > Versions, list the versions that receive traffic for each service.
  2. For each, request a page over http and confirm the redirect to https.
  3. Stop or delete old versions that don't have the setting and still receive traffic.

Evidence

  • The app.yaml of each service with secure set to always on every handler
  • A test showing http requests redirected to https

Console steps as of 5 November 2026. Not every step has been confirmed in a live console yet, and menus and labels can move between releases, so look for the nearest match if one has changed.