Cloud security Cloud audit logs 3 min read
What do cloud audit logs show?
An unfamiliar role deleted a production security group at 02:13 UTC. Which record helps you find out what happened?
-
The event captures an API request
A CloudTrail event can show the identity that made a request, the API action, when and where it happened, the target resource, and whether the request succeeded. Console clicks eventually produce API activity too.
In short Use the event to connect an actor, action, time, and resource.
-
Event history is not your whole audit archive
AWS event history provides a searchable view of recent management events in one Region. For ongoing retention, cross-account collection, or data events such as object-level activity, configure a trail or event data store for the events you need.
In short Choose collection and retention for the investigation you may need.
-
Protect the evidence and make it useful
Send logs to a separate security or logging account, restrict who can change or delete them, and alert on important events. A log nobody reviews or can no longer access may not help during response.
In short Centralize, protect, and monitor the records.
What audit logs don’t show
Audit events are not a packet capture or a complete record of every application-level action. Some data events require explicit collection, and services differ in what they emit.
Logs help reconstruct activity; they do not prevent the action or prove that it was malicious.
Keep this
Record cloud API activity centrally and retain it long enough to investigate.
Enable organization-wide audit collection, protect log destinations from alteration, and alert on high-risk actions. Know which data-plane events require separate configuration.- Actor
- The principal or service that made the request.
- Action
- The API operation, time, region, and result.
- Target
- The resource or request context involved.
- Retention
- Configure ongoing, protected storage for investigations.