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

# AWS S3 CloudTrail bucket for which access logging is disabled

### Synopsis

| Field               | Value                                                         |
| ------------------- | ------------------------------------------------------------- |
| Rule Type           | Detection                                                     |
| Finding Type        | AWS S3 CloudTrail bucket for which access logging is disabled |
| Finding ID          | 60000002                                                      |
| Generates a Finding | This detection rule also generates a finding                  |
| Severity            | Informational                                                 |
| Category            | CONFIGURATION                                                 |
| Cloud Providers     | AWS                                                           |
| Platform Module     | CSPM                                                          |
| Asset Types         | S3\_BUCKET                                                    |
| ATT\&CK Tactic      | TA0112 (TA0112)                                               |
| ATT\&CK Technique   | T1685.002 (T1685.002)                                         |

### Description

AWS S3 CloudTrail buckets lacking access logging pose a significant security risk. Disabling access logging prevents auditing of activities performed on the bucket, hindering incident response and compliance efforts.

The CloudTrail bucket stores crucial audit data regarding all AWS account activities. Disabling access logging on this bucket eliminates the ability to track and analyze actions performed within the bucket itself, creating a blind spot for malicious activities such as data exfiltration or unauthorized modifications. Attackers could exploit this misconfiguration to remain undetected.

The impact of this misconfiguration includes compromised data integrity and confidentiality, impaired security monitoring, and difficulty in meeting regulatory compliance requirements. Enabling access logging provides a comprehensive audit trail, facilitating security investigations and ensuring accountability for all bucket interactions.

To mitigate this, ensure access logging is enabled for all S3 CloudTrail buckets. Regularly review CloudTrail logs for suspicious activity and implement appropriate security monitoring tools to detect unauthorized access attempts. This allows for timely detection and response to potential security breaches.

### Remediation

**Manual steps:**

S3 Bucket - Manual remediation steps:

1. Login to the AWS Console and navigate to the 'S3' service.
2. Click on the the S3 bucket that was reported.
3. Click on the 'Properties' tab.
4. Under the 'Server access logging' section, select 'Enable' option and provide s3 bucket of your choice in the 'Target bucket'
5. Click on 'Save Changes'


---

# 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-s3-cloudtrail-bucket-for-which-access-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.
