Every node and edge in the Tolmo infrastructure graph carries two temporal attributes —Documentation Index
Fetch the complete documentation index at: https://docs.tolmo.com/llms.txt
Use this file to discover all available pages before exploring further.
firstSeenAt and lastSeenAt — stored as epoch milliseconds. These let you query the historical state of your infrastructure: what resources appeared recently, which ones have gone stale, and how relationships have changed over time. You can combine these queries with --json output and standard Unix tools to build lightweight change-detection workflows directly from the CLI.
Temporal Attributes
The Tolmo graph crawler stamps every resource and relationship it discovers with two timestamps:| Attribute | Type | Description |
|---|---|---|
firstSeenAt | epoch ms | When the resource was first discovered by a crawler |
lastSeenAt | epoch ms | When the resource was most recently observed by a crawler |
GraphNodenodes — representing individual infrastructure resources such as EC2 instances, IAM roles, S3 buckets, and more.GRAPH_EDGErelationships — representing the connections between resources, such as an IAM role attached to a Lambda function.
Example Queries
Usetolmo cypher to run Cypher queries directly against the infrastructure graph. The examples below demonstrate the most common time machine patterns.
Resources added in the last 7 days:
Get JSON Output for Scripting
Add--json to any tolmo cypher command to receive machine-readable output instead of a formatted table. This is useful when you want to feed results into a script, a CI step, or a downstream tool:
Common Use Cases
Detect new infrastructure
Detect new infrastructure
Query
firstSeenAt to catch resources that appeared after a deployment or infrastructure change event. Set the time window to match your deployment cadence — for example, resources created in the last hour — to surface anything that was provisioned unexpectedly or outside of your normal release process. This is especially useful after running Terraform, CDK, or other IaC tools to verify that only the expected resources were created.Find stale or decommissioned resources
Find stale or decommissioned resources
Use
lastSeenAt to identify resources the crawler has not seen recently. A resource with a lastSeenAt far in the past suggests it may have been deleted, shut down, or become unreachable since it was last observed. Filter by resource type — for example, EC2 instances or ECS services — to narrow down decommissioned compute before acting on it.Audit relationship changes
Audit relationship changes
Query
GRAPH_EDGE firstSeenAt to see when connections between resources were first established. For example, you can find when an IAM role gained access to an S3 bucket, or when a Lambda function was linked to a VPC. This gives you a lightweight audit trail of permission and connectivity changes without requiring a dedicated change-log system.