Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions docs/detections/alerts-run-osquery.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ You must complete the following to access Osquery and run searches against your
============


. Click the *View details* button from the Alerts table to open the Alert details flyout.
. Click *Take action*, then select *Run Osquery*.
. Do one of the following from the Alerts table:
** Click the *View details* button to open the Alert details flyout, then click *Take action -> Run Osquery*.
** Select the *More actions* menu (*...*), then select *Run Osquery*.
. Select one or more {agent}s or groups to query. Start typing in the search field to get suggestions for {agent}s by name, ID, platform, and policy.

+
Expand All @@ -35,8 +36,15 @@ image::images/setup-query.png[width=80%][height=80%][Shows how to set up the que
TIP: To save the query for future use, click *Save for later* and define the ID,
description, and other {kibana-ref}/osquery.html#osquery-manage-query[details].

. Review the results in the table. You can also navigate to *Discover* to dive deeper into the response,
or use the drag-and-drop *Lens* editor to create visualizations.
. Review the results in the table. You can also:
** Navigate to *Discover* to dive deeper into the response.
** Use the drag-and-drop *Lens* editor to create visualizations.
** Click the *Timeline* button (image:images/timeline-button-osquery.png[Click markdown icon,20,20]) to investigate a single query result in Timeline or *Add to timeline investigation* to investigate all results.

+
TIP: An `action_ID` is generated when you run an Osquery query. The `action_ID` field and value pair is passed to the Timeline's KQL filter when you select the option to open all results in Timeline.
+

. To view more information about the request, such as failures, open the *Status* tab in the results table.
+
[role="screenshot"]
Expand Down
Binary file modified docs/detections/images/query-results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/detections/images/setup-query.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.