What Cotool maps
Cotool automatically runs background environment-mapping jobs for connected platforms:
For each dataset or table, the map stores a compact index (dataset/table IDs, sourcetypes, and short descriptions), column or field summaries, representative sample rows, and query hints.
How Cotool uses the map
- Detection authoring & planning: When you author a scheduled detection or plan coverage, Cotool injects a compact summary of your available datasets and tables so the agent immediately knows which sources exist and can drill into exact schemas before writing SQL or queries.
- Agent query tools: SIEM, warehouse, and Cotool Logs tools provide the cached compact map in their tool context so agents construct valid filters and column names on the first query instead of trial-and-error lookups.
- Post-ingest refresh: When a newly connected Cotool Logs stream begins landing events, Cotool triggers an automatic refresh of your Cotool Logs map (rate-limited to once per source per hour) so newly populated tables become discoverable quickly.
The Threat Model does not rely on cached
environment summaries alone — it actively inspects your connected tools and
CLIs to assess current infrastructure, attack surface, and visibility gaps.
Related
Threat model
How Cotool builds a living profile of your environment and attack
surface.
Author and publish detections
Write scheduled Python detections grounded in your actual log schemas.