More Info:

Ensure that “Disable Guest Attributes of Compute Engine Metadata” organization policy is enforced in order to disable Compute Engine API access to the guest attributes configured for the virtual machines instances that belong to your project, folder, or organization.

Risk Level

Medium

Address

Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of disabling the Guest Attributes of Compute Engine Metadata in GCP using the GCP console, follow these steps:

  1. Open the GCP Console and select the project where the misconfiguration exists.
  2. Navigate to the Compute Engine section from the left-hand menu.
  3. Click on the instance where the Guest Attributes of Compute Engine Metadata needs to be enabled.
  4. Click on the “Edit” button at the top of the page.
  5. Scroll down to the “Cloud Metadata” section and click on “Add item”.
  6. In the “Key” field, enter “enable-guest-attributes”.
  7. In the “Value” field, enter “TRUE”.
  8. Click on the “Save” button at the bottom of the page to save the changes.

After completing these steps, the Guest Attributes of Compute Engine Metadata will be enabled for the instance, and the misconfiguration will be remediated.