Cloud & Container Security · beginner · ~9 min
Explain cloud audit logging and the serverless security model.
Cloud audit logs (CloudTrail/Activity/Audit Logs) record every control-plane API call — the authoritative trail defenders use; disabled/uncentralized logging is a finding. Serverless removes host management but makes per-function IAM roles and untrusted event inputs the security focus.
Logging is the cloud's detection backbone, and attackers disable it early; over-privileged serverless function roles and untrusted event inputs are common modern findings. Both shape what you assess and recommend.
Control-plane logs. CloudTrail/Activity/Audit — who did what. Log findings. Disabled/uncentralized/tamperable; alert on sensitive actions. Serverless. Per-function IAM roles (least privilege), untrusted event inputs (injection), secrets/deps. Protect logging. Centralize, alert, restrict deletion.
Two cloud-specific topics that round out the picture: visibility and the serverless model.
Cloud platforms log control-plane activity — every API call (who did what, when) via services like CloudTrail (AWS), Azure Activity Log, GCP Audit Logs. This is the cloud's authoritative audit trail.
Serverless (Lambda, Cloud Functions) runs your code without managing servers. The security model shifts:
Cloud logging is the detection backbone (protect and centralize it); serverless removes host management but makes IAM and input handling even more central.
Cloud audit logging is the detection backbone — centralize and protect it — while serverless shifts the focus from hosts to least-privilege function roles and validating untrusted event inputs.