> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socfortress.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Talon investigation cards

> When a customer's automation level is on propose, Talon's automatic investigation proposes an endpoint collection as a card instead of running it, and a person approves or denies it in CoPilot. What cards are for, where they appear, how to decide them well, and their notifications.

[Talon](https://docs.socfortress.co/power-features/ai-analyst.md)'s automatic investigations can collect evidence from the alert's host with Velociraptor. Each customer's automation policy decides, level by level, whether an investigation runs a collection itself, only records what it would have run, or **proposes** it. A proposal is an **investigation card**. It waits in CoPilot until a person approves or denies it, and nothing runs on the host until someone approves it.

> [!NOTE]
>
> Cards are for your SOC. Customers never see them, in the Customer Portal or on customer notification routes. They need the [Talon v2 setting](https://docs.socfortress.co/power-features/ai-analyst.md#the-talon-v2-setting), and Talon makes them only once its propose switch is on: see [Turning cards on](#turning-cards-on).

***

## What a card is

A card is one Velociraptor collection, on one host, that the automatic investigation of one alert wanted to run.

* **It comes from the investigation, not from a person.** Nobody asked for it, so nobody can withdraw it, and it never appears under **Mine** on the Approvals tab.
* **It is about the alert's own host.** The host must be one of the alert's assets. The artifact comes from CoPilot's catalogue of read-only collections, with the catalogue's fixed parameter values: the model picks the artifact, never its values.
* **The investigation doesn't wait for it.** Talon tells the model that the collection was proposed and not run, and the report is written without its results. If someone approves the card later, the results don't go back into that report.
* **It expires.** Talon gives each card a lifetime, 24 hours from the proposal by default. An expired card never runs.
* **One at a time.** While a card for an alert, a host and an artifact waits, Talon doesn't propose the same collection again, not even from a new investigation of the same alert.

***

## Why cards exist

### Modes

An admin sets the mode of each automation level per customer, on **Customers → *customer* → AI Automation** (see [Automation levels](https://docs.socfortress.co/power-features/ai-analyst.md#automation-levels)). For a collection an investigation wants:

| Mode | What happens |
| - | - |
| **Off** | Nothing at this level runs or is recorded. |
| **Shadow** | Would-have-run: every check runs and the exact request is recorded, but nothing runs on the host. People judge it **Would run** or **Would not run**. |
| **Propose** | A card. Nothing runs until a person approves it. |
| **Auto** | It runs on the alert's own host as the Talon service user, within the caps, with every check in CoPilot. |

Level 1's mode is set directly. At levels 2–4, **Auto** is a target: the level runs as Propose until it has earned Auto, so a level aiming at Auto makes cards until then. The strictest setting always wins: CoPilot's policy, the customer's ceiling and modes in Talon, and Talon's deployment-wide maximum. A level that ends up on Propose makes cards.

### The agreement gate

At levels 2, 3 and 4, your decisions on cards are the evidence that earns Auto for that customer, or takes it away:

* **Approving** agrees with Talon, whatever the collection does afterwards.
* **Denying** with a reason that counts against Talon disagrees.
* **A reason that counts neither way**, and an expired card, count for nothing.

CoPilot counts the last 90 days, on Talon's current investigation model, and looks at the customer's levels again as soon as you decide. With no disagreement, level 2 has earned Auto after 11 decisions, level 3 after 16 and level 4 after 25, and an admin can then turn it on. A level on Auto goes back to Propose when agreement falls under its floor (from 5 decisions). The full rules are in [Automation levels](https://docs.socfortress.co/power-features/ai-analyst.md#automation-levels).

Level 1 has no gate: a decision on a level-1 card is recorded and counts for nothing else.

The reasons for a denial:

| Reason | Use it when | Counts |
| - | - | - |
| **Not needed** | The collection wouldn't help with this alert | Against Talon |
| **Wrong target** | It is the wrong host or the wrong artifact for this alert | Against Talon |
| **Too intrusive** | It collects more than the alert justifies | Against Talon |
| **Unsafe** | Running it could do harm | Against Talon |
| **Other** | It is wrong for another reason | Against Talon |
| **Duplicate** | The same collection already ran, or waits elsewhere | Neither way |
| **Host unavailable** | The host is offline or can't be reached | Neither way |
| **Already collected** | You already have this evidence | Neither way |

Pick the reason that is true. A neutral reason for a proposal that was actually wrong hides a problem from the gate, and a reason against Talon for a proposal that was fine holds a level back.

### Proposed instead of run on Auto

A collection can become a card even when its level is on Auto. Talon proposes it instead of running it when:

* **the investigation read text the injection defender flagged, or couldn't fully scan.** Text on a host or in an alert can carry instructions aimed at the model, so after reading such text Talon doesn't run a collection on its own;
* **the level was lowered while the investigation ran**, for example from Auto to Propose.

The card then has a warning banner that starts with *Proposed instead of run on Auto* and says which of the two happened, or that Talon lowered the collection for another reason. Such a card is decided like any other, and its decision counts like any other. A flagged one deserves the closest look: check the proposal against the alert and the host yourself before approving. (With Talon's propose switch off, such a collection is recorded as a would-have-run instead.)

***

## Where cards appear

### On the alert

Open the alert in **Incident Management → Alerts**, then its **AI Analyst** tab, then **Automated actions**. **Proposals from this alert's investigation** lists every card of the alert that you may decide, whatever its state, newest first. **Refresh** reads them again. The alert's automated starts and would-have-runs are listed below.

The tab needs the Talon v2 setting, and the alert needs an investigation report. An investigation that failed without a report has no tab to show its cards on: use the Approvals tab.

### On the Approvals tab

**AI Analyst → Approvals → Pending** lists what you may decide now: chat proposals and cards together, plus your own chat proposals that wait. A card's row is tagged **Investigation · level N** and links to its alert, and **You can decide** marks the rows you may decide. The tab's badge counts them, and the list refreshes every 30 seconds while the page is open. Click a row to open the card.

A card leaves **Pending** once it is decided or has expired. Its alert's **Automated actions** tab keeps it, with what happened to it.

### In your SOC's channels

Two internal notification triggers tell the SOC when a card waits and when one is about to expire: see [Notifications](#notifications).

***

## Reading a card

From the top:

| Part | What it shows |
| - | - |
| Header | **Collect a Velociraptor artifact**, who proposed it (this alert's investigation, or a link to its alert), the **Level** tag and the status |
| Banners | Warnings, when there are any (below) |
| **Customer** | The alert's customer |
| **Target** | The host name, its agent, its Velociraptor client id and its OS: CoPilot's record of the host |
| Arguments | The proposal's arguments, as the record holds them |
| **Artifact** | The Velociraptor artifact and what it collects, from CoPilot's catalogue |
| **Parameters, sent to Velociraptor as written** | Each parameter and its value, or *None: the artifact runs with its own defaults.* |
| **The model's reason** | Why the model wanted the collection. Untrusted: the model wrote it and nothing checked it |
| **Investigation job**, **Model** | The investigation's job, and the investigation model that proposed it (when Talon sends it) |
| Times | When it was proposed, and **Expires in …** or **Expired** |
| After a decision | Who approved or denied it and when, the deny reason (marked *counts neither way* when it does), the result, the Velociraptor flow, and whether CoPilot has reported the outcome to Talon |

The banners:

* **Hidden characters.** The proposal holds invisible or direction-changing characters, shown as `⟨U+…⟩`, so its text may not read the way it looks.
* **Proposed instead of run on Auto.** See [above](#proposed-instead-of-run-on-auto).
* **Injection.** Talon's injection defender flagged text the investigation read, or the investigation read text the defender couldn't fully scan (the card says how many characters weren't scanned). The proposal may have been steered by that text.
* **Web.** The investigation used text from the web, which may have shaped the proposal.

The statuses:

| Status | What it means |
| - | - |
| **Waiting for a decision** | Approve or deny it |
| **Expired** | Nobody decided it in time. It never runs |
| **Being decided** | Someone is deciding it right now |
| **Approved, about to run**, **Running** | CoPilot is starting the collection |
| **Executed** | The collection started in Velociraptor |
| **Failed** | It was approved, but nothing started: the card says why |
| **Denied** | Nothing ran |
| **Can no longer be decided** | Talon refused the decision. Nothing ran |
| **Not run: the approval's answer was lost** | CoPilot didn't get Talon's answer to the approval, so it ran nothing. CoPilot keeps checking what Talon recorded |
| **Run, but the outcome wasn't reported to Talon** | The collection ran, or may have, and CoPilot couldn't tell Talon in time |

***

## Deciding a card

### Before you approve

A card is a question: would this collection help with this alert? To answer it well:

* **Read the alert and the report first.** Approve when the collection answers a question the investigation left open.
* **Check the target and the artifact.** CoPilot has already checked that the host is one of the alert's assets, on exactly one agent. Whether this artifact, on this host, fits the alert is your call.
* **Treat the model's reason as a claim.** It can be wrong, and text the investigation read may have shaped it.
* **Take the banners seriously.** On a flagged card, check everything the card says against the alert and the host yourself.
* **Simulations are real.** Don't deny a card because the activity looks like a test or a breach-and-attack simulation.

### Approving

Click **Approve**. A dialog, **Collect this artifact on the host?**, repeats exactly what will run. Click **Collect**, and CoPilot:

1. **Checks that you may decide it**, and that it still waits and hasn't expired.
2. **Checks that it may still run.** The **AI Analyst automation** switch is on. The customer's level is on Propose or Auto. CoPilot still classifies the artifact at the card's level. The artifact is still allowed at that level: on the Talon collection allowlist for level 1, on the customer's level-2 list and approved for the deployment for level 2. Its parameters are exactly the pinned values, and its Velociraptor definition is the one an admin approved. If one of these fails, the approval is refused with `not run:` and the reason, and **the card keeps waiting**: fix the cause and approve again, or deny it.
3. **Records your approval with Talon.** If Talon refuses it, nothing runs.
4. **Checks the host again**, under a lock: exactly one agent with the card's Velociraptor client, of the card's customer. The checks of step 2 run again too. If anything fails now, the card ends **Failed** and nothing runs.
5. **Starts the collection as you**, through the same checks as a collection you start yourself on [Respond → Artifacts](https://docs.socfortress.co/user/ui/artifacts.md), with the resource limits of automated starts: by default at most 300 seconds, 25% of one CPU, 10,000 rows and 1 MiB of uploaded files. CoPilot doesn't wait for it to finish.
6. **Reports the outcome to Talon.** The card shows **Executed**, *Velociraptor flow started* and the flow's id, and *Reported to Talon.* once Talon has it.

No automation caps apply: a person approved this one. The results stay in Velociraptor. They don't go into the investigation's report, which is finished, but you can ask Talon to read them in a chat thread for the customer.

CoPilot's audit log (**Access → Audit Log**, admins) records the approval (`talon_action.approve`), the collection (`artifact.collect`, with you as the actor and naming the alert, the investigation's job, the card and its level) and the result (`talon_action.execute`).

### Denying

Click **Deny…**, pick a reason under **Why deny it?** and click **Deny**. A card can't be denied without a reason. Nothing runs, and the denial is recorded in the audit log (`talon_action.deny`). If Talon's answer to the denial is lost, the card goes back to waiting, and you can deny it again.

### Expiry

Talon sets each card's expiry when it proposes it: 24 hours later by default (`TALON_INVESTIGATION_ACTION_TTL_HOURS` in Talon, 1 to 720 hours). The lifetime counts from the proposal, during the investigation, not from when CoPilot first shows the card.

The card counts down (**Expires in …**). Once it expires, it shows **Expired**, its buttons disappear and it leaves Approvals → Pending; the alert's **Automated actions** tab keeps it. An expired card:

* never runs, and can't be brought back;
* counts neither way for the agreement gate, so the decision it was waiting for is lost as evidence.

If you still want the evidence, start the collection yourself on [Respond → Artifacts](https://docs.socfortress.co/user/ui/artifacts.md), or ask Talon for it in a chat thread for the customer. The **Talon card expiring soon** [notification](#notifications) warns the SOC before a card expires.

### Cards CoPilot doesn't show

CoPilot reads an investigation's cards when the investigation ends. Before it shows a card, it checks the card against its own records:

* the card is this investigation's, for its customer and its alert, and the investigation proposed it;
* it is a collection CoPilot can run: the record's host and Velociraptor client, and an artifact from CoPilot's catalogue at its pinned values, at the level CoPilot itself classifies it at (level 1 or 2);
* the **AI Analyst automation** switch is on, and the customer's policy has that level on Propose or Auto;
* the host is on exactly one agent, with the card's Velociraptor client;
* CoPilot sent the alert to Talon for this investigation, from the alert pipeline or an analyst (never a Customer Portal request or a replay), at most 2 hours before the investigation began, with the host among the alert's assets.

A card that fails any check is never shown, decided, counted or notified. This is a safety check: whatever Talon sends, nobody is asked to approve a collection on another customer's host, for an unrelated alert, or outside the catalogue. CoPilot's backend log records each refusal as a warning, `Talon job <job>: card <id> not mirrored:` and the reason.

***

## Notifications

Two **internal** triggers tell the SOC about cards. They are offered on internal routes (**Notifications → Internal Routes**) only: a customer route can't be saved with them, and customers never hear about cards.

| Trigger | Sent |
| - | - |
| **Talon card waiting for a decision** (`talon_card_waiting`) | Once per card, when CoPilot first shows it |
| **Talon card expiring soon** (`talon_card_expiring`) | Once per card nobody has decided by the last quarter of its lifetime: 6 hours before a 24-hour card expires. CoPilot checks every 2 minutes |

* **Severity.** Medium, or **High** when Talon proposed the card instead of running it on Auto because the investigation read text the injection defender flagged or couldn't fully scan (or for a reason this CoPilot doesn't know). A card proposed because its level was lowered during the investigation stays Medium. A route's minimum severity applies as usual, so *High and above* gets only the High ones.
* **Nothing is sent** for a card that is already decided or expired when CoPilot first shows it, for a card decided or expired before its reminder, or for a chat proposal. A card CoPilot first shows in its last quarter gets no reminder: its waiting message already says when it expires.
* **The default message** names the customer, the alert, the level, the artifact and the host, the investigation model and when the card expires, with links to the alert's page and to the Approvals tab (set `COPILOT_URL` for the links). It never includes the model's reason. Invisible characters in a host name are written out as `⟨U+XXXX⟩`.
* **A template** gets the card as `{{ context.talon_card }}`: `state` (`waiting` or `expiring`), `customer_code`, `alert_id`, `job_id`, `card_id`, `level`, `artifact`, `hostname`, `model`, `downgrade` (`flagged`, `policy`, `other` or empty), `proposed_at`, `expires_at`, `alert_url` and `approvals_url`, plus `{{ context.title }}`. A webhook gets the same block. See [The `talon_card` block](https://docs.socfortress.co/user/notifications#the-talon_card-block).

To set them up:

**1. Create an internal route**

Open **Notifications → Internal Routes** and add a route, with the channel your SOC watches.

**2. Pick the trigger**

**Talon card waiting for a decision**. A route has one trigger, so add a second route for **Talon card expiring soon**.

**3. Set the minimum severity**

**Medium and above** for every card, or **High and above** for the High ones only.

More in [Notifications → Talon investigation cards](https://docs.socfortress.co/user/notifications.md#talon-investigation-cards).

***

## Turning cards on

Cards need all of these. The strictest setting wins, so one missing piece means no cards.

**In Talon** (talon-analyst's `.env`, then a restart with the investigation queue empty; SOCFortress can do it):

```bash theme={null}
TALON_V2_API=true
TALON_AUTOMATION_PROPOSE=true
```

| Setting | Default | What it does |
| - | - | - |
| `TALON_AUTOMATION_PROPOSE` | `false` | Turns cards on. Off, a level on Propose records what would have run, as Shadow does |
| `TALON_AUTOMATION_SEND_MODEL` | `false` | On, cards, automated starts and would-have-runs name the investigation model (shown on the card and in its notifications), so the agreement gate can tell when Talon's model changes |
| `TALON_INVESTIGATION_ACTION_TTL_HOURS` | `24` | A card's lifetime, 1 to 720 hours |

Use talon-analyst 0.1.18 or later. Talon's own limits for the customer must allow the level (its automation ceiling and modes, and the deployment-wide maximum), and the customer must be in live write-back. Turning `TALON_AUTOMATION_PROPOSE` off applies from the next investigation: cards already proposed stay until they are decided or expire.

**In CoPilot** (admins):

1. A CoPilot release newer than v0.2.04.
2. The [Talon v2 setting](https://docs.socfortress.co/power-features/ai-analyst.md#the-talon-v2-setting) on.
3. **AI Analyst → Settings → AI Analyst automation** on. With it off, Talon proposes nothing, CoPilot reads no cards and sends no reminders, and approving a waiting card is refused (it keeps waiting). Denying still works.
4. On **Customers → *customer* → AI Automation**, the level on **Propose**, or on **Auto** at levels 2–4 while it runs as propose. To approve a level-1 card, its artifact must be on the Talon collection allowlist; a level-2 card's must be on the customer's level-2 list and approved for the deployment.
5. The customer's alerts reach Talon from the alert pipeline (**AI Triggers**) or from an analyst (**Investigate with AI Analyst**). A Customer Portal request or a replay never leads to a card.

***

## Who can see and decide

Only the people who may decide a card see it. There is no read-only view.

| Who | Cards |
| - | - |
| **Admin** | Every customer's |
| **Responder** | Those of the customers they are assigned, for alerts they can see (with [tag access](https://docs.socfortress.co/user/ui/tag-access.md) on, the alert's tags too) and hosts of those customers |
| **Analyst** | None. The alert's tab says *None for you to decide* |
| **Customer Portal users** | None |
| **The Talon service account** | Never decides one, whatever its role |

CoPilot checks your role as stored in CoPilot, not your login token's, each time it lists cards and each time you decide one, so a change of role or of customer assignment applies at once.

***

## Troubleshooting

**No cards show up.** Work down the list:

* You are an analyst, or a responder who isn't assigned the customer or can't see the alert: only the people who may decide a card see it.
* The Talon v2 setting is off: there is no Approvals tab and no Automated actions tab.
* The alert has no investigation report, so no Automated actions tab: look on the Approvals tab.
* The investigation hasn't ended. CoPilot reads its cards when it ends. A read that failed is tried again, at most 30 minutes apart, until 24 hours after the investigation started (the `invoke_talon_job_card_reads` scheduler job, every 2 minutes).
* The **AI Analyst automation** switch is off, or `TALON_AUTOMATION_PROPOSE` is off in Talon. With the second, look for would-have-runs on the alert's Automated actions tab.
* The level isn't on Propose once every setting is applied: CoPilot's policy, or Talon's ceiling or modes for the customer.
* The investigation came from a Customer Portal request or a replay, or the customer isn't in live write-back.
* The investigation didn't want a collection, or a card for the same host and artifact already waits on this alert.
* CoPilot refused the card ([Cards CoPilot doesn't show](#cards-copilot-doesnt-show)). An admin finds the reason in CoPilot's backend log.

**A card disappeared.**

* From Approvals → Pending: someone decided it, or it expired. The alert's **Automated actions** tab still shows it, with what happened.
* From the alert's tab too: you lost access to it (your role, the customer, the alert's tags), or the Talon v2 setting was turned off.
* A card opened from a link says *Action not found*: it isn't yours to see, or Talon no longer knows it.

**Approving says the card expired.**

* *this action is no longer pending*: the card's lifetime ran out, or Talon's record of it no longer waits.
* *this action expired before a decision*: Talon has expired it. CoPilot marks it **Expired**.

Nothing ran either way, and an expired card can't be brought back. If you still want the evidence, start the collection yourself on [Respond → Artifacts](https://docs.socfortress.co/user/ui/artifacts.md), or ask Talon for it in a chat thread for the customer.

**Approving says `not run: …`.** A check failed before anything ran: for example the automation switch is off, the level is no longer on Propose or Auto, or the artifact is no longer allowed or its definition changed. The card keeps waiting: fix the cause and approve again, or deny it.

**Approving says *someone else is deciding this action*.** Another person decided it at the same moment. The card shows what they decided.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.