Define an OSQuery to gather information on a security incident's CI. OSQuery provides
an SQL layer on top of OS tables, and is bundled together with the Agent Client Collector as part of the base system.
Before you begin
Role required: sn_si.admin
Procedure
-
Navigate to .
-
Select New.
The ACC Integration OSQuery - New Record page
appears.
-
Configure the fields on the page.
Table 1. ACC Integration OSQuery
| Field |
Description |
| Name |
A descriptive name for the query. |
| Query |
The query string. |
-
To validate that the Query you are writing works, select Test
OSQuery.
The
Test OSQuery page appears.
Table 2. Test OSQuery
| Field |
Description |
| Agent |
The specific end-point where the Query is run. |
-
Enter the specific end-point Agent where the result of the test is
displayed.
If it was successful
too large of an output
or an Error occurred with the error message displayed to the
sn_si.admin.
-
Select Submit.
OSQueries gather information on the target machine, where the incident
commands are listed by operating system. For example, a query defined as
select * from system_info gathers all information from
the OSQuery system_info table.