What this check does
Checks CloudTrail log bucket lifecycle policies for retention.
Passes when: Logs are retained for at least 90 days.
Check parameters. This check evaluates against the following defaults:
retentionDays:90
Why this matters
Log retention ensures audit trails are available for investigations.How to fix
Retain server access logs for at least 90 days- Sign in to the AWS Console, navigate to S3 → Buckets, and open the bucket that stores your server access logs.
- Open the Management tab and click Create lifecycle rule.
- Name the rule (e.g.,
log-retention) and scope it to the whole bucket or your log prefix. - Under Lifecycle rule actions, select Expire current versions of objects and set the expiration to 90 days or more (365 days recommended for compliance).
- Click Create rule.
Frequently asked questions
How often does this check run?
How often does this check run?
Once a day, at 02:00 America/New_York, while the integration is connected. A run is skipped entirely if the integration is not in a connected state, or if the test has been deactivated.To see a fix reflected sooner, open the test from Data Library → Tests and click Run in the Run Test row. You need Full Access to run a test on demand.
What does the status actually tell me?
What does the status actually tell me?
The Status column answers “did the check run?”, not “did I pass”. Completed means DSALTA reached your system and finished evaluating — a check that ran and found a problem is still Completed.To see what it found, open the test and read the result code on the Source Data tab. 200 means nothing to fix; 204 means the check did not apply to your environment; 207 means it ran and found a compliance gap you need to act on. See Understanding test results.
The check shows Failed. Does that mean I am non-compliant?
The check shows Failed. Does that mean I am non-compliant?
Usually not. On an integration-powered check, Failed means DSALTA was blocked and could not evaluate it — result code 403 (a missing permission) or 428 (a setting DSALTA still needs from you). Code 500 means the run failed on DSALTA’s side.A genuine compliance gap does not turn the list red — it runs to completion and shows 207.
What if this check does not apply to us?
What if this check does not apply to us?
Deactivate it: open the test from Data Library → Tests, then use the ⋮ menu at the top right of the panel and choose Deactivate Test. It applies immediately, with no confirmation step.Write your justification in the Comments tab before you deactivate. Once deactivated, every other tab is grayed out, so Comments is the only place an auditor can read why — see Test detail.
Does DSALTA change my configuration?
Does DSALTA change my configuration?
No. DSALTA only reads. It never creates, modifies, or deletes resources, and every remediation step is performed by your team directly in the third-party product.
.png?fit=max&auto=format&n=tsMQJyneJ1xquFUo&q=85&s=4d401cc03b547d99b6f75a6bd170c334)