mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.12`: - [[EDR Workflows][Osquery] Proper schema generation for rules (#173611)](https://github.com/elastic/kibana/pull/173611) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Konrad Szwarc","email":"konrad.szwarc@elastic.co"},"sourceCommit":{"committedDate":"2023-12-20T10:58:54Z","message":"[EDR Workflows][Osquery] Proper schema generation for rules (#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper way of generating schema (`.schema.yaml` as source).\r\n\r\n\r\n\r\nd7be0f71
-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend Workflows","Osquery","v8.12.0","v8.13.0"],"number":173611,"url":"https://github.com/elastic/kibana/pull/173611","mergeCommit":{"message":"[EDR Workflows][Osquery] Proper schema generation for rules (#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper way of generating schema (`.schema.yaml` as source).\r\n\r\n\r\n\r\nd7be0f71
-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/173611","number":173611,"mergeCommit":{"message":"[EDR Workflows][Osquery] Proper schema generation for rules (#173611)\n\nhttps://github.com/elastic/kibana/issues/172452\r\n\r\nProper way of generating schema (`.schema.yaml` as source).\r\n\r\n\r\n\r\nd7be0f71
-62ad-4afb-aa43-98b6af7bfd47","sha":"fc367aaaa405aaeb8905490bb27b0c80eac4a132"}}]}] BACKPORT--> Co-authored-by: Konrad Szwarc <konrad.szwarc@elastic.co>
This commit is contained in:
parent
8b0068752b
commit
9c93b5a9ed
2 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,7 @@ export const OsqueryParams = z.object({
|
|||
queries: z.array(OsqueryQuery).optional(),
|
||||
pack_id: z.string().optional(),
|
||||
saved_query_id: z.string().optional(),
|
||||
timeout: z.number().optional(),
|
||||
});
|
||||
|
||||
export type OsqueryParamsCamelCase = z.infer<typeof OsqueryParamsCamelCase>;
|
||||
|
@ -61,6 +62,7 @@ export const OsqueryParamsCamelCase = z.object({
|
|||
queries: z.array(OsqueryQuery).optional(),
|
||||
packId: z.string().optional(),
|
||||
savedQueryId: z.string().optional(),
|
||||
timeout: z.number().optional(),
|
||||
});
|
||||
|
||||
export type OsqueryResponseAction = z.infer<typeof OsqueryResponseAction>;
|
||||
|
|
|
@ -65,6 +65,8 @@ components:
|
|||
type: string
|
||||
saved_query_id:
|
||||
type: string
|
||||
timeout:
|
||||
type: number
|
||||
|
||||
OsqueryParamsCamelCase:
|
||||
type: object
|
||||
|
@ -81,6 +83,8 @@ components:
|
|||
type: string
|
||||
savedQueryId:
|
||||
type: string
|
||||
timeout:
|
||||
type: number
|
||||
|
||||
OsqueryResponseAction:
|
||||
type: object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue