Skip to content

Commit

Permalink
[Security Solution][EDR Workflows] Remove deprecated API's (#199598)
Browse files Browse the repository at this point in the history
## Summary

- This adds api removals for deprecated API's.
- Also updates OAS documentations and api types.
- Also updates/removes test.

These changes are intended to be for `9.0` and Serverless GA.

API's removed:
- `/api/endpoint/isolate`
- `/api/endpoint/unisolate`
- `/api/endpoint/policy/summaries`
- `/api/endpoint/suggestions/{suggestion_type}`
- `/api/endpoint/action_log/{agent_id}`

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
dasansol92 and kibanamachine authored Nov 13, 2024
1 parent 90b14e2 commit a79695d
Show file tree
Hide file tree
Showing 36 changed files with 13 additions and 2,343 deletions.
125 changes: 0 additions & 125 deletions oas_docs/output/kibana.serverless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7597,34 +7597,6 @@ paths:
summary: Get response actions
tags:
- Security Endpoint Management API
/api/endpoint/action_log/{agent_id}:
get:
deprecated: true
description: Get an action request log for the specified agent ID.
operationId: EndpointGetActionLog
parameters:
- in: path
name: agent_id
required: true
schema:
$ref: '#/components/schemas/Security_Endpoint_Management_API_AgentId'
- in: query
name: query
required: true
schema:
$ref: >-
#/components/schemas/Security_Endpoint_Management_API_ActionLogRequestQuery
responses:
'200':
content:
application/json; Elastic-Api-Version=2023-10-31:
schema:
$ref: >-
#/components/schemas/Security_Endpoint_Management_API_SuccessResponse
description: OK
summary: Get an action request log
tags:
- Security Endpoint Management API
/api/endpoint/action_status:
get:
description: Get the status of response actions for the specified agent IDs.
Expand Down Expand Up @@ -7980,21 +7952,6 @@ paths:
summary: Get metadata
tags:
- Security Endpoint Management API
/api/endpoint/metadata/transforms:
get:
deprecated: true
operationId: GetEndpointMetadataTransform
responses:
'200':
content:
application/json; Elastic-Api-Version=2023-10-31:
schema:
$ref: >-
#/components/schemas/Security_Endpoint_Management_API_SuccessResponse
description: OK
summary: Get metadata transforms
tags:
- Security Endpoint Management API
/api/endpoint/policy_response:
get:
operationId: GetPolicyResponse
Expand All @@ -8018,33 +7975,6 @@ paths:
summary: Get a policy response
tags:
- Security Endpoint Management API
/api/endpoint/policy/summaries:
get:
deprecated: true
operationId: GetAgentPolicySummary
parameters:
- in: query
name: query
required: true
schema:
type: object
properties:
package_name:
type: string
policy_id:
nullable: true
type: string
responses:
'200':
content:
application/json; Elastic-Api-Version=2023-10-31:
schema:
$ref: >-
#/components/schemas/Security_Endpoint_Management_API_SuccessResponse
description: OK
summary: Get an agent policy summary
tags:
- Security Endpoint Management API
/api/endpoint/protection_updates_note/{package_policy_id}:
get:
operationId: GetProtectionUpdatesNote
Expand Down Expand Up @@ -8093,44 +8023,6 @@ paths:
summary: Create or update a protection updates note
tags:
- Security Endpoint Management API
/api/endpoint/suggestions/{suggestion_type}:
post:
deprecated: true
operationId: GetEndpointSuggestions
parameters:
- in: path
name: suggestion_type
required: true
schema:
enum:
- eventFilters
type: string
requestBody:
content:
application/json; Elastic-Api-Version=2023-10-31:
schema:
type: object
properties:
field:
type: string
fieldMeta: {}
filters: {}
query:
type: string
required:
- parameters
required: true
responses:
'200':
content:
application/json; Elastic-Api-Version=2023-10-31:
schema:
$ref: >-
#/components/schemas/Security_Endpoint_Management_API_SuccessResponse
description: OK
summary: Get suggestions
tags:
- Security Endpoint Management API
/api/entity_store/engines:
get:
operationId: ListEntityEngines
Expand Down Expand Up @@ -46207,17 +46099,6 @@ components:
required:
- status_code
- message
Security_Endpoint_Management_API_ActionLogRequestQuery:
type: object
properties:
end_date:
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndDate'
page:
$ref: '#/components/schemas/Security_Endpoint_Management_API_Page'
page_size:
$ref: '#/components/schemas/Security_Endpoint_Management_API_PageSize'
start_date:
$ref: '#/components/schemas/Security_Endpoint_Management_API_StartDate'
Security_Endpoint_Management_API_ActionStateSuccessResponse:
type: object
properties:
Expand Down Expand Up @@ -46536,12 +46417,6 @@ components:
description: Page number
minimum: 1
type: integer
Security_Endpoint_Management_API_PageSize:
default: 10
description: Number of items per page
maximum: 100
minimum: 1
type: integer
Security_Endpoint_Management_API_Parameters:
description: Optional parameters object
type: object
Expand Down
Loading

0 comments on commit a79695d

Please sign in to comment.