Skip to content

Commit 2c220f3

Browse files
committed
Changes from make api-docs
1 parent 36813f4 commit 2c220f3

File tree

2 files changed

+288
-0
lines changed

2 files changed

+288
-0
lines changed

oas_docs/output/kibana.serverless.yaml

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31850,6 +31850,150 @@ paths:
3185031850
x-metaTags:
3185131851
- content: Kibana, Elastic Cloud Serverless
3185231852
name: product_name
31853+
/api/fleet/cloud_connectors/{cloudConnectorId}/usage:
31854+
get:
31855+
description: |-
31856+
**Spaces method and path for this operation:**
31857+
31858+
<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/cloud_connectors/{cloudConnectorId}/usage</span></div>
31859+
31860+
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
31861+
31862+
[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.
31863+
operationId: get-fleet-cloud-connectors-cloudconnectorid-usage
31864+
parameters:
31865+
- description: The unique identifier of the cloud connector.
31866+
in: path
31867+
name: cloudConnectorId
31868+
required: true
31869+
schema:
31870+
type: string
31871+
- description: The page number for pagination.
31872+
in: query
31873+
name: page
31874+
required: false
31875+
schema:
31876+
minimum: 1
31877+
type: number
31878+
- description: The number of items per page.
31879+
in: query
31880+
name: perPage
31881+
required: false
31882+
schema:
31883+
minimum: 1
31884+
type: number
31885+
responses:
31886+
'200':
31887+
content:
31888+
application/json:
31889+
examples:
31890+
getCloudConnectorUsageResponseExample:
31891+
description: Example response showing package policies using the cloud connector
31892+
value:
31893+
items:
31894+
- created_at: '2025-01-16T09:00:00.000Z'
31895+
id: package-policy-1
31896+
name: CSPM AWS Policy
31897+
package:
31898+
name: cloud_security_posture
31899+
title: Cloud Security Posture Management
31900+
version: 3.1.1
31901+
policy_ids:
31902+
- policy-id-123
31903+
- policy-id-456
31904+
updated_at: '2025-01-16T09:00:00.000Z'
31905+
page: 1
31906+
perPage: 20
31907+
total: 2
31908+
schema:
31909+
additionalProperties: false
31910+
type: object
31911+
properties:
31912+
items:
31913+
items:
31914+
additionalProperties: false
31915+
type: object
31916+
properties:
31917+
created_at:
31918+
type: string
31919+
id:
31920+
type: string
31921+
name:
31922+
type: string
31923+
package:
31924+
additionalProperties: false
31925+
type: object
31926+
properties:
31927+
name:
31928+
type: string
31929+
title:
31930+
type: string
31931+
version:
31932+
type: string
31933+
required:
31934+
- name
31935+
- title
31936+
- version
31937+
policy_ids:
31938+
items:
31939+
type: string
31940+
type: array
31941+
updated_at:
31942+
type: string
31943+
required:
31944+
- id
31945+
- name
31946+
- policy_ids
31947+
- created_at
31948+
- updated_at
31949+
type: array
31950+
page:
31951+
type: number
31952+
perPage:
31953+
type: number
31954+
total:
31955+
type: number
31956+
required:
31957+
- items
31958+
- total
31959+
- page
31960+
- perPage
31961+
description: 'OK: A successful request.'
31962+
'400':
31963+
content:
31964+
application/json:
31965+
examples:
31966+
genericErrorResponseExample:
31967+
description: Example of a generic error response
31968+
value:
31969+
error: Bad Request
31970+
message: Cloud connector not found
31971+
statusCode: 400
31972+
schema:
31973+
additionalProperties: false
31974+
description: Generic Error
31975+
type: object
31976+
properties:
31977+
attributes: {}
31978+
error:
31979+
type: string
31980+
errorType:
31981+
type: string
31982+
message:
31983+
type: string
31984+
statusCode:
31985+
type: number
31986+
required:
31987+
- message
31988+
- attributes
31989+
description: A bad request.
31990+
summary: Get cloud connector usage (package policies using the connector)
31991+
tags:
31992+
- Fleet cloud connectors
31993+
x-state: Technical Preview
31994+
x-metaTags:
31995+
- content: Kibana, Elastic Cloud Serverless
31996+
name: product_name
3185331997
/api/fleet/data_streams:
3185431998
get:
3185531999
description: |-

oas_docs/output/kibana.yaml

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34409,6 +34409,150 @@ paths:
3440934409
x-metaTags:
3441034410
- content: Kibana
3441134411
name: product_name
34412+
/api/fleet/cloud_connectors/{cloudConnectorId}/usage:
34413+
get:
34414+
description: |-
34415+
**Spaces method and path for this operation:**
34416+
34417+
<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/fleet/cloud_connectors/{cloudConnectorId}/usage</span></div>
34418+
34419+
Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.
34420+
34421+
[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.
34422+
operationId: get-fleet-cloud-connectors-cloudconnectorid-usage
34423+
parameters:
34424+
- description: The unique identifier of the cloud connector.
34425+
in: path
34426+
name: cloudConnectorId
34427+
required: true
34428+
schema:
34429+
type: string
34430+
- description: The page number for pagination.
34431+
in: query
34432+
name: page
34433+
required: false
34434+
schema:
34435+
minimum: 1
34436+
type: number
34437+
- description: The number of items per page.
34438+
in: query
34439+
name: perPage
34440+
required: false
34441+
schema:
34442+
minimum: 1
34443+
type: number
34444+
responses:
34445+
'200':
34446+
content:
34447+
application/json:
34448+
examples:
34449+
getCloudConnectorUsageResponseExample:
34450+
description: Example response showing package policies using the cloud connector
34451+
value:
34452+
items:
34453+
- created_at: '2025-01-16T09:00:00.000Z'
34454+
id: package-policy-1
34455+
name: CSPM AWS Policy
34456+
package:
34457+
name: cloud_security_posture
34458+
title: Cloud Security Posture Management
34459+
version: 3.1.1
34460+
policy_ids:
34461+
- policy-id-123
34462+
- policy-id-456
34463+
updated_at: '2025-01-16T09:00:00.000Z'
34464+
page: 1
34465+
perPage: 20
34466+
total: 2
34467+
schema:
34468+
additionalProperties: false
34469+
type: object
34470+
properties:
34471+
items:
34472+
items:
34473+
additionalProperties: false
34474+
type: object
34475+
properties:
34476+
created_at:
34477+
type: string
34478+
id:
34479+
type: string
34480+
name:
34481+
type: string
34482+
package:
34483+
additionalProperties: false
34484+
type: object
34485+
properties:
34486+
name:
34487+
type: string
34488+
title:
34489+
type: string
34490+
version:
34491+
type: string
34492+
required:
34493+
- name
34494+
- title
34495+
- version
34496+
policy_ids:
34497+
items:
34498+
type: string
34499+
type: array
34500+
updated_at:
34501+
type: string
34502+
required:
34503+
- id
34504+
- name
34505+
- policy_ids
34506+
- created_at
34507+
- updated_at
34508+
type: array
34509+
page:
34510+
type: number
34511+
perPage:
34512+
type: number
34513+
total:
34514+
type: number
34515+
required:
34516+
- items
34517+
- total
34518+
- page
34519+
- perPage
34520+
description: 'OK: A successful request.'
34521+
'400':
34522+
content:
34523+
application/json:
34524+
examples:
34525+
genericErrorResponseExample:
34526+
description: Example of a generic error response
34527+
value:
34528+
error: Bad Request
34529+
message: Cloud connector not found
34530+
statusCode: 400
34531+
schema:
34532+
additionalProperties: false
34533+
description: Generic Error
34534+
type: object
34535+
properties:
34536+
attributes: {}
34537+
error:
34538+
type: string
34539+
errorType:
34540+
type: string
34541+
message:
34542+
type: string
34543+
statusCode:
34544+
type: number
34545+
required:
34546+
- message
34547+
- attributes
34548+
description: A bad request.
34549+
summary: Get cloud connector usage (package policies using the connector)
34550+
tags:
34551+
- Fleet cloud connectors
34552+
x-state: Technical Preview; added in 9.2.0
34553+
x-metaTags:
34554+
- content: Kibana
34555+
name: product_name
3441234556
/api/fleet/data_streams:
3441334557
get:
3441434558
description: |-

0 commit comments

Comments
 (0)