Detective basics
Amazon Detective is an investigation tool: after something suspicious is found, it shows the related activity to explain what happened.
How it works
- Detective collects log data from AWS resources.
- It builds graphs and visualizations of activity over time.
- Analysts follow a finding to the root cause.
Its investigation visuals come from machine learning, statistical analysis and graph theory applied to that data.
Exam cues
- If the question says investigate or find the root cause of a security finding, think Detective.
Remember
- Up to a year of history; works with GuardDuty findings.
Trap: GuardDuty finds threats. Detective investigates them.
From the AWS docs (3)
- Amazon Detective helps investigate security findings and suspicious activity by collecting log data and building visualizations to find the root cause.
- Detective keeps up to a year of historical event data and links activity to GuardDuty findings.
- Amazon Detective builds its investigation visualizations with machine learning, statistical analysis and graph theory.
Finding investigation
Updated on Nov 23, 2026 after you marked it known. Re-read it and mark it again: The card now covers the optional AWS security findings source package.
Amazon Detective uses a behavior graphA linked set of analyzed data from one or more AWS accounts. to connect activity and resources over time.
How it works
- Detective collects core data from CloudTrail logs, VPC Flow Logs, which describe network flows, and GuardDuty findings. It uses independent event streams without using existing logging configurations.
- Detective analyzes the data and builds a behavior graph, a linked view of resource activity and interactions.
- Investigators explore the timeline and resource relationships to understand a finding. Finding groupsA collection of related findings and entities associated with a potential security event. bring related findings and entities together.
- A graph administrator can invite other AWS accounts to contribute data. Investigators can move from a GuardDuty finding in GuardDuty or Security Hub CSPM into Detective.
Exam cues
- If the question says find potentially malicious activity in AWS logs, think GuardDuty, because it analyzes logs for threats; use Detective to investigate findings.
- If the question says investigate related findings and entities together, think finding groups, because they bring them together for investigation.
- If the question says investigate activity across accounts, think a behavior graph, because an administrator can invite member accounts to contribute data.
Remember
- Core sources include CloudTrail, VPC Flow Logs and GuardDuty findings for accounts enrolled in GuardDuty.
- Detective uses independent CloudTrail and VPC flow log streams without using existing logging configurations.
Trap: Detective investigates findings; GuardDuty identifies potentially malicious activity. They are complementary, not interchangeable.
Detective uses CloudTrail events from graph accounts.
Detective uses VPC flow log events from independent streams.
Detective ingests GuardDuty findings for enrolled accounts and links activity over time.
From the AWS docs (10)
- Amazon Detective helps investigate security findings and suspicious activity to identify their root cause.
- Detective core sources include CloudTrail logs, VPC Flow Logs and GuardDuty findings for accounts enrolled in GuardDuty.
- Detective uses independent streams of CloudTrail and VPC flow log events without using existing logging configurations.
- AWS security findings is an optional source package that ingests Security Hub CSPM findings into Detective.
- The AWS security findings package is enabled by default for new behavior graphs created after May 16, 2023.
- Detective uses event data and machine learning to create an interactive view of resource behavior and interactions over time.
- Detective finding groups bring related findings and entities together for investigation.
- A Detective behavior graph can link analyzed data from one or more AWS accounts; an administrator can invite member accounts to contribute.
- Detective integrates with GuardDuty and Security Hub CSPM so an investigator can pivot from a GuardDuty finding to Detective.
- GuardDuty analyzes AWS logs using threat intelligence and machine learning to identify potentially malicious activity.
Investigation sources and history
Amazon Detective source packages extend its investigation data. Detective Investigation analyzes IAM users and roles for indicators of compromise, or signs of malicious activity.
How it works
- The core sources include CloudTrail logs, VPC Flow Logs and GuardDuty findings for accounts enrolled in GuardDuty.
- EKS audit logs require a separate source packageA group of data sources that Detective uses for a behavior graph. enabled for the behavior graphA linked set of analyzed data from one or more AWS accounts..
- Detective Investigation analyzes IAM users and roles for indicators of compromise.
Exam cues
- If the question says investigate an IAM user or role for indicators of compromise, think Detective Investigation, because it analyzes those identities.
- If the question says include EKS audit logs in a behavior graph, think of enabling their source package, because they are separate from the core sources.
Remember
- GuardDuty findings are a core source for accounts enrolled in GuardDuty. EKS audit logs require a separate source package.
Trap: EKS audit logs are not part of the core source package. Enable their separate package for the behavior graph.
From the AWS docs (4)
- Detective core sources include CloudTrail logs, VPC Flow Logs and GuardDuty findings for accounts enrolled in GuardDuty.
- EKS audit logs are a source package that must be enabled for the behavior graph.
- Detective Investigation analyzes IAM users and roles for indicators of compromise.
- Detective provides access to up to one year of historical event data.
Flashcards
Nothing to review here right now. Pick other topics or another filter.
All 9 cards as a list
GuardDuty raised a finding and the security team needs to find its root cause and scope. Which service helps investigate?
Amazon Detective, which visualizes related activity to find the root cause.
Does Amazon Detective detect threats on its own the way GuardDuty does?
No. GuardDuty detects threats; Detective helps investigate findings and find their root cause.
How much historical event data can Amazon Detective make available?
Up to one year.
Which optional Amazon Detective source package ingests Security Hub CSPM findings?
The AWS security findings package.
A security team needs to investigate related findings and affected resources together. What Amazon Detective feature helps?
Finding groups. They bring related findings and entities together for investigation.
A security team needs Amazon Detective to investigate suspicious activity across multiple AWS accounts. What can connect their data?
A behavior graph. An administrator can invite member accounts to contribute data.
Must a team configure its existing CloudTrail trail or VPC Flow Logs for Amazon Detective to consume its core event streams?
No. Detective uses independent streams and does not use existing logging configurations.
Are Amazon EKS audit logs always included in the Amazon Detective core source package?
No. EKS audit logs are a separate source package that must be enabled.
What does Amazon Detective Investigation analyze for indicators of compromise?
IAM users and roles.