> 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-cloudtrail-s3-buckets-have-not-enabled-mfa-delete.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS CloudTrail S3 buckets have not enabled MFA Delete

### Synopsis

| Field               | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Rule Type           | Detection                                             |
| Finding Type        | AWS CloudTrail S3 buckets have not enabled MFA Delete |
| Finding ID          | 60000217                                              |
| Generates a Finding | This detection rule also generates a finding          |
| Severity            | Low                                                   |
| Category            | CONFIGURATION                                         |
| Cloud Providers     | AWS                                                   |
| Platform Module     | CSPM                                                  |
| Asset Types         | S3\_BUCKET                                            |

### Description

S3 buckets lacking Multi-Factor Authentication (MFA) for CloudTrail log deletion represent a significant security risk. This misconfiguration allows unauthorized deletion of crucial audit logs, hindering incident response and compliance efforts.

CloudTrail logs, stored in S3 buckets, provide a comprehensive record of AWS account activity. Disabling MFA for 'Delete' actions on these buckets removes a critical layer of protection. An attacker gaining access could easily delete these logs, covering their tracks and potentially enabling further malicious activity, such as data exfiltration or account takeover.

The impact of this misconfiguration is the loss of essential audit data, hindering investigations into security incidents and regulatory compliance audits. MFA for 'Delete' actions ensures that only authorized users with an additional authentication factor can delete CloudTrail logs, significantly reducing the risk of malicious or accidental data loss. This best practice strengthens the integrity of audit trails and improves overall security posture.

To mitigate this risk, enable MFA Delete for all S3 buckets storing CloudTrail logs. Regularly review and update IAM policies to restrict 'Delete' permissions on S3 objects to only authorized users and roles. Implement robust monitoring and alerting to detect any unauthorized attempts to delete CloudTrail logs or modify bucket policies.

### Remediation

Enable MFA Delete on the bucket(s) you have configured to receive CloudTrail log files. Note: We recommend that you do not configure CloudTrail to write into an S3 bucket that resides in a different AWS account. Additional information on how to do this can be found here: <http://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete>


---

# 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-cloudtrail-s3-buckets-have-not-enabled-mfa-delete.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.
