> 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/aws-eventbridge-event-bus-with-no-resource-based-policy-attached.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS EventBridge event bus with no resource-based policy attached

### Synopsis

| Field               | Value                                                            |
| ------------------- | ---------------------------------------------------------------- |
| Rule Type           | Detection                                                        |
| Finding Type        | AWS EventBridge event bus with no resource-based policy attached |
| Finding ID          | 60000916                                                         |
| Generates a Finding | This detection rule also generates a finding                     |
| Severity            | Informational                                                    |
| Category            | CONFIGURATION                                                    |
| Cloud Providers     | AWS                                                              |
| Platform Module     | CSPM                                                             |
| Asset Types         | AMAZON\_EVENTBRIDGE\_EVENTBUS                                    |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                  |
| ATT\&CK Technique   | T1685 (T1685)                                                    |

### Description

AWS EventBridge custom event buses lacking resource-based policies present a significant security risk. An unconstrained event bus allows any principal within the account to publish and subscribe to events, potentially leading to unauthorized data access or modification.

EventBridge, a serverless event bus service, facilitates communication between applications and services. A resource-based policy controls access to the event bus; its absence allows unrestricted access by any entity within the account. This misconfiguration exposes the event bus to unauthorized actions, enabling attackers to publish malicious events or subscribe to sensitive event streams.

The impact of this misconfiguration could be widespread, ranging from data breaches to service disruptions. Attackers might inject malicious events, causing unintended actions or data corruption. Implementing a restrictive resource-based policy is crucial for limiting access to authorized entities only, enhancing security posture and preventing unauthorized event manipulation.

Mitigate this risk by attaching a resource-based policy to each EventBridge custom event bus. Define explicit 'AWS:SourceArn' and 'AWS:Resources' permissions, granting access only to the intended services and IAM roles. Regularly review and update these policies to maintain a least privilege access model, and monitor for unauthorized access attempts.

### Remediation

**Manual steps:**

Amazon EventBridge Eventbus - Manual remediation steps:

To attach a resource based policy to the event bus, please follow the below steps:

1. Log into the AWS console and navigate to the EventBridge dashboard
2. In the left navigation pane, choose 'Event buses'
3. Select the event bus reported
4. Under the 'Permissions' tab, click on 'Manage permissions'
5. Add the resource based policy JSON with permissions to grant on the event bus
6. Click on 'Update'.


---

# 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/aws-eventbridge-event-bus-with-no-resource-based-policy-attached.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.
