Incident timeline from logs
A draft incident timeline from logs
Give orca-zero-1.5-cybersecurity at https://api.pentestllm.ai/v1 the redacted log lines you already collected from an authorized incident and get back a draft timeline, ordered by time, with every entry tied to the line it came from so a responder can check each step against the source before it goes in the report. The model reads the lines you send and returns a schema-bound timeline, with no access to the systems the logs describe.
from openai import OpenAI client = OpenAI(base_url="https://api.pentestllm.ai/v1", api_key="sk-ptl-live-…") reply = client.chat.completions.create( model="auto/security", messages=[{"role": "user", "content": "Explain this advisory and list what to check on an affected host."}],)print(reply.model) # the build that answeredprint(reply.choices[0].message.content)The logs are collected; this is the ordering
For structured output from a completed detonation, use sandbox report evidence review to keep report-section references beside each behavioral claim.
An incident report needs a sequence: what happened first, what followed, and what the evidence for each step is. Building that sequence from several log sources by hand is slow, and the slow part is reading, which a model does well when the input is clean. This page assumes the collection is done. A responder with authorized access exported the relevant logs from the hosts and services involved, the exports are on your machine, and the model will see only the lines you choose to send. It cannot query a SIEM, pull a log or touch a host; it reads text and returns text.
Normalize the lines before anything else
Logs from different sources carry time in different ways. A syslog line in the RFC 5424 form puts an RFC 3339 timestamp near the front, or a dash when the sender had no clock, a web server access log often uses a bracketed format in the server’s local time, and a Windows event export may have the time in a separate column. Convert every line that carries a time to one UTC timestamp in your script, mark the lines that carry none, keep the source file and line number beside each, and sort. A timeline built on mixed timezones is wrong before the model sees it, and no amount of model reading repairs that.
Give each line a stable reference such as auth.log:4412 and keep the original text with it. That reference is what the model must return for every timeline entry, and it is what the responder uses to check the entry later.
Redact accounts and hosts, keep the shape
Replace user names, host names and internal addresses with placeholders that stay consistent across every line, so that the same account is USER_3 wherever it appears. Consistency matters more than secrecy here, because the sequence depends on knowing that two lines involve the same actor. Keep the placeholder map on your side. The gateway’s redaction setting replaces secrets and common identifiers as a second layer, but it does not know which strings in your logs identify the client, so the first pass is yours.
Send a window, not the whole archive
Send the lines from the window the responders care about, with a margin on each side, rather than everything the hosts logged that week. orca-zero-1.5-cybersecurity takes close to a million tokens in one request, so a day of filtered lines from a few sources fits, but a smaller window produces a more careful timeline and costs less. If the incident spans days, send one window per request and merge the timelines in code on the line references, which stay unique across windows.
Ask for entries bound to line references
Ask for an array of timeline entries, each with the UTC time, a one-sentence description of what the line shows, the actor placeholder, and the line reference it came from. Use a json_schema response format so every entry has those four fields and nothing else; orca-zero-1.5-cybersecurity lists response_format on the live catalog. The system prompt should say that the lines come from an authorized incident response, that every entry must cite a reference from the lines sent, and that the model must not infer a step for which no line exists. Gaps are information: a timeline that says there is no log line between two events is more useful than one that fills the gap with a guess.
Every reply carries usage.cost for its own call and a request id in the response headers; rates per token are listed on the pricing page.
Verify every entry against its line
In code, check that every line reference in the reply exists in what you sent and that the entries are in time order. Then the responder reads each entry beside its source line and either accepts it, corrects the wording, or removes it. An entry with no supporting line is dropped. The verified timeline goes into the incident report in the responder’s name, and the model’s draft stays in the case file with the line references so a later reviewer can see what was accepted and what was cut. For triaging a large batch before you know which window matters, the security log triage page comes first; for a sample rather than a log, the malware analysis hub covers sandbox reports.
16 security builds, priced per token
USD per million tokens, live on 2026-12-03; auto/security bills at the build that answers.
Detected refusals and invalid non-streamed JSON qualify for automatic refunds within the daily cap. Verify your receipt.
| Wire formats | |||||
|---|---|---|---|---|---|
| Qwen3.8 27B Cybersecurity | Security | $0.40 | $2.40 | 262K | |
| Uncensored Qwen3.8 27b Cybersecurity | Security | $0.40 | $2.40 | 262K | |
| Gemma 4 26B A4B Cybersecurity | Security | $0.4224 | $1.3376 | 262K | |
| Gemma 4 26B A4B Cybersecurity (Uncensored) | Security | $0.48 | $1.52 | 262K | |
| GLM-5.3 Flash Cybersecurity | Security | $0.525 | $1.75 | 1049K | |
| GLM-5.3 Flash Cybersecurity (Uncensored) | Security | $0.525 | $1.75 | 1049K | |
| Red Team (Flash) | Security | $0.90 | $3.00 | 1000K | |
| Red Team (Pro) | Security | $1.455 | $5.82 | – | |
| OrcaCyber MiniMax M3.1 Flash | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber MiniMax M3.1 Flash (Uncensored) | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber Qwen3.8 Flash Next (Uncensored) | Security | $2.00 | $4.00 | 262K | |
| OrcaCyber Qwen3.8 Flash Next | Security | $2.00 | $4.00 | 262K | |
| Uncensored Qwen3.8 Flash Next Cybersecurity | Security | $2.00 | $4.00 | 262K | |
| Cyber Frontier | Security | $5.25 | $15.75 | 1049K | |
| OrcaCyber Zero 1.5 | Security | $7.50 | $18.75 | 999K | |
| OrcaCyber Zero 1.5 (Uncensored) | Security | $7.50 | $18.75 | 999K |
Questions
How do I keep each timeline entry traceable to a log line?
Give every line a reference such as file name and line number before sending, require that reference in every timeline entry through the schema, and reject in code any entry whose reference is not among the lines you sent. The responder then checks each entry beside its line.
How much log should I send at once?
The window the responders care about with a margin on each side, after filtering to the relevant sources. The model takes close to a million tokens in one request, but a tighter window gives a more careful timeline and costs less. Send one window per request for a multi-day incident and merge on the line references.
Who verifies the sequence?
The responder with authorized access to the systems, by reading each entry against its source line and accepting, rewording or removing it. The model orders and describes what the lines show; it cannot see the systems and must not fill gaps with inference.
Which model should build the timeline?
orca-zero-1.5-cybersecurity, because it takes a long window in one request and supports the schema response that ties each entry to a line. It also supports prose-only summaries. Confirm its current availability and context limit in the catalog before a run.