@@ -16653,6 +16653,90 @@ paths:
1665316653 <div><span class="operation-verb post">post</span> <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> <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'
0 commit comments