> ## Documentation Index
> Fetch the complete documentation index at: https://help.dsalta.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS server access logs should be retained for 90 days

> Checks that AWS server access logs are retained for at least 90 days.

Checks that AWS server access logs are retained for at least 90 days.

## About

When you connect Amazon Web Services (AWS) to DSALTA, the platform retrieves the list of resources in your environment using read-only API access. DSALTA then checks whether this configuration is in place. If it is not, DSALTA activates this check so you can remediate it.

## Why This Matters

Without audit logs you cannot detect unauthorized activity, investigate an incident, or prove what happened during an audit. Comprehensive, retained logs are the forensic backbone of incident response and are mandated by SOC 2, ISO 27001, and HIPAA.

## How to Fix

**Before you begin**

* Ensure you have **Admin** access to the AWS account.

**Retain logs for at least 90 days**

1. For S3-stored logs, open the log bucket and go to **Management → Lifecycle rules → Create lifecycle rule**, and set expiration to **90 days or more**.
2. For CloudWatch Logs, open **CloudWatch → Log groups**, select the group, and set **Retention** to **90 days or more**.

Once retention meets 90 days, DSALTA retrieves the change on the next sync and sets the check status to **Passing**.

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="How often does this check run?">
    This check runs automatically every 24 hours while the Amazon Web Services (AWS) integration is connected. You can also trigger a manual sync from **Integrations** in the sidebar.
  </Accordion>

  <Accordion title="What happens if it keeps failing?">
    A failing check appears in your **Data Library → Tests** dashboard. Work through the steps above; once the underlying configuration is fixed, the status updates automatically on the next sync.
  </Accordion>

  <Accordion title="Can I exclude this check?">
    Yes. If it does not apply to your environment, mark it as **Not Applicable** with a justification. The exclusion is documented for auditors.
  </Accordion>

  <Accordion title="Does DSALTA change my Amazon Web Services (AWS) configuration?">
    No. DSALTA uses **read-only API access** and never modifies, creates, or deletes resources. All remediation is performed by your team directly in Amazon Web Services (AWS).
  </Accordion>
</AccordionGroup>
