AWS · Security, Identity, and Compliance
Amazon Detective
Builds a linked graph of account, network and identity activity so you can investigate the root cause of security findings.
On the SAA-C03 exam listThreat detectionAuditing and compliance
What it is and what problem it solves
Amazon Detective ingests CloudTrail logs, VPC Flow Logs, EKS audit logs and findings from GuardDuty and Security Hub, and builds a behaviour graph that connects users, roles, IP addresses, instances and API calls over time. When a finding appears, you open it in Detective and see what that identity or resource normally does, what changed, and what else was involved, without writing log queries.
When to use it
- Security teams triage GuardDuty findings and need context quickly.
- You want to answer "what else did this role do?" or "where else did this IP connect?".
- Incident response needs a timeline across accounts.
When to avoid it
- Detection itself: Detective investigates; GuardDuty detects.
- Long-term log retention or custom analytics: keep logs in S3 and query them with Athena or a SIEM.
Cost model
What you pay for
Billed per GB of data ingested per account and Region, tiered by volume. A 30-day free trial applies; up to a year of data is kept without extra storage charges.
Where it is cost-efficient
Organisations that already use GuardDuty and want faster investigations.
Where costs grow
Very high log volumes in busy accounts.
Cost controls and common surprises
Enable it where investigations happen and review the usage page for volume by account.
Prices differ by Region and change over time; see the pricing page linked under Sources.
Security
Controls the service provides
Graph of activity across accounts with visualisations for each finding.
What you configure
Enable it from a delegated administrator account and limit who can view investigation data.
Logging and monitoring
CloudTrail records Detective API calls.
Related security services
GuardDuty, Security Hub, CloudTrail.
Shared responsibility
AWS builds the graph. You investigate and respond.
Common service combinations
GuardDuty findings opened in Detective; Security Hub for aggregation.
Business application examples
- Investigating which resources a compromised role touched in the hour before it was disabled.
Exam cues and common confusions
- Root-cause analysis and investigation of findings: Detective.
- Detection: GuardDuty. Aggregation: Security Hub.
- "Visualise the relationships between resources and API calls behind a finding" points to Detective, not a log query you write yourself.
Related
Courses and lessons
- Threat detection: GuardDuty, Inspector, Macie, Detective and Security Hub · AWS Solutions Architect – Associate (SAA-C03) · Members
Services, comparisons and patterns
- Amazon GuardDuty · Service
- AWS Security Hub · Service
- AWS CloudTrail · Service
Sources
Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.