Pcornel
Security · Cloud Security

Cloud Logging

Cheat sheet · https://pcornel.dk/topic.php?topic=5028

Back to the Topic

Answer

Cloud logging records API calls, sign-ins and resource changes — AWS CloudTrail, Azure Activity Log, Google Cloud Audit Logs — and should be enabled everywhere and shipped to a protected central store.

Remember

  • Enable audit logs in every account and region.
  • Ship logs to a protected central store.
  • Logs are needed before an incident, not after.

First checks

  • aws cloudtrail describe-trails — CloudTrail
  • az monitor diagnostic-settings list --resource <id> — Azure diagnostics
  • Logs forwarded to SIEM — central

Verify in this order

cloud API call → audit log → SIEM

Where it usually breaks

First mismatch in platform/workload identity → desired configuration → management/control plane → runtime enforcement → telemetry → workload/resource outcome; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5028

Confirmation

Confirm action

Continue?