Topic lessonTopic: Audit coverage and recovery design
CloudTrail event selection for S3 object activity
Decide which S3 object activity to capture before you need to investigate it. Use a fixed audit scenario to see precisely which records the chosen scope can provide.
Distinguish Event history from trail records and match bucket, prefix, operation and collection period to the audit question.
This lesson builds on CloudTrail basics. All records and configurations are fictional.
Turn the audit question into a resource and an operation
CloudTrail Event history shows the last 90 days of management events in the selected Region. To investigate S3 data events, include them in a separate collection such as a trail.
- Audit question → ScopeName the operation
- Scope → CollectionRecord scope and time
- Collection → Empty resultsCheck coverage
- Audit question
- Who submitted the data?
- Scope
- PutObject in the submission prefix
- Collection
- The trail with this selector
- Empty results
- Check time and scope
Decide which uploads and reads are observable
| Activity | Evidence to examine | Covered? |
|---|---|---|
| 08:58 PutObject in submission prefix | Trail | Before collection began |
| 09:06 PutObject in submission prefix | Trail | In scope; confirm delivery |
| 09:08 GetObject from submission prefix | Trail | Operation outside scope |
| 09:11 Bucket settings changed | Regional Event history | Check management events |
Data-event selectors determine which resources and conditions are covered. An empty result cannot establish whether an out-of-scope operation happened.
Check coverage before drawing an audit conclusion
Write down the complete scope. Record the object key range, reads versus writes, Region and event time as well as the bucket.
Check effective time and delivery separately. Separate actions before collection, actions excluded by the selector, records still awaiting delivery, and searches using mismatched filters.
Keep evidence proportional. Record event IDs and the matching conditions. Limit access to event bodies that may contain user information.
Check your decision
Choose an option to see the result and explanation.
Check, then explain in your own words
- Write the audit question in one sentence.
- Record the operation, resource and time with the result.
- State what the evidence cannot establish.
Check your understanding: Can a write-only trail show both writes and reads?
Reads need another selector or another evidence source.
Audit conclusions are limited to the coverage of the records.
Sources and conditions checked
The official references used in this lesson are collected here with their scope, conditions and corresponding sections. Independent expert review and live AWS comparison have not been performed.
Scope and conditionsScope of the per-Region 90-day management event history.
Used in this lessonTurn the audit question into a resource and an operation
- Logging CloudTrail data eventsChecked:
Scope and conditionsConditions for selecting data events by resource and operation.
Used in this lessonDecide which uploads and reads are observable Check coverage before drawing an audit conclusion