Skip to content

Commit e9801f0

Browse files
authored
Merge branch 'main' into fix-data-provider
2 parents 20d8696 + 6ed6ea4 commit e9801f0

274 files changed

Lines changed: 8482 additions & 8734 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

oas_docs/output/kibana.serverless.yaml

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16653,6 +16653,90 @@ paths:
1665316653
<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/protection_updates_note/{package_policy_id}</span></div>
1665416654

1665516655
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
16656+
/api/endpoint/scripts_library:
16657+
get:
16658+
description: |-
16659+
**Spaces method and path for this operation:**
16660+
16661+
<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/scripts_library</span></div>
16662+
16663+
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
16664+
16665+
Retrieve a list of scripts
16666+
operationId: EndpointScriptLibraryListScripts
16667+
parameters:
16668+
- description: Page number of the results to return. Defaults to 1.
16669+
in: query
16670+
name: page
16671+
required: false
16672+
schema:
16673+
$ref: '#/components/schemas/Security_Endpoint_Management_API_Page'
16674+
- description: Number of results to return per page. Defaults to 10. Max value is 1000.
16675+
in: query
16676+
name: pageSize
16677+
required: false
16678+
schema:
16679+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiPageSize'
16680+
- description: The field to sort the results by. Defaults to name.
16681+
in: query
16682+
name: sortField
16683+
required: false
16684+
schema:
16685+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiSortField'
16686+
- description: The direction to sort the results by. Defaults to asc (ascending).
16687+
in: query
16688+
name: sortDirection
16689+
required: false
16690+
schema:
16691+
$ref: '#/components/schemas/Security_Endpoint_Management_API_SortDirection'
16692+
- description: |
16693+
A KQL query string to filter the list of scripts. Nearly all fields in the script object are searchable.
16694+
in: query
16695+
name: kuery
16696+
required: false
16697+
schema:
16698+
allOf:
16699+
- $ref: '#/components/schemas/Security_Endpoint_Management_API_Kuery'
16700+
- example: platform:windows
16701+
responses:
16702+
'200':
16703+
content:
16704+
application/json:
16705+
examples:
16706+
response:
16707+
summary: List of scripts response example
16708+
value:
16709+
data: []
16710+
page: 1
16711+
pageSize: 10
16712+
sortDirection: asc
16713+
sortField: name
16714+
total: 100
16715+
schema:
16716+
type: object
16717+
properties:
16718+
data:
16719+
items:
16720+
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointScript'
16721+
type: array
16722+
page:
16723+
$ref: '#/components/schemas/Security_Endpoint_Management_API_Page'
16724+
pageSize:
16725+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiPageSize'
16726+
sortDirection:
16727+
$ref: '#/components/schemas/Security_Endpoint_Management_API_SortDirection'
16728+
sortField:
16729+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiSortField'
16730+
total:
16731+
description: The total number of scripts matching the query
16732+
type: integer
16733+
description: List of scripts response
16734+
summary: Get a list of scripts
16735+
tags:
16736+
- Security Endpoint Management API
16737+
x-metaTags:
16738+
- content: Kibana, Elastic Cloud Serverless
16739+
name: product_name
1665616740
/api/entity_analytics/monitoring/engine/delete:
1665716741
delete:
1665816742
operationId: DeleteMonitoringEngine
@@ -90262,6 +90346,20 @@ components:
9026290346
- microsoft_defender_endpoint
9026390347
example: endpoint
9026490348
type: string
90349+
Security_Endpoint_Management_API_ApiPageSize:
90350+
allOf:
90351+
- $ref: '#/components/schemas/Security_Endpoint_Management_API_PageSize'
90352+
- maximum: 1000
90353+
Security_Endpoint_Management_API_ApiSortField:
90354+
description: Determines which field is used to sort the results.
90355+
enum:
90356+
- name
90357+
- createdAt
90358+
- createdBy
90359+
- updatedAt
90360+
- updatedBy
90361+
example: updatedAt
90362+
type: string
9026590363
Security_Endpoint_Management_API_Cancel:
9026690364
allOf:
9026790365
- $ref: '#/components/schemas/Security_Endpoint_Management_API_ResponseActionDetails'
@@ -90486,6 +90584,59 @@ components:
9048690584
revision: 2
9048790585
type: object
9048890586
properties: {}
90587+
Security_Endpoint_Management_API_EndpointScript:
90588+
type: object
90589+
properties:
90590+
createdAt:
90591+
format: date-time
90592+
type: string
90593+
createdBy:
90594+
example: elastic
90595+
type: string
90596+
description:
90597+
description: Description of the script and its purpose/functionality
90598+
example: Collects host data for investigation
90599+
type: string
90600+
downloadUri:
90601+
description: URI to download the script file. Note that this is the relative path and does not include the space (if applicable)
90602+
example: /api/endpoint/scripts_library/123e4567-e89b-12d3-a456-426655440000/download
90603+
type: string
90604+
example:
90605+
type: string
90606+
id:
90607+
example: 123e4567-e89b-12d3-a456-426655440000
90608+
format: uuid
90609+
type: string
90610+
instructions:
90611+
description: Instructions for using the script, including details around its supported input arguments
90612+
type: string
90613+
name:
90614+
example: Collect host data
90615+
type: string
90616+
pathToExecutable:
90617+
description: |
90618+
The relative path to the file included in the archive that should be executed once its contents are extracted. Applicable only for scripts uploaded as an archive (.zip file for example).
90619+
type: string
90620+
platform:
90621+
items:
90622+
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointScriptPlatform'
90623+
type: array
90624+
requiresInput:
90625+
type: boolean
90626+
updatedAt:
90627+
format: date-time
90628+
type: string
90629+
updatedBy:
90630+
example: admin
90631+
type: string
90632+
version:
90633+
type: string
90634+
Security_Endpoint_Management_API_EndpointScriptPlatform:
90635+
enum:
90636+
- linux
90637+
- macos
90638+
- windows
90639+
type: string
9048990640
Security_Endpoint_Management_API_Execute:
9049090641
allOf:
9049190642
- $ref: '#/components/schemas/Security_Endpoint_Management_API_ResponseActionDetails'

oas_docs/output/kibana.yaml

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19126,6 +19126,90 @@ paths:
1912619126
<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/protection_updates_note/{package_policy_id}</span></div>
1912719127

1912819128
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
19129+
/api/endpoint/scripts_library:
19130+
get:
19131+
description: |-
19132+
**Spaces method and path for this operation:**
19133+
19134+
<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/scripts_library</span></div>
19135+
19136+
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
19137+
19138+
Retrieve a list of scripts
19139+
operationId: EndpointScriptLibraryListScripts
19140+
parameters:
19141+
- description: Page number of the results to return. Defaults to 1.
19142+
in: query
19143+
name: page
19144+
required: false
19145+
schema:
19146+
$ref: '#/components/schemas/Security_Endpoint_Management_API_Page'
19147+
- description: Number of results to return per page. Defaults to 10. Max value is 1000.
19148+
in: query
19149+
name: pageSize
19150+
required: false
19151+
schema:
19152+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiPageSize'
19153+
- description: The field to sort the results by. Defaults to name.
19154+
in: query
19155+
name: sortField
19156+
required: false
19157+
schema:
19158+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiSortField'
19159+
- description: The direction to sort the results by. Defaults to asc (ascending).
19160+
in: query
19161+
name: sortDirection
19162+
required: false
19163+
schema:
19164+
$ref: '#/components/schemas/Security_Endpoint_Management_API_SortDirection'
19165+
- description: |
19166+
A KQL query string to filter the list of scripts. Nearly all fields in the script object are searchable.
19167+
in: query
19168+
name: kuery
19169+
required: false
19170+
schema:
19171+
allOf:
19172+
- $ref: '#/components/schemas/Security_Endpoint_Management_API_Kuery'
19173+
- example: platform:windows
19174+
responses:
19175+
'200':
19176+
content:
19177+
application/json:
19178+
examples:
19179+
response:
19180+
summary: List of scripts response example
19181+
value:
19182+
data: []
19183+
page: 1
19184+
pageSize: 10
19185+
sortDirection: asc
19186+
sortField: name
19187+
total: 100
19188+
schema:
19189+
type: object
19190+
properties:
19191+
data:
19192+
items:
19193+
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointScript'
19194+
type: array
19195+
page:
19196+
$ref: '#/components/schemas/Security_Endpoint_Management_API_Page'
19197+
pageSize:
19198+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiPageSize'
19199+
sortDirection:
19200+
$ref: '#/components/schemas/Security_Endpoint_Management_API_SortDirection'
19201+
sortField:
19202+
$ref: '#/components/schemas/Security_Endpoint_Management_API_ApiSortField'
19203+
total:
19204+
description: The total number of scripts matching the query
19205+
type: integer
19206+
description: List of scripts response
19207+
summary: Get a list of scripts
19208+
tags:
19209+
- Security Endpoint Management API
19210+
x-metaTags:
19211+
- content: Kibana
19212+
name: product_name
1912919213
/api/entity_analytics/monitoring/engine/delete:
1913019214
delete:
1913119215
operationId: DeleteMonitoringEngine
@@ -100964,6 +101048,20 @@ components:
100964101048
- microsoft_defender_endpoint
100965101049
example: endpoint
100966101050
type: string
101051+
Security_Endpoint_Management_API_ApiPageSize:
101052+
allOf:
101053+
- $ref: '#/components/schemas/Security_Endpoint_Management_API_PageSize'
101054+
- maximum: 1000
101055+
Security_Endpoint_Management_API_ApiSortField:
101056+
description: Determines which field is used to sort the results.
101057+
enum:
101058+
- name
101059+
- createdAt
101060+
- createdBy
101061+
- updatedAt
101062+
- updatedBy
101063+
example: updatedAt
101064+
type: string
100967101065
Security_Endpoint_Management_API_Cancel:
100968101066
allOf:
100969101067
- $ref: '#/components/schemas/Security_Endpoint_Management_API_ResponseActionDetails'
@@ -101188,6 +101286,59 @@ components:
101188101286
revision: 2
101189101287
type: object
101190101288
properties: {}
101289+
Security_Endpoint_Management_API_EndpointScript:
101290+
type: object
101291+
properties:
101292+
createdAt:
101293+
format: date-time
101294+
type: string
101295+
createdBy:
101296+
example: elastic
101297+
type: string
101298+
description:
101299+
description: Description of the script and its purpose/functionality
101300+
example: Collects host data for investigation
101301+
type: string
101302+
downloadUri:
101303+
description: URI to download the script file. Note that this is the relative path and does not include the space (if applicable)
101304+
example: /api/endpoint/scripts_library/123e4567-e89b-12d3-a456-426655440000/download
101305+
type: string
101306+
example:
101307+
type: string
101308+
id:
101309+
example: 123e4567-e89b-12d3-a456-426655440000
101310+
format: uuid
101311+
type: string
101312+
instructions:
101313+
description: Instructions for using the script, including details around its supported input arguments
101314+
type: string
101315+
name:
101316+
example: Collect host data
101317+
type: string
101318+
pathToExecutable:
101319+
description: |
101320+
The relative path to the file included in the archive that should be executed once its contents are extracted. Applicable only for scripts uploaded as an archive (.zip file for example).
101321+
type: string
101322+
platform:
101323+
items:
101324+
$ref: '#/components/schemas/Security_Endpoint_Management_API_EndpointScriptPlatform'
101325+
type: array
101326+
requiresInput:
101327+
type: boolean
101328+
updatedAt:
101329+
format: date-time
101330+
type: string
101331+
updatedBy:
101332+
example: admin
101333+
type: string
101334+
version:
101335+
type: string
101336+
Security_Endpoint_Management_API_EndpointScriptPlatform:
101337+
enum:
101338+
- linux
101339+
- macos
101340+
- windows
101341+
type: string
101191101342
Security_Endpoint_Management_API_Execute:
101192101343
allOf:
101193101344
- $ref: '#/components/schemas/Security_Endpoint_Management_API_ResponseActionDetails'

0 commit comments

Comments
 (0)