* added osquery mode to autocomplete * clean up and formatting * arm wrestling with the compiler * more fighting with ace types * Delete v4.5.0.json removed unused schema file * playing the hokey pokey with import statements * lazy load the schema file * remove include rule now that we are lazy loading schema json * update out of date comment * reduce schema file to what is currently being used, add script for formatting generated api files * added a readme, and points the compiler at the scripts directory * swip-swapped the argument order, fixed linting complaints Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
10 lines
343 B
Markdown
10 lines
343 B
Markdown
### Schema formatter
|
|
|
|
In order to manage the size of the osquery schema files, there is a script
|
|
available to extract only the currently used fields (this selection is
|
|
currently manually curated). This assumes the targeted schema files will be in
|
|
`public/editor/osquery_schema`.
|
|
|
|
```
|
|
node scripts/schema_formatter --schema_version=v4.6.0
|
|
```
|