> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/gcp-vm-instances-without-any-custom-metadata-information.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# GCP VM Instances without any Custom metadata information

### Synopsis

| Field               | Value                                                    |
| ------------------- | -------------------------------------------------------- |
| Rule Type           | Detection                                                |
| Finding Type        | GCP VM Instances without any Custom metadata information |
| Finding ID          | 60000069                                                 |
| Generates a Finding | This detection rule also generates a finding             |
| Severity            | Informational                                            |
| Category            | CONFIGURATION                                            |
| Cloud Providers     | GCP                                                      |
| Platform Module     | CSPM                                                     |
| Asset Types         | GOOGLE\_COMPUTE\_ENGINE\_VM\_INSTANCE                    |
| ATT\&CK Tactic      | TA0112 (TA0112)                                          |
| ATT\&CK Technique   | T1685 (T1685)                                            |

### Description

GCP VM instances lacking custom metadata pose a significant security risk. These instances become difficult to identify and manage, hindering security monitoring and incident response.

The absence of custom metadata impacts operational efficiency and security posture. Without identifying metadata, tracking instances across projects, environments, or deployments is challenging. This misconfiguration increases the difficulty of identifying compromised instances or those exhibiting suspicious behavior. Attackers can exploit this lack of visibility to maintain persistence or perform lateral movement undetected.

This lack of metadata increases the time required for incident response and remediation. It also makes it difficult to implement effective access controls and resource management. The inability to quickly identify and categorize instances hampers security analysis, potentially leading to prolonged breaches and increased damage.

To mitigate this risk, ensure all GCP VM instances have custom metadata tags. Regularly review and update metadata to maintain accuracy and relevance.

### Remediation

**Manual steps:**

Google Compute Engine VM Instance - Manual remediation steps:

1. Login to GCP Console and from Compute, select Compute Engine.
2. Select the identified VM instance to see the details.
3. In the details page, click on Edit and navigate to Custom metadata section.
4. Add the appropriate Key:Value information and save.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/gcp-vm-instances-without-any-custom-metadata-information.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
