Join our Newsletter — 33% off our NHI Course
Home› Guides› Top 10 Cloud Logging Gaps: Missing Logs That…
Top 10 SOC & Detection Engineering

Top 10 Cloud Logging Gaps: Missing Logs That Stall Investigations

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 12 min read
On this page

Most cloud investigations do not stall because responders lack skill; they stall because the one log that would answer "what did the attacker read?" was never switched on, or expired weeks before anyone looked. Cloud platforms log control plane changes by default, but data access, identity sign-ins beyond a few days, network flows, DNS and Kubernetes control plane activity usually need deliberate configuration and retention. This list ranks the ten gaps incident responders most often hit, from the investigator's side: what question goes unanswered, what the default is according to each provider's documentation, and the setting that closes the gap. It is written for incident responders, detection engineers and cloud platform owners. For how to design a cloud audit pipeline from scratch see the Cloud Logging and Audit Trail Guide; this page assumes that pipeline exists and finds the holes in it. Providers are listed alphabetically throughout, and defaults are as documented in November 2026.

The Top 10 at a glance

RankGapQuestion it leaves unanswered
1Data access events not recordedWhich objects, secrets or records did the attacker read?
2Default retention shorter than dwell timeWhat happened before the alert?
3Identity provider logs left in the identity platformHow did the attacker sign in, and as whom?
4Audit trail not organisation-wide or all-RegionWhat happened in the account or Region nobody watches?
5Logs stored where the attacker has controlCan we trust the log, or was it changed?
6Logging changes not alertedWhen did visibility stop?
7SaaS audit events tied to licence tierWhich mailboxes and files were accessed?
8Kubernetes control plane logs not enabledWho ran what inside the cluster?
9No network flow or DNS logsWhere did data go, and which hosts called out?
10Non-human identity activity cannot be attributedWhich workload, key or token did this?

The ranking is editorial: it weighs how often the gap blocks a scoping question against how hard it is to work around after the fact.

1. Data access events not recorded

The default audit trail in each major cloud records management operations, not reads of data. When an access key or service account leaks, the first scoping question is what it read, and without data plane logs the honest answer is "unknown", which often forces a worst-case breach notification.

  • AWS: CloudTrail documentation states that by default trails and event data stores do not log data events, and that additional charges apply. Data events include S3 GetObject, PutObject and DeleteObject, Lambda Invoke and DynamoDB item-level calls. Use advanced event selectors to log, for example, S3 object reads on buckets holding sensitive data rather than everything.
  • Google Cloud: Data Access audit logs (ADMIN_READ, DATA_READ, DATA_WRITE) are disabled by default for all services except some BigQuery services, whose Data Access logs cannot be disabled. Turn them on per service in the IAM audit configuration, and be careful with exempted principals.
  • Microsoft Azure: The Activity log records control plane operations only. Data plane operations such as reading a Key Vault secret or querying a database appear in resource logs, which are not collected by default and need a diagnostic setting.

Prioritise: secrets stores, object storage holding regulated data, and databases. Exfiltration from storage maps to ATT&CK T1530 Data from Cloud Storage.

2. Default retention shorter than dwell time

Attackers are often found weeks or months after entry. If the earliest evidence has aged out, responders cannot find initial access or prove when access ended.

LogDocumented default retentionFix
AWS CloudTrail Event history90 days, management events only, searched one Region at a timeCreate a trail or CloudTrail Lake event data store
Google Cloud _Required bucket (Admin Activity and similar)400 days, not configurableRoute to a sink for longer retention if required
Google Cloud _Default bucket (includes Data Access logs)30 days; configurable for projects (1 to 3,650 days)Raise retention or route to a central bucket
Microsoft Azure Activity log90 daysDiagnostic setting to a Log Analytics workspace or storage
Microsoft Entra audit and sign-in logs7 days (Free), 30 days (P1 and P2)Diagnostic settings to storage, event hub or Log Analytics
Microsoft Purview Audit (Standard)180 daysAudit (Premium) licensing or export

Microsoft notes that retention changes are not retroactive: upgrading Entra licensing does not restore expired sign-in data. Set retention before you need it. For required periods by regulation see the Log Retention Requirements Map, and for the schedule itself the Log Retention Schedule Template.

3. Identity provider logs left in the identity platform

Most cloud intrusions start with a valid identity (ATT&CK T1078.004 Cloud Accounts). The sign-in log shows where, how and with which authentication method, but with a 7 or 30 day window in the identity platform it is often gone by the time the cloud activity is noticed. Microsoft also states that Microsoft Graph activity logs are available only with P1 or P2 and are not retained unless archived to storage or an analytics tool.

  • Fix: stream user, service principal and managed identity sign-ins, audit logs and Graph activity logs to the SIEM with retention matching your cloud trail. See Microsoft Graph Activity Logs.
  • Test: pick a sign-in from 60 days ago and confirm you can retrieve its IP, client and authentication details.

4. Audit trail not organisation-wide or all-Region

Attackers favour Regions and accounts nobody uses, because nobody looks there. A trail configured in one production account misses a sandbox account where an attacker launches resources.

  • AWS: an organisation trail logs events for every account in AWS Organizations; trails created in the console are multi-Region. Member accounts can see but cannot delete, stop or change it. Note the documented caveat for opt-in home Regions.
  • Google Cloud: use aggregated sinks at organisation or folder level so new projects are covered automatically. See the Google Cloud Audit Logs and Log Sinks Guide.
  • Microsoft Azure: apply Activity log diagnostic settings to every subscription, ideally through policy so new subscriptions inherit them.

5. Logs stored where the attacker has control

If the same compromised principal that runs workloads can also edit the log bucket, retention or sink, the log cannot be trusted in court or in a post-incident report. Store audit logs in a separate security account or project, with write-once settings where available, and restrict delete and retention changes to a small break-glass group. Integrity maps to NIST SP 800-53 AU-9 Protection of Audit Information. For the SIEM's own exposure see Securing the SIEM itself.

6. Logging changes not alerted

Turning off, deleting or narrowing logging is a known defence impairment technique, recorded in ATT&CK v20 as T1685.002 Disable or Modify Cloud Log. Responders then find a silent gap and must work out whether it was an outage or the attacker. Alert on trail stop or delete and event selector changes, sink deletion or exclusion filters, diagnostic setting deletion, and audit configuration changes that add exempted principals. Detection detail is in How to detect attackers disabling cloud audit logging.

7. SaaS audit events tied to licence tier

For email and collaboration platforms, the events that answer "which messages were read" depend on licence and audit tier. In Microsoft 365, MailItemsAccessed records sync and bind access to messages through POP, IMAP, MAPI, EWS, Exchange ActiveSync and REST, and is enabled by default for users with Office 365 or Microsoft 365 E3 or E5 licences. Microsoft Purview keeps Audit (Standard) records for 180 days, while the one-year default for Entra, Exchange, SharePoint and OneDrive records applies to users with E5-level licences. Map which users lack those events before an incident, starting with executives and administrators. See the Microsoft 365 Unified Audit Log Guide for Detection and the SaaS Audit Log Retention and Licensing Guide.

8. Kubernetes control plane logs not enabled

Cluster activity such as exec into a pod, secret reads and RBAC changes appears in the Kubernetes audit log, not in the cloud provider's management trail. For each managed service, the vendor documentation describes the control plane audit settings:

  • Amazon EKS: control plane logs are not sent to CloudWatch Logs by default; each log type (api, audit, authenticator, controllerManager, scheduler) is enabled individually. At minimum enable audit and authenticator, which tie Kubernetes actions back to IAM identities.
  • Google Kubernetes Engine: Admin Activity audit logs are always enabled, while Data Access audit logs are disabled by default and are not written unless explicitly enabled.
  • Microsoft AKS: control plane logs are Azure Monitor resource logs, which are not collected or stored until you create a diagnostic setting. Choose the kube-audit-admin category where the volume of kube-audit would be costly, since Microsoft notes kube-audit can incur substantial cost.

Check the equivalent setting on each managed Kubernetes service you run. See the Kubernetes Audit Log Detection Guide.

9. No network flow or DNS logs

Audit logs show API calls; they do not show a compromised instance sending data to an external host or beaconing to a command server.

  • Flow logs: AWS VPC flow logs record IP traffic to and from network interfaces and are created deliberately, delivered to CloudWatch Logs, S3 or Data Firehose. Google Cloud and Azure offer VPC and VNet flow logs. See the AWS VPC Flow Logs Detection Guide, Google Cloud VPC Flow Logs and Azure VNet Flow Logs Guide.
  • DNS: Route 53 Resolver query logging records queries from specified VPCs with source instance, query name, type and response; repeated queries answered from cache are not logged. See the DNS Logging and Detection Guide.
  • Cost control: enable on internet-facing and data-holding networks first; sample or aggregate where volume is high.

10. Non-human identity activity cannot be attributed

Service accounts, roles and service principals now perform most cloud API calls. When many workloads share one role or one long-lived key, the log shows the identity but not which pipeline, host or person was behind it, and scoping a leaked credential becomes guesswork. Give each workload its own identity, keep session names meaningful, and collect workload identity sign-in logs where the platform provides them. For reading the principal fields correctly see GCP Audit Log Principal Fields, and for a worked AWS case How to Investigate CloudTrail for a Compromised Access Key.

Mapping to OWASP

For the applications you run in the cloud, the same failures appear as OWASP Top 10:2021 A09 Security Logging and Monitoring Failures. The cloud gaps above sit beneath that category: application logs cannot compensate for missing platform logs, and the reverse is also true. For application event design see the Secure Logging Vocabulary and Application Security Events Guide.

GapNIST SP 800-53 Rev. 5NIST CSF 2.0ATT&CK v20
1, 7, 8, 9 Missing event typesAU-2 Event Logging, AU-12 Audit Record GenerationPR.PS-04T1530
2 RetentionAU-11 Audit Record RetentionPR.PS-04No direct mapping
3, 10 Identity attributionAU-2, AU-6DE.CM-03T1078.004
4, 5 Coverage and integrityAU-9 Protection of Audit InformationDE.CM-09No direct mapping
6 Logging tamperingSI-4 System MonitoringDE.AE-03T1685.002

Where to start

  1. Run a retrieval drill: pick a real access key, service account and user, and try to answer, for 90 days back: where they signed in, what they changed and what data they read. Every unanswerable question maps to a gap above.
  2. Fix retention and centralisation first (gaps 2, 3, 4, 5): they are cheap and cannot be fixed retroactively.
  3. Add tamper alerts (gap 6) on the central trail and sinks.
  4. Turn on data access logs selectively (gap 1) for secrets, regulated storage and databases, then widen as cost allows.
  5. Close platform-specific gaps (7, 8, 9) for the services you actually run.
  6. Measure: percentage of accounts and projects covered by the central trail; days of searchable retention per log source; percentage of sensitive stores with data access logging; time to answer the drill questions; number of logging configuration changes without a ticket (target zero).

Practitioner checklist

  • Organisation-wide, all-Region audit trail or aggregated sink covers every account, project and subscription.
  • Data access logging is on for secrets stores, regulated object storage and databases.
  • Identity provider sign-in, audit and Graph or API activity logs are exported with retention matching the cloud trail.
  • Searchable retention meets your longest expected dwell time and regulatory need, with archive beyond that.
  • Audit logs live in a separate security account or project with restricted delete and retention rights.
  • Alerts fire on any change that stops, deletes or narrows logging.
  • SaaS audit tiers are mapped per user group, with gaps known for privileged users.
  • Kubernetes audit and authenticator logs are enabled on every managed cluster.
  • Flow and DNS query logs exist for internet-facing and data-holding networks.
  • Each workload has its own identity so that log entries can be attributed.

Standards and references

Related NHI Mgmt Group resources: Cloud Logging and Audit Trail Guide · Cloud Logging and Audit Services Mapped · Priority Logs for SIEM Ingestion Guide · AWS CloudTrail Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.