Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Cloud Logging

Direct 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.

When to use this

Use this when making sure cloud API activity is recorded.

First 30 seconds

1. Cloud logging: control-plane audit (CloudTrail, Activity Log), data access logs, flow logs, service logs.

2. Organisation-wide trails.

3. Immutable storage.

4. Forward to SIEM.

5. Alert on sensitive actions.

Operational verification

cloud API call → audit log → SIEM

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Data access logs (S3 object, Key Vault, storage) not enabled.
  • Logs stored in the same account an attacker controls.
  • No alerts on disabling logging (CloudTrail StopLogging, diagnostic settings deleted).
  • Retention shorter than investigation needs.
Platform / version applicability
Platform and workload security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPlatform and workload security
Scope / prerequisiteUse this when making sure cloud API activity is recorded.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
  • AWS: CloudTrail organisation trail enabled in all regions, log file validation on.
  • Azure: Activity log and Entra sign-in/audit logs exported to Log Analytics or SIEM.
  • GCP: Admin Activity logs (always on) plus Data Access logs where needed.
  • Logs stored in a separate account/subscription with restricted delete rights.
Step 2 Logs to enable Narrow the fault
AWSAzureGCP
CloudTrail (all regions, org trail)Activity Log + Entra sign-in/audit logsCloud Audit Logs
VPC Flow LogsNSG/VNet flow logsVPC Flow Logs
GuardDutyDefender for CloudSecurity Command Center
S3/Storage access logsStorage diagnostic logsData Access logs

Send logs to a separate, locked-down account/subscription so an attacker cannot delete them.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Enable audit logs in every account and region.
  • Ship logs to a protected central store.
  • Logs are needed before an incident, not after.
Key checks
  • aws cloudtrail describe-trails — CloudTrail
  • az monitor diagnostic-settings list --resource <id> — Azure diagnostics
  • Logs forwarded to SIEM — central
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Cloud logging captures the activity in cloud environments: management API calls (who changed what), resource logs, network flow logs and identity sign-ins. It is the primary evidence for detecting misuse and investigating incidents in the cloud.

LogAWSAzureGoogle Cloud
Control planeCloudTrailActivity LogCloud Audit Logs
Network flowsVPC Flow LogsVNet flow logsVPC Flow Logs
IdentityIAM Identity Center/CloudTrailEntra ID sign-in/audit logsCloud Identity logs
Threat detectionGuardDutyDefender for CloudSecurity Command Center

Enable organisation-wide trails, send logs to a separate, locked-down logging account/subscription, and protect them from deletion by workload administrators.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPlatform and workload security current

Authoritative/upstream documentation reviewed for bounded claims in Cloud Security → Cloud Logging. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/210/final · confidence 94%
Confirmation

Confirm action

Continue?