Map osquery results columns or static values to Elastic Common Schema (ECS) fields
<string>object
fieldstring
The ECS field to map to.
valueunionstring | string[]
The value to map to the ECS field.
idstring
The ID of the query.
platformstring
Restricts the query to a specified platform. The default is all platforms. To specify multiple platforms, use commas. For example, linux,darwin.
querystring
The SQL query you want to run.
removedboolean
Indicates whether the query is removed.
saved_query_idstring
The ID of a saved query.
snapshotboolean
Indicates whether the query is a snapshot.
versionstring
Uses the Osquery versions greater than or equal to the specified version string.
shardsmapstring to number
An object with shard configuration for policies included in the pack. For each policy, set the shard configuration to a percentage (1–100) of target hosts.