Description

Ensure each production environment in a Render project is marked as Protected. In a protected environment, only Admins can delete or create resources, move resources in or out, view or change environment variables and secret files, view database credentials, change database access IPs, and open service shells.

Rationale

Without protection, any Developer can delete production databases, read production secrets, or open a shell on a production service, either by mistake or with a compromised account. Protecting the environment limits these destructive and sensitive actions to a small group of Admins.

Impact

  • Only Admins can delete production resources or view secrets

  • Reduces accidental or malicious changes to production

  • Developers may need an Admin for some production tasks

Default Value

By default, environments are not protected.

Pre-Requisites

  • Workspace Admin role

  • Production resources organized into a project environment

Remediation

Test Plan

  1. Sign in to the Render Dashboard at https://dashboard.render.com.

  2. From your workspace home, open the project and scroll to the production environment.

  3. Check whether the environment shows the Protected label and lock icon.

  4. If it is not protected, follow the implementation steps.

Implementation Steps

  1. Sign in to the Render Dashboard at https://dashboard.render.com.

  2. From your workspace home, open the project and scroll to the production environment.

  3. Click the ••• menu at the top right of the environment, then click All settings.

  4. Scroll down to the Permissions section and click Edit.

  5. Select Protected and click Save.

  6. Confirm that the environment now shows the Protected label and lock icon.

Backout Plan

  1. Sign in to the Render Dashboard at https://dashboard.render.com.

  2. From your workspace home, open the project and scroll to the production environment.

  3. Click the ••• menu at the top right of the environment, then click All settings.

  4. In the Permissions section, click Edit, select the unprotected option, and click Save.

Reference