> 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/oci-event-rule-and-notification-does-not-exist-for-network-gateways-changes.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI Event Rule and Notification does not exist for network gateways changes

### Synopsis

| Field               | Value                                                                       |
| ------------------- | --------------------------------------------------------------------------- |
| Rule Type           | Detection                                                                   |
| Finding Type        | OCI Event Rule and Notification does not exist for network gateways changes |
| Finding ID          | 60000471                                                                    |
| Generates a Finding | This detection rule also generates a finding                                |
| Severity            | Informational                                                               |
| Category            | CONFIGURATION                                                               |
| Cloud Providers     | OCI                                                                         |
| Platform Module     | CSPM                                                                        |
| Asset Types         | OCI\_COMPARTMENT                                                            |
| ATT\&CK Tactic      | TA0112 (TA0112)                                                             |
| ATT\&CK Technique   | T1685 (T1685)                                                               |

### Description

Network gateways in Oracle Cloud Infrastructure (OCI) lacking event rules and notifications represent a significant security risk. Without these, unauthorized modifications to network gateways go undetected, potentially leading to breaches.

OCI Network Gateways control network traffic flow. A misconfiguration, such as unauthorized rule changes or unintended deletion, can expose internal systems to external threats. Untrusted actors could exploit this lack of monitoring to gain unauthorized network access or disrupt services. This lack of visibility significantly hampers incident response capabilities.

The impact of this misconfiguration ranges from data breaches and service disruptions to complete network compromise. Implementing event rules and notifications ensures that any changes to network gateway configurations are immediately logged and reported, allowing for timely intervention and preventing potential exploits. Real-time monitoring is critical for maintaining network security.

To mitigate this risk, create OCI Event Rules and Notifications specifically for network gateway changes. Configure these rules to trigger alerts upon any modification, including creation, deletion, or updates to gateway configurations. Ensure these alerts are routed to appropriate security teams for prompt investigation and remediation. Regularly review and update these rules to reflect evolving security needs.

### Remediation

**Manual steps:**

OCI Compartment - Manual remediation steps:

1. Login to the OCI Console
2. Type the Event into the Search box at the top of the Console.
3. Click the Event Service from the Services submenu
4. Select the compartment that should host the rule
5. Click Create Rule
6. Provide a Display Name and Description
7. Create a Rule Condition by selecting Networking in the Service Name Drop-down and selecting DRG - Create, DRG - Delete, DRG - Update, DRG Attachment - Create, DRG Attachment - Delete, DRG Attachment - Update, Internet Gateway - Create, Internet Gateway - Delete, Internet Gateway - Update, Internet Gateway - Change Compartment, Local Peering Gateway - Create, Local Peering Gateway - Delete, Local Peering Gateway - Update, Local Peering Gateway - Change Compartment, NAT Gateway - Create, NAT Gateway - Delete, NAT Gateway - Update, NAT Gateway - Change Compartment, Service Gateway - Create, Service Gateway - Delete Begin, Service Gateway - Delete End, Service Gateway - Update, Service Gateway - Attach Service, Service Gateway - Detach Service, Service Gateway - Change Compartment
8. In the Actions section select Notifications as Action Type
9. Select the Compartment that hosts the Topic to be used.
10. Select the Topic to be used
11. Optionally add Tags to the Rule
12. Click Create Rule


---

# 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/oci-event-rule-and-notification-does-not-exist-for-network-gateways-changes.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.
