We run GuardDuty. What would we still miss in cloud threat detection?
Would rather we looked for you? We run a free one-time audit scan of one cloud account and go through the results with you. No charge, no commitment.
Free audit scanWe run GuardDuty. What would we still miss, and what does it take to catch it? Mostly the attacks built from legitimate calls: stolen credentials used slowly, a role assumed the way your own engineers assume it, an admin role created by a pipeline identity. Catching those needs the right logs switched on, then detection that looks at the order of events and at each identity's normal behaviour, not only at single known-bad events. Keep GuardDuty; this post is about what sits around it.
Rewritten 27 November 2026. The earlier version was titled "Beyond GuardDuty" and showed an out-of-date screenshot. It now says which logs to switch on, traces one attack from the first log line to an incident, and states Onam's limits. Every AWS command below is from the AWS CLI reference, read on 27 November 2026.
Step 1: are the logs there at all?
No detection, ours or anyone's, sees an event that was never logged. On AWS, check four sources. All four commands are read-only.
aws cloudtrail describe-trails --query "trailList[].[Name,IsMultiRegionTrail]" --output table
aws ec2 describe-flow-logs --query "FlowLogs[].[ResourceId,FlowLogStatus]" --output table
aws eks describe-cluster --name <cluster-name> --query "cluster.logging.clusterLogging"
aws guardduty list-publishing-destinations --detector-id <detector-id>What you want to see:
| Source | Good looks like | Why it matters |
|---|---|---|
| CloudTrail | A multi-Region trail | Every API call by every identity, the raw material for detection |
| VPC flow logs | An entry, status ACTIVE, for each VPC you care about | Network evidence: who talked to what |
| EKS control-plane logs | audit and authenticator in a block with "enabled": true | Who did what inside the cluster, and which IAM identity they signed in as |
| GuardDuty export | A destination of type S3 with status PUBLISHING | GuardDuty findings in a place other tools can read |
Get the detector ID from aws guardduty list-detectors. Sources: describe-trails, describe-flow-logs, eks describe-cluster, list-publishing-destinations, list-detectors.
Step 2: one attack, from the first log line to an incident
A pattern that appears in published cloud intrusion write-ups, shown as the CloudTrail events it leaves:
- Step 1: Day 1: discovery (ListBuckets, GetAccountAuthorizationDetails from a developer key)
- Step 2: Day 3: pivot (ListRolePolicies, then AssumeRole into the CI/CD role)
- Step 3: Day 7: escalation (CreateRole and AttachRolePolicy with admin rights, by the CI/CD role)
- Step 4: Incident (one actor, ordered steps, inside a time window)
Day 1. The attacker has a developer's access key, from phishing or a key committed to a public repository. They list resources and read IAM policies. Every call is legitimate. No threat-intelligence indicator fires, because the source address is new and clean.
Day 3. The developer's identity can call iam:ListRolePolicies. The attacker finds a CI/CD role that can deploy stacks and calls sts:AssumeRole, the same call the developer makes for manual deployments.
Day 7. Using the CI/CD role, the attacker creates a new role with administrator access. It looks like ordinary pipeline work.
No single event is malicious on its own. What gives it away is the order and the actor: discovery, then a role assumption, then an admin role created by the assumed identity. In ATT&CK terms that is Valid Accounts: Cloud Accounts (T1078.004), then Cloud Infrastructure Discovery (T1580), then account manipulation to keep the access.
Step 3: detection that reads order and behaviour
Onam's CDR engine reads the cloud audit logs you already produce and judges them at three levels:
| Level | Approach | In the example above |
|---|---|---|
| L1 | Rules over single events | Each call alone: low or no severity |
| L2 | Correlation scenarios: ordered steps by one actor within a time window | Discovery, then AssumeRole, then an admin role created: one scenario |
| L3 | Statistical baselines per identity and account | An admin role grant and a jump in the identity's session count, against its own recent history |
L3 judges a metric only once enough daily history exists, so a new identity is not flagged just for having no past. Each L3 finding carries the metric, today's value and the baseline it was compared with.
Events are also checked against open threat-intelligence lists (botnet command-and-control addresses, Spamhaus DROP, phishing domains, with Tor exit nodes as context). A hit raises the alert's severity or raises its own alert.
All of this lands in one Threats area with five views: Overview, Incidents, Detections, Coverage and Threat intelligence. Coverage shows, per account, which logs Onam reads and which you still need to switch on. Onam never turns logging on for you.
What Onam reads, and what it does not do
What Onam reads
- Cloud audit logs such as CloudTrail, Azure Activity Log and Google Cloud Audit Logs
- Entra ID sign-in and audit logs, Defender for Cloud alerts, RDS and Azure SQL database audit logs and EKS authenticator logs, where they are exported
- GuardDuty findings, read from your S3 export
- Network flow logs on AWS, Azure and Google Cloud
What Onam does not do
- Response is guidance only: Onam does not quarantine roles, revoke sessions or block IP addresses
- Reading GuardDuty findings straight from the GuardDuty API is not generally available; Onam reads the S3 export
- Flow logs are not read on OCI, Alibaba Cloud or IBM Cloud
- DNS query logs are not a general CDR source yet
- Load-balancer, WAF, CloudFront and S3 access logs are read as context; Onam does not alert on web traffic patterns
If automated containment through EventBridge or Lambda is why you run GuardDuty, keep it: Onam will tell you what to do, not do it for you.
What to expect in the first weeks
- Week one: noise. L1 rules start as soon as logs are read. The first findings are usually configuration patterns that look like threats: pipelines creating roles during provisioning, functions calling APIs across Regions.
- Tuning. Suppress legitimate patterns with a reason and an expiry date. Aim for an alert volume one person can review each day.
- Once history exists. L3 baselines start judging. Expect maintenance windows and irregular but legitimate identities first; each needs a decision.
Frequently asked questions
Is GuardDuty enough for cloud threat detection?
It catches known-bad infrastructure and documented attack signatures well. It is weaker against attacks made of legitimate calls in an unusual order. Keep it, export its findings, and add detection that correlates events by actor and time.
Which logs do I need for cloud threat detection on AWS?
At least a multi-Region CloudTrail trail, VPC flow logs for the VPCs that matter, EKS audit and authenticator logs for your clusters, and GuardDuty findings exported to S3.
Does Onam block attackers automatically?
No. Response is guidance only. Onam does not quarantine roles, revoke sessions or block IP addresses.
Does Onam switch on logging for me?
No. The Coverage view shows which logs Onam reads and which you need to switch on, per account. Onam never turns logging on for you.
Try it on your own cloud
Start free. The free plan covers up to 25 units of cloud security, with API-based scanning only: posture (CSPM), identity and permissions (CIEM), data stores found through cloud APIs (DSPM checks, no content classification) and AI-SPM. Posture scanning connects through read-only cloud roles, the free plan deploys no agent or scanner, and no card is needed. Register, and the team emails you the login.