Security, Identity, and Compliance
Amazon Detective
Security investigation service that automatically collects AWS CloudTrail logs and VPC Flow Logs, along with Amazon GuardDuty findings, and organizes them into a behavior graph. It helps you find the root cause of a finding or of suspicious activity.
Exam phrases that point here
«investigate the root cause of a GuardDuty finding»
Amazon Detective organizes logs and findings into a behavior graph so an analyst can see what happened around the finding and since when.
When not: Detective does not detect threats on its own: if the scenario asks to detect them, it points to Amazon GuardDuty. If it asks for a central view of findings from several services, to AWS Security Hub.
«visualize interactions between users, resources, and IP addresses over time»
Detective's behavior graph relates accounts, users, roles, instances, and IPs, and offers ready-made visualizations to explore that activity.
When not: If all that is needed is an auditable record of who made each API call, that is AWS CloudTrail. If the ask is to query the raw logs with SQL, think of Amazon Athena.
«determine whether the credentials of an IAM user or role were compromised»
Detective's automated investigations review IAM users and roles for signs of compromise, such as sign-ins from impossible locations or from known malicious IPs.
When not: If what you are looking for is overly permissive policies or resources shared with external accounts, the tool is IAM Access Analyzer.
«group related findings to investigate them as a single incident»
Detective's finding groups gather findings and resources tied to the same possible incident so they can be analyzed together.
When not: If the requirement is for the detection itself to correlate several stages of an attack into a single finding, that is done by GuardDuty Extended Threat Detection; Detective is used afterward, to investigate.
«speed up security investigations without writing scripts or managing logs»
Detective collects the data on its own and comes with the visualizations and analysis guidance already built, with no additional tools.
When not: If the scenario asks to respond or remediate automatically, Detective does not do that: that is built with EventBridge, Lambda, or response tooling.
Often paired with
- Amazon GuardDuty
- AWS CloudTrail