> 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-object-storage-bucket-write-level-logging-is-disabled.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# OCI Object Storage Bucket write level logging is disabled

### Synopsis

| Field               | Value                                                     |
| ------------------- | --------------------------------------------------------- |
| Rule Type           | Detection                                                 |
| Finding Type        | OCI Object Storage Bucket write level logging is disabled |
| Finding ID          | 60000974                                                  |
| Generates a Finding | This detection rule also generates a finding              |
| Severity            | Informational                                             |
| Category            | CONFIGURATION                                             |
| Cloud Providers     | OCI                                                       |
| Platform Module     | CSPM                                                      |
| Asset Types         | OCI\_OBJECT\_STORAGE\_BUCKET                              |

### Description

Object storage buckets without write-level logging lack crucial audit trails, increasing the risk of undetected data breaches and unauthorized modifications.

Oracle Cloud Infrastructure (OCI) Object Storage provides write-level logging to track changes to objects within buckets. Disabling this feature eliminates the record of object modifications, hindering incident response and compliance efforts. Attackers could covertly alter or delete data without detection, potentially leading to data loss or regulatory violations.

The impact of this misconfiguration is a significant blind spot in security monitoring. Without logging, identifying malicious activity or accidental data changes becomes extremely difficult, leading to delayed incident response and potential data breaches. Enabling write-level logging provides a comprehensive audit trail for improved security posture and compliance adherence.

To mitigate this, ensure write-level logging is enabled for all OCI Object Storage buckets. Regularly review and audit these logs for suspicious activity. Implement a robust security information and event management (SIEM) system to analyze the logs and trigger alerts on unusual events.

### Remediation

First, ensure a destination Log Group exists. If you need to create one, create a log group by the following steps:

1. Login to the OCI Console
2. Open the navigation menu, go to 'Observability & Management', and under 'Logging', click 'Log Groups'.
3. Click the 'Create Log Group' button in the middle of the screen
4. Select the relevant compartment to place these logs
5. Type a name for the log group in the 'Name' box.
6. Add an optional description in the 'Description' box
7. Click the 'Create' button in the lower left hand corner

Second, enable Object Storage write log logging for reported bucket by the following steps:

1. Login to the OCI Console
2. Open the navigation menu, go to 'Observability & Management', and under 'Logging', click 'Logs'.
3. Click the 'Enable Service Log' button in the middle of the screen
4. Select the relevant resource compartment
5. Select ‘Object Storage’ from the Service drop-down menu
6. Select the reported bucket from the ‘Resource’ drop-down menu
7. Select ‘Write Access Events’ from the ‘Log Category’ drop-down menu
8. Type a name for your Object Storage write log in the ‘Log Name’ drop-down menu
9. Click the ‘Enable Log’ button in the lower left hand corner


---

# 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-object-storage-bucket-write-level-logging-is-disabled.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.
