Investigations
Lakewatch is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage workspace-level previews.
Investigations are Experimental. The workflow, labels, and permissions can change.
An investigation collects one or more alerts so that Genie can triage them together. When you create an investigation, Genie automatically plans the work as tasks, queries your security data, records its conclusions as findings with supporting evidence, and proposes a verdict. You can then review the work that Genie did, ask follow-up questions, edit any incorrect findings, and close the investigation with the final verdict. Closing an investigation also resolves its alerts.
Genie doesn't close investigations or set their final verdict.
How an investigation is organized
Each investigation contains the following records. Genie creates tasks, findings, evidence, and entities as it works. You can't add them yourself.
- Task: A piece of investigative work, such as "Correlate endpoint, network, and deliveries." Task IDs are
T-followed by a number, such asT-1. A task's status is Open, Running, Done, or Failed. Each task also records the investigation's phase when Genie created it. - Finding: A conclusion Genie reached, with a short title and a statement. Finding IDs are
F-followed by a number, such asF-1. There are two types of findings:- Observation: Something Genie found in the data. Each observation has a verdict, Risky or Benign, and a strength. The strength is how much the observation counts toward the assessment: Strong, Moderate, Weak, or Neutral. A Neutral observation appears in the investigation but doesn't count toward the assessment.
- Gap: Something Genie couldn't check, such as a missing datasource or a table it doesn't have permission to read. A gap has no verdict or strength.
- Evidence: The data behind a finding. Query evidence holds the SQL that Genie ran and the rows it returned, and alert evidence points to an attached alert. Evidence IDs are
E-followed by a number, such asE-1. - Entity: A user, host, IP address, process, file, or other value that Genie investigated, shown as a
type: valuepair, such ashost: payroll-laptop-03.corp.example.com.
Every investigation also has the following attributes:
- Status: Open, In progress, or Closed. A new investigation moves from Open to In progress when Genie starts.
- Phase: Where your team's response stands. The phases follow the incident response functions in NIST SP 800-61 Rev. 3. New investigations start in Detect, and you can move an investigation to any phase, including back to an earlier one.
- Detect: Analyze the alerts to determine whether the activity is a real threat. Genie triages the alerts in this phase.
- Respond: Contain the threat and remove it, for example by revoking compromised credentials or isolating an affected host.
- Recover: Restore the affected systems and services to usual operation.
- Improve: Record lessons learned, such as changes to detection rules, so you can prevent or detect similar activity sooner.
- Assignee: The user who owns the investigation. Defaults to the user who created it.
- Proposed verdict: The verdict that Genie recommends, shown as Genie suggests in the status bar after Genie completes its assessment.
- Verdict: The final verdict, which you set when you close the investigation. One of the following:
- True positive: The alerts reflect malicious or unauthorized activity.
- Benign positive: The activity was real but expected or authorized.
- False positive: The alerts don't reflect the activity they're meant to detect.
- Inconclusive: The evidence doesn't support a verdict.
You can close an investigation from any phase, and changing the phase doesn't change the attached alerts.
Prerequisites
To create an investigation, you must have UPDATE_SECURITY_DATA and USE SCHEMA on at least one Lakewatch folder, plus USE CATALOG on the environment's catalog. You also need permission to use a serverless SQL warehouse. Investigations can't run on other warehouse types. See Permissions.
Create an investigation
You create an investigation from alerts. You can't create one from the Investigations page or from a system error.
- Click Alerts in the sidebar.
- Select one or more alerts, then click Create investigation in the selection bar. You can also open an alert and click Create investigation in the Investigations section of its details page. If the alert already belongs to an investigation, the button reads Create.
- In the Create investigation dialog, review the Selected alerts list, then confirm or change the following:
- Save to folder: The folder that stores the investigation. Defaults to the folder of the first selected alert that you can create investigations in. You can't move the investigation to a different folder later.
- SQL warehouse: The serverless SQL warehouse that Genie runs its queries on. The list shows only serverless SQL warehouses. Defaults to the warehouse selected in the Lakewatch top navigation if that warehouse is a serverless SQL warehouse. Choosing a different warehouse here doesn't change the top navigation selection.
- Click Create.
Lakewatch creates the investigation, assigns it to you, and starts Genie. The investigation's title starts as the first alert's title, and Genie replaces it with a more specific title as it works. An investigation can include up to 150 alerts. You can't add or remove alerts after you create the investigation.
An alert can belong to more than one investigation. Closing any of those investigations resolves the alert, even if another investigation that includes it is still open. The Investigations section of an alert's details page lists the investigations that include the alert, with each investigation's ID, status, and title. Check this list before you create an investigation, so you don't duplicate one that's already open.
Find an investigation
Click Investigations in the sidebar. The cards at the top count the Open, In progress, Closed, and Unassigned investigations created in the last seven days.
The list shows 25 investigations per page, newest first. Each row shows the investigation title, its ID (such as INV-143), its phase, the number of attached alerts, and its status, owner, verdict, and created and updated times. To change the sort order, click Created or Updated. To narrow the list, filter by status, verdict, owner, phase, or created date.
To view an investigation's details, click its title.
Review an investigation
An investigation's details page shows its title, ID, and created and updated times, along with the Genie status, such as Running or Analysis complete. Below that, the status bar shows the investigation's source (how it was created and how many alerts it has), phase, status, assignee, and verdict.
The investigation is organized into tabs:
Tab | What it shows |
|---|---|
Overview | A summary of what Genie found, its working explanation under Hypotheses and unknowns, and the investigation's tasks and findings. After the investigation is closed, a Resolution section shows the final verdict. |
Timeline | The events Genie extracted from its evidence, in time order, with a histogram of events over time. To focus on a period, drag across the histogram or click a bar. To clear the selection, press Esc. To see the data an event came from, click its Source evidence. |
Findings | Every finding, with its type, strength, and observed time. |
Tasks | Every task and its status, grouped by the phase the investigation was in when Genie created the task. Tasks with no recorded phase appear under Phase not recorded. |
Entities | Every entity Genie investigated and the findings that reference it. |
Alerts | The attached alerts, with their severity, detection rule, signal count, when they were seen, and classification. Alerts you don't have permission to read show as Alert unavailable. |
Activity | The audit log of what happened to the investigation, newest first. Changes that Genie makes are labeled Genie on behalf of the user who directed the work. When an investigation is closed, its entry shows whether the final verdict accepted or overrode the verdict that Genie proposed. |
To open the details of a task, finding, or alert in a side pane, click it. The T-, F-, and E- references in the summary are links that open the same pane. The pane keeps up to four records open as tabs. In a finding's details, expand a query evidence item to see the rows its query returned. Expand Captured SQL to read the query. To view the rows in a larger dialog, click Expand results.
Edit an investigation
You can change an investigation's title, phase, status, and assignee in the following ways:
- To rename the investigation, click its title, enter a new title of up to 1,024 characters, and press Enter.
- To change the phase, status, or assignee, use the Phase, Status, and Assignee menus in the status bar.
Genie writes the summary, tasks, and findings, so you can't edit them directly. To change a finding, see Correct a finding.
Work with Genie
To open the investigation's Genie pane, click Genie at the top of the investigation. The pane groups tool calls and reasoning under Analysis, with a step count. Completed groups start collapsed. Expand a group to review its steps.
You can send Genie a message from the pane. Use it to ask Genie to check something else, explain a finding, or revisit its assessment. To reference an attached alert, task, finding, or evidence item in your message, enter @. The Genie pane stays open while you view a record in the side pane. When the window is narrow, the Genie pane appears below the investigation content.
While the Genie pane is closed, you can also send Genie a message from the Ask Genie prompt at the bottom of the investigation. The reply appears above the prompt. The prompt and the Genie pane share the same draft and conversation. To ask about a specific task, finding, evidence item, or alert, reference it with @.
You can send Genie messages only after it completes its initial assessment. Until then, the Ask Genie prompt is unavailable.
While Genie works, it can do the following:
- Read the investigation, its attached alerts and their signals and comments, and the detection rules that produced the alerts.
- Read table schemas and run read-only SQL queries against your security data.
- Create and update tasks, create and invalidate findings, and record entities.
- Update the investigation's title and working hypothesis, and write its summary.
- Propose a verdict, or ask you for more information.
Genie runs the initial assessment with the creator's permissions. Queries prompted by a follow-up message use the permissions of the user who sent that message. If Genie can't read a table it needs, it records a gap finding instead.
If a detection rule includes a runbook, Genie uses the triage steps in the runbook as guidance for alerts from that rule.
When Genie stops
Genie works in turns. In each turn, Genie decides what to check next, runs queries, and records what it found. After a turn, Genie either starts another turn, waits for you, or finishes its assessment. If Genie stops before it finishes, the investigation shows one of the following messages:
- Agent needs input: Genie is waiting for more information from you. Reply in the Genie pane.
- Agent needs attention: The last attempt by Genie failed. Click Retry.
- Agent turn limit reached: Genie paused because it reached the maximum number of turns that it can take without a new message from you. To continue, send Genie a message.
Closing the Genie pane or leaving the investigation doesn't stop Genie. It keeps working in the background.
Correct a finding
If a finding is wrong, correct it so that the assessment reflects what you know:
- Open the finding from the Overview or Findings tab.
- In the side pane, do one of the following:
- To change the verdict or strength of an observation, click Edit finding. Enter a Reason of up to 1,024 characters, then click Save changes. Lakewatch sends your reason to Genie, which reevaluates the investigation.
- To remove the finding from the assessment, click Invalidate finding. Enter a Reason of up to 1,024 characters, then click Invalidate. Lakewatch sends your reason to Genie, which reevaluates the investigation. The finding's evidence and history remain available.
You can't edit gap findings or findings that are already invalidated. You can invalidate a gap finding.
Close an investigation
When you agree with the assessment that Genie proposed, or you've reached your own conclusion, close the investigation:
- In the status bar, click Review Verdict next to the verdict that Genie suggests. You can also click Close investigation at the top of the page.
- In the Close investigation dialog, confirm the proposed verdict, or select a different verdict.
- If you selected a different verdict from the one Genie proposed, enter a Resolution rationale of up to 4,096 characters.
- Click Close.
Closing an investigation sets its status to Closed and resolves its attached alerts. A True positive, Benign positive, or False positive verdict also updates each attached alert's classification, but doesn't change a classification to a less severe one. From most to least severe, the classifications are True positive, Benign positive, and False positive. For example, if an alert is already classified as True positive, closing the investigation as Benign positive leaves the alert as True positive. An Inconclusive verdict keeps the alerts' existing classifications.
Lakewatch updates an attached alert only if you have UPDATE_SECURITY_DATA on that alert's folder. Alerts you can't update keep their state, and a Not updated warning lists up to three of their IDs. Someone with access to those alerts can repeat the status change to update them. The same applies when you reopen an investigation or change its status.
A closed investigation is read-only. You can still read the Genie conversation, but you can't send Genie messages until you reopen the investigation.
Reopen an investigation
To continue a closed investigation, click Reopen investigation at the top of the page and confirm. Reopening sets the investigation's status to In progress and clears the final verdict and resolution rationale. It makes the investigation editable again and moves its attached alerts back to In progress.
Permissions
Lakewatch stores each investigation in a folder, and the privileges you hold on that folder control what you can do with the investigation. Every action also requires USE CATALOG on the environment's catalog and USE SCHEMA on the folder.
When you choose a folder for an investigation, everyone with READ_SECURITY_DATA on that folder can view its evidence and findings. Evidence can include rows from any table that Genie can read with the permissions it runs with, including tables in other catalogs. A folder reader can see those rows in the investigation even if they don't have SELECT on the source table. Choose a folder whose readers are authorized to see the data the investigation might collect.
Action | Required privileges |
|---|---|
View investigations, including evidence and findings |
|
Create an investigation, edit it, or correct its findings |
|
Change an investigation's status, including closing and reopening it |
|
Open the Genie pane, read the Genie conversation, send Genie a message, or retry Genie |
|
If you have only READ_SECURITY_DATA on the folder, you can view the investigation, its findings, and its evidence, but you can't open the Genie pane, read the Genie conversation, send Genie messages, or retry Genie.
Attached alerts keep their own permissions. To create an investigation from an alert, you must be able to read the alert. For how privileges work in Lakewatch, see Access control model.
Limitations
- You can create an investigation only from security alerts, and an investigation can include up to 150 alerts. You can't add or remove alerts after you create it.
- You can't add tasks, findings, or entities yourself. Genie creates them, and you can edit or invalidate findings.
- Investigations don't support comments.
- Investigations aren't available in workspaces that have the compliance security profile enabled. To triage alerts in those workspaces, see Triage an alert in compliance security profile workspaces.