Service cheat sheetsSecurity and identity cheat sheets
Amazon Detective
Graph-based root cause analysis for findings from GuardDuty and Security Hub.
Detective is the investigation step. It turns logs into a behavior graph so an analyst can triage a finding, scope it and find the cause. It does not detect threats and does not block anything. It is enabled per Region.
Core facts
| Item | What to remember |
|---|---|
| Behavior graph | Linked data of entities (IP, EC2 instance, user, role session) and the relationships between them. |
| Accounts | One administrator account owns the graph and invites members. Members only contribute data and can leave. Works with Organizations. |
| Profiles | One page of visualizations plus guidance for a finding or an entity. Finding profiles default to the time the activity was seen. Entity profiles default to the last 24 hours. |
| Role sessions | Detective groups activity by IAM role session so you can see what an assumed role did. |
| Phases | Triage (true or false positive), scoping (what, who, how long), response. |
| Disabling | Deleting the graph deletes its data and it cannot be restored. |
Detective vs its neighbors
| Service | Job |
|---|---|
| GuardDuty | Detects malicious or unusual activity. Raises findings. |
| Security Hub | Aggregates and prioritizes findings from many services. |
| Detective | Explains a finding. Root cause and blast radius. |
| CloudTrail Lake | Ad hoc SQL over event data you query yourself. |
Exam signal
"Determine the root cause", "scope of the compromise", "which resources did this role touch" or "visualize relationships over time" means Detective. "Detect" means GuardDuty.
Exam trap
Detective investigates after a detection. Do not pick it to alert on threats or to block anything.