---
####
#### This document is auto-generated and is meant to be viewed inside our experimental, new docs system.
#### Reach out in #docs-engineering for more info.
####
id: kibOsqueryPluginApi
slug: /kibana-dev-docs/api/osquery
title: "osquery"
image: https://source.unsplash.com/400x175/?github
description: API docs for the osquery plugin
date: 2025-06-05
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'osquery']
---
import osqueryObj from './osquery.devdocs.json';



Contact [@elastic/security-defend-workflows](https://github.com/orgs/elastic/teams/security-defend-workflows) for questions regarding this plugin.

**Code health stats**

| Public API count  | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 23 | 0 | 23 | 7 |

## Client

### Setup
<DocDefinitionList data={[osqueryObj.client.setup]}/>

### Start
<DocDefinitionList data={[osqueryObj.client.start]}/>

## Server

### Setup
<DocDefinitionList data={[osqueryObj.server.setup]}/>

### Start
<DocDefinitionList data={[osqueryObj.server.start]}/>

## Common

### Consts, variables and types
<DocDefinitionList data={osqueryObj.common.misc}/>

