mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[SecuritySolution][Endpoint] Update request docs for isolate/release/processes (#209097)
This commit is contained in:
parent
1c218f9846
commit
59a15be977
10 changed files with 201 additions and 109 deletions
|
@ -50848,7 +50848,22 @@ components:
|
|||
required:
|
||||
- parameters
|
||||
Security_Endpoint_Management_API_GetProcessesRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_HostPathScriptParameters:
|
||||
type: object
|
||||
properties:
|
||||
|
@ -50867,7 +50882,22 @@ components:
|
|||
required:
|
||||
- hostPath
|
||||
Security_Endpoint_Management_API_IsolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_KillProcessRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
@ -50952,28 +50982,6 @@ components:
|
|||
format: nonempty
|
||||
minLength: 1
|
||||
type: string
|
||||
Security_Endpoint_Management_API_NoParametersRequestSchema:
|
||||
type: object
|
||||
properties:
|
||||
body:
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
required:
|
||||
- body
|
||||
Security_Endpoint_Management_API_Page:
|
||||
default: 1
|
||||
description: Page number
|
||||
|
@ -51126,7 +51134,22 @@ components:
|
|||
minLength: 1
|
||||
type: array
|
||||
Security_Endpoint_Management_API_UnisolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_UploadRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
|
|
@ -57538,7 +57538,22 @@ components:
|
|||
required:
|
||||
- parameters
|
||||
Security_Endpoint_Management_API_GetProcessesRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_HostPathScriptParameters:
|
||||
type: object
|
||||
properties:
|
||||
|
@ -57557,7 +57572,22 @@ components:
|
|||
required:
|
||||
- hostPath
|
||||
Security_Endpoint_Management_API_IsolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_KillProcessRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
@ -57642,28 +57672,6 @@ components:
|
|||
format: nonempty
|
||||
minLength: 1
|
||||
type: string
|
||||
Security_Endpoint_Management_API_NoParametersRequestSchema:
|
||||
type: object
|
||||
properties:
|
||||
body:
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
required:
|
||||
- body
|
||||
Security_Endpoint_Management_API_Page:
|
||||
default: 1
|
||||
description: Page number
|
||||
|
@ -57816,7 +57824,22 @@ components:
|
|||
minLength: 1
|
||||
type: array
|
||||
Security_Endpoint_Management_API_UnisolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Security_Endpoint_Management_API_Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
Security_Endpoint_Management_API_UploadRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
import type { z } from '@kbn/zod';
|
||||
|
||||
import { SuccessResponse, NoParametersRequestSchema } from '../../../model/schema/common.gen';
|
||||
import { SuccessResponse, BaseActionSchema } from '../../../model/schema/common.gen';
|
||||
|
||||
export type IsolateRouteRequestBody = z.infer<typeof IsolateRouteRequestBody>;
|
||||
export const IsolateRouteRequestBody = NoParametersRequestSchema;
|
||||
export const IsolateRouteRequestBody = BaseActionSchema;
|
||||
|
||||
export type EndpointIsolateActionRequestBody = z.infer<typeof EndpointIsolateActionRequestBody>;
|
||||
export const EndpointIsolateActionRequestBody = IsolateRouteRequestBody;
|
||||
|
|
|
@ -27,4 +27,4 @@ paths:
|
|||
components:
|
||||
schemas:
|
||||
IsolateRouteRequestBody:
|
||||
$ref: '../../../model/schema/common.schema.yaml#/components/schemas/NoParametersRequestSchema'
|
||||
$ref: '../../../model/schema/common.schema.yaml#/components/schemas/BaseActionSchema'
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
import type { z } from '@kbn/zod';
|
||||
|
||||
import { SuccessResponse, NoParametersRequestSchema } from '../../../model/schema/common.gen';
|
||||
import { SuccessResponse, BaseActionSchema } from '../../../model/schema/common.gen';
|
||||
|
||||
export type GetProcessesRouteRequestBody = z.infer<typeof GetProcessesRouteRequestBody>;
|
||||
export const GetProcessesRouteRequestBody = NoParametersRequestSchema;
|
||||
export const GetProcessesRouteRequestBody = BaseActionSchema;
|
||||
|
||||
export type EndpointGetProcessesActionRequestBody = z.infer<
|
||||
typeof EndpointGetProcessesActionRequestBody
|
||||
|
|
|
@ -28,4 +28,4 @@ components:
|
|||
schemas:
|
||||
GetProcessesRouteRequestBody:
|
||||
allOf:
|
||||
- $ref: '../../../model/schema/common.schema.yaml#/components/schemas/NoParametersRequestSchema'
|
||||
- $ref: '../../../model/schema/common.schema.yaml#/components/schemas/BaseActionSchema'
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
import type { z } from '@kbn/zod';
|
||||
|
||||
import { SuccessResponse, NoParametersRequestSchema } from '../../../model/schema/common.gen';
|
||||
import { SuccessResponse, BaseActionSchema } from '../../../model/schema/common.gen';
|
||||
|
||||
export type UnisolateRouteRequestBody = z.infer<typeof UnisolateRouteRequestBody>;
|
||||
export const UnisolateRouteRequestBody = NoParametersRequestSchema;
|
||||
export const UnisolateRouteRequestBody = BaseActionSchema;
|
||||
|
||||
export type EndpointUnisolateActionRequestBody = z.infer<typeof EndpointUnisolateActionRequestBody>;
|
||||
export const EndpointUnisolateActionRequestBody = UnisolateRouteRequestBody;
|
||||
|
|
|
@ -27,4 +27,4 @@ paths:
|
|||
components:
|
||||
schemas:
|
||||
UnisolateRouteRequestBody:
|
||||
$ref: '../../../model/schema/common.schema.yaml#/components/schemas/NoParametersRequestSchema'
|
||||
$ref: '../../../model/schema/common.schema.yaml#/components/schemas/BaseActionSchema'
|
||||
|
|
|
@ -662,7 +662,22 @@ components:
|
|||
required:
|
||||
- parameters
|
||||
GetProcessesRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
HostPathScriptParameters:
|
||||
type: object
|
||||
properties:
|
||||
|
@ -681,7 +696,22 @@ components:
|
|||
required:
|
||||
- hostPath
|
||||
IsolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
KillProcessRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
@ -766,28 +796,6 @@ components:
|
|||
format: nonempty
|
||||
minLength: 1
|
||||
type: string
|
||||
NoParametersRequestSchema:
|
||||
type: object
|
||||
properties:
|
||||
body:
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
required:
|
||||
- body
|
||||
Page:
|
||||
default: 1
|
||||
description: Page number
|
||||
|
@ -942,7 +950,22 @@ components:
|
|||
minLength: 1
|
||||
type: array
|
||||
UnisolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
UploadRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
|
|
@ -662,7 +662,22 @@ components:
|
|||
required:
|
||||
- parameters
|
||||
GetProcessesRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
HostPathScriptParameters:
|
||||
type: object
|
||||
properties:
|
||||
|
@ -681,7 +696,22 @@ components:
|
|||
required:
|
||||
- hostPath
|
||||
IsolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
KillProcessRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
@ -766,28 +796,6 @@ components:
|
|||
format: nonempty
|
||||
minLength: 1
|
||||
type: string
|
||||
NoParametersRequestSchema:
|
||||
type: object
|
||||
properties:
|
||||
body:
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
required:
|
||||
- body
|
||||
Page:
|
||||
default: 1
|
||||
description: Page number
|
||||
|
@ -942,7 +950,22 @@ components:
|
|||
minLength: 1
|
||||
type: array
|
||||
UnisolateRouteRequestBody:
|
||||
$ref: '#/components/schemas/NoParametersRequestSchema'
|
||||
type: object
|
||||
properties:
|
||||
agent_type:
|
||||
$ref: '#/components/schemas/AgentTypes'
|
||||
alert_ids:
|
||||
$ref: '#/components/schemas/AlertIds'
|
||||
case_ids:
|
||||
$ref: '#/components/schemas/CaseIds'
|
||||
comment:
|
||||
$ref: '#/components/schemas/Comment'
|
||||
endpoint_ids:
|
||||
$ref: '#/components/schemas/EndpointIds'
|
||||
parameters:
|
||||
$ref: '#/components/schemas/Parameters'
|
||||
required:
|
||||
- endpoint_ids
|
||||
UploadRouteRequestBody:
|
||||
allOf:
|
||||
- type: object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue