Analyzing Entities and Time Windows
Examine accounts, IPs, and instances across a span of activity.
Analyzing Entities and Time Windows is a free AWS Security Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Entities and Time Together
Effective investigation combines two questions: which entities were involved, and over what time did they behave oddly? Detective is built around both. Mastering how it presents entities and time windows lets you read a graph quickly and confidently.
What Counts as an Entity
In Detective, an entity is anything the graph tracks: an IAM user or role, an EC2 instance, an AWS account, an IP address, a user agent, or a finding itself. Each has a profile page summarizing how it behaved and what it connected to.
The Entity Profile
An entity profile gathers everything Detective knows about one entity into panels: API call volume over time, geolocations of activity, connected resources, and observed findings. It is the single page where you understand one actor or resource in depth.
Selecting a Time Window
Every profile is bounded by a scope time, the time window you are analyzing. You can widen or narrow it to focus on the period around an incident. Detective compares activity within that window against the entity's longer-term baseline.
Baseline versus Scoped Activity
Detective contrasts baseline behavior with the scoped window. If an IAM role normally makes 50 calls an hour but made 5,000 during the window, that deviation jumps out. Reading these comparisons is how you separate normal noise from genuine anomalies.
Geolocation and IP Analysis
For identity findings, Detective shows the geographic locations and IPs an entity acted from. A role suddenly used from an unfamiliar country during the scope time strongly suggests stolen credentials. Location patterns are among the clearest investigative signals.
API Call Analysis
Detective breaks down the API calls an entity made: which actions, how often, and whether they are new for that entity. A burst of unusual actions like creating users or changing policies during the window points toward an active attacker, not routine use.
Connected Entities
Each profile lists connected entities: the IPs that called a role, the instances a credential touched, the accounts involved. Following these connections within the time window reconstructs the chain of activity that makes up the incident.
Adjusting Scope to the Evidence
Investigation is iterative: you set a scope time, find something, then adjust the window to capture more of the activity. Narrowing isolates the precise event; widening reveals earlier reconnaissance or later lateral movement. Detective makes this re-scoping fast.
Reading the Activity Timeline
Detective presents an entity's behavior as a timeline of activity over the scope time, with charts that make spikes and gaps visible at a glance. Hovering or clicking a point reveals the underlying calls or connections. Learning to read this timeline lets you pinpoint exactly when abnormal behavior started, which often marks the moment of compromise.
Investigating Specific Resource Types
Detective tailors its analysis to the entity type. For an IAM role or user, it emphasizes assumed-role activity, geolocations, and API actions; for an EC2 instance, network connections and traffic volume; for Kubernetes, pod and container activity from EKS audit logs. Knowing which signals matter for each resource type sharpens how you read a profile during an incident.
Quick Check
Read an entity over time.
Recap
Detective analysis pairs entities (roles, users, instances, IPs, accounts) with a scope time window. Entity profiles show API call volume, geolocations, and connected entities, comparing scoped activity against a long-term baseline. Deviations like API-call spikes or activity from new locations reveal compromise, and you re-scope the window iteratively to follow the evidence.
Frequently asked questions
Is the “Analyzing Entities and Time Windows” lesson free?
Yes — the full text of “Analyzing Entities and Time Windows” is free to read here on the web, and the AWS Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Analyzing Entities and Time Windows”?
Examine accounts, IPs, and instances across a span of activity. You practise AWS Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start AWS Security Academy?
No prior experience is required. AWS Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Analyzing Entities and Time Windows” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this AWS Security Academy lesson?
Yes. Every AWS Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- How Detective Builds a Behavior Graph
- Pivoting from a GuardDuty Finding
- Analyzing Entities and Time Windows
- Spotting Anomalous Activity Patterns