From 36c7dc73fea03182de8d8970568f3a9008f8cbf0 Mon Sep 17 00:00:00 2001 From: Robert Stelmach Date: Thu, 20 Nov 2025 19:09:38 +0100 Subject: [PATCH 1/3] add elasticstack_kibana_stream POC with group and ingest support --- generated/kbstreams/Makefile | 37 + generated/kbstreams/oapi-config.yaml | 7 + generated/kbstreams/oas-streams.yaml | 3293 + generated/kbstreams/oas.yaml | 67215 +++++++++++++++++++ generated/kbstreams/streams.gen.go | 6249 ++ generated/kbstreams/transform_schema.go | 74 + internal/clients/kibana_oapi/streams.go | 298 + internal/kibana/streams/conditions.go | 93 + internal/kibana/streams/conditions_test.go | 101 + internal/kibana/streams/flatten_expand.go | 247 + internal/kibana/streams/models.go | 31 + internal/kibana/streams/resource.go | 526 + internal/kibana/streams/schema.go | 93 + provider/plugin_framework.go | 2 + streams/main.tf | 66 + 15 files changed, 78332 insertions(+) create mode 100644 generated/kbstreams/Makefile create mode 100644 generated/kbstreams/oapi-config.yaml create mode 100644 generated/kbstreams/oas-streams.yaml create mode 100644 generated/kbstreams/oas.yaml create mode 100644 generated/kbstreams/streams.gen.go create mode 100644 generated/kbstreams/transform_schema.go create mode 100644 internal/clients/kibana_oapi/streams.go create mode 100644 internal/kibana/streams/conditions.go create mode 100644 internal/kibana/streams/conditions_test.go create mode 100644 internal/kibana/streams/flatten_expand.go create mode 100644 internal/kibana/streams/models.go create mode 100644 internal/kibana/streams/resource.go create mode 100644 internal/kibana/streams/schema.go create mode 100644 streams/main.tf diff --git a/generated/kbstreams/Makefile b/generated/kbstreams/Makefile new file mode 100644 index 000000000..909198fdc --- /dev/null +++ b/generated/kbstreams/Makefile @@ -0,0 +1,37 @@ +.DEFAULT_GOAL = help +SHELL := /bin/bash +ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) + +# POC-only Streams client: +# - github_repo/github_ref are intentionally configurable so the POC can track a +# Kibana branch that exposes the Streams APIs and OAS. +github_repo ?= rStelmach/kibana +github_ref ?= c72d4e73064dcabdcdc24ac1cae64c7f594378ed +oas_url := https://raw.githubusercontent.com/$(github_repo)/$(github_ref)/oas_docs/output/kibana.yaml + +.PHONY: all +all: clean download transform generate ## Fetch, filter, and generate the Streams API client + +.PHONY: download +download: oas.yaml ## Download the remote schema + +oas.yaml: + curl -sSfo oas.yaml "$(oas_url)" + +.PHONY: transform +transform: download ## Filter schema down to Streams-only paths + go run $(ROOT_DIR)/transform_schema.go -i ./oas.yaml -o ./oas-streams.yaml + +.PHONY: generate +generate: ## Generate the Streams API client + go tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-config.yaml ./oas-streams.yaml + +.PHONY: clean +clean: ## Remove any downloaded or transformed OAS files + rm -rf oas.yaml oas-streams.yaml + +.PHONY: help +help: ## Show this help + @ awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m\033[0m\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-10s\033[0m\t%s\n", $$1, $$2 }' $(MAKEFILE_LIST) | column -s$$'\t' -t + + diff --git a/generated/kbstreams/oapi-config.yaml b/generated/kbstreams/oapi-config.yaml new file mode 100644 index 000000000..30eb378b2 --- /dev/null +++ b/generated/kbstreams/oapi-config.yaml @@ -0,0 +1,7 @@ +# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json + +package: kbstreams +output: streams.gen.go +generate: + client: true + models: true diff --git a/generated/kbstreams/oas-streams.yaml b/generated/kbstreams/oas-streams.yaml new file mode 100644 index 000000000..1601ffa32 --- /dev/null +++ b/generated/kbstreams/oas-streams.yaml @@ -0,0 +1,3293 @@ +components: + schemas: + StreamlangCondition: + anyOf: + - additionalProperties: false + properties: + contains: + anyOf: + - type: string + - type: number + - type: boolean + endsWith: + anyOf: + - type: string + - type: number + - type: boolean + eq: + anyOf: + - type: string + - type: number + - type: boolean + exists: + type: boolean + field: + minLength: 1 + type: string + gt: + anyOf: + - type: string + - type: number + - type: boolean + gte: + anyOf: + - type: string + - type: number + - type: boolean + lt: + anyOf: + - type: string + - type: number + - type: boolean + lte: + anyOf: + - type: string + - type: number + - type: boolean + neq: + anyOf: + - type: string + - type: number + - type: boolean + range: + additionalProperties: false + properties: + gt: + anyOf: + - type: string + - type: number + - type: boolean + gte: + anyOf: + - type: string + - type: number + - type: boolean + lt: + anyOf: + - type: string + - type: number + - type: boolean + lte: + anyOf: + - type: string + - type: number + - type: boolean + type: object + startsWith: + anyOf: + - type: string + - type: number + - type: boolean + type: + enum: + - filter + type: string + required: + - type + - field + type: object + - additionalProperties: false + properties: + and: + items: + $ref: '#/components/schemas/StreamlangCondition' + type: array + type: + enum: + - and + type: string + required: + - type + - and + type: object + - additionalProperties: false + properties: + or: + items: + $ref: '#/components/schemas/StreamlangCondition' + type: array + type: + enum: + - or + type: string + required: + - type + - or + type: object + - additionalProperties: false + properties: + not: + $ref: '#/components/schemas/StreamlangCondition' + type: + enum: + - not + type: string + required: + - type + - not + type: object + - additionalProperties: false + properties: + never: + additionalProperties: false + properties: {} + type: object + type: + enum: + - never + type: string + required: + - type + - never + type: object + - additionalProperties: false + properties: + always: + additionalProperties: false + properties: {} + type: object + type: + enum: + - always + type: string + required: + - type + - always + type: object + StreamlangStep: + anyOf: + - allOf: + - anyOf: + - additionalProperties: false + properties: + action: + enum: + - grok + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + ignore_missing: + type: boolean + patterns: + items: + minLength: 1 + type: string + minItems: 1 + type: array + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + - patterns + type: object + - additionalProperties: false + properties: + action: + enum: + - dissect + type: string + append_separator: + minLength: 1 + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + ignore_missing: + type: boolean + pattern: + minLength: 1 + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + - pattern + type: object + - additionalProperties: false + properties: + action: + enum: + - date + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + formats: + items: + minLength: 1 + type: string + type: array + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + locale: + minLength: 1 + type: string + output_format: + minLength: 1 + type: string + timezone: + minLength: 1 + type: string + to: + minLength: 1 + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + - formats + type: object + - additionalProperties: false + properties: + action: + enum: + - rename + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + ignore_missing: + type: boolean + override: + type: boolean + to: + minLength: 1 + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + - to + type: object + - additionalProperties: false + properties: + action: + enum: + - set + type: string + copy_from: + minLength: 1 + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + ignore_failure: + type: boolean + override: + type: boolean + to: + minLength: 1 + type: string + value: {} + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - to + type: object + - additionalProperties: false + properties: + action: + enum: + - append + type: string + allow_duplicates: + type: boolean + customIdentifier: + minLength: 1 + type: string + description: + type: string + ignore_failure: + type: boolean + to: + minLength: 1 + type: string + value: + items: {} + minItems: 1 + type: array + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - to + - value + type: object + - additionalProperties: false + properties: + action: + enum: + - remove_by_prefix + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + required: + - action + - from + type: object + - additionalProperties: false + properties: + action: + enum: + - remove + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + ignore_missing: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + type: object + - additionalProperties: false + properties: + action: + enum: + - convert + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + from: + minLength: 1 + type: string + ignore_failure: + type: boolean + ignore_missing: + type: boolean + to: + minLength: 1 + type: string + type: + enum: + - integer + - long + - double + - boolean + - string + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - from + - type + type: object + - additionalProperties: false + properties: + action: + enum: + - manual_ingest_pipeline + type: string + customIdentifier: + minLength: 1 + type: string + description: + type: string + ignore_failure: + type: boolean + on_failure: + items: + additionalProperties: {} + type: object + type: array + processors: + items: + additionalProperties: false + properties: + append: {} + attachment: {} + bytes: {} + circle: {} + community_id: {} + convert: {} + csv: {} + date: {} + date_index_name: {} + dissect: {} + dot_expander: {} + drop: {} + enrich: {} + fail: {} + fingerprint: {} + foreach: {} + geo_grid: {} + geoip: {} + grok: {} + gsub: {} + html_strip: {} + inference: {} + ip_location: {} + join: {} + json: {} + kv: {} + lowercase: {} + network_direction: {} + pipeline: {} + redact: {} + registered_domain: {} + remove: {} + rename: {} + reroute: {} + script: {} + set: {} + set_security_user: {} + sort: {} + split: {} + terminate: {} + trim: {} + uppercase: {} + uri_parts: {} + urldecode: {} + user_agent: {} + required: + - append + - attachment + - bytes + - circle + - community_id + - convert + - csv + - date + - date_index_name + - dissect + - dot_expander + - drop + - enrich + - fail + - fingerprint + - foreach + - ip_location + - geo_grid + - geoip + - grok + - gsub + - html_strip + - inference + - join + - json + - kv + - lowercase + - network_direction + - pipeline + - redact + - registered_domain + - remove + - rename + - reroute + - script + - set + - set_security_user + - sort + - split + - terminate + - trim + - uppercase + - urldecode + - uri_parts + - user_agent + type: object + type: array + tag: + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - action + - processors + type: object + - properties: + kind: + enum: + - processor + type: string + type: object + - additionalProperties: false + properties: + customIdentifier: + type: string + kind: + enum: + - where + type: string + where: + allOf: + - $ref: '#/components/schemas/StreamlangCondition' + - properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + required: + - where + type: object + core_status_redactedResponse: + additionalProperties: false + description: A minimal representation of Kibana's operational status. + properties: + status: + additionalProperties: false + properties: + overall: + additionalProperties: false + properties: + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + required: + - level + type: object + required: + - overall + type: object + required: + - status + type: object + core_status_response: + additionalProperties: false + description: Kibana's operational status as well as a detailed breakdown of plugin statuses indication of various loads (like event loop utilization and network traffic) at time of request. + properties: + metrics: + additionalProperties: false + description: Metric groups collected by Kibana. + properties: + collection_interval_in_millis: + description: The interval at which metrics should be collected. + type: number + elasticsearch_client: + additionalProperties: false + description: Current network metrics of Kibana's Elasticsearch client. + properties: + totalActiveSockets: + description: Count of network sockets currently in use. + type: number + totalIdleSockets: + description: Count of network sockets currently idle. + type: number + totalQueuedRequests: + description: Count of requests not yet assigned to sockets. + type: number + required: + - totalActiveSockets + - totalIdleSockets + - totalQueuedRequests + type: object + last_updated: + description: The time metrics were collected. + type: string + required: + - elasticsearch_client + - last_updated + - collection_interval_in_millis + type: object + name: + description: Kibana instance name. + type: string + status: + additionalProperties: false + properties: + core: + additionalProperties: false + description: Statuses of core Kibana services. + properties: + elasticsearch: + additionalProperties: false + properties: + detail: + description: Human readable detail of the service status. + type: string + documentationUrl: + description: A URL to further documentation regarding this service. + type: string + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + meta: + additionalProperties: {} + description: An unstructured set of extra metadata about this service. + type: object + summary: + description: A human readable summary of the service status. + type: string + required: + - level + - summary + - meta + type: object + http: + additionalProperties: false + properties: + detail: + description: Human readable detail of the service status. + type: string + documentationUrl: + description: A URL to further documentation regarding this service. + type: string + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + meta: + additionalProperties: {} + description: An unstructured set of extra metadata about this service. + type: object + summary: + description: A human readable summary of the service status. + type: string + required: + - level + - summary + - meta + type: object + savedObjects: + additionalProperties: false + properties: + detail: + description: Human readable detail of the service status. + type: string + documentationUrl: + description: A URL to further documentation regarding this service. + type: string + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + meta: + additionalProperties: {} + description: An unstructured set of extra metadata about this service. + type: object + summary: + description: A human readable summary of the service status. + type: string + required: + - level + - summary + - meta + type: object + required: + - elasticsearch + - savedObjects + type: object + overall: + additionalProperties: false + properties: + detail: + description: Human readable detail of the service status. + type: string + documentationUrl: + description: A URL to further documentation regarding this service. + type: string + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + meta: + additionalProperties: {} + description: An unstructured set of extra metadata about this service. + type: object + summary: + description: A human readable summary of the service status. + type: string + required: + - level + - summary + - meta + type: object + plugins: + additionalProperties: + additionalProperties: false + properties: + detail: + description: Human readable detail of the service status. + type: string + documentationUrl: + description: A URL to further documentation regarding this service. + type: string + level: + description: Service status levels as human and machine readable values. + enum: + - available + - degraded + - unavailable + - critical + type: string + meta: + additionalProperties: {} + description: An unstructured set of extra metadata about this service. + type: object + summary: + description: A human readable summary of the service status. + type: string + required: + - level + - summary + - meta + type: object + description: A dynamic mapping of plugin ID to plugin status. + type: object + required: + - overall + - core + - plugins + type: object + uuid: + description: Unique, generated Kibana instance UUID. This UUID should persist even if the Kibana process restarts. + type: string + version: + additionalProperties: false + properties: + build_date: + description: The date and time of this build. + type: string + build_flavor: + description: The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the "traditional" flavour, while other flavours are reserved for Elastic-specific use cases. + enum: + - serverless + - traditional + type: string + build_hash: + description: A unique hash value representing the git commit of this Kibana build. + type: string + build_number: + description: A monotonically increasing number, each subsequent build will have a higher number. + type: number + build_snapshot: + description: Whether this build is a snapshot build. + type: boolean + number: + description: A semantic version number. + type: string + required: + - number + - build_hash + - build_number + - build_snapshot + - build_flavor + - build_date + type: object + required: + - name + - uuid + - version + - status + - metrics + type: object + securitySchemes: + apiKeyAuth: + in: header + name: Authorization + type: apiKey + basicAuth: + scheme: basic + type: http +info: + title: Kibana HTTP APIs + version: 0.0.0 +openapi: 3.0.0 +paths: + /api/streams: + get: + description: 'Fetches list of all streams

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams + parameters: [] + responses: {} + summary: Get stream list + tags: + - streams + x-state: Technical Preview + /api/streams/_disable: + post: + description: 'Disables wired streams and deletes all existing stream definitions. The data of wired streams is deleted, but the data of classic streams is preserved.

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-disable + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + responses: {} + summary: Disable streams + tags: + - streams + x-state: Technical Preview + /api/streams/_enable: + post: + description: 'Enables wired streams

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-enable + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + responses: {} + summary: Enable streams + tags: + - streams + x-state: Technical Preview + /api/streams/_resync: + post: + description: 'Resyncs all streams, making sure that Elasticsearch assets are up to date

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-resync + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + responses: {} + summary: Resync streams + tags: + - streams + x-state: Technical Preview + /api/streams/{name}: + delete: + description: 'Deletes a stream definition and the underlying data stream

[Required authorization] Route required privileges: manage_stream.' + operationId: delete-streams-name + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Delete a stream + tags: + - streams + x-state: Technical Preview + get: + description: 'Fetches a stream definition and associated dashboards

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get a stream + tags: + - streams + x-state: Technical Preview + put: + description: 'Creates or updates a stream definition. Classic streams can not be created through this API, only updated

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + anyOf: + - anyOf: + - allOf: + - properties: {} + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + required: + - stream + type: object + - properties: + dashboards: + items: + type: string + type: array + queries: + items: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + type: array + rules: + items: + type: string + type: array + required: + - dashboards + - rules + - queries + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - allOf: + - properties: {} + type: object + - properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + - properties: + ingest: + additionalProperties: false + properties: + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + required: + - lifecycle + - processing + - settings + type: object + required: + - ingest + type: object + - properties: + ingest: + additionalProperties: false + properties: + type: + enum: + - wired + type: string + wired: + additionalProperties: false + properties: + fields: + additionalProperties: + allOf: + - additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + type: array + - items: {} + type: array + - {} + type: object + - anyOf: + - additionalProperties: false + properties: + format: + minLength: 1 + type: string + type: + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + type: string + required: + - type + type: object + - additionalProperties: false + properties: + type: + enum: + - system + type: string + required: + - type + type: object + type: object + routing: + items: + additionalProperties: false + properties: + destination: + minLength: 1 + type: string + status: + enum: + - enabled + - disabled + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - destination + - where + type: object + type: array + required: + - fields + - routing + type: object + required: + - type + - wired + type: object + required: + - ingest + type: object + required: + - stream + type: object + - properties: {} + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + required: + - stream + type: object + - properties: + dashboards: + items: + type: string + type: array + queries: + items: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + type: array + rules: + items: + type: string + type: array + required: + - dashboards + - rules + - queries + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + ingest: + additionalProperties: false + properties: + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + required: + - lifecycle + - processing + - settings + type: object + required: + - ingest + type: object + required: + - stream + type: object + - properties: {} + type: object + - properties: {} + type: object + - allOf: + - properties: {} + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + required: + - stream + type: object + - properties: + dashboards: + items: + type: string + type: array + queries: + items: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + type: array + rules: + items: + type: string + type: array + required: + - dashboards + - rules + - queries + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - allOf: + - properties: {} + type: object + - properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + - properties: + ingest: + additionalProperties: false + properties: + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + required: + - lifecycle + - processing + - settings + type: object + required: + - ingest + type: object + - properties: + ingest: + additionalProperties: false + properties: + classic: + additionalProperties: false + properties: + field_overrides: + additionalProperties: + allOf: + - additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + type: array + - items: {} + type: array + - {} + type: object + - anyOf: + - additionalProperties: false + properties: + format: + minLength: 1 + type: string + type: + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + type: string + required: + - type + type: object + - additionalProperties: false + properties: + type: + enum: + - system + type: string + required: + - type + type: object + type: object + type: object + type: + enum: + - classic + type: string + required: + - type + - classic + type: object + required: + - ingest + type: object + required: + - stream + type: object + - properties: {} + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + required: + - stream + type: object + - properties: + dashboards: + items: + type: string + type: array + queries: + items: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + type: array + rules: + items: + type: string + type: array + required: + - dashboards + - rules + - queries + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + ingest: + additionalProperties: false + properties: + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + required: + - lifecycle + - processing + - settings + type: object + required: + - ingest + type: object + required: + - stream + type: object + - properties: {} + type: object + - properties: {} + type: object + - allOf: + - properties: {} + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + description: + type: string + name: + type: string + required: + - name + - description + type: object + required: + - stream + type: object + - properties: + dashboards: + items: + type: string + type: array + queries: + items: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + type: array + rules: + items: + type: string + type: array + required: + - dashboards + - rules + - queries + type: object + - properties: + stream: + allOf: + - additionalProperties: true + properties: + name: + not: {} + type: object + - additionalProperties: false + properties: + group: + additionalProperties: false + properties: + members: + items: + type: string + type: array + metadata: + additionalProperties: + type: string + type: object + tags: + items: + type: string + type: array + required: + - metadata + - tags + - members + type: object + required: + - group + type: object + required: + - stream + type: object + - properties: {} + type: object + responses: {} + summary: Create or update a stream + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/_fork: + post: + description: 'Forks a wired stream and creates a child stream

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-name-fork + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + status: + enum: + - enabled + - disabled + type: string + stream: + additionalProperties: false + properties: + name: + type: string + required: + - name + type: object + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - stream + - where + type: object + responses: {} + summary: Fork a stream + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/_group: + get: + description: 'Fetches the group settings of a group stream definition

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-group + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get group stream settings + tags: + - streams + x-state: Technical Preview + put: + description: 'Upserts the group settings of a group stream definition

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name-group + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + group: + additionalProperties: false + properties: + members: + items: + type: string + type: array + metadata: + additionalProperties: + type: string + type: object + tags: + items: + type: string + type: array + required: + - metadata + - tags + - members + type: object + required: + - group + type: object + responses: {} + summary: Upsert group stream settings + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/_ingest: + get: + description: 'Fetches the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-ingest + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get ingest stream settings + tags: + - streams + x-state: Technical Preview + put: + description: 'Upserts the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name-ingest + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + ingest: + anyOf: + - additionalProperties: false + properties: + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + type: + enum: + - wired + type: string + wired: + additionalProperties: false + properties: + fields: + additionalProperties: + allOf: + - additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + type: array + - items: {} + type: array + - {} + type: object + - anyOf: + - additionalProperties: false + properties: + format: + minLength: 1 + type: string + type: + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + type: string + required: + - type + type: object + - additionalProperties: false + properties: + type: + enum: + - system + type: string + required: + - type + type: object + type: object + routing: + items: + additionalProperties: false + properties: + destination: + minLength: 1 + type: string + status: + enum: + - enabled + - disabled + type: string + where: + $ref: '#/components/schemas/StreamlangCondition' + required: + - destination + - where + type: object + type: array + required: + - fields + - routing + type: object + required: + - lifecycle + - processing + - settings + - type + - wired + type: object + - additionalProperties: false + properties: + classic: + additionalProperties: false + properties: + field_overrides: + additionalProperties: + allOf: + - additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + type: array + - items: {} + type: array + - {} + type: object + - anyOf: + - additionalProperties: false + properties: + format: + minLength: 1 + type: string + type: + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + type: string + required: + - type + type: object + - additionalProperties: false + properties: + type: + enum: + - system + type: string + required: + - type + type: object + type: object + type: object + lifecycle: + anyOf: + - additionalProperties: false + properties: + dsl: + additionalProperties: false + properties: + data_retention: + minLength: 1 + type: string + type: object + type: + enum: + - dsl + type: string + required: + - type + - dsl + type: object + - additionalProperties: false + properties: + ilm: + additionalProperties: false + properties: + policy: + minLength: 1 + type: string + required: + - policy + type: object + type: + enum: + - ilm + type: string + required: + - type + - ilm + type: object + - additionalProperties: false + properties: + inherit: + additionalProperties: false + properties: {} + type: object + type: + enum: + - inherit + type: string + required: + - type + - inherit + type: object + processing: + additionalProperties: false + properties: + steps: + items: + $ref: '#/components/schemas/StreamlangStep' + type: array + required: + - steps + type: object + settings: + additionalProperties: false + properties: + index.number_of_replicas: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.number_of_shards: + additionalProperties: false + properties: + value: + type: number + required: + - value + type: object + index.refresh_interval: + additionalProperties: false + properties: + value: + anyOf: + - type: string + - enum: + - -1 + type: number + required: + - value + type: object + type: object + type: + enum: + - classic + type: string + required: + - lifecycle + - processing + - settings + - type + - classic + type: object + required: + - ingest + type: object + responses: {} + summary: Update ingest stream settings + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/content/export: + post: + description: 'Exports the content associated to a stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-name-content-export + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + description: + type: string + include: + anyOf: + - additionalProperties: false + properties: + objects: + additionalProperties: false + properties: + all: + additionalProperties: false + properties: {} + type: object + required: + - all + type: object + required: + - objects + type: object + - additionalProperties: false + properties: + objects: + additionalProperties: false + properties: + mappings: + type: boolean + queries: + items: + additionalProperties: false + properties: + id: + type: string + required: + - id + type: object + type: array + routing: + items: + allOf: + - {} + - properties: + destination: + type: string + required: + - destination + type: object + type: array + required: + - mappings + - queries + - routing + type: object + required: + - objects + type: object + name: + type: string + version: + type: string + required: + - name + - description + - version + - include + type: object + responses: {} + summary: Export stream content + tags: + - streams + /api/streams/{name}/content/import: + post: + description: 'Links content objects to a stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-name-content-import + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + multipart/form-data: + schema: + additionalProperties: false + properties: + content: {} + include: + type: string + required: + - include + - content + type: object + responses: {} + summary: Import content into a stream + tags: + - streams + /api/streams/{name}/dashboards: + get: + description: 'Fetches all dashboards linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-dashboards + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get stream dashboards + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/dashboards/_bulk: + post: + description: 'Bulk update dashboards linked to a stream. Can link new dashboards and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-name-dashboards-bulk + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + operations: + items: + anyOf: + - additionalProperties: false + properties: + index: + additionalProperties: false + properties: + id: + type: string + required: + - id + type: object + required: + - index + type: object + - additionalProperties: false + properties: + delete: + additionalProperties: false + properties: + id: + type: string + required: + - id + type: object + required: + - delete + type: object + type: array + required: + - operations + type: object + responses: {} + summary: Bulk update dashboards + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/dashboards/{dashboardId}: + delete: + description: 'Unlinks a dashboard from a stream. Noop if the dashboard is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: delete-streams-name-dashboards-dashboardid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: dashboardId + required: true + schema: + type: string + responses: {} + summary: Unlink a dashboard from a stream + tags: + - streams + x-state: Technical Preview + put: + description: 'Links a dashboard to a stream. Noop if the dashboard is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name-dashboards-dashboardid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: dashboardId + required: true + schema: + type: string + responses: {} + summary: Link a dashboard to a stream + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/queries: + get: + description: 'Fetches all queries linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-queries + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get stream queries + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/queries/_bulk: + post: + description: 'Bulk update queries of a stream. Can add new queries and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' + operationId: post-streams-name-queries-bulk + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + operations: + items: + anyOf: + - additionalProperties: false + properties: + index: + allOf: + - properties: + id: + minLength: 1 + type: string + title: + minLength: 1 + type: string + required: + - id + - title + type: object + - properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + required: + - index + type: object + - additionalProperties: false + properties: + delete: + additionalProperties: false + properties: + id: + type: string + required: + - id + type: object + required: + - delete + type: object + type: array + required: + - operations + type: object + responses: {} + summary: Bulk update queries + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/queries/{queryId}: + delete: + description: 'Remove a query from a stream. Noop if the query is not found on the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: delete-streams-name-queries-queryid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: queryId + required: true + schema: + type: string + responses: {} + summary: Remove a query from a stream + tags: + - streams + x-state: Technical Preview + put: + description: 'Adds a query to a stream. Noop if the query is already present on the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name-queries-queryid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: queryId + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + title: + minLength: 1 + type: string + required: + - title + - kql + type: object + responses: {} + summary: Upsert a query to a stream + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/rules: + get: + description: 'Fetches all rules linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-rules + parameters: + - in: path + name: name + required: true + schema: + type: string + responses: {} + summary: Get stream rules + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/rules/{ruleId}: + delete: + description: 'Unlinks a rule from a stream. Noop if the rule is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: delete-streams-name-rules-ruleid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: ruleId + required: true + schema: + type: string + responses: {} + summary: Unlink a rule from a stream + tags: + - streams + x-state: Technical Preview + put: + description: 'Links a rule to a stream. Noop if the rule is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + operationId: put-streams-name-rules-ruleid + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: path + name: ruleId + required: true + schema: + type: string + responses: {} + summary: Link a rule to a stream + tags: + - streams + x-state: Technical Preview + /api/streams/{name}/significant_events: + get: + description: 'Read the significant events

[Required authorization] Route required privileges: read_stream.' + operationId: get-streams-name-significant-events + parameters: + - in: path + name: name + required: true + schema: + type: string + - in: query + name: from + required: true + schema: + type: string + - in: query + name: to + required: true + schema: + type: string + - in: query + name: bucketSize + required: true + schema: + type: string + responses: {} + summary: Read the significant events + tags: + - streams + x-state: Technical Preview; added in 9.1.0 + /api/streams/{name}/significant_events/_generate: + post: + description: 'Generate significant events queries based on the stream data

[Required authorization] Route required privileges: read_stream.' + operationId: post-streams-name-significant-events-generate + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: query + name: connectorId + required: true + schema: + type: string + - in: query + name: currentDate + required: false + schema: + type: string + - in: query + name: from + required: true + schema: + type: string + - in: query + name: to + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + feature: + additionalProperties: false + properties: + description: + type: string + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + - description + type: object + type: object + responses: {} + summary: Generate significant events + tags: + - streams + x-state: Technical Preview; added in 9.2.0 + /api/streams/{name}/significant_events/_preview: + post: + description: 'Preview significant event results based on a given query

[Required authorization] Route required privileges: read_stream.' + operationId: post-streams-name-significant-events-preview + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: "true" + type: string + - in: path + name: name + required: true + schema: + type: string + - in: query + name: from + required: true + schema: + type: string + - in: query + name: to + required: true + schema: + type: string + - in: query + name: bucketSize + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + additionalProperties: false + properties: + query: + additionalProperties: false + properties: + feature: + additionalProperties: false + properties: + filter: + $ref: '#/components/schemas/StreamlangCondition' + name: + minLength: 1 + type: string + required: + - name + - filter + type: object + kql: + additionalProperties: false + properties: + query: + type: string + required: + - query + type: object + required: + - kql + type: object + required: + - query + type: object + responses: {} + summary: Preview significant events + tags: + - streams + x-state: Technical Preview; added in 9.1.0 +security: + - basicAuth: [] +servers: + - url: http://localhost:5603/rStelmach +tags: + - name: agent builder + - name: alerting + - name: APM agent keys + - name: APM annotations + - name: cases + - name: connectors + - name: Data streams + - name: Elastic Agent actions + - name: Elastic Agent binary download sources + - name: Elastic Agent policies + - name: Elastic Agent status + - name: Elastic Agents + - name: Elastic Package Manager (EPM) + - name: Fleet cloud connectors + - name: Fleet enrollment API keys + - name: Fleet internals + - name: Fleet outputs + - name: Fleet package policies + - name: Fleet proxies + - name: Fleet remote synced integrations + - name: Fleet Server hosts + - name: Fleet service tokens + - name: Fleet uninstall tokens + - name: machine learning + - name: maintenance-window + - name: Message Signing Service + - name: roles + - name: saved objects + - name: spaces + - name: streams + - name: system + - name: uptime diff --git a/generated/kbstreams/oas.yaml b/generated/kbstreams/oas.yaml new file mode 100644 index 000000000..993c76c75 --- /dev/null +++ b/generated/kbstreams/oas.yaml @@ -0,0 +1,67215 @@ +openapi: 3.0.0 +info: + title: Kibana HTTP APIs + version: 0.0.0 +servers: + - url: http://localhost:5603/rStelmach +security: + - basicAuth: [] +tags: + - name: agent builder + - name: alerting + - name: APM agent keys + - name: APM annotations + - name: cases + - name: connectors + - name: Data streams + - name: Elastic Agent actions + - name: Elastic Agent binary download sources + - name: Elastic Agent policies + - name: Elastic Agent status + - name: Elastic Agents + - name: Elastic Package Manager (EPM) + - name: Fleet cloud connectors + - name: Fleet enrollment API keys + - name: Fleet internals + - name: Fleet outputs + - name: Fleet package policies + - name: Fleet proxies + - name: Fleet remote synced integrations + - name: Fleet Server hosts + - name: Fleet service tokens + - name: Fleet uninstall tokens + - name: machine learning + - name: maintenance-window + - name: Message Signing Service + - name: roles + - name: saved objects + - name: spaces + - name: streams + - name: system + - name: uptime +paths: + /translations/{locale}.json: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: locale + in: path + required: true + schema: + type: string + operationId: get-translations-locale.json + /translations/a399c2baef20/{locale}.json: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: locale + in: path + required: true + schema: + type: string + operationId: get-translations-a399c2baef20-locale.json + /api/deprecations/: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-deprecations + /api/saved_objects/{type}/{id}: + get: + summary: Get a saved object + tags: + - saved objects + deprecated: true + responses: {} + parameters: + - name: type + in: path + required: true + schema: + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: get-saved-objects-type-id + post: + summary: Create a saved object + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: object + properties: + attributes: + type: object + additionalProperties: {} + migrationVersion: + type: object + additionalProperties: + type: string + coreMigrationVersion: + type: string + typeMigrationVersion: + type: string + references: + type: array + items: + type: object + properties: + name: + type: string + type: + type: string + id: + type: string + additionalProperties: false + required: + - name + - type + - id + initialNamespaces: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - attributes + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: type + in: path + required: true + schema: + type: string + - name: id + in: path + required: false + schema: + type: string + - name: overwrite + in: query + required: false + schema: + type: boolean + default: false + operationId: post-saved-objects-type-id + delete: + summary: Delete a saved object + tags: + - saved objects + deprecated: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: type + in: path + required: true + schema: + type: string + - name: id + in: path + required: true + schema: + type: string + - name: force + in: query + required: false + schema: + type: boolean + operationId: delete-saved-objects-type-id + put: + summary: Update a saved object + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: object + properties: + attributes: + type: object + additionalProperties: {} + version: + type: string + references: + type: array + items: + type: object + properties: + name: + type: string + type: + type: string + id: + type: string + additionalProperties: false + required: + - name + - type + - id + upsert: + type: object + additionalProperties: {} + additionalProperties: false + required: + - attributes + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: type + in: path + required: true + schema: + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-saved-objects-type-id + /api/saved_objects/resolve/{type}/{id}: + get: + summary: Resolve a saved object + tags: + - saved objects + description: |- + Retrieve a single Kibana saved object by ID, using any legacy URL alias if it exists. + Under certain circumstances, when Kibana is upgraded, saved object migrations may necessitate regenerating some object IDs to enable new features. When an object's ID is regenerated, a legacy URL alias is created for that object, preserving its old ID. In such a scenario, that object can be retrieved with the resolve API using either its new ID or its old ID. + deprecated: true + responses: {} + parameters: + - name: type + in: path + required: true + schema: + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: get-saved-objects-resolve-type-id + /api/saved_objects/_find: + get: + summary: Search for saved objects + tags: + - saved objects + deprecated: true + responses: {} + parameters: + - name: per_page + in: query + required: false + schema: + type: number + default: 20 + minimum: 0 + - name: page + in: query + required: false + schema: + type: number + default: 1 + minimum: 0 + - name: type + in: query + required: true + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: search + in: query + required: false + schema: + type: string + - name: default_search_operator + in: query + required: false + schema: + default: OR + type: string + enum: + - OR + - AND + - name: search_fields + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: sort_field + in: query + required: false + schema: + type: string + - name: has_reference + in: query + required: false + schema: + anyOf: + - type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + - type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + - name: has_reference_operator + in: query + required: false + schema: + default: OR + type: string + enum: + - OR + - AND + - name: has_no_reference + in: query + required: false + schema: + anyOf: + - type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + - type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + - name: has_no_reference_operator + in: query + required: false + schema: + default: OR + type: string + enum: + - OR + - AND + - name: fields + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: filter + in: query + required: false + schema: + type: string + - name: aggs + in: query + required: false + schema: + type: string + - name: namespaces + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + operationId: get-saved-objects-find + /api/saved_objects/_bulk_get: + post: + summary: Get saved objects + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + fields: + type: array + items: + type: string + namespaces: + type: array + items: + type: string + additionalProperties: false + required: + - type + - id + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-saved-objects-bulk-get + /api/saved_objects/_bulk_create: + post: + summary: Create saved objects + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + attributes: + type: object + additionalProperties: {} + version: + type: string + migrationVersion: + type: object + additionalProperties: + type: string + coreMigrationVersion: + type: string + typeMigrationVersion: + type: string + references: + type: array + items: + type: object + properties: + name: + type: string + type: + type: string + id: + type: string + additionalProperties: false + required: + - name + - type + - id + initialNamespaces: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - type + - attributes + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: overwrite + in: query + required: false + schema: + type: boolean + default: false + operationId: post-saved-objects-bulk-create + /api/saved_objects/_bulk_resolve: + post: + summary: Resolve saved objects + tags: + - saved objects + description: |- + Retrieve multiple Kibana saved objects by ID, using any legacy URL aliases if they exist. + Under certain circumstances, when Kibana is upgraded, saved object migrations may necessitate regenerating some object IDs to enable new features. When an object's ID is regenerated, a legacy URL alias is created for that object, preserving its old ID. In such a scenario, that object can be retrieved with the bulk resolve API using either its new ID or its old ID. + deprecated: true + requestBody: + content: + application/json: + schema: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-saved-objects-bulk-resolve + /api/saved_objects/_bulk_update: + put: + summary: Update saved objects + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + attributes: + type: object + additionalProperties: {} + version: + type: string + references: + type: array + items: + type: object + properties: + name: + type: string + type: + type: string + id: + type: string + additionalProperties: false + required: + - name + - type + - id + namespace: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - id + - attributes + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-saved-objects-bulk-update + /api/saved_objects/_bulk_delete: + post: + summary: Delete saved objects + tags: + - saved objects + deprecated: true + requestBody: + content: + application/json: + schema: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: force + in: query + required: false + schema: + type: boolean + operationId: post-saved-objects-bulk-delete + /api/saved_objects/_export: + post: + summary: Export saved objects + tags: + - saved objects + description: |- + Retrieve sets of saved objects that you want to import into Kibana. You must include `type` or `objects` in the request body. The output of exporting saved objects must be treated as opaque. Tampering with exported data risks introducing unspecified errors and data loss. + + Exported saved objects are not backwards compatible and cannot be imported into an older version of Kibana. + + NOTE: The `savedObjects.maxImportExportSize` configuration setting limits the number of saved objects which may be exported. + requestBody: + content: + application/json: + schema: + type: object + properties: + hasReference: + anyOf: + - type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + - type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + type: + description: The saved object types to include in the export. Use `*` to export all the types. Valid options depend on enabled plugins, but may include `visualization`, `dashboard`, `search`, `index-pattern`, `tag`, `config`, `config-global`, `lens`, `map`, `event-annotation-group`, `query`, `url`, `action`, `alert`, `alerting_rule_template`, `apm-indices`, `cases-user-actions`, `cases`, `cases-comments`, `infrastructure-monitoring-log-view`, `ml-trained-model`, `osquery-saved-query`, `osquery-pack`, `osquery-pack-asset`. + anyOf: + - type: string + - type: array + items: + type: string + objects: + type: array + description: 'A list of objects to export. NOTE: this optional parameter cannot be combined with the `types` option' + maxItems: 10000 + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + search: + type: string + description: Search for documents to export using the Elasticsearch Simple Query String syntax. + includeReferencesDeep: + type: boolean + description: Includes all of the referenced objects in the exported objects. + default: false + excludeExportDetails: + type: boolean + description: Do not add export details entry at the end of the stream. + default: false + additionalProperties: false + examples: + exportSavedObjectsRequest: + summary: Export a specific saved object. + value: + objects: + - type: map + id: de71f4f0-1902-11e9-919b-ffe5949a18d2 + includeReferencesDeep: false + excludeExportDetails: true + responses: + '200': + description: Indicates a successfull call. + content: + application/x-ndjson: + schema: {} + examples: + exportSavedObjectsResponse: + summary: The export objects API response contains a JSON record for each exported object. + value: + attributes: + description: '' + layerListJSON: '[{"id":"0hmz5","alpha":1,"sourceDescriptor":{"type":"EMS_TMS","isAutoSelect":true,"lightModeDefault":"road_map_desaturated"},"visible":true,"style":{},"type":"EMS_VECTOR_TILE","minZoom":0,"maxZoom":24},{"id":"edh66","label":"Total Requests by Destination","minZoom":0,"maxZoom":24,"alpha":0.5,"sourceDescriptor":{"type":"EMS_FILE","id":"world_countries","tooltipProperties":["name","iso2"]},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"DYNAMIC","options":{"field":{"name":"__kbnjoin__count__673ff994-fc75-4c67-909b-69fcb0e1060e","origin":"join"},"color":"Greys","fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"lineColor":{"type":"STATIC","options":{"color":"#FFFFFF"}},"lineWidth":{"type":"STATIC","options":{"size":1}},"iconSize":{"type":"STATIC","options":{"size":10}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR","joins":[{"leftField":"iso2","right":{"type":"ES_TERM_SOURCE","id":"673ff994-fc75-4c67-909b-69fcb0e1060e","indexPatternTitle":"kibana_sample_data_logs","term":"geo.dest","indexPatternRefName":"layer_1_join_0_index_pattern","metrics":[{"type":"count","label":"web logs count"}],"applyGlobalQuery":true}}]},{"id":"gaxya","label":"Actual Requests","minZoom":9,"maxZoom":24,"alpha":1,"sourceDescriptor":{"id":"b7486535-171b-4d3b-bb2e-33c1a0a2854c","type":"ES_SEARCH","geoField":"geo.coordinates","limit":2048,"filterByMapBounds":true,"tooltipProperties":["clientip","timestamp","host","request","response","machine.os","agent","bytes"],"indexPatternRefName":"layer_2_source_index_pattern","applyGlobalQuery":true,"scalingType":"LIMIT"},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"STATIC","options":{"color":"#2200ff"}},"lineColor":{"type":"STATIC","options":{"color":"#FFFFFF"}},"lineWidth":{"type":"STATIC","options":{"size":2}},"iconSize":{"type":"DYNAMIC","options":{"field":{"name":"bytes","origin":"source"},"minSize":1,"maxSize":23,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR"},{"id":"tfi3f","label":"Total Requests and Bytes","minZoom":0,"maxZoom":9,"alpha":1,"sourceDescriptor":{"type":"ES_GEO_GRID","resolution":"COARSE","id":"8aaa65b5-a4e9-448b-9560-c98cb1c5ac5b","geoField":"geo.coordinates","requestType":"point","metrics":[{"type":"count","label":"web logs count"},{"type":"sum","field":"bytes"}],"indexPatternRefName":"layer_3_source_index_pattern","applyGlobalQuery":true},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"color":"Blues","fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"lineColor":{"type":"STATIC","options":{"color":"#cccccc"}},"lineWidth":{"type":"STATIC","options":{"size":1}},"iconSize":{"type":"DYNAMIC","options":{"field":{"name":"sum_of_bytes","origin":"source"},"minSize":7,"maxSize":25,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"labelText":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"labelSize":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"minSize":12,"maxSize":24,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR"}]' + mapStateJSON: '{"zoom":3.64,"center":{"lon":-88.92107,"lat":42.16337},"timeFilters":{"from":"now-7d","to":"now"},"refreshConfig":{"isPaused":true,"interval":0},"query":{"language":"kuery","query":""},"settings":{"autoFitToDataBounds":false}}' + title: '[Logs] Total Requests and Bytes' + uiStateJSON: '{"isDarkMode":false}' + coreMigrationVersion: 8.8.0 + created_at: '2023-08-23T20:03:32.204Z' + id: de71f4f0-1902-11e9-919b-ffe5949a18d2 + managed: false + references: + - id: 90943e30-9a47-11e8-b64d-95841ca0b247 + name: layer_1_join_0_index_pattern + type: index-pattern + - id: 90943e30-9a47-11e8-b64d-95841ca0b247 + name: layer_2_source_index_pattern + type: index-pattern + - id: 90943e30-9a47-11e8-b64d-95841ca0b247 + name: layer_3_source_index_pattern + type: index-pattern + type: map + typeMigrationVersion: 8.4.0 + updated_at: '2023-08-23T20:03:32.204Z' + version: WzEzLDFd + '400': + description: Bad request. + content: + application/json: + schema: + type: object + description: Indicates an unsuccessful response. + properties: + error: + type: string + message: + type: string + statusCode: + type: integer + enum: + - 400 + additionalProperties: false + required: + - error + - message + - statusCode + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-saved-objects-export + /api/saved_objects/_import: + post: + summary: Import saved objects + tags: + - saved objects + description: |- + Create sets of Kibana saved objects from a file created by the export API. Saved objects can only be imported into the same version, a newer minor on the same major, or the next major. Tampering with exported data risks introducing unspecified errors and data loss. + + Exported saved objects are not backwards compatible and cannot be imported into an older version of Kibana. + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + file: + type: object + description: 'A file exported using the export API. Changing the contents of the exported file in any way before importing it can cause errors, crashes or data loss. NOTE: The `savedObjects.maxImportExportSize` configuration setting limits the number of saved objects which may be included in this file. Similarly, the `savedObjects.maxImportPayloadBytes` setting limits the overall size of the file that can be imported.' + additionalProperties: false + required: + - file + examples: + importObjectsRequest: + value: + file: file.ndjson + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + description: Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the `errors` and `successResults` properties. + successCount: + type: number + description: Indicates the number of successfully imported records. + errors: + type: array + description: |- + Indicates the import was unsuccessful and specifies the objects that failed to import. + + NOTE: One object may result in multiple errors, which requires separate steps to resolve. For instance, a `missing_references` error and conflict error. + items: + type: object + properties: {} + additionalProperties: true + successResults: + type: array + description: |- + Indicates the objects that are successfully imported, with any metadata if applicable. + + NOTE: Objects are created only when all resolvable errors are addressed, including conflicts and missing references. If objects are created as new copies, each entry in the `successResults` array includes a `destinationId` attribute. + items: + type: object + properties: {} + additionalProperties: true + additionalProperties: false + required: + - success + - successCount + - errors + - successResults + examples: + importObjectsResponse: + summary: The import objects API response indicates a successful import and the objects are created. Since these objects are created as new copies, each entry in the successResults array includes a destinationId attribute. + value: + successCount: 1 + success: true + successResults: + - type: index-pattern + id: 90943e30-9a47-11e8-b64d-95841ca0b247 + meta: + title: Kibana Sample Data Logs + icon: indexPatternApp + managed: false + destinationId: 82d2760c-468f-49cf-83aa-b9a35b6a8943 + '400': + description: Bad request. + content: + application/json: + schema: + type: object + description: Indicates an unsuccessful response. + properties: + error: + type: string + message: + type: string + statusCode: + type: integer + enum: + - 400 + additionalProperties: false + required: + - error + - message + - statusCode + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: overwrite + in: query + required: false + schema: + type: boolean + default: false + description: 'Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object. NOTE: This option cannot be used with the `createNewCopies` option.' + - name: createNewCopies + in: query + required: false + schema: + type: boolean + default: false + description: 'Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. NOTE: This option cannot be used with the `overwrite` and `compatibilityMode` options.' + - name: compatibilityMode + in: query + required: false + schema: + type: boolean + default: false + description: 'Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. NOTE: This option cannot be used with the `createNewCopies` option.' + operationId: post-saved-objects-import + x-codeSamples: + - lang: cURL + label: Import with createNewCopies + source: | + curl \ + -X POST api/saved_objects/_import?createNewCopies=true + -H "kbn-xsrf: true" + --form file=@file.ndjson + /api/saved_objects/_resolve_import_errors: + post: + summary: Resolve import errors + tags: + - saved objects + description: To resolve errors from the import objects API, you can retry certain saved objects, overwrite specific saved objects, and change references to different saved objects + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + file: + type: object + retries: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + overwrite: + type: boolean + default: false + destinationId: + type: string + replaceReferences: + type: array + default: [] + items: + type: object + properties: + type: + type: string + from: + type: string + to: + type: string + additionalProperties: false + required: + - type + - from + - to + createNewCopy: + type: boolean + ignoreMissingReferences: + type: boolean + additionalProperties: false + required: + - type + - id + additionalProperties: false + required: + - file + - retries + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: createNewCopies + in: query + required: false + schema: + type: boolean + default: false + - name: compatibilityMode + in: query + required: false + schema: + type: boolean + default: false + operationId: post-saved-objects-resolve-import-errors + /api/status: + get: + summary: Get Kibana's current status + tags: + - system + responses: + '200': + description: Overall status is OK and Kibana should be functioning normally. + content: + application/json: + schema: + description: Kibana's operational status. A minimal response is sent for unauthorized users. + anyOf: + - $ref: '#/components/schemas/core_status_response' + - $ref: '#/components/schemas/core_status_redactedResponse' + '503': + description: Kibana or some of it's essential services are unavailable. Kibana may be degraded or unavailable. + content: + application/json: + schema: + description: Kibana's operational status. A minimal response is sent for unauthorized users. + anyOf: + - $ref: '#/components/schemas/core_status_response' + - $ref: '#/components/schemas/core_status_redactedResponse' + parameters: + - name: v7format + in: query + required: false + schema: + type: boolean + description: Set to "true" to get the response in v7 format. + - name: v8format + in: query + required: false + schema: + type: boolean + description: Set to "true" to get the response in v8 format. + operationId: get-status + /bootstrap.js: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-bootstrap.js + /bootstrap-anonymous.js: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-bootstrap-anonymous.js + /api/features: + get: + summary: Get features + tags: [] + description: '[Required authorization] Route required privileges: read_features.' + responses: {} + parameters: + - name: ignoreValidLicenses + in: query + required: false + schema: + type: boolean + default: false + operationId: get-features + /api/monitoring_collection/{type}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: type + in: path + required: true + schema: + type: string + operationId: get-monitoring-collection-type + /api/stats: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: extended + in: query + required: false + schema: + default: false + anyOf: + - type: string + enum: + - '' + - type: boolean + - name: legacy + in: query + required: false + schema: + default: false + anyOf: + - type: string + enum: + - '' + - type: boolean + - name: exclude_usage + in: query + required: false + schema: + default: true + anyOf: + - type: string + enum: + - '' + - type: boolean + operationId: get-stats + /api/task_manager/_health: + get: + summary: Get task manager health + tags: [] + responses: {} + parameters: [] + operationId: get-task-manager-health + /internal/task_manager/_background_task_utilization: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-task-manager-background-task-utilization + /api/task_manager/_background_task_utilization: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-task-manager-background-task-utilization-2 + /api/task_manager/metrics: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: reset + in: query + required: false + schema: + type: boolean + default: true + operationId: get-task-manager-metrics + /api/short_url: + post: + summary: Create a short URL + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + locatorId: + type: string + minLength: 1 + maxLength: 255 + slug: + type: string + default: '' + minLength: 3 + maxLength: 255 + humanReadableSlug: + type: boolean + default: false + params: + type: object + properties: {} + additionalProperties: true + additionalProperties: false + required: + - locatorId + - params + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-short-url + /api/short_url/{id}: + get: + summary: Get a short URL + tags: [] + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 4 + maxLength: 128 + operationId: get-short-url-id + delete: + summary: Delete a short URL + tags: [] + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 4 + maxLength: 128 + operationId: delete-short-url-id + /api/short_url/_slug/{slug}: + get: + summary: Resolve a short URL + tags: [] + responses: {} + parameters: + - name: slug + in: path + required: true + schema: + type: string + minLength: 4 + maxLength: 128 + operationId: get-short-url-slug-slug + /api/spaces/_copy_saved_objects: + post: + summary: Copy saved objects between spaces + tags: + - spaces + description: 'It also allows you to automatically copy related objects, so when you copy a dashboard, this can automatically copy over the associated visualizations, data views, and saved Discover sessions, as required. You can request to overwrite any objects that already exist in the target space if they share an identifier or you can use the resolve copy saved objects conflicts API to do this on a per-object basis.

[Required authorization] Route required privileges: copySavedObjectsToSpaces.' + requestBody: + content: + application/json: + schema: + type: object + properties: + spaces: + type: array + items: + type: string + description: The identifiers of the spaces where you want to copy the specified objects. + objects: + type: array + items: + type: object + properties: + type: + type: string + description: The type of the saved object to copy. + id: + type: string + description: The identifier of the saved object to copy. + additionalProperties: false + required: + - type + - id + includeReferences: + type: boolean + description: When set to true, all saved objects related to the specified saved objects will also be copied into the target spaces. + default: false + overwrite: + type: boolean + description: When set to true, all conflicts are automatically overridden. When a saved object with a matching type and identifier exists in the target space, that version is replaced with the version from the source space. This option cannot be used with the `createNewCopies` option. + default: false + createNewCopies: + type: boolean + description: Create new copies of saved objects, regenerate each object identifier, and reset the origin. When used, potential conflict errors are avoided. This option cannot be used with the `overwrite` and `compatibilityMode` options. + default: true + compatibilityMode: + type: boolean + description: Apply various adjustments to the saved objects that are being copied to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with copied saved objects. This option cannot be used with the `createNewCopies` option. + default: false + additionalProperties: false + required: + - spaces + - objects + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-copy-saved-objects + /api/spaces/_resolve_copy_saved_objects_errors: + post: + summary: Resolve conflicts copying saved objects + tags: [] + description: 'Overwrite saved objects that are returned as errors from the copy saved objects to space API.

[Required authorization] Route required privileges: copySavedObjectsToSpaces.' + requestBody: + content: + application/json: + schema: + type: object + properties: + retries: + type: object + additionalProperties: + type: array + items: + type: object + properties: + type: + type: string + description: The saved object type. + id: + type: string + description: The saved object identifier. + overwrite: + type: boolean + description: When set to true, the saved object from the source space overwrites the conflicting object in the destination space. + default: false + destinationId: + type: string + description: Specifies the destination identifier that the copied object should have, if different from the current identifier. + createNewCopy: + type: boolean + description: Creates new copies of the saved objects, regenerates each object ID, and resets the origin. + ignoreMissingReferences: + type: boolean + description: When set to true, any missing references errors are ignored. + additionalProperties: false + required: + - type + - id + objects: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + includeReferences: + type: boolean + default: false + createNewCopies: + type: boolean + default: true + compatibilityMode: + type: boolean + default: false + additionalProperties: false + required: + - retries + - objects + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-resolve-copy-saved-objects-errors + /api/spaces/_update_objects_spaces: + post: + summary: Update saved objects in spaces + tags: + - spaces + description: Update one or more saved objects to add or remove them from some spaces. + requestBody: + content: + application/json: + schema: + type: object + properties: + objects: + type: array + items: + type: object + properties: + type: + type: string + description: The type of the saved object to update. + id: + type: string + description: The identifier of the saved object to update. + additionalProperties: false + required: + - type + - id + spacesToAdd: + type: array + items: + type: string + description: The identifiers of the spaces the saved objects should be added to or removed from. + spacesToRemove: + type: array + items: + type: string + description: The identifiers of the spaces the saved objects should be added to or removed from. + additionalProperties: false + required: + - objects + - spacesToAdd + - spacesToRemove + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-update-objects-spaces + /api/spaces/_get_shareable_references: + post: + summary: Get shareable references + tags: + - spaces + description: Collect references and space contexts for saved objects. + requestBody: + content: + application/json: + schema: + type: object + properties: + objects: + type: array + items: + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + additionalProperties: false + required: + - objects + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-get-shareable-references + /api/spaces/_disable_legacy_url_aliases: + post: + summary: Disable legacy URL aliases + tags: + - spaces + requestBody: + content: + application/json: + schema: + type: object + properties: + aliases: + type: array + items: + type: object + properties: + targetSpace: + type: string + description: The space where the alias target object exists. + targetType: + type: string + description: 'The type of alias target object. ' + sourceId: + type: string + description: The alias source object identifier. This is the legacy object identifier. + additionalProperties: false + required: + - targetSpace + - targetType + - sourceId + additionalProperties: false + required: + - aliases + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-disable-legacy-url-aliases + /internal/security/analytics/_record_violations: + post: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: + anyOf: + - type: array + items: + anyOf: + - type: object + properties: + type: + type: string + enum: + - csp-violation + age: + type: number + url: + type: string + user_agent: + type: string + body: + type: object + properties: + documentURL: + type: string + referrer: + type: string + blockedURL: + type: string + effectiveDirective: + type: string + originalPolicy: + type: string + sourceFile: + type: string + sample: + type: string + disposition: + type: string + enum: + - enforce + - report + statusCode: + type: number + lineNumber: + type: number + columnNumber: + type: number + additionalProperties: false + required: + - documentURL + - effectiveDirective + - originalPolicy + - disposition + - statusCode + additionalProperties: false + required: + - type + - url + - body + - type: object + properties: + type: + type: string + enum: + - permissions-policy-violation + age: + type: number + url: + type: string + user_agent: + type: string + body: + type: object + properties: + policyId: + type: string + featureId: + type: string + sourceFile: + type: string + lineNumber: + type: number + columnNumber: + type: number + disposition: + type: string + enum: + - enforce + - report + additionalProperties: false + required: + - disposition + additionalProperties: false + required: + - type + - url + - body + - type: object + properties: + type: + type: string + enum: + - csp-violation + age: + type: number + url: + type: string + user_agent: + type: string + body: + type: object + properties: + documentURL: + type: string + referrer: + type: string + blockedURL: + type: string + effectiveDirective: + type: string + originalPolicy: + type: string + sourceFile: + type: string + sample: + type: string + disposition: + type: string + enum: + - enforce + - report + statusCode: + type: number + lineNumber: + type: number + columnNumber: + type: number + additionalProperties: false + required: + - documentURL + - effectiveDirective + - originalPolicy + - disposition + - statusCode + additionalProperties: false + required: + - type + - url + - body + - type: object + properties: + type: + type: string + enum: + - permissions-policy-violation + age: + type: number + url: + type: string + user_agent: + type: string + body: + type: object + properties: + policyId: + type: string + featureId: + type: string + sourceFile: + type: string + lineNumber: + type: number + columnNumber: + type: number + disposition: + type: string + enum: + - enforce + - report + additionalProperties: false + required: + - disposition + additionalProperties: false + required: + - type + - url + - body + responses: {} + parameters: [] + operationId: post-security-analytics-record-violations + /api/security/privileges: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: includeActions + in: query + required: false + schema: + type: string + enum: + - 'true' + - 'false' + - name: respectLicenseLevel + in: query + required: false + schema: + type: string + enum: + - 'true' + - 'false' + operationId: get-security-privileges + /api/security/session/_invalidate: + post: + summary: Invalidate user sessions + tags: [] + description: '[Required authorization] Route required privileges: superuser.' + requestBody: + content: + application/json: + schema: + type: object + properties: + match: + type: string + enum: + - all + - query + query: + oneOf: + - type: object + properties: + provider: + type: object + properties: + type: + type: string + name: + type: string + additionalProperties: false + required: + - type + username: + type: string + additionalProperties: false + required: + - provider + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + additionalProperties: false + required: + - match + - query + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-session-invalidate + /api/encrypted_saved_objects/_rotate_key: + post: + summary: Rotate a key for encrypted saved objects + tags: + - saved objects + description: |- + If a saved object cannot be decrypted using the primary encryption key, Kibana attempts to decrypt it using the specified decryption-only keys. In most of the cases this overhead is negligible, but if you're dealing with a large number of saved objects and experiencing performance issues, you may want to rotate the encryption key. + NOTE: Bulk key rotation can consume a considerable amount of resources and hence only user with a superuser role can trigger it.

[Required authorization] Route required privileges: superuser. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: batch_size + in: query + required: false + schema: + type: number + default: 10000 + minimum: 1 + maximum: 10000 + - name: type + in: query + required: false + schema: + type: string + operationId: post-encrypted-saved-objects-rotate-key + /api/files/public/blob/{fileName}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: fileName + in: path + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + - name: token + in: query + required: true + schema: + type: string + operationId: get-files-public-blob-filename + /api/files/files/defaultImage/{id}/blob/{fileName}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: files:defaultImage.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: fileName + in: path + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + operationId: get-files-files-defaultimage-id-blob-filename + /api/files/files/casesFilesCases/{id}/blob/{fileName}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: casesFilesCasesRead.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: fileName + in: path + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + operationId: get-files-files-casesfilescases-id-blob-filename + /api/files/files/observabilityFilesCases/{id}/blob/{fileName}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: observabilityFilesCasesRead.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: fileName + in: path + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + operationId: get-files-files-observabilityfilescases-id-blob-filename + /api/files/files/securitySolutionFilesCases/{id}/blob/{fileName}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolutionFilesCasesRead.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: fileName + in: path + required: false + schema: + type: string + minLength: 1 + maxLength: 256 + operationId: get-files-files-securitysolutionfilescases-id-blob-filename + /api/actions/connector/{id}: + post: + summary: Create a connector + tags: + - connectors + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The display name for the connector. + connector_type_id: + type: string + description: The type of connector. + config: + type: object + default: {} + additionalProperties: {} + secrets: + type: object + default: {} + additionalProperties: {} + additionalProperties: false + required: + - name + - connector_type_id + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the connector. + name: + type: string + description: ' The name of the rule.' + config: + type: object + additionalProperties: {} + connector_type_id: + type: string + description: The connector type identifier. + is_missing_secrets: + type: boolean + description: Indicates whether the connector is missing secrets. + is_preconfigured: + type: boolean + description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' + is_deprecated: + type: boolean + description: Indicates whether the connector is deprecated. + is_system_action: + type: boolean + description: Indicates whether the connector is used for system actions. + additionalProperties: false + required: + - id + - name + - connector_type_id + - is_preconfigured + - is_deprecated + - is_system_action + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: false + schema: + type: string + description: An identifier for the connector. + operationId: post-actions-connector-id + delete: + summary: Delete a connector + tags: + - connectors + description: 'WARNING: When you delete a connector, it cannot be recovered.' + responses: + '204': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: An identifier for the connector. + operationId: delete-actions-connector-id + get: + summary: Get connector information + tags: + - connectors + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the connector. + name: + type: string + description: ' The name of the rule.' + config: + type: object + additionalProperties: {} + connector_type_id: + type: string + description: The connector type identifier. + is_missing_secrets: + type: boolean + description: Indicates whether the connector is missing secrets. + is_preconfigured: + type: boolean + description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' + is_deprecated: + type: boolean + description: Indicates whether the connector is deprecated. + is_system_action: + type: boolean + description: Indicates whether the connector is used for system actions. + additionalProperties: false + required: + - id + - name + - connector_type_id + - is_preconfigured + - is_deprecated + - is_system_action + parameters: + - name: id + in: path + required: true + schema: + type: string + description: An identifier for the connector. + operationId: get-actions-connector-id + put: + summary: Update a connector + tags: + - connectors + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The display name for the connector. + config: + type: object + default: {} + additionalProperties: {} + secrets: + type: object + default: {} + additionalProperties: {} + additionalProperties: false + required: + - name + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the connector. + name: + type: string + description: ' The name of the rule.' + config: + type: object + additionalProperties: {} + connector_type_id: + type: string + description: The connector type identifier. + is_missing_secrets: + type: boolean + description: Indicates whether the connector is missing secrets. + is_preconfigured: + type: boolean + description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' + is_deprecated: + type: boolean + description: Indicates whether the connector is deprecated. + is_system_action: + type: boolean + description: Indicates whether the connector is used for system actions. + additionalProperties: false + required: + - id + - name + - connector_type_id + - is_preconfigured + - is_deprecated + - is_system_action + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: An identifier for the connector. + operationId: put-actions-connector-id + /api/actions/connectors: + get: + summary: Get all connectors + tags: + - connectors + responses: {} + parameters: [] + operationId: get-actions-connectors + /api/actions/connector_types: + get: + summary: Get connector types + tags: + - connectors + description: You do not need any Kibana feature privileges to run this API. + responses: {} + parameters: + - name: feature_id + in: query + required: false + schema: + type: string + description: A filter to limit the retrieved connector types to those that support a specific feature (such as alerting or cases). + operationId: get-actions-connector-types + /api/actions/connector/{id}/_execute: + post: + summary: Run a connector + tags: + - connectors + description: You can use this API to test an action that involves interaction with Kibana services or integrations with third-party systems. + requestBody: + content: + application/json: + schema: + type: object + properties: + params: + type: object + additionalProperties: {} + additionalProperties: false + required: + - params + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the connector. + name: + type: string + description: ' The name of the rule.' + config: + type: object + additionalProperties: {} + connector_type_id: + type: string + description: The connector type identifier. + is_missing_secrets: + type: boolean + description: Indicates whether the connector is missing secrets. + is_preconfigured: + type: boolean + description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' + is_deprecated: + type: boolean + description: Indicates whether the connector is deprecated. + is_system_action: + type: boolean + description: Indicates whether the connector is used for system actions. + additionalProperties: false + required: + - id + - name + - connector_type_id + - is_preconfigured + - is_deprecated + - is_system_action + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: An identifier for the connector. + operationId: post-actions-connector-id-execute + /api/alerting/rule/{id}: + post: + summary: Create a rule + tags: + - alerting + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the rule. While this name does not have to be unique, a distinctive name can help you identify a rule. + rule_type_id: + type: string + description: The rule type identifier. + enabled: + type: boolean + description: Indicates whether you want to run the rule on an interval basis after it is created. + default: true + consumer: + type: string + description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' + tags: + type: array + description: The tags for the rule. + default: [] + items: + type: string + throttle: + nullable: true + type: string + description: 'Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + params: + type: object + description: The parameters for the rule. + default: {} + additionalProperties: {} + schedule: + type: object + description: The check interval, which specifies how frequently the rule conditions are checked. + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + actions: + type: array + default: [] + items: + type: object + description: An action that runs under defined conditions. + properties: + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + default: {} + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if `notify_when` is set to `onThrottleInterval`. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + alerts_filter: + type: object + description: Conditions that affect whether the action runs. If you specify multiple conditions, all conditions must be met for the action to run. For example, if an alert occurs within the specified time frame and matches the query, the action runs. + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + description: Defines a period that limits whether the action runs. + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + description: Defines the range of time in a day that the action can run. If the `start` value is `00:00` and the `end` value is `24:00`, actions be generated all day. + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + maxItems: 10 + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + maxLength: 10000 + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - name + - rule_type_id + - consumer + - schedule + examples: + createEsQueryEsqlRuleRequest: + summary: Elasticsearch query rule (ES|QL) + description: | + Create an Elasticsearch query rule that uses Elasticsearch Query Language (ES|QL) to define its query and a server log connector to send notifications. + value: + name: my Elasticsearch query ESQL rule + params: + searchType: esqlQuery + esqlQuery: + esql: FROM kibana_sample_data_logs | KEEP bytes, clientip, host, geo.dest | where geo.dest != "GB" | STATS sumbytes = sum(bytes) by clientip, host | WHERE sumbytes > 5000 | SORT sumbytes desc | LIMIT 10 + timeField: '@timestamp' + timeWindowSize: 1 + timeWindowUnit: d + size: 0 + thresholdComparator: '>' + threshold: + - 0 + consumer: stackAlerts + rule_type_id: .es-query + schedule: + interval: 1d + actions: + - group: query matched + id: d0db1fe0-78d6-11ee-9177-f7d404c8c945 + params: + level: info + message: |- + Elasticsearch query rule '{{rule.name}}' is active: + - Value: {{context.value}} - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - Timestamp: {{context.date}} - Link: {{context.link}} + frequency: + summary: false + notify_when: onActiveAlert + createEsQueryRuleRequest: + summary: Elasticsearch query rule (DSL) + description: | + Create an Elasticsearch query rule that uses Elasticsearch query domain specific language (DSL) to define its query and a server log connector to send notifications. + value: + actions: + - group: query matched + params: + level: info + message: The system has detected {{alerts.new.count}} new, {{alerts.ongoing.count}} ongoing, and {{alerts.recovered.count}} recovered alerts. + id: fdbece50-406c-11ee-850e-c71febc4ca7f + frequency: + throttle: 1d + summary: true + notify_when: onThrottleInterval + - group: recovered + params: + level: info + message: Recovered + id: fdbece50-406c-11ee-850e-c71febc4ca7f + frequency: + summary: false + notify_when: onActionGroupChange + consumer: alerts + name: my Elasticsearch query rule + params: + esQuery: '"""{"query":{"match_all" : {}}}"""' + index: + - kibana_sample_data_logs + size: 100 + threshold: + - 100 + thresholdComparator: '>' + timeField: '@timestamp' + timeWindowSize: 1 + timeWindowUnit: d + rule_type_id: .es-query + schedule: + interval: 1d + createEsQueryKqlRuleRequest: + summary: Elasticsearch query rule (KQL) + description: Create an Elasticsearch query rule that uses Kibana query language (KQL). + value: + consumer: alerts + name: my Elasticsearch query KQL rule + params: + aggType: count + excludeHitsFromPreviousRun: true + groupBy: all + searchConfiguration: + query: + query: '""geo.src : "US" ""' + language: kuery + index: 90943e30-9a47-11e8-b64d-95841ca0b247 + searchType: searchSource + size: 100 + threshold: + - 1000 + thresholdComparator: '>' + timeWindowSize: 5 + timeWindowUnit: m + rule_type_id: .es-query + schedule: + interval: 1m + createIndexThresholdRuleRequest: + summary: Index threshold rule + description: | + Create an index threshold rule that uses a server log connector to send notifications when the threshold is met. + value: + actions: + - id: 48de3460-f401-11ed-9f8e-399c75a2deeb + frequency: + notify_when: onActionGroupChange + summary: false + group: threshold met + params: + level: info + message: |- + Rule '{{rule.name}}' is active for group '{{context.group}}': + + - Value: {{context.value}} + - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} + - Timestamp: {{context.date}} + alert_delay: + active: 3 + consumer: alerts + name: my rule + params: + aggType: avg + termSize: 6 + thresholdComparator: '>' + timeWindowSize: 5 + timeWindowUnit: m + groupBy: top + threshold: + - 1000 + index: + - .test-index + timeField: '@timestamp' + aggField: sheet.version + termField: name.keyword + rule_type_id: .index-threshold + schedule: + interval: 1m + tags: + - cpu + createTrackingContainmentRuleRequest: + summary: Tracking containment rule + description: | + Create a tracking containment rule that checks when an entity is contained or no longer contained within a boundary. + value: + consumer: alerts + name: my tracking rule + params: + index: kibana_sample_data_logs + dateField": '@timestamp' + geoField: geo.coordinates + entity: agent.keyword + boundaryType: entireIndex + boundaryIndexTitle: boundary* + boundaryGeoField: location + boundaryNameField: name + indexId: 90943e30-9a47-11e8-b64d-95841ca0b247 + boundaryIndexId: 0cd90abf-abe7-44c7-909a-f621bbbcfefc + rule_type_id: .geo-containment + schedule: + interval: 1h + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the rule. + enabled: + type: boolean + description: Indicates whether you want to run the rule on an interval basis after it is created. + name: + type: string + description: ' The name of the rule.' + tags: + type: array + items: + type: string + description: The tags for the rule. + rule_type_id: + type: string + description: The rule type identifier. + consumer: + type: string + description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' + schedule: + type: object + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + actions: + type: array + items: + type: object + properties: + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + connector_type_id: + type: string + description: The type of connector. This property appears in responses but cannot be set in requests. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + alerts_filter: + type: object + description: Defines a period that limits whether the action runs. + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + - connector_type_id + - params + params: + type: object + description: The parameters for the rule. + additionalProperties: {} + mapped_params: + type: object + additionalProperties: {} + scheduled_task_id: + type: string + description: Identifier of the scheduled task. + created_by: + nullable: true + type: string + description: The identifier for the user that created the rule. + updated_by: + nullable: true + type: string + description: The identifier for the user that updated this rule most recently. + created_at: + type: string + description: The date and time that the rule was created. + updated_at: + type: string + description: The date and time that the rule was updated most recently. + api_key_owner: + nullable: true + type: string + description: The owner of the API key that is associated with the rule and used to run background tasks. + api_key_created_by_user: + nullable: true + type: boolean + description: Indicates whether the API key that is associated with the rule was created by the user. + throttle: + nullable: true + type: string + description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + deprecated: true + mute_all: + type: boolean + description: Indicates whether all alerts are muted. + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + muted_alert_ids: + type: array + items: + type: string + description: 'List of identifiers of muted alerts. ' + execution_status: + type: object + properties: + status: + description: Status of rule execution. + type: string + enum: + - ok + - active + - error + - warning + - pending + - unknown + last_execution_date: + type: string + description: The date and time when rule was executed last. + last_duration: + type: number + description: Duration of last execution of the rule. + error: + type: object + properties: + reason: + description: Reason for error. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + message: + type: string + description: Error message. + additionalProperties: false + required: + - reason + - message + warning: + type: object + properties: + reason: + description: Reason for warning. + type: string + enum: + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + message: + type: string + description: Warning message. + additionalProperties: false + required: + - reason + - message + additionalProperties: false + required: + - status + - last_execution_date + monitoring: + type: object + description: Monitoring details of the rule. + properties: + run: + type: object + description: Rule run details. + properties: + history: + type: array + description: History of the rule run. + items: + type: object + properties: + success: + type: boolean + description: Indicates whether the rule run was successful. + timestamp: + type: number + description: Time of rule run. + duration: + type: number + description: Duration of the rule run. + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + additionalProperties: false + required: + - success + - timestamp + calculated_metrics: + type: object + description: Calculation of different percentiles and success ratio. + properties: + p50: + type: number + p95: + type: number + p99: + type: number + success_ratio: + type: number + additionalProperties: false + required: + - success_ratio + last_run: + type: object + properties: + timestamp: + type: string + description: Time of the most recent rule run. + metrics: + type: object + properties: + duration: + type: number + description: Duration of most recent rule run. + total_search_duration_ms: + nullable: true + type: number + description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. + total_indexing_duration_ms: + nullable: true + type: number + description: Total time spent indexing documents during last rule run in milliseconds. + total_alerts_detected: + nullable: true + type: number + description: Total number of alerts detected during last rule run. + total_alerts_created: + nullable: true + type: number + description: Total number of alerts created during last rule run. + gap_duration_s: + nullable: true + type: number + description: Duration in seconds of rule run gap. + gap_range: + nullable: true + type: object + properties: + lte: + type: string + description: Start of the gap range. + gte: + type: string + description: End of the gap range. + additionalProperties: false + required: + - lte + - gte + additionalProperties: false + additionalProperties: false + required: + - timestamp + - metrics + additionalProperties: false + required: + - history + - calculated_metrics + - last_run + additionalProperties: false + required: + - run + snooze_schedule: + type: array + items: + type: object + properties: + id: + type: string + description: Identifier of the rule snooze schedule. + duration: + type: number + description: Duration of the rule snooze schedule. + rRule: + type: object + properties: + dtstart: + type: string + description: Rule start date in Coordinated Universal Time (UTC). + tzid: + type: string + description: Indicates timezone abbreviation. + freq: + description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. + type: integer + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + until: + type: string + description: Recur the rule until this date. + count: + type: number + description: Number of times the rule should recur until it stops. + interval: + type: number + description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. + wkst: + description: Indicates the start of week, defaults to Monday. + type: string + enum: + - MO + - TU + - WE + - TH + - FR + - SA + - SU + byweekday: + nullable: true + type: array + items: + description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. + anyOf: + - type: string + - type: number + bymonth: + nullable: true + type: array + items: + type: number + description: Indicates months of the year that this rule should recur. + bysetpos: + nullable: true + type: array + items: + type: number + description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. + bymonthday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the month to recur. + byyearday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the year that this rule should recur. + byweekno: + nullable: true + type: array + items: + type: number + description: Indicates number of the week hours to recur. + byhour: + nullable: true + type: array + items: + type: number + description: Indicates hours of the day to recur. + byminute: + nullable: true + type: array + items: + type: number + description: Indicates minutes of the hour to recur. + bysecond: + nullable: true + type: array + items: + type: number + description: Indicates seconds of the day to recur. + additionalProperties: false + required: + - dtstart + - tzid + skipRecurrences: + type: array + items: + type: string + description: Skips recurrence of rule on this date. + additionalProperties: false + required: + - duration + - rRule + active_snoozes: + type: array + items: + type: string + description: List of active snoozes for the rule. + is_snoozed_until: + nullable: true + type: string + description: The date when the rule will no longer be snoozed. + last_run: + nullable: true + type: object + properties: + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + outcome_order: + type: number + description: Order of the outcome. + warning: + nullable: true + description: Warning of last rule execution. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + outcome_msg: + nullable: true + type: array + items: + type: string + description: Outcome message generated during last rule run. + alerts_count: + type: object + properties: + active: + nullable: true + type: number + description: Number of active alerts during last run. + new: + nullable: true + type: number + description: Number of new alerts during last run. + recovered: + nullable: true + type: number + description: Number of recovered alerts during last run. + ignored: + nullable: true + type: number + description: Number of ignored alerts during last run. + additionalProperties: false + additionalProperties: false + required: + - outcome + - alerts_count + next_run: + nullable: true + type: string + description: Date and time of the next run of the rule. + revision: + type: number + description: The rule revision number. + running: + nullable: true + type: boolean + description: Indicates whether the rule is running. + view_in_app_relative_url: + nullable: true + type: string + description: Relative URL to view rule in the app. + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + description: User-created content that describes alert causes and remdiation. + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - id + - enabled + - name + - tags + - rule_type_id + - consumer + - schedule + - actions + - params + - created_by + - updated_by + - created_at + - updated_at + - api_key_owner + - mute_all + - muted_alert_ids + - execution_status + - revision + examples: + createEsQueryEsqlRuleResponse: + summary: Elasticsearch query rule (ES|QL) + description: The response for successfully creating an Elasticsearch query rule that uses Elasticsearch Query Language (ES|QL). + value: + id: e0d62360-78e8-11ee-9177-f7d404c8c945 + enabled: true + name: my Elasticsearch query ESQL rule + tags: [] + rule_type_id: .es-query + consumer: stackAlerts + schedule: + interval: 1d + actions: + - group: query matched + id: d0db1fe0-78d6-11ee-9177-f7d404c8c945 + params: + level: info + message: |- + Elasticsearch query rule '{{rule.name}}' is active: + - Value: {{context.value}} - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - Timestamp: {{context.date}} - Link: {{context.link}} + connector_type_id: .server-log + frequency: + summary: false + notify_when: onActiveAlert + throttle: null + uuid: bfe370a3-531b-4855-bbe6-ad739f578844 + params: + searchType: esqlQuery + esqlQuery: + esql: FROM kibana_sample_data_logs | keep bytes, clientip, host, geo.dest | WHERE geo.dest != "GB" | stats sumbytes = sum(bytes) by clientip, host | WHERE sumbytes > 5000 | sort sumbytes desc | limit 10 + timeField: '@timestamp' + timeWindowSize: 1 + timeWindowUnit: d + size: 0 + thresholdComparator: '>' + threshold: + - 0 + excludeHitsFromPreviousRun": true, + aggType: count + groupBy: all + scheduled_task_id: e0d62360-78e8-11ee-9177-f7d404c8c945 + created_by: elastic + updated_by: elastic", + created_at: '2023-11-01T19:00:10.453Z' + updated_at: '2023-11-01T19:00:10.453Z' + api_key_owner: elastic + api_key_created_by_user: false + throttle: null + mute_all: false + notify_when: null + muted_alert_ids: [] + execution_status: + status: pending + last_execution_date: '2023-11-01T19:00:10.453Z' + revision: 0 + running: false + createEsQueryRuleResponse: + summary: Elasticsearch query rule (DSL) + description: The response for successfully creating an Elasticsearch query rule that uses Elasticsearch query domain specific language (DSL). + value: + id: 58148c70-407f-11ee-850e-c71febc4ca7f + enabled: true + name: my Elasticsearch query rule + tags: [] + rule_type_id: .es-query + consumer: alerts + schedule: + interval: 1d + actions: + - group: query matched + id: fdbece50-406c-11ee-850e-c71febc4ca7f + params: + level: info + message: The system has detected {{alerts.new.count}} new, {{alerts.ongoing.count}} ongoing, and {{alerts.recovered.count}} recovered alerts. + connector_type_id: .server-log + frequency: + summary: true + notify_when: onThrottleInterval + throttle: 1d + uuid: 53f3c2a3-e5d0-4cfa-af3b-6f0881385e78 + - group: recovered + id: fdbece50-406c-11ee-850e-c71febc4ca7f + params: + level: info + message: Recovered + connector_type_id: .server-log + frequency: + summary: false + notify_when: onActionGroupChange + throttle: null + uuid: 2324e45b-c0df-45c7-9d70-4993e30be758 + params: + thresholdComparator: '>' + timeWindowSize: 1 + timeWindowUnit: d + threshold: + - 100 + size: 100 + timeField: '@timestamp' + index: + - kibana_sample_data_logs + esQuery: '"""{"query":{"match_all" : {}}}"""' + excludeHitsFromPreviousRun: true + aggType: count + groupBy: all + searchType: esQuery + scheduled_task_id: 58148c70-407f-11ee-850e-c71febc4ca7f + created_by: elastic + updated_by: elastic + created_at: '2023-08-22T00:03:38.263Z' + updated_at: '2023-08-22T00:03:38.263Z' + api_key_owner: elastic + api_key_created_by_user: false + throttle: null + mute_all: false + notify_when: null + muted_alert_ids: [] + execution_status: + status: pending + last_execution_date: '2023-08-22T00:03:38.263Z' + revision: 0 + running: false + createEsQueryKqlRuleResponse: + summary: Elasticsearch query rule (KQL) + description: The response for successfully creating an Elasticsearch query rule that uses Kibana query language (KQL). + value: + id: 7bd506d0-2284-11ee-8fad-6101956ced88 + enabled: true + name: my Elasticsearch query KQL rule" + tags: [] + rule_type_id: .es-query + consumer: alerts + schedule: + interval: 1m + actions: [] + params: + searchConfiguration: + query: + query: '""geo.src : "US" ""' + language: kuery + index: 90943e30-9a47-11e8-b64d-95841ca0b247 + searchType: searchSource + timeWindowSize: 5 + timeWindowUnit: m + threshold: + - 1000 + thresholdComparator: '>' + size: 100 + aggType: count + groupBy: all + excludeHitsFromPreviousRun: true + created_by: elastic + updated_by: elastic + created_at: '2023-07-14T20:24:50.729Z' + updated_at: '2023-07-14T20:24:50.729Z' + api_key_owner: elastic + api_key_created_by_user: false + throttle: null + notify_when: null + mute_all: false + muted_alert_ids: [] + scheduled_task_id: 7bd506d0-2284-11ee-8fad-6101956ced88 + execution_status: + status: pending + last_execution_date: '2023-07-14T20:24:50.729Z' + revision: 0 + running: false + createIndexThresholdRuleResponse: + summary: Index threshold rule + description: The response for successfully creating an index threshold rule. + value: + actions: + - group: threshold met + id: dceeb5d0-6b41-11eb-802b-85b0c1bc8ba2 + uuid: 07aef2a0-9eed-4ef9-94ec-39ba58eb609d + connector_type_id: .server-log + frequency: + notify_when: onActionGroupChange + summary: false + throttle: null + params: + level: info + message: |- + Rule {{rule.name}} is active for group {{context.group} : + + - Value: {{context.value}} + - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} + - Timestamp: {{context.date}} + alert_delay: + active: 3 + api_key_created_by_user: false + api_key_owner: elastic + consumer: alerts + created_at: '2022-06-08T17:20:31.632Z' + created_by: elastic + enabled: true + execution_status: + last_execution_date: '2022-06-08T17:20:31.632Z' + status: pending + id: 41893910-6bca-11eb-9e0d-85d233e3ee35 + muted_alert_ids: [] + mute_all: false + name: my rule + notify_when: null + params: + aggType: avg + termSize: 6 + thresholdComparator: '>' + timeWindowSize: 5 + timeWindowUnit: m + groupBy: top + threshold: + - 1000 + index: + - .test-index + timeField: '@timestamp' + aggField: sheet.version + termField: name.keyword + revision: 0 + rule_type_id: .index-threshold + running: false + schedule: + interval: 1m + scheduled_task_id: 425b0800-6bca-11eb-9e0d-85d233e3ee35 + tags: + - cpu + throttle: null + updated_at: '2022-06-08T17:20:31.632Z' + updated_by: elastic + createTrackingContainmentRuleResponse: + summary: Tracking containment rule + description: The response for successfully creating a tracking containment rule. + value: + id: b6883f9d-5f70-4758-a66e-369d7c26012f + name: my tracking rule + tags: [] + enabled: true + consumer: alerts + throttle: null + revision: 1 + running: false + schedule: + interval: 1h + params: + index: kibana_sample_data_logs + dateField: '@timestamp' + geoField: geo.coordinates + entity: agent.keyword + boundaryType: entireIndex + boundaryIndexTitle: boundary* + boundaryGeoField: location + boundaryNameField: name + indexId: 90943e30-9a47-11e8-b64d-95841ca0b247 + boundaryIndexId: 0cd90abf-abe7-44c7-909a-f621bbbcfefc + rule_type_id: .geo-containment + created_by: elastic + updated_by: elastic + created_at: '2024-02-14T19:52:55.920Z' + updated_at: '2024-02-15T03:24:32.574Z' + api_key_owner: elastic + notify_when: null + mute_all: false + muted_alert_ids: [] + scheduled_task_id: b6883f9d-5f70-4758-a66e-369d7c26012f + execution_status: + status: ok + last_execution_date: '2024-02-15T03:25:38.125Z' + last_duration: 74 + actions: [] + last_run: + alerts_count: + active: 0 + new: 0 + recovered: 0 + ignored: 0 + outcome_msg: null + outcome_order: 0 + outcome: succeeded + warning: null + next_run: '2024-02-15T03:26:38.033Z' + api_key_created_by_user: false + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '409': + description: Indicates that the rule id is already in use. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: false + schema: + type: string + description: The identifier for the rule. If it is omitted, an ID is randomly generated. + operationId: post-alerting-rule-id + get: + summary: Get rule details + tags: + - alerting + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the rule. + enabled: + type: boolean + description: Indicates whether you want to run the rule on an interval basis after it is created. + name: + type: string + description: ' The name of the rule.' + tags: + type: array + items: + type: string + description: The tags for the rule. + rule_type_id: + type: string + description: The rule type identifier. + consumer: + type: string + description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' + schedule: + type: object + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + actions: + type: array + items: + type: object + properties: + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + connector_type_id: + type: string + description: The type of connector. This property appears in responses but cannot be set in requests. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + alerts_filter: + type: object + description: Defines a period that limits whether the action runs. + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + - connector_type_id + - params + params: + type: object + description: The parameters for the rule. + additionalProperties: {} + mapped_params: + type: object + additionalProperties: {} + scheduled_task_id: + type: string + description: Identifier of the scheduled task. + created_by: + nullable: true + type: string + description: The identifier for the user that created the rule. + updated_by: + nullable: true + type: string + description: The identifier for the user that updated this rule most recently. + created_at: + type: string + description: The date and time that the rule was created. + updated_at: + type: string + description: The date and time that the rule was updated most recently. + api_key_owner: + nullable: true + type: string + description: The owner of the API key that is associated with the rule and used to run background tasks. + api_key_created_by_user: + nullable: true + type: boolean + description: Indicates whether the API key that is associated with the rule was created by the user. + throttle: + nullable: true + type: string + description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + deprecated: true + mute_all: + type: boolean + description: Indicates whether all alerts are muted. + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + muted_alert_ids: + type: array + items: + type: string + description: 'List of identifiers of muted alerts. ' + execution_status: + type: object + properties: + status: + description: Status of rule execution. + type: string + enum: + - ok + - active + - error + - warning + - pending + - unknown + last_execution_date: + type: string + description: The date and time when rule was executed last. + last_duration: + type: number + description: Duration of last execution of the rule. + error: + type: object + properties: + reason: + description: Reason for error. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + message: + type: string + description: Error message. + additionalProperties: false + required: + - reason + - message + warning: + type: object + properties: + reason: + description: Reason for warning. + type: string + enum: + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + message: + type: string + description: Warning message. + additionalProperties: false + required: + - reason + - message + additionalProperties: false + required: + - status + - last_execution_date + monitoring: + type: object + description: Monitoring details of the rule. + properties: + run: + type: object + description: Rule run details. + properties: + history: + type: array + description: History of the rule run. + items: + type: object + properties: + success: + type: boolean + description: Indicates whether the rule run was successful. + timestamp: + type: number + description: Time of rule run. + duration: + type: number + description: Duration of the rule run. + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + additionalProperties: false + required: + - success + - timestamp + calculated_metrics: + type: object + description: Calculation of different percentiles and success ratio. + properties: + p50: + type: number + p95: + type: number + p99: + type: number + success_ratio: + type: number + additionalProperties: false + required: + - success_ratio + last_run: + type: object + properties: + timestamp: + type: string + description: Time of the most recent rule run. + metrics: + type: object + properties: + duration: + type: number + description: Duration of most recent rule run. + total_search_duration_ms: + nullable: true + type: number + description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. + total_indexing_duration_ms: + nullable: true + type: number + description: Total time spent indexing documents during last rule run in milliseconds. + total_alerts_detected: + nullable: true + type: number + description: Total number of alerts detected during last rule run. + total_alerts_created: + nullable: true + type: number + description: Total number of alerts created during last rule run. + gap_duration_s: + nullable: true + type: number + description: Duration in seconds of rule run gap. + gap_range: + nullable: true + type: object + properties: + lte: + type: string + description: Start of the gap range. + gte: + type: string + description: End of the gap range. + additionalProperties: false + required: + - lte + - gte + additionalProperties: false + additionalProperties: false + required: + - timestamp + - metrics + additionalProperties: false + required: + - history + - calculated_metrics + - last_run + additionalProperties: false + required: + - run + snooze_schedule: + type: array + items: + type: object + properties: + id: + type: string + description: Identifier of the rule snooze schedule. + duration: + type: number + description: Duration of the rule snooze schedule. + rRule: + type: object + properties: + dtstart: + type: string + description: Rule start date in Coordinated Universal Time (UTC). + tzid: + type: string + description: Indicates timezone abbreviation. + freq: + description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. + type: integer + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + until: + type: string + description: Recur the rule until this date. + count: + type: number + description: Number of times the rule should recur until it stops. + interval: + type: number + description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. + wkst: + description: Indicates the start of week, defaults to Monday. + type: string + enum: + - MO + - TU + - WE + - TH + - FR + - SA + - SU + byweekday: + nullable: true + type: array + items: + description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. + anyOf: + - type: string + - type: number + bymonth: + nullable: true + type: array + items: + type: number + description: Indicates months of the year that this rule should recur. + bysetpos: + nullable: true + type: array + items: + type: number + description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. + bymonthday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the month to recur. + byyearday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the year that this rule should recur. + byweekno: + nullable: true + type: array + items: + type: number + description: Indicates number of the week hours to recur. + byhour: + nullable: true + type: array + items: + type: number + description: Indicates hours of the day to recur. + byminute: + nullable: true + type: array + items: + type: number + description: Indicates minutes of the hour to recur. + bysecond: + nullable: true + type: array + items: + type: number + description: Indicates seconds of the day to recur. + additionalProperties: false + required: + - dtstart + - tzid + skipRecurrences: + type: array + items: + type: string + description: Skips recurrence of rule on this date. + additionalProperties: false + required: + - duration + - rRule + active_snoozes: + type: array + items: + type: string + description: List of active snoozes for the rule. + is_snoozed_until: + nullable: true + type: string + description: The date when the rule will no longer be snoozed. + last_run: + nullable: true + type: object + properties: + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + outcome_order: + type: number + description: Order of the outcome. + warning: + nullable: true + description: Warning of last rule execution. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + outcome_msg: + nullable: true + type: array + items: + type: string + description: Outcome message generated during last rule run. + alerts_count: + type: object + properties: + active: + nullable: true + type: number + description: Number of active alerts during last run. + new: + nullable: true + type: number + description: Number of new alerts during last run. + recovered: + nullable: true + type: number + description: Number of recovered alerts during last run. + ignored: + nullable: true + type: number + description: Number of ignored alerts during last run. + additionalProperties: false + additionalProperties: false + required: + - outcome + - alerts_count + next_run: + nullable: true + type: string + description: Date and time of the next run of the rule. + revision: + type: number + description: The rule revision number. + running: + nullable: true + type: boolean + description: Indicates whether the rule is running. + view_in_app_relative_url: + nullable: true + type: string + description: Relative URL to view rule in the app. + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + description: User-created content that describes alert causes and remdiation. + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - id + - enabled + - name + - tags + - rule_type_id + - consumer + - schedule + - actions + - params + - created_by + - updated_by + - created_at + - updated_at + - api_key_owner + - mute_all + - muted_alert_ids + - execution_status + - revision + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: get-alerting-rule-id + put: + summary: Update a rule + tags: + - alerting + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: The name of the rule. While this name does not have to be unique, a distinctive name can help you identify a rule. + tags: + type: array + default: [] + items: + type: string + description: The tags for the rule. + schedule: + type: object + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + throttle: + nullable: true + type: string + description: 'Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + params: + type: object + description: The parameters for the rule. + default: {} + additionalProperties: {} + actions: + type: array + default: [] + items: + type: object + description: An action that runs under defined conditions. + properties: + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + default: {} + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if `notify_when` is set to `onThrottleInterval`. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + alerts_filter: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + description: Defines a period that limits whether the action runs. + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + description: Defines the range of time in a day that the action can run. If the `start` value is `00:00` and the `end` value is `24:00`, actions be generated all day. + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + maxItems: 10 + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + maxLength: 10000 + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - name + - schedule + examples: + updateRuleRequest: + summary: Index threshold rule + description: Update an index threshold rule that uses a server log connector to send notifications when the threshold is met. + value: + actions: + - frequency: + summary: false + notify_when: onActionGroupChange + group: threshold met + id: 96b668d0-a1b6-11ed-afdf-d39a49596974 + params: + level: info + message: |- + Rule {{rule.name}} is active for group {{context.group}}: + + - Value: {{context.value}} + - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} + - Timestamp: {{context.date}} + params: + aggField: sheet.version + aggType: avg + index: + - .updated-index + groupBy: top + termField: name.keyword + termSize: 6 + threshold: + - 1000 + thresholdComparator: '>' + timeField: '@timestamp' + timeWindowSize: 5 + timeWindowUnit: m + name: new name + schedule: + interval: 1m + tags: [] + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the rule. + enabled: + type: boolean + description: Indicates whether you want to run the rule on an interval basis after it is created. + name: + type: string + description: ' The name of the rule.' + tags: + type: array + items: + type: string + description: The tags for the rule. + rule_type_id: + type: string + description: The rule type identifier. + consumer: + type: string + description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' + schedule: + type: object + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + actions: + type: array + items: + type: object + properties: + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + connector_type_id: + type: string + description: The type of connector. This property appears in responses but cannot be set in requests. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + alerts_filter: + type: object + description: Defines a period that limits whether the action runs. + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + - connector_type_id + - params + params: + type: object + description: The parameters for the rule. + additionalProperties: {} + mapped_params: + type: object + additionalProperties: {} + scheduled_task_id: + type: string + description: Identifier of the scheduled task. + created_by: + nullable: true + type: string + description: The identifier for the user that created the rule. + updated_by: + nullable: true + type: string + description: The identifier for the user that updated this rule most recently. + created_at: + type: string + description: The date and time that the rule was created. + updated_at: + type: string + description: The date and time that the rule was updated most recently. + api_key_owner: + nullable: true + type: string + description: The owner of the API key that is associated with the rule and used to run background tasks. + api_key_created_by_user: + nullable: true + type: boolean + description: Indicates whether the API key that is associated with the rule was created by the user. + throttle: + nullable: true + type: string + description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + deprecated: true + mute_all: + type: boolean + description: Indicates whether all alerts are muted. + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + muted_alert_ids: + type: array + items: + type: string + description: 'List of identifiers of muted alerts. ' + execution_status: + type: object + properties: + status: + description: Status of rule execution. + type: string + enum: + - ok + - active + - error + - warning + - pending + - unknown + last_execution_date: + type: string + description: The date and time when rule was executed last. + last_duration: + type: number + description: Duration of last execution of the rule. + error: + type: object + properties: + reason: + description: Reason for error. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + message: + type: string + description: Error message. + additionalProperties: false + required: + - reason + - message + warning: + type: object + properties: + reason: + description: Reason for warning. + type: string + enum: + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + message: + type: string + description: Warning message. + additionalProperties: false + required: + - reason + - message + additionalProperties: false + required: + - status + - last_execution_date + monitoring: + type: object + description: Monitoring details of the rule. + properties: + run: + type: object + description: Rule run details. + properties: + history: + type: array + description: History of the rule run. + items: + type: object + properties: + success: + type: boolean + description: Indicates whether the rule run was successful. + timestamp: + type: number + description: Time of rule run. + duration: + type: number + description: Duration of the rule run. + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + additionalProperties: false + required: + - success + - timestamp + calculated_metrics: + type: object + description: Calculation of different percentiles and success ratio. + properties: + p50: + type: number + p95: + type: number + p99: + type: number + success_ratio: + type: number + additionalProperties: false + required: + - success_ratio + last_run: + type: object + properties: + timestamp: + type: string + description: Time of the most recent rule run. + metrics: + type: object + properties: + duration: + type: number + description: Duration of most recent rule run. + total_search_duration_ms: + nullable: true + type: number + description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. + total_indexing_duration_ms: + nullable: true + type: number + description: Total time spent indexing documents during last rule run in milliseconds. + total_alerts_detected: + nullable: true + type: number + description: Total number of alerts detected during last rule run. + total_alerts_created: + nullable: true + type: number + description: Total number of alerts created during last rule run. + gap_duration_s: + nullable: true + type: number + description: Duration in seconds of rule run gap. + gap_range: + nullable: true + type: object + properties: + lte: + type: string + description: Start of the gap range. + gte: + type: string + description: End of the gap range. + additionalProperties: false + required: + - lte + - gte + additionalProperties: false + additionalProperties: false + required: + - timestamp + - metrics + additionalProperties: false + required: + - history + - calculated_metrics + - last_run + additionalProperties: false + required: + - run + snooze_schedule: + type: array + items: + type: object + properties: + id: + type: string + description: Identifier of the rule snooze schedule. + duration: + type: number + description: Duration of the rule snooze schedule. + rRule: + type: object + properties: + dtstart: + type: string + description: Rule start date in Coordinated Universal Time (UTC). + tzid: + type: string + description: Indicates timezone abbreviation. + freq: + description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. + type: integer + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + until: + type: string + description: Recur the rule until this date. + count: + type: number + description: Number of times the rule should recur until it stops. + interval: + type: number + description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. + wkst: + description: Indicates the start of week, defaults to Monday. + type: string + enum: + - MO + - TU + - WE + - TH + - FR + - SA + - SU + byweekday: + nullable: true + type: array + items: + description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. + anyOf: + - type: string + - type: number + bymonth: + nullable: true + type: array + items: + type: number + description: Indicates months of the year that this rule should recur. + bysetpos: + nullable: true + type: array + items: + type: number + description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. + bymonthday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the month to recur. + byyearday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the year that this rule should recur. + byweekno: + nullable: true + type: array + items: + type: number + description: Indicates number of the week hours to recur. + byhour: + nullable: true + type: array + items: + type: number + description: Indicates hours of the day to recur. + byminute: + nullable: true + type: array + items: + type: number + description: Indicates minutes of the hour to recur. + bysecond: + nullable: true + type: array + items: + type: number + description: Indicates seconds of the day to recur. + additionalProperties: false + required: + - dtstart + - tzid + skipRecurrences: + type: array + items: + type: string + description: Skips recurrence of rule on this date. + additionalProperties: false + required: + - duration + - rRule + active_snoozes: + type: array + items: + type: string + description: List of active snoozes for the rule. + is_snoozed_until: + nullable: true + type: string + description: The date when the rule will no longer be snoozed. + last_run: + nullable: true + type: object + properties: + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + outcome_order: + type: number + description: Order of the outcome. + warning: + nullable: true + description: Warning of last rule execution. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + outcome_msg: + nullable: true + type: array + items: + type: string + description: Outcome message generated during last rule run. + alerts_count: + type: object + properties: + active: + nullable: true + type: number + description: Number of active alerts during last run. + new: + nullable: true + type: number + description: Number of new alerts during last run. + recovered: + nullable: true + type: number + description: Number of recovered alerts during last run. + ignored: + nullable: true + type: number + description: Number of ignored alerts during last run. + additionalProperties: false + additionalProperties: false + required: + - outcome + - alerts_count + next_run: + nullable: true + type: string + description: Date and time of the next run of the rule. + revision: + type: number + description: The rule revision number. + running: + nullable: true + type: boolean + description: Indicates whether the rule is running. + view_in_app_relative_url: + nullable: true + type: string + description: Relative URL to view rule in the app. + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + description: User-created content that describes alert causes and remdiation. + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - id + - enabled + - name + - tags + - rule_type_id + - consumer + - schedule + - actions + - params + - created_by + - updated_by + - created_at + - updated_at + - api_key_owner + - mute_all + - muted_alert_ids + - execution_status + - revision + examples: + updateRuleResponse: + summary: Index threshold rule + description: The response for successfully updating an index threshold rule. + value: + id: ac4e6b90-6be7-11eb-ba0d-9b1c1f912d74 + consumer: alerts + tags: [] + name: new name + enabled: true + throttle: null + revision: 1 + running: false + schedule: + interval: 1m + params: + index: + - .updated-index + timeField: '@timestamp' + groupBy: top + aggType: avg + timeWindowSize: 5 + timeWindowUnit: m + thresholdComparator: '>' + threshold: + - 1000 + aggField: sheet.version + termField: name.keyword + termSize: 6 + api_key_owner: elastic + created_by: elastic + updated_by: elastic + rule_type_id: .index-threshold + scheduled_task_id: 4c5eda00-e74f-11ec-b72f-5b18752ff9ea + created_at: '2024-03-26T23:13:20.985Z' + updated_at: '2024-03-26T23:22:59.949Z' + mute_all: false + muted_alert_ids: [] + execution_status: + status: ok + last_execution_date: '2024-03-26T23:22:51.390Z' + last_duration: 52 + actions: + - group: threshold met + params: + level: info + message: |- + Rule {{rule.name}} is active for group {{context.group}}: + + - Value: {{context.value}} + - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} + - Timestamp: {{context.date} + id: 96b668d0-a1b6-11ed-afdf-d39a49596974 + uuid: 07aef2a0-9eed-4ef9-94ec-39ba58eb609d + connector_type_id: .server-log + frequency: + summary: false + throttle: null + notify_when: onActionGroupChange + last_run: + alerts_count: + new: 0 + ignored: 0 + recovered: 0 + active: 0 + outcome_msg: null + warning: null + outcome: succeeded + next_run: '2024-03-26T23:23:51.316Z' + api_key_created_by_user: false + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + '409': + description: Indicates that the rule has already been updated by another user. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: put-alerting-rule-id + delete: + summary: Delete a rule + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: delete-alerting-rule-id + /api/alerting/rule/{id}/_disable: + post: + summary: Disable a rule + tags: + - alerting + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + untrack: + type: boolean + description: Defines whether this rule's alerts should be untracked. + additionalProperties: false + x-oas-optional: true + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: post-alerting-rule-id-disable + /api/alerting/rule/{id}/_enable: + post: + summary: Enable a rule + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: post-alerting-rule-id-enable + /api/alerting/rules/_find: + get: + summary: Get information about rules + tags: + - alerting + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the rule. + enabled: + type: boolean + description: Indicates whether you want to run the rule on an interval basis after it is created. + name: + type: string + description: ' The name of the rule.' + tags: + type: array + items: + type: string + description: The tags for the rule. + rule_type_id: + type: string + description: The rule type identifier. + consumer: + type: string + description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' + schedule: + type: object + properties: + interval: + type: string + description: The interval is specified in seconds, minutes, hours, or days. + additionalProperties: false + required: + - interval + actions: + type: array + items: + type: object + properties: + uuid: + type: string + description: A universally unique identifier (UUID) for the action. + group: + type: string + description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. + id: + type: string + description: The identifier for the connector saved object. + connector_type_id: + type: string + description: The type of connector. This property appears in responses but cannot be set in requests. + params: + type: object + description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. + additionalProperties: {} + frequency: + type: object + properties: + summary: + type: boolean + description: Indicates whether the action is a summary. + notify_when: + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + throttle: + nullable: true + type: string + description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + additionalProperties: false + required: + - summary + - notify_when + - throttle + alerts_filter: + type: object + description: Defines a period that limits whether the action runs. + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + filters: + type: array + description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. + items: + type: object + properties: + query: + type: object + additionalProperties: {} + meta: + type: object + additionalProperties: {} + $state: + type: object + properties: + store: + description: A filter can be either specific to an application context or applied globally. + type: string + enum: + - appState + - globalState + additionalProperties: false + required: + - store + additionalProperties: false + required: + - meta + dsl: + type: string + description: A filter written in Elasticsearch Query Domain Specific Language (DSL). + additionalProperties: false + required: + - kql + - filters + timeframe: + type: object + properties: + days: + type: array + description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. + items: + type: integer + enum: + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + - 7 + hours: + type: object + properties: + start: + type: string + description: The start of the time frame in 24-hour notation (`hh:mm`). + end: + type: string + description: The end of the time frame in 24-hour notation (`hh:mm`). + additionalProperties: false + required: + - start + - end + timezone: + type: string + description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. + additionalProperties: false + required: + - days + - hours + - timezone + additionalProperties: false + use_alert_data_for_template: + type: boolean + description: Indicates whether to use alert data as a template. + additionalProperties: false + required: + - id + - connector_type_id + - params + params: + type: object + description: The parameters for the rule. + additionalProperties: {} + mapped_params: + type: object + additionalProperties: {} + scheduled_task_id: + type: string + description: Identifier of the scheduled task. + created_by: + nullable: true + type: string + description: The identifier for the user that created the rule. + updated_by: + nullable: true + type: string + description: The identifier for the user that updated this rule most recently. + created_at: + type: string + description: The date and time that the rule was created. + updated_at: + type: string + description: The date and time that the rule was updated most recently. + api_key_owner: + nullable: true + type: string + description: The owner of the API key that is associated with the rule and used to run background tasks. + api_key_created_by_user: + nullable: true + type: boolean + description: Indicates whether the API key that is associated with the rule was created by the user. + throttle: + nullable: true + type: string + description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + deprecated: true + mute_all: + type: boolean + description: Indicates whether all alerts are muted. + notify_when: + nullable: true + description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' + type: string + enum: + - onActionGroupChange + - onActiveAlert + - onThrottleInterval + muted_alert_ids: + type: array + items: + type: string + description: 'List of identifiers of muted alerts. ' + execution_status: + type: object + properties: + status: + description: Status of rule execution. + type: string + enum: + - ok + - active + - error + - warning + - pending + - unknown + last_execution_date: + type: string + description: The date and time when rule was executed last. + last_duration: + type: number + description: Duration of last execution of the rule. + error: + type: object + properties: + reason: + description: Reason for error. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + message: + type: string + description: Error message. + additionalProperties: false + required: + - reason + - message + warning: + type: object + properties: + reason: + description: Reason for warning. + type: string + enum: + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + message: + type: string + description: Warning message. + additionalProperties: false + required: + - reason + - message + additionalProperties: false + required: + - status + - last_execution_date + monitoring: + type: object + description: Monitoring details of the rule. + properties: + run: + type: object + description: Rule run details. + properties: + history: + type: array + description: History of the rule run. + items: + type: object + properties: + success: + type: boolean + description: Indicates whether the rule run was successful. + timestamp: + type: number + description: Time of rule run. + duration: + type: number + description: Duration of the rule run. + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + additionalProperties: false + required: + - success + - timestamp + calculated_metrics: + type: object + description: Calculation of different percentiles and success ratio. + properties: + p50: + type: number + p95: + type: number + p99: + type: number + success_ratio: + type: number + additionalProperties: false + required: + - success_ratio + last_run: + type: object + properties: + timestamp: + type: string + description: Time of the most recent rule run. + metrics: + type: object + properties: + duration: + type: number + description: Duration of most recent rule run. + total_search_duration_ms: + nullable: true + type: number + description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. + total_indexing_duration_ms: + nullable: true + type: number + description: Total time spent indexing documents during last rule run in milliseconds. + total_alerts_detected: + nullable: true + type: number + description: Total number of alerts detected during last rule run. + total_alerts_created: + nullable: true + type: number + description: Total number of alerts created during last rule run. + gap_duration_s: + nullable: true + type: number + description: Duration in seconds of rule run gap. + gap_range: + nullable: true + type: object + properties: + lte: + type: string + description: Start of the gap range. + gte: + type: string + description: End of the gap range. + additionalProperties: false + required: + - lte + - gte + additionalProperties: false + additionalProperties: false + required: + - timestamp + - metrics + additionalProperties: false + required: + - history + - calculated_metrics + - last_run + additionalProperties: false + required: + - run + snooze_schedule: + type: array + items: + type: object + properties: + id: + type: string + description: Identifier of the rule snooze schedule. + duration: + type: number + description: Duration of the rule snooze schedule. + rRule: + type: object + properties: + dtstart: + type: string + description: Rule start date in Coordinated Universal Time (UTC). + tzid: + type: string + description: Indicates timezone abbreviation. + freq: + description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. + type: integer + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + - 5 + - 6 + until: + type: string + description: Recur the rule until this date. + count: + type: number + description: Number of times the rule should recur until it stops. + interval: + type: number + description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. + wkst: + description: Indicates the start of week, defaults to Monday. + type: string + enum: + - MO + - TU + - WE + - TH + - FR + - SA + - SU + byweekday: + nullable: true + type: array + items: + description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. + anyOf: + - type: string + - type: number + bymonth: + nullable: true + type: array + items: + type: number + description: Indicates months of the year that this rule should recur. + bysetpos: + nullable: true + type: array + items: + type: number + description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. + bymonthday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the month to recur. + byyearday: + nullable: true + type: array + items: + type: number + description: Indicates the days of the year that this rule should recur. + byweekno: + nullable: true + type: array + items: + type: number + description: Indicates number of the week hours to recur. + byhour: + nullable: true + type: array + items: + type: number + description: Indicates hours of the day to recur. + byminute: + nullable: true + type: array + items: + type: number + description: Indicates minutes of the hour to recur. + bysecond: + nullable: true + type: array + items: + type: number + description: Indicates seconds of the day to recur. + additionalProperties: false + required: + - dtstart + - tzid + skipRecurrences: + type: array + items: + type: string + description: Skips recurrence of rule on this date. + additionalProperties: false + required: + - duration + - rRule + active_snoozes: + type: array + items: + type: string + description: List of active snoozes for the rule. + is_snoozed_until: + nullable: true + type: string + description: The date when the rule will no longer be snoozed. + last_run: + nullable: true + type: object + properties: + outcome: + description: Outcome of last run of the rule. Value could be succeeded, warning or failed. + type: string + enum: + - succeeded + - warning + - failed + outcome_order: + type: number + description: Order of the outcome. + warning: + nullable: true + description: Warning of last rule execution. + type: string + enum: + - read + - decrypt + - execute + - unknown + - license + - timeout + - disabled + - validate + - maxExecutableActions + - maxAlerts + - maxQueuedActions + - ruleExecution + outcome_msg: + nullable: true + type: array + items: + type: string + description: Outcome message generated during last rule run. + alerts_count: + type: object + properties: + active: + nullable: true + type: number + description: Number of active alerts during last run. + new: + nullable: true + type: number + description: Number of new alerts during last run. + recovered: + nullable: true + type: number + description: Number of recovered alerts during last run. + ignored: + nullable: true + type: number + description: Number of ignored alerts during last run. + additionalProperties: false + additionalProperties: false + required: + - outcome + - alerts_count + next_run: + nullable: true + type: string + description: Date and time of the next run of the rule. + revision: + type: number + description: The rule revision number. + running: + nullable: true + type: boolean + description: Indicates whether the rule is running. + view_in_app_relative_url: + nullable: true + type: string + description: Relative URL to view rule in the app. + alert_delay: + type: object + description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. + properties: + active: + type: number + description: The number of consecutive runs that must meet the rule conditions. + additionalProperties: false + required: + - active + flapping: + nullable: true + type: object + description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. + properties: + look_back_window: + type: number + description: The minimum number of runs in which the threshold must be met. + minimum: 2 + maximum: 20 + status_change_threshold: + type: number + description: The minimum number of times an alert must switch states in the look back window. + minimum: 2 + maximum: 20 + additionalProperties: false + required: + - look_back_window + - status_change_threshold + artifacts: + type: object + properties: + dashboards: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + investigation_guide: + type: object + properties: + blob: + type: string + description: User-created content that describes alert causes and remdiation. + additionalProperties: false + required: + - blob + additionalProperties: false + additionalProperties: false + required: + - id + - enabled + - name + - tags + - rule_type_id + - consumer + - schedule + - actions + - params + - created_by + - updated_by + - created_at + - updated_at + - api_key_owner + - mute_all + - muted_alert_ids + - execution_status + - revision + examples: + findRulesResponse: + summary: Security rule + description: A response that contains information about a security rule that has conditional actions. + value: + page: 1 + total: 1 + per_page: 10 + data: + - id: 6107a8f0-f401-11ed-9f8e-399c75a2deeb + name: security_rule + consumer: siem + enabled: true + tags: [] + throttle: null + revision: 1 + running: false + schedule: + interval: 1m + params: + author: [] + description: A security threshold rule. + ruleId: an_internal_rule_id + falsePositives: [] + from: now-3660s + immutable: false + license: '' + outputIndex: '' + meta: + from: 1h + kibana_siem_app_url: https://localhost:5601/app/security + maxSignals: 100 + riskScore: 21 + riskScoreMapping: [] + severity: low + severityMapping: [] + threat: [] + to: now + references: [] + version: 1 + exceptionsList: [] + type: threshold + language: kuery + index: + - kibana_sample_data_logs + query: '*' + filters: [] + threshold: + field: + - bytes + value: 1 + cardinality: [] + rule_type_id: siem.thresholdRule + created_by: elastic + updated_by: elastic + created_at: '2023-05-16T15:50:28.358Z' + updated_at: '2023-05-16T20:25:42.559Z' + api_key_owner: elastic + notify_when: null + mute_all: false + muted_alert_ids: [] + scheduled_task_id: 6107a8f0-f401-11ed-9f8e-399c75a2deeb + execution_status: + status: ok + last_execution_date: '2023-05-16T20:26:49.590Z' + last_duration: 166 + actions: + - group: default + id: 49eae970-f401-11ed-9f8e-399c75a2deeb + params: + documents: + - rule_id: + '[object Object]': null + rule_name: + '[object Object]': null + alert_id: + '[object Object]': null + context_message: + '[object Object]': null + connector_type_id: .index + frequency: + summary: true + notify_when: onActiveAlert + throttle: null + uuid: 1c7a1280-f28c-4e06-96b2-e4e5f05d1d61 + alerts_filter: + timeframe: + days: + - 7 + timezone: UTC + hours: + start: '08:00' + end: '17:00' + query: + kql: '' + filters: + - meta: + disabled: false + negate: false + alias: null + index: c4bdca79-e69e-4d80-82a1-e5192c621bea + key: client.geo.region_iso_code + field: client.geo.region_iso_code + params: + query: CA-QC + type: phrase + $state: + store: appState + query: + match_phrase: + client.geo.region_iso_code: CA-QC + last_run: + alerts_count: + new: 0 + ignored: 0 + recovered: 0 + active: 0 + outcome_msg: + - Rule execution completed successfully + outcome_order: 0 + warning: null + outcome: succeeded + next_run: '2023-05-16T20:27:49.507Z' + api_key_created_by_user: false + findConditionalActionRulesResponse: + summary: Index threshold rule + description: A response that contains information about an index threshold rule. + value: + page: 1 + total: 1 + per_page: 10 + data: + - id: 3583a470-74f6-11ed-9801-35303b735aef + consumer: alerts + tags: + - cpu + name: my alert + enabled: true + throttle: null + schedule: + interval: 1m + params: + aggType: avg + termSize: 6 + thresholdComparator: '>' + timeWindowSize: 5 + timeWindowUnit: m + groupBy: top + threshold: + - 1000 + index: + - test-index + timeField: '@timestamp' + aggField: sheet.version + termField: name.keyword + revision: 1 + rule_type_id: .index-threshold + created_by: elastic + updated_by: elastic + created_at: '2022-12-05T23:40:33.132Z' + updated_at: '2022-12-05T23:40:33.132Z' + api_key_owner: elastic + mute_all: false + muted_alert_ids: [] + scheduled_task_id: 3583a470-74f6-11ed-9801-35303b735aef + execution_status: + status: ok + last_execution_date: '2022-12-06T01:44:23.983Z' + last_duration: 48 + actions: + - id: 9dca3e00-74f5-11ed-9801-35303b735aef + group: threshold met + uuid: 1c7a1280-f28c-4e06-96b2-e4e5f05d1d61 + params: + level: info + message: |- + Rule {{rule.name}} is active for group {{context.group}}: + + - Value: {{context.value}} + - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} + - Timestamp: {{context.date}} + connector_type_id: .server-log + frequency: + summary: false + notify_when: onActionGroupChange + throttle: null + last_run: + alerts_count: + new: 0 + ignored: 0 + recovered: 0 + active: 0 + outcome_msg: null + warning: null + outcome: succeeded + next_run: '2022-12-06T01:45:23.912Z' + api_key_created_by_user: false + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + parameters: + - name: per_page + in: query + required: false + schema: + type: number + default: 10 + minimum: 0 + description: The number of rules to return per page. + - name: page + in: query + required: false + schema: + type: number + default: 1 + minimum: 1 + description: The page number to return. + - name: search + in: query + required: false + schema: + type: string + description: An Elasticsearch simple_query_string query that filters the objects in the response. + - name: default_search_operator + in: query + required: false + schema: + default: OR + type: string + enum: + - OR + - AND + description: The default operator to use for the simple_query_string. + - name: search_fields + in: query + required: false + schema: + anyOf: + - type: array + items: + type: string + - type: string + description: The fields to perform the simple_query_string parsed query against. + - name: sort_field + in: query + required: false + schema: + type: string + description: Determines which field is used to sort the results. The field must exist in the `attributes` key of the response. + - name: sort_order + in: query + required: false + schema: + type: string + enum: + - asc + - desc + description: Determines the sort order. + - name: has_reference + in: query + required: false + schema: + nullable: true + type: object + properties: + type: + type: string + id: + type: string + additionalProperties: false + required: + - type + - id + description: Filters the rules that have a relation with the reference objects with a specific type and identifier. + - name: fields + in: query + required: false + schema: + anyOf: + - type: array + items: + type: string + - type: string + description: The fields to return in the `attributes` key of the response. + - name: filter + in: query + required: false + schema: + type: string + description: 'A KQL string that you filter with an attribute from your saved object. It should look like `savedObjectType.attributes.title: "myTitle"`. However, if you used a direct attribute of a saved object, such as `updatedAt`, you must define your filter, for example, `savedObjectType.updatedAt > 2018-12-22`.' + - name: filter_consumers + in: query + required: false + schema: + type: array + items: + type: string + description: List of consumers to filter. + operationId: get-alerting-rules-find + /api/alerting/rule_types: + get: + summary: Get the rule types + tags: + - alerting + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + body: + type: array + items: + type: object + properties: + action_groups: + type: array + description: An explicit list of groups for which the rule type can schedule actions, each with the action group's unique ID and human readable name. Rule actions validation uses this configuration to ensure that groups are valid. + items: + type: object + description: An action group to use when an alert goes from an active state to an inactive one. + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + action_variables: + type: object + description: A list of action variables that the rule type makes available via context and state in action parameter templates, and a short human readable description. When you create a rule in Kibana, it uses this information to prompt you for these variables in action parameter editors. + properties: + context: + type: array + items: + type: object + properties: + name: + type: string + description: + type: string + usesPublicBaseUrl: + type: boolean + additionalProperties: false + required: + - name + - description + state: + type: array + items: + type: object + properties: + name: + type: string + description: + type: string + usesPublicBaseUrl: + type: boolean + additionalProperties: false + required: + - name + - description + params: + type: array + items: + type: object + properties: + name: + type: string + description: + type: string + usesPublicBaseUrl: + type: boolean + additionalProperties: false + required: + - name + - description + additionalProperties: false + alerts: + type: object + description: Details for writing alerts as data documents for this rule type. + properties: + context: + type: string + description: The namespace for this rule type. + mappings: + type: object + properties: + dynamic: + description: Indicates whether new fields are added dynamically. + anyOf: + - type: boolean + enum: + - false + - type: string + enum: + - strict + fieldMap: + type: object + description: Mapping information for each field supported in alerts as data documents for this rule type. For more information about mapping parameters, refer to the Elasticsearch documentation. + additionalProperties: {} + shouldWrite: + type: boolean + description: Indicates whether the rule should write out alerts as data. + useEcs: + type: boolean + description: Indicates whether to include the ECS component template for the alerts. + additionalProperties: false + required: + - fieldMap + additionalProperties: false + required: + - context + authorized_consumers: + type: object + description: The list of the plugins IDs that have access to the rule type. + additionalProperties: + type: object + properties: + read: + type: boolean + all: + type: boolean + additionalProperties: false + required: + - read + - all + auto_recover_alerts: + type: boolean + category: + type: string + description: The rule category, which is used by features such as category-specific maintenance windows. + default_action_group_id: + type: string + description: The default identifier for the rule type group. + default_schedule_interval: + type: string + does_set_recovery_context: + type: boolean + description: Indicates whether the rule passes context variables to its recovery action. + enabled_in_license: + type: boolean + description: Indicates whether the rule type is enabled or disabled based on the subscription. + fieldsForAAD: + type: array + items: + type: string + has_alerts_mappings: + type: boolean + description: Indicates whether the rule type has custom mappings for the alert data. + has_fields_for_a_a_d: + type: boolean + description: 'Indicates whether the rule type has fields for alert as data for the alert data. ' + id: + type: string + description: The unique identifier for the rule type. + is_internally_managed: + type: boolean + description: Indicates whether the rule type is internally managed by the system. Rules of this type can not be edited by users. + is_exportable: + type: boolean + description: Indicates whether the rule type is exportable in Stack Management > Saved Objects. + minimum_license_required: + description: The subscriptions required to use the rule type. + type: string + enum: + - basic + - gold + - platinum + - standard + - enterprise + - trial + name: + type: string + description: The descriptive name of the rule type. + producer: + type: string + description: An identifier for the application that produces this rule type. + recovery_action_group: + type: object + description: An action group to use when an alert goes from an active state to an inactive one. + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + rule_task_timeout: + type: string + additionalProperties: false + required: + - authorized_consumers + - category + - default_action_group_id + - enabled_in_license + - has_alerts_mappings + - has_fields_for_a_a_d + - id + - is_internally_managed + - is_exportable + - minimum_license_required + - name + - producer + - recovery_action_group + additionalProperties: false + required: + - body + '401': + description: Authorization information is missing or invalid. + parameters: [] + operationId: get-alerting-rule-types + /api/alerting/rule/{id}/_mute_all: + post: + summary: Mute all alerts + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: post-alerting-rule-id-mute-all + /api/alerting/rule/{id}/_unmute_all: + post: + summary: Unmute all alerts + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: post-alerting-rule-id-unmute-all + /api/alerting/rule/{id}/_update_api_key: + post: + summary: Update the API key for a rule + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given ID does not exist. + '409': + description: Indicates that the rule has already been updated by another user. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + operationId: post-alerting-rule-id-update-api-key + /api/alerting/rule/{id}/snooze_schedule: + post: + summary: Schedule a snooze for the rule + tags: + - alerting + description: When you snooze a rule, the rule checks continue to run but alerts will not generate actions. You can snooze for a specified period of time and schedule single or recurring downtimes. + requestBody: + content: + application/json: + schema: + type: object + properties: + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + minItems: 1 + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 31 + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 12 + occurrences: + type: number + description: The total number of recurrences of the schedule. + minimum: 1 + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + additionalProperties: false + required: + - schedule + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + body: + type: object + properties: + schedule: + type: object + properties: + id: + type: string + description: Identifier of the snooze schedule. + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + minItems: 1 + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 31 + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 12 + occurrences: + type: number + description: The total number of recurrences of the schedule. + minimum: 1 + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - id + additionalProperties: false + required: + - schedule + additionalProperties: false + required: + - body + '400': + description: Indicates an invalid schema. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given id does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: Identifier of the rule. + operationId: post-alerting-rule-id-snooze-schedule + x-state: Generally available; added in 8.19.0 + /api/alerting/rule/{ruleId}/snooze_schedule/{scheduleId}: + delete: + summary: Delete a snooze schedule for a rule + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule with the given id does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: ruleId + in: path + required: true + schema: + type: string + description: The identifier for the rule. + - name: scheduleId + in: path + required: true + schema: + type: string + description: The identifier for the snooze schedule. + operationId: delete-alerting-rule-ruleid-snooze-schedule-scheduleid + x-state: Generally available; added in 8.19.0 + /api/alerting/rule/{rule_id}/alert/{alert_id}/_mute: + post: + summary: Mute an alert + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule or alert with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: rule_id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + - name: alert_id + in: path + required: true + schema: + type: string + description: The identifier for the alert. + operationId: post-alerting-rule-rule-id-alert-alert-id-mute + /api/alerting/rule/{rule_id}/alert/{alert_id}/_unmute: + post: + summary: Unmute an alert + tags: + - alerting + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a rule or alert with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: rule_id + in: path + required: true + schema: + type: string + description: The identifier for the rule. + - name: alert_id + in: path + required: true + schema: + type: string + description: The identifier for the alert. + operationId: post-alerting-rule-rule-id-alert-alert-id-unmute + /api/maintenance_window/{id}: + get: + summary: Get maintenance window details. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: read-maintenance-window.' + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a maintenance window with the given ID does not exist. + parameters: + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the maintenance window. + operationId: get-maintenance-window-id + x-state: Generally available; added in 9.1.0 + delete: + summary: Delete a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: write-maintenance-window.' + responses: + '204': + description: Indicates a successful call. + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a maintenance window with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the maintenance window to be deleted. + operationId: delete-maintenance-window-id + x-state: Generally available; added in 9.1.0 + patch: + summary: Update a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: write-maintenance-window.' + requestBody: + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + minItems: 1 + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 31 + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 12 + occurrences: + type: number + description: The total number of recurrences of the schedule. + minimum: 1 + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + additionalProperties: false + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a maintenance window with the given ID does not exist. + '409': + description: Indicates that the maintenance window has already been updated by another user. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: patch-maintenance-window-id + x-state: Generally available; added in 9.1.0 + /api/maintenance_window: + post: + summary: Create a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: write-maintenance-window.' + requestBody: + content: + application/json: + schema: + type: object + properties: + title: + type: string + description: The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + minItems: 1 + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 31 + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + minItems: 1 + items: + type: number + minimum: 1 + maximum: 12 + occurrences: + type: number + description: The total number of recurrences of the schedule. + minimum: 1 + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + additionalProperties: false + required: + - title + - schedule + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-maintenance-window + x-state: Generally available; added in 9.1.0 + /api/maintenance_window/{id}/_archive: + post: + summary: Archive a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: write-maintenance-window.' + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a maintenance window with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the maintenance window to be archived. + operationId: post-maintenance-window-id-archive + x-state: Generally available; added in 9.1.0 + /api/maintenance_window/{id}/_unarchive: + post: + summary: Unarchive a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: write-maintenance-window.' + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + '404': + description: Indicates a maintenance window with the given ID does not exist. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The identifier for the maintenance window to be unarchived. + operationId: post-maintenance-window-id-unarchive + x-state: Generally available; added in 9.1.0 + /api/maintenance_window/_find: + get: + summary: Search for a maintenance window. + tags: + - maintenance-window + description: '[Required authorization] Route required privileges: read-maintenance-window.' + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + page: + type: number + per_page: + type: number + total: + type: number + maintenanceWindows: + type: array + items: + type: object + properties: + id: + type: string + description: The identifier for the maintenance window. + title: + type: string + description: The name of the maintenance window. + enabled: + type: boolean + description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + created_by: + nullable: true + type: string + description: The identifier for the user that created the maintenance window. + updated_by: + nullable: true + type: string + description: The identifier for the user that last updated this maintenance window. + created_at: + type: string + description: The date and time when the maintenance window was created. + updated_at: + type: string + description: The date and time when the maintenance window was last updated. + status: + description: The current status of the maintenance window. + type: string + enum: + - running + - upcoming + - finished + - archived + scope: + type: object + properties: + alerting: + type: object + properties: + query: + type: object + properties: + kql: + type: string + description: A filter written in Kibana Query Language (KQL). + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + required: + - alerting + schedule: + type: object + properties: + custom: + type: object + properties: + start: + type: string + description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' + duration: + type: string + description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' + timezone: + type: string + description: The timezone of the schedule. The default timezone is UTC. + recurring: + type: object + properties: + end: + type: string + description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' + every: + type: string + description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' + onWeekDay: + type: array + description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + items: + type: string + onMonthDay: + type: array + description: The specific days of the month for a recurring schedule. Valid values are 1-31. + items: + type: number + onMonth: + type: array + description: The specific months for a recurring schedule. Valid values are 1-12. + items: + type: number + occurrences: + type: number + description: The total number of recurrences of the schedule. + additionalProperties: false + additionalProperties: false + required: + - start + - duration + additionalProperties: false + required: + - custom + additionalProperties: false + required: + - id + - title + - enabled + - created_by + - updated_by + - created_at + - updated_at + - status + - schedule + additionalProperties: false + required: + - page + - per_page + - total + - maintenanceWindows + '400': + description: Indicates an invalid schema or parameters. + '403': + description: Indicates that this call is forbidden. + parameters: + - name: title + in: query + required: false + schema: + type: string + description: The title of the maintenance window. + - name: created_by + in: query + required: false + schema: + type: string + description: The user who created the maintenance window. + - name: status + in: query + required: false + schema: + anyOf: + - type: string + enum: + - running + - finished + - upcoming + - archived + - type: array + items: + type: string + enum: + - running + - finished + - upcoming + - archived + description: The status of the maintenance window. One of "running", "upcoming", "finished" or "archived". + - name: page + in: query + required: false + schema: + type: number + default: 1 + minimum: 1 + maximum: 100 + description: The page number to return. + - name: per_page + in: query + required: false + schema: + type: number + default: 10 + minimum: 1 + maximum: 100 + description: The number of maintenance windows to return per page. + operationId: get-maintenance-window-find + x-state: Generally available; added in 9.2.0 + /api/alerting/_health: + get: + summary: Get the alerting framework health + tags: + - alerting + responses: + '200': + description: Indicates a successful call. + content: + application/json: + schema: + type: object + properties: + body: + type: object + properties: + is_sufficiently_secure: + type: boolean + description: If false, security is enabled but TLS is not. + has_permanent_encryption_key: + type: boolean + description: If false, the encryption key is not set + alerting_framework_health: + type: object + description: 'Three substates identify the health of the alerting framework: decryptionHealth, executionHealth, and readHealth.' + properties: + decryption_health: + type: object + description: The timestamp and status of the alert decryption. + properties: + status: + type: string + enum: + - ok + - warn + - error + timestamp: + type: string + additionalProperties: false + required: + - status + - timestamp + execution_health: + type: object + description: The timestamp and status of the alert execution. + properties: + status: + type: string + enum: + - ok + - warn + - error + timestamp: + type: string + additionalProperties: false + required: + - status + - timestamp + read_health: + type: object + description: The timestamp and status of the alert reading events. + properties: + status: + type: string + enum: + - ok + - warn + - error + timestamp: + type: string + additionalProperties: false + required: + - status + - timestamp + additionalProperties: false + required: + - decryption_health + - execution_health + - read_health + additionalProperties: false + required: + - is_sufficiently_secure + - has_permanent_encryption_key + - alerting_framework_health + additionalProperties: false + required: + - body + '401': + description: Authorization information is missing or invalid. + parameters: [] + operationId: get-alerting-health + /api/cases: + delete: + summary: Delete cases + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: ids + in: query + required: true + schema: + type: array + items: + type: string + operationId: delete-cases + patch: + summary: Update cases + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-cases + post: + summary: Create a case + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-cases + /api/cases/_find: + get: + summary: Search cases + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: [] + operationId: get-cases-find + /api/cases/{case_id}: + get: + summary: Get a case + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: case_id + in: path + required: true + schema: + type: string + operationId: get-cases-case-id + /api/cases/{case_id}/connector/{connector_id}/_push: + post: + summary: Push a case to an external service + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-cases-case-id-connector-connector-id-push + /api/cases/{case_id}/user_actions/_find: + get: + summary: Find case activity + tags: + - cases + description: Returns a paginated list of user activity for a case. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: case_id + in: path + required: true + schema: + type: string + operationId: get-cases-case-id-user-actions-find + /api/cases/alerts/{alert_id}: + get: + summary: Get cases for an alert + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: alert_id + in: path + required: true + schema: + type: string + minLength: 1 + operationId: get-cases-alerts-alert-id + /api/cases/reporters: + get: + summary: Get case creators + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: [] + operationId: get-cases-reporters + /api/cases/tags: + get: + summary: Get case tags + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: [] + operationId: get-cases-tags + /api/cases/{case_id}/comments/{comment_id}: + delete: + summary: Delete a case comment or alert + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: case_id + in: path + required: true + schema: + type: string + - name: comment_id + in: path + required: true + schema: + type: string + operationId: delete-cases-case-id-comments-comment-id + get: + summary: Get a case comment or alert + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: case_id + in: path + required: true + schema: + type: string + - name: comment_id + in: path + required: true + schema: + type: string + operationId: get-cases-case-id-comments-comment-id + /api/cases/{case_id}/comments: + delete: + summary: Delete all case comments and alerts + tags: + - cases + description: Deletes all comments and alerts from a case. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: case_id + in: path + required: true + schema: + type: string + operationId: delete-cases-case-id-comments + patch: + summary: Update a case comment or alert + tags: + - cases + description: You cannot change the comment type or the owner of a comment. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: case_id + in: path + required: true + schema: + type: string + operationId: patch-cases-case-id-comments + post: + summary: Add a case comment or alert + tags: + - cases + description: Each case can have a maximum of 1,000 alerts. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: case_id + in: path + required: true + schema: + type: string + operationId: post-cases-case-id-comments + /api/cases/{case_id}/comments/_find: + get: + summary: Find case comments and alerts + tags: + - cases + description: Retrieves a paginated list of comments and alerts for a case. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: case_id + in: path + required: true + schema: + type: string + operationId: get-cases-case-id-comments-find + /api/cases/configure: + get: + summary: Get case settings + tags: + - cases + description: Retrieves setting details such as the closure type, custom fields, templates, and the default connector for cases. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: [] + operationId: get-cases-configure + post: + summary: Add case settings + tags: + - cases + description: Case settings include external connection details, custom fields, and templates. Connectors are used to interface with external systems. You must create a connector before you can use it in your cases. If you set a default connector, it is automatically selected when you create cases in Kibana. If you use the create case API, however, you must still specify all of the connector details. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-cases-configure + /api/cases/configure/connectors/_find: + get: + summary: Get case connectors + tags: + - cases + description: 'Retrieves information about connectors that are supported for use in cases.

[Required authorization] Route required privileges: casesGetConnectorsConfigure.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: [] + operationId: get-cases-configure-connectors-find + /api/cases/configure/{configuration_id}: + patch: + summary: Update case settings + tags: + - cases + description: Updates case settings such as the closure type, custom fields, templates, and the default connector for cases. Connectors are used to interface with external systems. You must create a connector before you can use it in your cases. + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-cases-configure-configuration-id + /api/cases/{case_id}/alerts: + get: + summary: Get all alerts for a case + tags: + - cases + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - name: case_id + in: path + required: true + schema: + type: string + minLength: 1 + operationId: get-cases-case-id-alerts + /api/cases/{case_id}/files: + post: + summary: Attach a file to a case + tags: + - cases + requestBody: + content: + multipart/form-data: + schema: + nullable: true + type: object + properties: {} + additionalProperties: true + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: case_id + in: path + required: true + schema: + type: string + operationId: post-cases-case-id-files + /api/upgrade_assistant/status: + get: + summary: Get upgrade readiness status + tags: [] + responses: {} + parameters: + - name: targetVersion + in: query + required: false + schema: + type: string + operationId: get-upgrade-assistant-status + /api/upgrade_assistant/migrate_data_stream/{dataStreamName}/readonly: + post: + summary: Set data stream indices as read-only + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + required: + - indices + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: dataStreamName + in: path + required: true + schema: + type: string + operationId: post-upgrade-assistant-migrate-data-stream-datastreamname-readonly + /api/upgrade_assistant/update_index/{index}: + post: + summary: 'Perform certain update operations on a given index. Currently supported ones are: ''blockWrite'' and ''unfreeze''' + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + operations: + type: array + items: + type: string + enum: + - blockWrite + - unfreeze + additionalProperties: false + required: + - operations + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: index + in: path + required: true + schema: + type: string + operationId: post-upgrade-assistant-update-index-index + /api/reporting/generate/{exportType}: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: generateReport.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + jobParams: + type: string + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: exportType + in: path + required: true + schema: + type: string + minLength: 2 + - name: jobParams + in: query + required: false + schema: + type: string + default: '' + operationId: post-reporting-generate-exporttype + /api/reporting/generate/{p}: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-reporting-generate-p + /api/reporting/jobs/download/{docId}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: docId + in: path + required: true + schema: + type: string + minLength: 3 + operationId: get-reporting-jobs-download-docid + /api/reporting/jobs/delete/{docId}: + delete: + summary: '' + tags: [] + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: docId + in: path + required: true + schema: + type: string + minLength: 3 + operationId: delete-reporting-jobs-delete-docid + /api/observability/annotation: + post: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-annotation + /api/observability/annotation/{id}: + put: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-observability-annotation-id + delete: + summary: '' + tags: [] + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-observability-annotation-id + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-observability-annotation-id + /api/observability/annotation/find: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-observability-annotation-find + /api/observability/annotation/permissions: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get-observability-annotation-permissions + /api/logstash/pipeline/{id}: + delete: + summary: Delete a managed Logstash pipeline + tags: [] + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: delete-logstash-pipeline-id + get: + summary: Get a managed Logstash pipeline + tags: [] + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + operationId: get-logstash-pipeline-id + put: + summary: Create a managed Logstash pipeline + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + description: + type: string + pipeline: + type: string + settings: + type: object + properties: {} + additionalProperties: true + additionalProperties: false + required: + - pipeline + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-logstash-pipeline-id + /api/logstash/pipelines: + get: + summary: Get all managed Logstash pipelines + tags: [] + responses: {} + parameters: [] + operationId: get-logstash-pipelines + /api/logstash/pipelines/delete: + post: + summary: Delete managed Logstash pipelines + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + pipelineIds: + type: array + items: + type: string + additionalProperties: false + required: + - pipelineIds + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-logstash-pipelines-delete + /: + get: + summary: '' + tags: [] + responses: {} + parameters: [] + operationId: get- + /XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-kbn-ui-shared-deps-npm-path + /XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-kbn-ui-shared-deps-src-path + /XXXXXXXXXXXX/bundles/core/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-core-path + /XXXXXXXXXXXX/bundles/kbn-monaco/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-kbn-monaco-path + /XXXXXXXXXXXX/bundles/plugin/mockIdpPlugin/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-mockidpplugin-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/advancedSettings/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-advancedsettings-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/eventAnnotation/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-eventannotation-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/eventAnnotationListing/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-eventannotationlisting-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/filesManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-filesmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/imageEmbeddable/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-imageembeddable-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/inputControlVis/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-inputcontrolvis-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/inspectComponent/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-inspectcomponent-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/kibanaOverview/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanaoverview-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/kibanaUsageCollection/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanausagecollection-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/links/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-links-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/mapsEms/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-mapsems-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/presentationPanel/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-presentationpanel-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/urlForwarding/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-urlforwarding-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visDefaultEditor/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-visdefaulteditor-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeMarkdown/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypemarkdown-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeGauge/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypegauge-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeHeatmap/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypeheatmap-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeMetric/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypemetric-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypePie/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypepie-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeTable/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetable-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeTagcloud/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetagcloud-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeTimelion/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetimelion-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeVega/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypevega-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeVislib/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypevislib-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeXy/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypexy-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/aiAssistantManagementSelection/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-aiassistantmanagementselection-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionGauge/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressiongauge-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionHeatmap/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionheatmap-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionLegacyMetricVis/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionlegacymetricvis-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionMetricVis/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionmetricvis-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionPartitionVis/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionpartitionvis-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionTagcloud/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressiontagcloud-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressionXY/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionxy-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/charts/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-charts-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/console/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-console-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/contentManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-contentmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/controls/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-controls-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cps/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cps-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/customIntegrations/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-customintegrations-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dashboard/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboard-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dashboardMarkdown/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboardmarkdown-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/data/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-data-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataViewEditor/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-datavieweditor-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataViewFieldEditor/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviewfieldeditor-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataViewManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviewmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataViews/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviews-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/devTools/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-devtools-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/developerToolbar/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-developertoolbar-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/discover/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-discover-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/discoverShared/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-discovershared-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/embeddable/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddable-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/esUiShared/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-esuishared-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/esql/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-esql-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/esqlDataGrid/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-esqldatagrid-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/expressions/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-expressions-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/fieldFormats/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-fieldformats-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/files/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-files-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/home/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-home-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/inspector/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-inspector-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/kibanaReact/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanareact-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/kibanaUtils/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanautils-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/management/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-management-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/metricsExperience/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-metricsexperience-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/navigation/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-navigation-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/newsfeed/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-newsfeed-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/noDataPage/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-nodatapage-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/presentationUtil/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-presentationutil-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedObjects/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjects-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedObjectsFinder/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectsfinder-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedObjectsManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectsmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedObjectsTaggingOss/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectstaggingoss-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedSearch/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedsearch-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/screenshotMode/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-screenshotmode-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/share/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-share-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/telemetry/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-telemetry-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/telemetryManagementSection/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-telemetrymanagementsection-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/uiActions/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-uiactions-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/uiActionsEnhanced/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-uiactionsenhanced-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/unifiedDocViewer/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-unifieddocviewer-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/unifiedSearch/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-unifiedsearch-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/usageCollection/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-usagecollection-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visTypeTimeseries/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetimeseries-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/visualizations/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-visualizations-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/workflowsManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-workflowsmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/banners/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-banners-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/canvas/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-canvas-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloudDataMigration/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-clouddatamigration-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloudExperiments/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudexperiments-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloudFullStory/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudfullstory-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloudLinks/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudlinks-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/crossClusterReplication/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-crossclusterreplication-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataUsage/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-datausage-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataVisualizer/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-datavisualizer-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/discoverEnhanced/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-discoverenhanced-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/urlDrilldown/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-urldrilldown-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/fileUpload/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-fileupload-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/genAiSettings/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-genaisettings-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/globalSearchBar/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearchbar-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/globalSearchProviders/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearchproviders-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/graph/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-graph-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/grokdebugger/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-grokdebugger-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/indexLifecycleManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-indexlifecyclemanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/intercepts/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-intercepts-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/logstash/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-logstash-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/monitoring/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-monitoring-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityAiAssistantManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistantmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/painlessLab/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-painlesslab-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/productIntercept/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-productintercept-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/reindexService/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-reindexservice-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/remoteClusters/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-remoteclusters-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/reporting/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-reporting-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/rollup/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-rollup-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/runtimeFields/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-runtimefields-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/snapshotRestore/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-snapshotrestore-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/transform/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-transform-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/upgradeAssistant/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-upgradeassistant-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-watcher-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/actions/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-actions-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/productDocBase/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-productdocbase-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/aiops/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-aiops-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/alerting/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-alerting-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/apmSourcesAccess/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-apmsourcesaccess-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/automaticImport/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-automaticimport-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cases/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cases-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloud/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cloud-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/contentConnectors/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-contentconnectors-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dashboardEnhanced/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboardenhanced-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataConnectors/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dataconnectors-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataQuality/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-dataquality-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/dataSourcesRegistry/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-datasourcesregistry-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/datasetQuality/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-datasetquality-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/embeddableAlertsTable/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddablealertstable-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/embeddableEnhanced/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddableenhanced-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/features/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-features-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/fieldsMetadata/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-fieldsmetadata-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/fleet/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-fleet-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/globalSearch/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearch-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/indexManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-indexmanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/inference/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-inference-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/ingestPipelines/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-ingestpipelines-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/lens/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-lens-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/licenseManagement/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-licensemanagement-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/licensing/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-licensing-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/logsDataAccess/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-logsdataaccess-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/logsShared/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-logsshared-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/maps/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-maps-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/ml/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-ml-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityAIAssistant/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistant-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/onechat/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-onechat-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/osquery/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-osquery-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/sampleDataIngest/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-sampledataingest-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/savedObjectsTagging/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectstagging-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/screenshotting/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-screenshotting-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchprofiler/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchprofiler-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/security/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-security-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/serverless/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-serverless-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/spaces/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-spaces-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/stackAlerts/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-stackalerts-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/stackConnectors/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-stackconnectors-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/streams/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-streams-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/streamsApp/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-streamsapp-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/timelines/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-timelines-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/triggersActionsUi/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-triggersactionsui-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/apm/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-apm-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/exploratoryView/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-exploratoryview-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/infra/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-infra-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/metricsDataAccess/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-metricsdataaccess-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observability/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observability-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityAIAssistantApp/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistantapp-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityLogsExplorer/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilitylogsexplorer-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityOnboarding/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityonboarding-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/observabilityShared/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityshared-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/profiling/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-profiling-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/serverlessObservability/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlessobservability-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/slo/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-slo-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/synthetics/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-synthetics-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/uptime/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-uptime-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/ux/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-ux-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/enterpriseSearch/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-enterprisesearch-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchAssistant/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchassistant-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchGettingStarted/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchgettingstarted-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchHomepage/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchhomepage-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchIndices/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchindices-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchInferenceEndpoints/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchinferenceendpoints-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchNavigation/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchnavigation-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchNotebooks/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchnotebooks-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchPlayground/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchplayground-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchQueryRules/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchqueryrules-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/searchSynonyms/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-searchsynonyms-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/serverlessSearch/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlesssearch-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/cloudSecurityPosture/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudsecurityposture-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/elasticAssistant/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-elasticassistant-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/elasticAssistantSharedState/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-elasticassistantsharedstate-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/lists/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-lists-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/securitySolution/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolution-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/securitySolutionEss/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolutioness-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/securitySolutionServerless/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolutionserverless-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/sessionView/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-sessionview-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/serverlessWorkplaceAI/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlessworkplaceai-1.0.0-path + /XXXXXXXXXXXX/bundles/plugin/workplaceAIApp/1.0.0/{path}: + get: + summary: '' + tags: [] + responses: {} + parameters: + - name: path + in: path + required: true + schema: + type: string + operationId: get-xxxxxxxxxxxx-bundles-plugin-workplaceaiapp-1.0.0-path + /api/index_patterns/index_pattern/{id}/fields: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + fields: + type: object + additionalProperties: + type: object + properties: + customLabel: + nullable: true + type: string + minLength: 1 + maxLength: 1000 + customDescription: + nullable: true + type: string + minLength: 1 + maxLength: 300 + count: + nullable: true + type: number + format: + nullable: true + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + additionalProperties: false + additionalProperties: false + required: + - fields + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - index_pattern + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id-fields + /api/data_views/data_view/{id}/fields: + post: + summary: '' + tags: [] + description: 'Update data view fields metadata

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + fields: + type: object + additionalProperties: + type: object + properties: + customLabel: + nullable: true + type: string + minLength: 1 + maxLength: 1000 + customDescription: + nullable: true + type: string + minLength: 1 + maxLength: 300 + count: + nullable: true + type: number + format: + nullable: true + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + additionalProperties: false + additionalProperties: false + required: + - fields + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - data_view + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-data-views-data-view-id-fields + /api/data_views/data_view/{id}/runtime_field: + post: + summary: '' + tags: [] + description: 'Create a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 1000 + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-data-views-data-view-id-runtime-field + put: + summary: '' + tags: [] + description: 'Create or update a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 1000 + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: put-data-views-data-view-id-runtime-field + /api/index_patterns/index_pattern/{id}/runtime_field: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 1000 + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id-runtime-field + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 1000 + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: put-index-patterns-index-pattern-id-runtime-field + /api/data_views/data_view/{id}/runtime_field/{name}: + delete: + summary: '' + tags: [] + description: 'Delete a runtime field from a data view

[Required authorization] Route required privileges: indexPatterns:manage.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: delete-data-views-data-view-id-runtime-field-name + get: + summary: '' + tags: [] + description: Get a runtime field + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: get-data-views-data-view-id-runtime-field-name + post: + summary: '' + tags: [] + description: 'Update a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + additionalProperties: false + required: + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-data-views-data-view-id-runtime-field-name + /api/index_patterns/index_pattern/{id}/runtime_field/{name}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: delete-index-patterns-index-pattern-id-runtime-field-name + get: + summary: '' + tags: [] + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: get-index-patterns-index-pattern-id-runtime-field-name + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + additionalProperties: false + required: + - runtimeField + responses: + '200': + content: + application/json: + schema: + anyOf: + - type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + fields: + type: array + items: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - data_view + - fields + - type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id-runtime-field-name + /api/data_views/data_view: + post: + summary: '' + tags: [] + description: 'Create a data view

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + override: + type: boolean + refresh_fields: + type: boolean + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - data_view + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - data_view + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-data-views-data-view + /api/index_patterns/index_pattern: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + override: + type: boolean + refresh_fields: + type: boolean + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - index_pattern + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - index_pattern + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-index-patterns-index-pattern + /api/data_views/default: + get: + summary: '' + tags: [] + description: Get the default data view + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view_id: + type: string + additionalProperties: false + required: + - data_view_id + parameters: [] + operationId: get-data-views-default + post: + summary: '' + tags: [] + description: 'Set the default data view

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + data_view_id: + nullable: true + type: string + minLength: 1 + maxLength: 1000 + force: + type: boolean + default: false + additionalProperties: false + required: + - data_view_id + responses: + '200': + content: + application/json: + schema: + type: object + properties: + acknowledged: + type: boolean + additionalProperties: false + required: + - acknowledged + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-data-views-default + /api/index_patterns/default: + get: + summary: '' + tags: [] + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern_id: + type: string + additionalProperties: false + required: + - index_pattern_id + parameters: [] + operationId: get-index-patterns-default + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + index_pattern_id: + nullable: true + type: string + minLength: 1 + maxLength: 1000 + force: + type: boolean + default: false + additionalProperties: false + required: + - index_pattern_id + responses: + '200': + content: + application/json: + schema: + type: object + properties: + acknowledged: + type: boolean + additionalProperties: false + required: + - acknowledged + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-index-patterns-default + /api/data_views/data_view/{id}: + delete: + summary: '' + tags: [] + description: 'Delete a data view

[Required authorization] Route required privileges: indexPatterns:manage.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: delete-data-views-data-view-id + get: + summary: '' + tags: [] + description: Get a data view + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - data_view + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: get-data-views-data-view-id + post: + summary: '' + tags: [] + description: 'Update a data view

[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + refresh_fields: + type: boolean + data_view: + type: object + properties: + title: + type: string + type: + type: string + typeMeta: + type: object + properties: {} + additionalProperties: true + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + additionalProperties: false + additionalProperties: false + required: + - data_view + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - data_view + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-data-views-data-view-id + /api/index_patterns/index_pattern/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: delete-index-patterns-index-pattern-id + get: + summary: '' + tags: [] + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - index_pattern + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: get-index-patterns-index-pattern-id + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + refresh_fields: + type: boolean + index_pattern: + type: object + properties: + title: + type: string + type: + type: string + typeMeta: + type: object + properties: {} + additionalProperties: true + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + additionalProperties: false + additionalProperties: false + required: + - index_pattern + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + additionalProperties: false + required: + - index_pattern + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id + /api/data_views: + get: + summary: '' + tags: [] + description: Get all data views + responses: + '200': + content: + application/json: + schema: + type: object + properties: + data_view: + type: array + items: + type: object + properties: + id: + type: string + namespaces: + type: array + items: + type: string + title: + type: string + type: + type: string + typeMeta: + type: object + properties: {} + additionalProperties: true + name: + type: string + timeFieldName: + type: string + managed: + type: boolean + additionalProperties: false + required: + - id + - title + additionalProperties: false + required: + - data_view + parameters: [] + operationId: get-data-views + /api/index_patterns/index_pattern/{id}/scripted_field: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - field + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id-scripted-field + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - field + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: put-index-patterns-index-pattern-id-scripted-field + /api/index_patterns/index_pattern/{id}/scripted_field/{name}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: delete-index-patterns-index-pattern-id-scripted-field-name + get: + summary: '' + tags: [] + responses: + '200': + content: + application/json: + schema: + type: object + properties: + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - field + parameters: + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: get-index-patterns-index-pattern-id-scripted-field-name + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: indexPatterns:manage.' + requestBody: + content: + application/json: + schema: + type: object + properties: + field: + type: object + properties: + type: + type: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + additionalProperties: false + required: + - field + responses: + '200': + content: + application/json: + schema: + type: object + properties: + index_pattern: + type: object + properties: + title: + type: string + version: + type: string + id: + type: string + type: + type: string + timeFieldName: + type: string + sourceFilters: + type: array + items: + type: object + properties: + value: + type: string + clientId: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - value + fields: + type: object + additionalProperties: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + typeMeta: + type: object + properties: {} + additionalProperties: true + fieldFormats: + type: object + additionalProperties: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + fieldAttrs: + type: object + additionalProperties: + type: object + properties: + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + count: + type: number + additionalProperties: false + allowNoIndex: + type: boolean + runtimeFieldMap: + type: object + additionalProperties: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + name: + type: string + namespaces: + type: array + items: + type: string + allowHidden: + type: boolean + additionalProperties: false + required: + - title + field: + type: object + properties: + name: + type: string + maxLength: 1000 + type: + type: string + default: string + maxLength: 1000 + count: + type: number + minimum: 0 + script: + type: string + maxLength: 1000000 + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + esTypes: + type: array + items: + type: string + scripted: + type: boolean + subType: + type: object + properties: + multi: + type: object + properties: + parent: + type: string + additionalProperties: false + required: + - parent + nested: + type: object + properties: + path: + type: string + additionalProperties: false + required: + - path + additionalProperties: false + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + shortDotsEnable: + type: boolean + searchable: + type: boolean + aggregatable: + type: boolean + readFromDocValues: + type: boolean + runtimeField: + anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - composite + script: + type: object + properties: + source: + type: string + additionalProperties: false + required: + - source + fields: + type: object + additionalProperties: + type: object + properties: + type: + type: string + enum: + - keyword + - long + - double + - date + - ip + - boolean + - geo_point + format: + type: object + properties: + id: + type: string + params: {} + additionalProperties: false + required: + - params + customLabel: + type: string + customDescription: + type: string + maxLength: 300 + popularity: + type: number + minimum: 0 + additionalProperties: false + required: + - type + additionalProperties: false + required: + - type + additionalProperties: false + required: + - name + additionalProperties: false + required: + - index_pattern + - field + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1000 + operationId: post-index-patterns-index-pattern-id-scripted-field-name + /api/data_views/swap_references: + post: + summary: '' + tags: [] + description: Swap saved object references for a data view + requestBody: + content: + application/json: + schema: + type: object + properties: + fromId: + type: string + fromType: + type: string + toId: + type: string + forId: + anyOf: + - type: string + - type: array + items: + type: string + forType: + type: string + delete: + type: boolean + additionalProperties: false + required: + - fromId + - toId + responses: + '200': + content: + application/json: + schema: + type: object + properties: + result: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + additionalProperties: false + required: + - id + - type + deleteStatus: + type: object + properties: + remainingRefs: + type: number + deletePerformed: + type: boolean + additionalProperties: false + required: + - remainingRefs + - deletePerformed + additionalProperties: false + required: + - result + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-data-views-swap-references + /api/data_views/swap_references/_preview: + post: + summary: '' + tags: [] + description: Preview swapping saved object references + requestBody: + content: + application/json: + schema: + type: object + properties: + fromId: + type: string + fromType: + type: string + toId: + type: string + forId: + anyOf: + - type: string + - type: array + items: + type: string + forType: + type: string + delete: + type: boolean + additionalProperties: false + required: + - fromId + - toId + responses: + '200': + content: + application/json: + schema: + type: object + properties: + result: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + additionalProperties: false + required: + - id + - type + deleteStatus: + type: object + properties: + remainingRefs: + type: number + deletePerformed: + type: boolean + additionalProperties: false + required: + - remainingRefs + - deletePerformed + additionalProperties: false + required: + - result + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-data-views-swap-references-preview + /api/spaces/space/{id}: + get: + summary: Get a space + tags: + - spaces + responses: + '200': + description: Indicates a successful call. + parameters: + - name: id + in: path + required: true + schema: + type: string + description: The space identifier. + operationId: get-spaces-space-id + put: + summary: Update a space + tags: + - spaces + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The space ID that is part of the Kibana URL when inside the space. Space IDs are limited to lowercase alphanumeric, underscore, and hyphen characters (a-z, 0-9, _, and -). You are cannot change the ID with the update operation. + name: + type: string + description: 'The display name for the space. ' + minLength: 1 + description: + type: string + description: A description for the space. + initials: + type: string + description: One or two characters that are shown in the space avatar. By default, the initials are automatically generated from the space name. + maxLength: 2 + color: + type: string + description: The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name. + disabledFeatures: + type: array + default: [] + items: + type: string + description: The list of features that are turned off in the space. + _reserved: + type: boolean + imageUrl: + type: string + description: The data-URL encoded image to display in the space avatar. If specified, initials will not be displayed and the color will be visible as the background color for transparent images. For best results, your image should be 64x64. Images will not be optimized by this API call, so care should be taken when using custom images. + solution: + type: string + enum: + - security + - oblt + - es + - classic + additionalProperties: false + required: + - id + - name + responses: + '200': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The space identifier. You are unable to change the ID with the update operation. + operationId: put-spaces-space-id + delete: + summary: Delete a space + tags: + - spaces + description: When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone. + responses: + '204': + description: Indicates a successful call. + '404': + description: Indicates that the request failed. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The space identifier. + operationId: delete-spaces-space-id + /api/spaces/space: + get: + summary: Get all spaces + tags: + - spaces + responses: + '200': + description: Indicates a successful call. + parameters: + - name: purpose + in: query + required: false + schema: + type: string + enum: + - any + - copySavedObjectsIntoSpace + - shareSavedObjectsIntoSpace + description: Specifies which authorization checks are applied to the API call. The default value is `any`. + - name: include_authorized_purposes + in: query + required: true + schema: + oneOf: + - type: boolean + enum: + - false + x-oas-optional: true + - type: boolean + x-oas-optional: true + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + description: When enabled, the API returns any spaces that the user is authorized to access in any capacity and each space will contain the purposes for which the user is authorized. This can be useful to determine which spaces a user can read but not take a specific action in. If the security plugin is not enabled, this parameter has no effect, since no authorization checks take place. This parameter cannot be used in with the `purpose` parameter. + operationId: get-spaces-space + post: + summary: Create a space + tags: + - spaces + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The space ID that is part of the Kibana URL when inside the space. Space IDs are limited to lowercase alphanumeric, underscore, and hyphen characters (a-z, 0-9, _, and -). You are cannot change the ID with the update operation. + name: + type: string + description: 'The display name for the space. ' + minLength: 1 + description: + type: string + description: A description for the space. + initials: + type: string + description: One or two characters that are shown in the space avatar. By default, the initials are automatically generated from the space name. + maxLength: 2 + color: + type: string + description: The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name. + disabledFeatures: + type: array + default: [] + items: + type: string + description: The list of features that are turned off in the space. + _reserved: + type: boolean + imageUrl: + type: string + description: The data-URL encoded image to display in the space avatar. If specified, initials will not be displayed and the color will be visible as the background color for transparent images. For best results, your image should be 64x64. Images will not be optimized by this API call, so care should be taken when using custom images. + solution: + type: string + enum: + - security + - oblt + - es + - classic + additionalProperties: false + required: + - id + - name + responses: + '200': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-spaces-space + /api/security/role/{name}: + get: + summary: Get a role + tags: + - roles + responses: + '200': + description: Indicates a successful call. + parameters: + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + description: The role name. + - name: replaceDeprecatedPrivileges + in: query + required: false + schema: + type: boolean + description: If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges. + operationId: get-security-role-name + delete: + summary: Delete a role + tags: + - roles + responses: + '204': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + operationId: delete-security-role-name + put: + summary: Create or update a role + tags: + - roles + description: Create a new Kibana role or update the attributes of an existing role. Kibana roles are stored in the Elasticsearch native realm. + requestBody: + content: + application/json: + schema: + type: object + properties: + description: + type: string + description: A description for the role. + maxLength: 2048 + metadata: + type: object + additionalProperties: {} + elasticsearch: + type: object + properties: + cluster: + type: array + items: + type: string + description: Cluster privileges that define the cluster level actions that users can perform. + remote_cluster: + type: array + items: + type: object + properties: + privileges: + type: array + minItems: 1 + items: + type: string + description: The cluster level privileges for the remote cluster. The allowed values are a subset of the cluster privileges. + clusters: + type: array + minItems: 1 + items: + type: string + description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. + additionalProperties: false + required: + - privileges + - clusters + indices: + type: array + items: + type: object + properties: + names: + type: array + minItems: 1 + items: + type: string + description: The data streams, indices, and aliases to which the permissions in this entry apply. It supports wildcards (*). + field_security: + type: object + additionalProperties: + type: array + items: + type: string + description: The document fields that the role members have read access to. + privileges: + type: array + minItems: 1 + items: + type: string + description: The index level privileges that the role members have for the data streams and indices. + query: + type: string + description: A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. + allow_restricted_indices: + type: boolean + description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field covers the restricted indices too. + additionalProperties: false + required: + - names + - privileges + remote_indices: + type: array + items: + type: object + properties: + clusters: + type: array + minItems: 1 + items: + type: string + description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. + names: + type: array + minItems: 1 + items: + type: string + description: A list of remote aliases, data streams, or indices to which the permissions apply. It supports wildcards (*). + field_security: + type: object + additionalProperties: + type: array + items: + type: string + description: The document fields that the role members have read access to. + privileges: + type: array + minItems: 1 + items: + type: string + description: The index level privileges that role members have for the specified indices. + query: + type: string + description: 'A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. ' + allow_restricted_indices: + type: boolean + description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field will cover the restricted indices too. + additionalProperties: false + required: + - clusters + - names + - privileges + run_as: + type: array + items: + type: string + description: A user name that the role member can impersonate. + additionalProperties: false + kibana: + type: array + items: + type: object + properties: + spaces: + default: + - '*' + anyOf: + - type: array + minItems: 1 + maxItems: 1 + items: + type: string + enum: + - '*' + - type: array + items: + type: string + description: A space that the privilege applies to. + base: + oneOf: + - type: array + items: + type: string + description: A base privilege that grants applies to all spaces. + - type: array + items: + type: string + description: A base privilege that applies to specific spaces. + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + feature: + type: object + additionalProperties: + type: array + items: + type: string + description: The privileges that the role member has for the feature. + additionalProperties: false + required: + - base + additionalProperties: false + required: + - elasticsearch + responses: + '204': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1024 + description: The role name. + - name: createOnly + in: query + required: false + schema: + type: boolean + default: false + description: When true, a role is not overwritten if it already exists. + operationId: put-security-role-name + /api/security/role: + get: + summary: Get all roles + tags: + - roles + responses: + '200': + description: Indicates a successful call. + parameters: + - name: replaceDeprecatedPrivileges + in: query + required: false + schema: + type: boolean + description: If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges. + operationId: get-security-role + /api/security/roles: + post: + summary: Create or update roles + tags: + - roles + requestBody: + content: + application/json: + schema: + type: object + properties: + roles: + type: object + additionalProperties: + type: object + properties: + description: + type: string + description: A description for the role. + maxLength: 2048 + metadata: + type: object + additionalProperties: {} + elasticsearch: + type: object + properties: + cluster: + type: array + items: + type: string + description: Cluster privileges that define the cluster level actions that users can perform. + remote_cluster: + type: array + items: + type: object + properties: + privileges: + type: array + minItems: 1 + items: + type: string + description: The cluster level privileges for the remote cluster. The allowed values are a subset of the cluster privileges. + clusters: + type: array + minItems: 1 + items: + type: string + description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. + additionalProperties: false + required: + - privileges + - clusters + indices: + type: array + items: + type: object + properties: + names: + type: array + minItems: 1 + items: + type: string + description: The data streams, indices, and aliases to which the permissions in this entry apply. It supports wildcards (*). + field_security: + type: object + additionalProperties: + type: array + items: + type: string + description: The document fields that the role members have read access to. + privileges: + type: array + minItems: 1 + items: + type: string + description: The index level privileges that the role members have for the data streams and indices. + query: + type: string + description: A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. + allow_restricted_indices: + type: boolean + description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field covers the restricted indices too. + additionalProperties: false + required: + - names + - privileges + remote_indices: + type: array + items: + type: object + properties: + clusters: + type: array + minItems: 1 + items: + type: string + description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. + names: + type: array + minItems: 1 + items: + type: string + description: A list of remote aliases, data streams, or indices to which the permissions apply. It supports wildcards (*). + field_security: + type: object + additionalProperties: + type: array + items: + type: string + description: The document fields that the role members have read access to. + privileges: + type: array + minItems: 1 + items: + type: string + description: The index level privileges that role members have for the specified indices. + query: + type: string + description: 'A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. ' + allow_restricted_indices: + type: boolean + description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field will cover the restricted indices too. + additionalProperties: false + required: + - clusters + - names + - privileges + run_as: + type: array + items: + type: string + description: A user name that the role member can impersonate. + additionalProperties: false + kibana: + type: array + items: + type: object + properties: + spaces: + default: + - '*' + anyOf: + - type: array + minItems: 1 + maxItems: 1 + items: + type: string + enum: + - '*' + - type: array + items: + type: string + description: A space that the privilege applies to. + base: + oneOf: + - type: array + items: + type: string + description: A base privilege that grants applies to all spaces. + - type: array + items: + type: string + description: A base privilege that applies to specific spaces. + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + feature: + type: object + additionalProperties: + type: array + items: + type: string + description: The privileges that the role member has for the feature. + additionalProperties: false + required: + - base + additionalProperties: false + required: + - elasticsearch + additionalProperties: false + required: + - roles + responses: + '200': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-roles + /api/security/role/_query: + post: + summary: Query roles + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + query: + type: string + from: + type: number + size: + type: number + sort: + type: object + properties: + field: + type: string + direction: + type: string + enum: + - asc + - desc + additionalProperties: false + required: + - field + - direction + filters: + type: object + properties: + showReservedRoles: + type: boolean + additionalProperties: false + additionalProperties: false + responses: + '200': + description: Indicates a successful call. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-role-query + /api/lists: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-lists + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-lists + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-lists + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-lists + /api/lists/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists-find + /api/lists/privileges: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists-privileges + /api/lists/items: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-lists-items + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists-items + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-lists-items + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-lists-items + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-lists-items + /api/lists/items/_export: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-lists-items-export + /api/lists/items/_import: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + multipart/form-data: + schema: + type: string + format: binary + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-lists-items-import + /api/lists/items/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists-items-find + /api/lists/index: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: [] + operationId: post-lists-index + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-lists-index + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: [] + operationId: delete-lists-index + /api/exception_lists/_export: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exception-lists-export + /api/exception_lists/_import: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exception-lists-import + /api/exception_lists: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exception-lists + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-exception-lists + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-exception-lists + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-exception-lists + /api/exception_lists/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-exception-lists-find + /api/exception_lists/_duplicate: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exception-lists-duplicate + /api/exception_lists/items: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exception-lists-items + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-exception-lists-items + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-exception-lists-items + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-exception-lists-items + /api/exception_lists/items/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-exception-lists-items-find + /api/endpoint_list: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: [] + operationId: post-endpoint-list + /api/endpoint_list/items: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-list-items + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-endpoint-list-items + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-endpoint-list-items + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-all.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-endpoint-list-items + /api/endpoint_list/items/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-read.' + responses: {} + parameters: [] + operationId: get-endpoint-list-items-find + /api/exception_lists/summary: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: lists-summary.' + responses: {} + parameters: [] + operationId: get-exception-lists-summary + /api/telemetry/v2/config: + get: + summary: '' + tags: [] + responses: + '200': + content: + application/json: + schema: + type: object + properties: + allowChangingOptInStatus: + type: boolean + optIn: + nullable: true + type: boolean + sendUsageFrom: + type: string + enum: + - server + - browser + telemetryNotifyUserAboutOptInDefault: + type: boolean + labels: + type: object + default: {} + properties: + branch: + type: string + ciBuildJobId: + type: string + ciBuildId: + type: string + ciBuildNumber: + type: number + environment: + type: string + ftrConfig: + type: string + gitRev: + type: string + isPr: + type: boolean + prId: + type: number + journeyName: + type: string + testBuildId: + type: string + testJobId: + type: string + ciBuildName: + type: string + performancePhase: + type: string + serverless: + type: string + additionalProperties: false + additionalProperties: false + required: + - allowChangingOptInStatus + - optIn + - sendUsageFrom + - telemetryNotifyUserAboutOptInDefault + parameters: [] + operationId: get-telemetry-v2-config + /api/telemetry/v2/clusters/_opt_in_stats: + post: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: + type: object + properties: + enabled: + type: boolean + unencrypted: + type: boolean + default: true + additionalProperties: false + required: + - enabled + responses: + '200': + content: + application/json: + schema: + type: array + items: + type: object + properties: + clusterUuid: + type: string + stats: + type: object + properties: + cluster_uuid: + type: string + opt_in_status: + type: boolean + additionalProperties: false + required: + - cluster_uuid + - opt_in_status + additionalProperties: false + required: + - clusterUuid + - stats + '503': + content: + application/json: + schema: + type: string + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-telemetry-v2-clusters-opt-in-stats + /api/observability_ai_assistant/chat/complete: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: ai_assistant.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-ai-assistant-chat-complete + /api/agent_builder/tools: + get: + summary: List tools + tags: + - agent builder + description: 'List all available tools. Use this endpoint to retrieve complete tool definitions including their schemas and configuration requirements.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + listToolsResponseExample: + description: Example response returning a list of existing tools + value: + results: + - id: platform.core.search + type: builtin + description: |- + A powerful tool for searching and analyzing data within your Elasticsearch cluster. + It supports both full-text relevance searches and structured analytical queries. + + Use this tool for any query that involves finding documents, counting, aggregating, or summarizing data from a known index. + + Examples of queries: + - "find articles about serverless architecture" + - "search for support tickets mentioning 'billing issue' or 'refund request'" + - "what is our policy on parental leave?" + - "list all products where the category is 'electronics'" + - "show me the last 5 documents from that index" + - "show me the sales over the last year break down by month" + + Note: + - The 'index' parameter can be used to specify which index to search against. + If not provided, the tool will decide itself which is the best index to use. + - It is perfectly fine not to specify the 'index' parameter. It should only be specified when you already + know about the index and fields you want to search on, e.g. if the user explicitly specified it. + tags: [] + configuration: {} + readonly: true + schema: + type: object + properties: + query: + type: string + description: A natural language query expressing the search request + index: + type: string + description: (optional) Index to search against. If not provided, will automatically select the best index to use based on the query. + required: + - query + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + - id: platform.core.get_document_by_id + type: builtin + description: Retrieve the full content (source) of an Elasticsearch document based on its ID and index name. + tags: [] + configuration: {} + readonly: true + schema: + type: object + properties: + id: + type: string + description: ID of the document to retrieve + index: + type: string + description: Name of the index to retrieve the document from + required: + - id + - index + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + - id: platform.core.execute_esql + type: builtin + description: |- + Execute an ES|QL query and return the results in a tabular format. + + **IMPORTANT**: This tool only **runs** queries; it does not write them. + Think of this as the final step after a query has been prepared. + + You **must** get the query from one of two sources before calling this tool: + 1. The output of the `platform.core.generate_esql` tool (if the tool is available). + 2. A verbatim query provided directly by the user. + + Under no circumstances should you invent, guess, or modify a query yourself for this tool. + If you need a query, use the `platform.core.generate_esql` tool first. + tags: [] + configuration: {} + readonly: true + schema: + type: object + properties: + query: + type: string + description: The ES|QL query to execute + required: + - query + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + - id: example-esql-tool + type: esql + description: Example ES|QL query tool for analyzing financial trades with time filtering + tags: + - analytics + - finance + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + readonly: false + schema: + type: object + properties: + startTime: + type: string + format: date-time + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + required: + - startTime + - limit + additionalProperties: false + description: Parameters needed to execute the query + $schema: http://json-schema.org/draft-07/schema# + - id: example-index-search-tool + type: index_search + description: Search tool specifically for financial data analysis and reporting + tags: + - search + - finance + configuration: + pattern: financial_* + readonly: false + schema: + type: object + properties: + nlQuery: + type: string + description: A natural language query expressing the search request + required: + - nlQuery + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + parameters: [] + operationId: get-agent-builder-tools + x-state: Technical Preview; added in 9.2.0 + post: + summary: Create a tool + tags: + - agent builder + description: 'Create a new tool. Use this endpoint to define a custom tool with specific functionality and configuration for use by agents.

[Required authorization] Route required privileges: manage_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: Unique identifier for the tool. + type: + description: The type of tool to create (e.g., esql, index_search). + type: string + enum: + - esql + - index_search + - workflow + description: + type: string + description: Description of what the tool does. + default: '' + tags: + type: array + description: Optional tags for categorizing and organizing tools. + default: [] + items: + type: string + description: Tag for categorizing the tool. + configuration: + type: object + description: Tool-specific configuration parameters. See examples for details. + additionalProperties: {} + additionalProperties: false + required: + - id + - type + - configuration + examples: + createEsqlToolRequest: + description: Example request to create an ESQL query tool with a pre-defined query + value: + id: example-esql-tool + type: esql + description: Example ES|QL query tool for analyzing financial trades with time filtering + tags: + - analytics + - finance + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + createIndexSearchToolRequest: + description: Example request to create an index_search tool with a pre-defined index pattern + value: + id: example-index-search-tool + type: index_search + description: Search tool specifically for financial data analysis and reporting + tags: + - search + - finance + configuration: + pattern: financial_* + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + createEsqlToolExample: + description: Example response returning a definition of ESQL tool created + value: + id: example-esql-tool + type: esql + description: Example ES|QL query tool for analyzing financial trades with time filtering + tags: + - analytics + - finance + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + readonly: false + schema: + type: object + properties: + startTime: + type: string + format: date-time + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + required: + - startTime + - limit + additionalProperties: false + description: Parameters needed to execute the query + $schema: http://json-schema.org/draft-07/schema# + createIndexSearchToolExample: + description: Example response returning a definition of search tool tool created + value: + id: example-index-search-tool + type: index_search + description: Search tool specifically for financial data analysis and reporting + tags: + - search + - finance + configuration: + pattern: financial_* + readonly: false + schema: + type: object + properties: + nlQuery: + type: string + description: A natural language query expressing the search request + required: + - nlQuery + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-agent-builder-tools + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/tools/{id}: + get: + summary: Get a tool by id + tags: + - agent builder + description: 'Get a specific tool by ID. Use this endpoint to retrieve the complete tool definition including its schema and configuration requirements.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + getBuiltinToolExample: + description: Example response returning built-in platform.core.search tool + value: + id: platform.core.search + type: builtin + description: |- + A powerful tool for searching and analyzing data within your Elasticsearch cluster. + It supports both full-text relevance searches and structured analytical queries. + + Use this tool for any query that involves finding documents, counting, aggregating, or summarizing data from a known index. + + Examples of queries: + - "find articles about serverless architecture" + - "search for support tickets mentioning 'billing issue' or 'refund request'" + - "what is our policy on parental leave?" + - "list all products where the category is 'electronics'" + - "show me the last 5 documents from that index" + - "show me the sales over the last year break down by month" + + Note: + - The 'index' parameter can be used to specify which index to search against. + If not provided, the tool will decide itself which is the best index to use. + - It is perfectly fine not to specify the 'index' parameter. It should only be specified when you already + know about the index and fields you want to search on, e.g. if the user explicitly specified it. + tags: [] + configuration: {} + readonly: true + schema: + type: object + properties: + query: + type: string + description: A natural language query expressing the search request + index: + type: string + description: (optional) Index to search against. If not provided, will automatically select the best index to use based on the query. + required: + - query + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + getEsqlToolExample: + description: Example response returning custom example-esql-tool tool + value: + id: example-esql-tool + type: esql + description: Example ES|QL query tool for analyzing financial trades with time filtering + tags: + - analytics + - finance + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + readonly: false + schema: + type: object + properties: + startTime: + type: string + format: date-time + description: Start time for the analysis in ISO format + limit: + type: integer + description: Maximum number of results to return + required: + - startTime + - limit + additionalProperties: false + description: Parameters needed to execute the query + $schema: http://json-schema.org/draft-07/schema# + getIndexSearchToolExample: + description: Example response returning custom example-index-search-tool tool + value: + id: example-index-search-tool + type: index_search + description: Search tool specifically for financial data analysis and reporting + tags: + - search + - finance + configuration: + pattern: financial_* + readonly: false + schema: + type: object + properties: + nlQuery: + type: string + description: A natural language query expressing the search request + required: + - nlQuery + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + parameters: + - name: id + in: path + required: true + schema: + type: string + description: The unique identifier of the tool to retrieve. + operationId: get-agent-builder-tools-id + x-state: Technical Preview; added in 9.2.0 + delete: + summary: Delete a tool + tags: + - agent builder + description: 'Delete a tool by ID. This action cannot be undone.

[Required authorization] Route required privileges: manage_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + deleteAgentResponseExample: + description: Example response showing that the deletion operation was successful + value: + success: true + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The unique identifier of the tool to delete. + operationId: delete-agent-builder-tools-id + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/tools/{toolId}: + put: + summary: Update a tool + tags: + - agent builder + description: 'Update an existing tool. Use this endpoint to modify any aspect of the tool''s configuration or metadata.

[Required authorization] Route required privileges: manage_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + description: + type: string + description: Updated description of what the tool does. + tags: + type: array + description: Updated tags for categorizing and organizing tools. + items: + type: string + description: Updated tag for categorizing the tool. + configuration: + type: object + description: Updated tool-specific configuration parameters. See examples for details. + additionalProperties: {} + additionalProperties: false + examples: + updateEsqlToolRequest: + description: Example request to update the custom ESQL tool + value: + description: Updated ES|QL query tool for comprehensive financial analysis with enhanced filtering + tags: + - analytics + - finance + - reporting + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime AND symbol LIKE ?symbolPattern | STATS trade_count=COUNT(*), avg_price=AVG(execution_price), total_volume=SUM(quantity) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + symbolPattern: + type: keyword + description: Pattern to filter symbols (e.g., 'US_*' for US instruments) + limit: + type: integer + description: Maximum number of results to return + updateIndexSearchToolRequest: + description: Example request to update the custom Search tool + value: + description: Updated search tool for comprehensive financial data analysis, reporting, and compliance monitoring + tags: + - search + - finance + - compliance + - reporting + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + updateEsqlToolExample: + description: Example response showing the updated ESQL tool + value: + id: example-esql-tool + type: esql + description: Updated ES|QL query tool for comprehensive financial analysis with enhanced filtering + tags: + - analytics + - finance + - reporting + configuration: + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime AND symbol LIKE ?symbolPattern | STATS trade_count=COUNT(*), avg_price=AVG(execution_price), total_volume=SUM(quantity) BY symbol | SORT trade_count DESC | LIMIT ?limit + params: + startTime: + type: date + description: Start time for the analysis in ISO format + symbolPattern: + type: keyword + description: Pattern to filter symbols (e.g., 'US_*' for US instruments) + limit: + type: integer + description: Maximum number of results to return + readonly: false + schema: + type: object + properties: + startTime: + type: string + format: date-time + description: Start time for the analysis in ISO format + symbolPattern: + type: string + description: Pattern to filter symbols (e.g., 'US_*' for US instruments) + limit: + type: integer + description: Maximum number of results to return + required: + - startTime + - symbolPattern + - limit + additionalProperties: false + description: Parameters needed to execute the enhanced query + $schema: http://json-schema.org/draft-07/schema# + updateIndexSearchToolExample: + description: Example response showing the updated Search tool + value: + id: example-index-search-tool + type: index_search + description: Updated search tool for comprehensive financial data analysis, reporting, and compliance monitoring + tags: + - search + - finance + - compliance + - reporting + configuration: + pattern: financial_* + readonly: false + schema: + type: object + properties: + nlQuery: + type: string + description: A natural language query expressing the search request + required: + - nlQuery + additionalProperties: false + $schema: http://json-schema.org/draft-07/schema# + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: toolId + in: path + required: true + schema: + type: string + description: The unique identifier of the tool to update. + operationId: put-agent-builder-tools-toolid + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/tools/_execute: + post: + summary: Execute a Tool + tags: + - agent builder + description: 'Execute a tool with parameters. Use this endpoint to run a tool directly with specified inputs and optional external connector integration.

[Required authorization] Route required privileges: read_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + tool_id: + type: string + description: The ID of the tool to execute. + tool_params: + type: object + description: Parameters to pass to the tool execution. See examples for details + additionalProperties: {} + connector_id: + type: string + description: Optional connector ID for tools that require external integrations. + additionalProperties: false + required: + - tool_id + - tool_params + examples: + executeBuiltinToolRequest: + description: Example request executing platform.core.get_document_by_id tool + value: + tool_id: platform.core.get_document_by_id + tool_params: + id: TRD-20250805-0820a89f + index: financial_trades + executeBuiltinEsqlToolRequest: + description: Example request executing platform.core.execute_esql tool + value: + tool_id: platform.core.execute_esql + tool_params: + query: FROM financial_trades | LIMIT 3 + executeCustomEsqlToolRequest: + description: Example request executing custom example-esql-tool tool + value: + tool_id: example-esql-tool + tool_params: + startTime: '2024-01-01T00:00:00Z' + limit: 3 + executeIndexSearchToolRequest: + description: Example request executing custom example-index-search-tool tool + value: + tool_id: example-index-search-tool + tool_params: + nlQuery: find trades with high execution prices above 100 + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + executeBuiltinToolExample: + description: Example response calling built-in platform.core.get_document_by_id tool + value: + results: + - type: resource + data: + reference: + id: TRD-20250805-0820a89f + index: financial_trades + partial: false + content: + trade_id: TRD-20250805-0820a89f + account_id: ACC00271-fb5c + symbol: EWL + trade_type: sell + order_type: market + order_status: executed + quantity: 131 + execution_price: 488.54 + trade_cost: 63998.74 + execution_timestamp: '2025-08-05T08:04:11.649855' + status_reason: fully_filled + last_updated: '2025-09-15T13:23:36' + executeBuiltinEsqlToolExample: + description: Example response calling built-in platform.core.execute_esql tool + value: + results: + - type: query + data: + esql: FROM financial_trades | LIMIT 3 + - tool_result_id: xTpT + type: tabular_data + data: + source: esql + query: FROM financial_trades | LIMIT 3 + columns: + - name: account_id + type: keyword + - name: execution_price + type: double + - name: symbol + type: keyword + - name: trade_type + type: keyword + values: + - - ACC00179-1f91 + - 43.77000045776367 + - CVX + - sell + - - ACC00407-0bbb + - 660.4199829101562 + - V + - buy + - - ACC00179-1f91 + - 440.3599853515625 + - KO + - buy + executeCustomEsqlToolExample: + description: Example response calling custom example-esql-tool tool + value: + results: + - tool_result_id: Voy8 + type: tabular_data + data: + source: esql + query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit + columns: + - name: trade_count + type: long + - name: avg_price + type: double + - name: symbol + type: keyword + values: + - - 2115 + - 89.33911587329621 + - US_T_BOND_20YR + - - 2112 + - 104.20854155945055 + - INTL_CORP_ASIA_D + - - 2105 + - 89.93244177666526 + - INTL_CORP_EU_B + executeIndexSearchToolExample: + description: Example response calling custom example-index-search-tool tool + value: + results: + - type: query + data: + esql: |- + FROM financial_trades + | WHERE execution_price > 100 + | LIMIT 100 + - tool_result_id: uE8y + type: tabular_data + data: + source: esql + query: |- + FROM financial_trades + | WHERE execution_price > 100 + | LIMIT 100 + columns: + - name: account_id + type: keyword + - name: execution_price + type: double + - name: execution_timestamp + type: date + - name: symbol + type: keyword + - name: trade_type + type: keyword + values: + - - ACC00407-0bbb + - 660.4199829101562 + - '2020-09-25T11:06:08.687Z' + - V + - buy + - - ACC00179-1f91 + - 440.3599853515625 + - '2025-08-07T21:56:45.377Z' + - KO + - buy + - - ACC00407-0bbb + - 132.8800048828125 + - '2020-11-19T04:39:13.655Z' + - JAP_JGB_10YR + - sell + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-agent-builder-tools-execute + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/agents: + get: + summary: List agents + tags: + - agent builder + description: 'List all available agents. Use this endpoint to retrieve complete agent information including their current configuration and assigned tools.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + listAgentsResponseExample: + description: Example response that returns one built-in Elastic agent and one created by the user + value: + results: + - id: elastic-ai-agent + type: chat + name: Elastic AI Agent + description: Elastic AI Agent + configuration: + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + - id: created-agent-id + type: chat + name: Search Index Helper + description: Hi! I can help you search the data within the indices starting with "content-" prefix. + labels: + - custom-indices + - department-search + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + parameters: [] + operationId: get-agent-builder-agents + x-state: Technical Preview; added in 9.2.0 + post: + summary: Create an agent + tags: + - agent builder + description: 'Create a new agent. Use this endpoint to define the agent''s behavior, appearance, and capabilities through comprehensive configuration options.

[Required authorization] Route required privileges: manage_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: Unique identifier for the agent. + name: + type: string + description: Display name for the agent. + description: + type: string + description: Description of what the agent does. + avatar_color: + type: string + description: Optional hex color code for the agent avatar. + avatar_symbol: + type: string + description: Optional symbol/initials for the agent avatar. + labels: + type: array + description: Optional labels for categorizing and organizing agents. + items: + type: string + description: Label for categorizing the agent. + configuration: + type: object + description: Configuration settings for the agent. + properties: + instructions: + type: string + description: Optional system instructions that define the agent behavior. + tools: + type: array + items: + type: object + description: Tool selection configuration for the agent. + properties: + tool_ids: + type: array + description: Array of tool IDs that the agent can use. + items: + type: string + description: Tool ID to be available to the agent. + additionalProperties: false + required: + - tool_ids + additionalProperties: false + required: + - tools + additionalProperties: false + required: + - id + - name + - description + - configuration + examples: + createAgentRequestExample: + description: Example request for creating a custom agent with special prompt and tools + value: + id: created-agent-id + name: Search Index Helper + description: Hi! I can help you search the data within the indices starting with "content-" prefix. + labels: + - custom-indices + - department-search + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + createAgentResponseExample: + description: Example response returning the definition of an agent created as a result of the request + value: + id: created-agent-id + type: chat + name: Search Index Helper + description: Hi! I can help you search the data within the indices starting with "content-" prefix. + labels: + - custom-indices + - department-search + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-agent-builder-agents + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/agents/{id}: + get: + summary: Get an agent by ID + tags: + - agent builder + description: 'Get a specific agent by ID. Use this endpoint to retrieve the complete agent definition including all configuration details and tool assignments.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + getAgentByIdResponseExample: + description: Example response that an agent created by the user that will query elasticsearch indices starting with 'content-' prefix to answer the questions. + value: + id: created-agent-id + type: chat + name: Search Index Helper + description: Hi! I can help you search the data within the indices starting with "content-" prefix. + labels: + - custom-indices + - department-search + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + parameters: + - name: id + in: path + required: true + schema: + type: string + description: The unique identifier of the agent to retrieve. + operationId: get-agent-builder-agents-id + x-state: Technical Preview; added in 9.2.0 + put: + summary: Update an agent + tags: + - agent builder + description: 'Update an existing agent configuration. Use this endpoint to modify any aspect of the agent''s behavior, appearance, or capabilities.

[Required authorization] Route required privileges: manage_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: Updated display name for the agent. + description: + type: string + description: Updated description of what the agent does. + avatar_color: + type: string + description: Updated hex color code for the agent avatar. + avatar_symbol: + type: string + description: Updated symbol/initials for the agent avatar. + labels: + type: array + description: Updated labels for categorizing and organizing agents. + items: + type: string + description: Updated label for categorizing the agent. + configuration: + type: object + description: Updated configuration settings for the agent. + properties: + instructions: + type: string + description: Updated system instructions that define the agent behavior. + tools: + type: array + items: + type: object + description: Tool selection configuration for the agent. + properties: + tool_ids: + type: array + description: Array of tool IDs that the agent can use. + items: + type: string + description: Tool ID to be available to the agent. + additionalProperties: false + required: + - tool_ids + additionalProperties: false + additionalProperties: false + examples: + createAgentRequestExample: + description: Example request for updating custom agent + value: + id: created-agent-id + name: Search Index Helper + description: Updated description - Search for anything in "content-*" indices! + labels: + - custom-indices + - department-search + - elastic-employees + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + updateAgentResponseExample: + description: Example response returning the agent definition with the changes applied from the request + value: + id: created-agent-id + type: chat + name: Search Index Helper + description: Updated description - Search for anything in "content-*" indices! + labels: + - custom-indices + - department-search + - elastic-employees + avatar_color: '#BFDBFF' + avatar_symbol: SI + configuration: + instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". + tools: + - tool_ids: + - platform.core.search + - platform.core.list_indices + - platform.core.get_index_mapping + - platform.core.get_document_by_id + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The unique identifier of the agent to update. + operationId: put-agent-builder-agents-id + x-state: Technical Preview; added in 9.2.0 + delete: + summary: Delete an agent + tags: + - agent builder + description: 'Delete an agent by ID. This action cannot be undone.

[Required authorization] Route required privileges: manage_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + deleteAgentResponseExample: + description: Example response showing that deletion of the agent has been successful + value: + success: true + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + description: The unique identifier of the agent to delete. + operationId: delete-agent-builder-agents-id + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/converse: + post: + summary: Send chat message + tags: + - agent builder + description: 'Send a message to an agent and receive a complete response. This synchronous endpoint waits for the agent to fully process your request before returning the final result. Use this for simple chat interactions where you need the complete response.

[Required authorization] Route required privileges: read_onechat.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agent_id: + type: string + description: The ID of the agent to chat with. Defaults to the default Elastic AI agent. + default: elastic-ai-agent + connector_id: + type: string + description: Optional connector ID for the agent to use for external integrations. + conversation_id: + type: string + description: Optional existing conversation ID to continue a previous conversation. + input: + type: string + description: The user input message to send to the agent. + attachments: + type: array + description: Optional attachments to send with the message. + items: + type: object + properties: + id: + type: string + description: Optional id for the attachment. + type: + type: string + description: Type of the attachment. + data: + type: object + description: Payload of the attachment. + additionalProperties: {} + hidden: + type: boolean + description: When true, the attachment will not be displayed in the UI. + additionalProperties: false + required: + - type + - data + capabilities: + type: object + description: Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. + properties: + visualizations: + type: boolean + description: When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. + additionalProperties: false + browser_api_tools: + type: array + description: Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. + items: + type: object + properties: + id: + type: string + description: Unique identifier for the browser API tool. + description: + type: string + description: Description of what the browser API tool does. + schema: {} + additionalProperties: false + required: + - id + - description + - schema + additionalProperties: false + required: + - input + examples: + converseRequestExample: + description: Example request to send a message to the agent as a part of the conversation + value: + input: What is Elasticsearch? + agent_id: elastic-ai-agent + connector_id: my-connector-id + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + converseResponseExample: + description: Example response containing the chain of events representing a conversation with the agent + value: + conversation_id: 696ccd6d-4bff-4b26-a62e-522ccf2dcd16 + steps: + - type: reasoning + reasoning: Searching for official documentation or content that explains what Elasticsearch is + - type: tool_call + tool_call_id: tooluse_shOdUwKIRwC9YhqGzeg0cQ + tool_id: platform.core.search + progression: + - message: Selecting the best target for this query + params: + query: what is elasticsearch definition overview introduction + results: + - type: error + data: + message: Could not figure out which index to use + response: + message: Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease. + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-agent-builder-converse + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/converse/async: + post: + summary: Send chat message (streaming) + tags: + - agent builder + description: |- + Send a message to an agent and receive real-time streaming events. This asynchronous endpoint provides live updates as the agent processes your request, allowing you to see intermediate steps and progress. Use this for interactive experiences where you want to monitor the agent's thinking process. + + ## Event types + + The endpoint emits Server-Sent Events (SSE) with the following custom event types: + + `conversation_id_set` + + Sets the conversation ID. + + Schema: + ```json + { + "conversation_id": "uuid" + } + ``` + + --- + + `conversation_created` + + Fires when a new conversation is persisted and assigned an ID. + + Schema: + ```json + { + "conversation_id": "uuid", + "title": "conversation title" + } + ``` + + --- + + `conversation_updated` + + Fires when a conversation is updated. + + Schema: + ```json + { + "conversation_id": "uuid", + "title": "updated conversation title" + } + ``` + + --- + + `reasoning` + + Handles reasoning-related data. + + Schema: + ```json + { + "reasoning": "plain text reasoning content", + "transient": false + } + ``` + + --- + + `tool_call` + + Triggers when a tool is invoked. + + Schema: + ```json + { + "tool_call_id": "uuid", + "tool_id": "tool_name", + "params": {} + } + ``` + + --- + + `tool_progress` + + Reports progress of a running tool. + + Schema: + ```json + { + "tool_call_id": "uuid", + "message": "progress message" + } + ``` + + --- + + `tool_result` + + Returns results from a completed tool call. + + Schema: + ```json + { + "tool_call_id": "uuid", + "tool_id": "tool_name", + "results": [] + } + ``` + + **Note:** `results` is an array of `ToolResult` objects. + + --- + + `message_chunk` + + Streams partial text chunks. + + Schema: + ```json + { + "message_id": "uuid", + "text_chunk": "partial text" + } + ``` + + --- + + `message_complete` + + Indicates message stream is finished. + + Schema: + ```json + { + "message_id": "uuid", + "message_content": "full text content of the message" + } + ``` + + --- + + `thinking_complete` + + Marks the end of the thinking/reasoning phase. + + Schema: + ```json + { + "time_to_first_token": 0 + } + ``` + + **Note:** `time_to_first_token` is in milliseconds. + + --- + + `round_complete` + + Marks end of one conversation round. + + Schema: + ```json + { + "round": {} + } + ``` + + **Note:** `round` contains the full round json object. + + --- + + ## Event flow + + A typical conversation round emits events in this sequence: + + 1. `reasoning` (potentially multiple, some transient) + 2. `tool_call` (if tools are used) + 3. `tool_progress` (zero or more progress updates) + 4. `tool_result` (when tool completes) + 5. `thinking_complete` + 6. `message_chunk` (multiple, as text streams) + 7. `message_complete` + 8. `round_complete`

[Required authorization] Route required privileges: read_onechat. + requestBody: + content: + application/json: + schema: + type: object + properties: + agent_id: + type: string + description: The ID of the agent to chat with. Defaults to the default Elastic AI agent. + default: elastic-ai-agent + connector_id: + type: string + description: Optional connector ID for the agent to use for external integrations. + conversation_id: + type: string + description: Optional existing conversation ID to continue a previous conversation. + input: + type: string + description: The user input message to send to the agent. + attachments: + type: array + description: Optional attachments to send with the message. + items: + type: object + properties: + id: + type: string + description: Optional id for the attachment. + type: + type: string + description: Type of the attachment. + data: + type: object + description: Payload of the attachment. + additionalProperties: {} + hidden: + type: boolean + description: When true, the attachment will not be displayed in the UI. + additionalProperties: false + required: + - type + - data + capabilities: + type: object + description: Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. + properties: + visualizations: + type: boolean + description: When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. + additionalProperties: false + browser_api_tools: + type: array + description: Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. + items: + type: object + properties: + id: + type: string + description: Unique identifier for the browser API tool. + description: + type: string + description: Description of what the browser API tool does. + schema: {} + additionalProperties: false + required: + - id + - description + - schema + additionalProperties: false + required: + - input + examples: + converseAsyncRequestExample: + description: Example request to send a message to the agent as a part of the conversation + value: + input: Hello + agent_id: elastic-ai-agent + conversation_id: c250305b-1929-4248-b568-b9e3f065fda5 + responses: + '200': + description: Indicates a successful response + content: + text/event-stream: + examples: + converseAsyncResponseExample: + description: Example stream containing the chain of events representing a conversation with the agent + value: + - event: conversation_id_set + data: + data: + conversation_id: c250305b-1929-4248-b568-b9e3f065fda5 + - event: reasoning + data: + data: + reasoning: Starting with a general search to understand what content is available. + - event: tool_call + data: + data: + tool_call_id: tooluse__2aJELgyRYqD8SDOKSiwtg + tool_id: platform.core.search + params: + query: latest documents + - event: tool_result + data: + data: + tool_call_id: tooluse__2aJELgyRYqD8SDOKSiwtg + results: + - type: error + data: + message: Could not figure out which index to use + - event: round_complete + data: + data: + round: + id: a5692d54-bc06-4a6e-aea1-412779c73f66 + input: + message: Hello + response: + message: Hello! How can I help you today? + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-agent-builder-converse-async + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/conversations: + get: + summary: List conversations + tags: + - agent builder + description: 'List all conversations for a user. Use the optional agent ID to filter conversations by a specific agent.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + listConversationsResponseExample: + description: Example response containing the list of conversations with all agents + value: + results: + - id: bcc176c5-38f6-40be-be0c-898e34fa1480 + agent_id: elastic-ai-agent + user: + username: elastic + title: General Greeting + created_at: '2025-09-19T17:45:39.554Z' + updated_at: '2025-09-19T17:45:39.554Z' + parameters: + - name: agent_id + in: query + required: false + schema: + type: string + description: Optional agent ID to filter conversations by a specific agent. + operationId: get-agent-builder-conversations + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/conversations/{conversation_id}: + get: + summary: Get conversation by ID + tags: + - agent builder + description: 'Get a specific conversation by ID. Use this endpoint to retrieve the complete conversation history including all messages and metadata.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + getConversationByIdResponseExample: + description: Example response containing the contents of a convesation with the chat agent + value: + id: bcc176c5-38f6-40be-be0c-898e34fa1480 + agent_id: elastic-ai-agent + user: + username: elastic + title: General Greeting + created_at: '2025-09-19T17:45:39.554Z' + updated_at: '2025-09-19T17:45:39.554Z' + rounds: + - id: 170ec3b2-0f5a-4538-8b60-549572386d2a + input: + message: Hello, how are you? + steps: [] + response: + message: |- + Since this is a general greeting that doesn't require any organizational or product-specific information, I can respond without using tools. + + Hello! I'm doing well, thank you for asking. I'm here to help you with any questions you may have. How can I assist you today? + parameters: + - name: conversation_id + in: path + required: true + schema: + type: string + description: The unique identifier of the conversation to retrieve. + operationId: get-agent-builder-conversations-conversation-id + x-state: Technical Preview; added in 9.2.0 + delete: + summary: Delete conversation by ID + tags: + - agent builder + description: 'Delete a conversation by ID. This action cannot be undone.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + deleteConversationResponseExample: + description: Example response showing that deletion of conversation has been successful + value: + success: true + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: conversation_id + in: path + required: true + schema: + type: string + description: The unique identifier of the conversation to delete. + operationId: delete-agent-builder-conversations-conversation-id + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/mcp: + post: + summary: MCP server + tags: + - agent builder + description: 'WARNING: This endpoint is designed for MCP clients (Claude Desktop, Cursor, VS Code, etc.) and should not be used directly via REST APIs. Use MCP Inspector or native MCP clients instead.

[Required authorization] Route required privileges: read_onechat.' + requestBody: + content: + application/json: + schema: {} + examples: + mcpInitializeRequestExample: + description: 'WARNING: DO NOT USE THIS ENDPOINT VIA REST API. These examples are auto-generated and should not be run. Integrate with MCP using MCP Inspector or native MCP clients (Claude Desktop, Cursor, VS Code) instead.' + value: + jsonrpc: '2.0' + method: initialize + params: + protocolVersion: '2024-11-05' + capabilities: {} + clientInfo: + name: test-client + version: 1.0.0 + id: 1 + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + mcpInitializeResponseExample: + description: Example response showing the successful result of communication initialisation over MCP protocol + value: + jsonrpc: '2.0' + id: 1 + result: + protocolVersion: '2024-11-05' + capabilities: + tools: + listChanged: true + serverInfo: + name: elastic-mcp-server + version: 0.0.1 + parameters: [] + operationId: post-agent-builder-mcp + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/a2a/{agentId}.json: + get: + summary: Get A2A agent card + tags: + - agent builder + description: 'Get agent discovery metadata in JSON format. Use this endpoint to provide agent information for A2A protocol integration and discovery.

[Required authorization] Route required privileges: read_onechat.' + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + a2aAgentCardResponseExample: + description: Example response card of Elastic AI Agent + value: + name: Elastic AI Agent + description: Elastic AI Agent + url: http://localhost:5601/api/agent_builder/a2a/elastic-ai-agent + provider: + organization: Elastic + url: https://elastic.co + version: 0.1.0 + protocolVersion: 0.3.0 + capabilities: + streaming: false + pushNotifications: false + stateTransitionHistory: false + securitySchemes: + authorization: + type: apiKey + name: Authorization + in: header + description: Authentication token + defaultInputModes: + - text/plain + defaultOutputModes: + - text/plain + skills: + - id: platform.core.search + name: platform.core.search + description: A powerful tool for searching and analyzing data within your Elasticsearch cluster. + tags: + - tool + examples: [] + inputModes: + - text/plain + - application/json + outputModes: + - text/plain + - application/json + supportsAuthenticatedExtendedCard: false + parameters: + - name: agentId + in: path + required: true + schema: + type: string + description: The unique identifier of the agent to get A2A metadata for. + operationId: get-agent-builder-a2a-agentid.json + x-state: Technical Preview; added in 9.2.0 + /api/agent_builder/a2a/{agentId}: + post: + summary: Send A2A task + tags: + - agent builder + description: 'WARNING: This endpoint is designed for A2A protocol clients and should not be used directly via REST APIs. Use an A2A SDK or A2A Inspector instead.

[Required authorization] Route required privileges: read_onechat.' + requestBody: + content: + application/json: + schema: {} + examples: + a2aTaskRequestExample: + description: 'WARNING: DO NOT USE THIS ENDPOINT VIA REST API. These examples are auto-generated and should not be run. Integrate with A2A using an A2A SDK or A2A Inspector instead.' + value: + jsonrpc: '2.0' + method: complete + params: + messages: + - role: user + content: Hello from A2A protocol + id: task-123 + responses: + '200': + description: Indicates a successful response + content: + application/json: + examples: + a2aTaskResponseExample: + description: Example response from A2A Task Endpoint with results of task execution + value: + jsonrpc: '2.0' + id: task-123 + result: + type: response + response: + message: Hello! How can I help you today? + conversation_id: conv-456 + parameters: + - name: agentId + in: path + required: true + schema: + type: string + description: The unique identifier of the agent to send the A2A task to. + operationId: post-agent-builder-a2a-agentid + x-state: Technical Preview; added in 9.2.0 + /api/ml/saved_objects/sync: + get: + summary: Synchronize machine learning saved objects + tags: + - machine learning + description: 'Synchronizes Kibana saved objects for machine learning jobs and trained models. This API runs automatically when you start Kibana and periodically thereafter.

[Required authorization] Route required privileges: ml:canCreateJob AND ml:canCreateDataFrameAnalytics AND ml:canCreateTrainedModels.' + responses: {} + parameters: + - name: simulate + in: query + required: false + schema: + type: boolean + - name: addToAllSpaces + in: query + required: false + schema: + type: boolean + operationId: get-ml-saved-objects-sync + /api/ml/saved_objects/update_jobs_spaces: + post: + summary: Update what spaces jobs are assigned to + tags: + - machine learning + description: 'Update a list of jobs to add and/or remove them from given spaces.

[Required authorization] Route required privileges: ml:canCreateJob AND ml:canCreateDataFrameAnalytics.' + requestBody: + content: + application/json: + schema: + type: object + properties: + jobType: + type: string + enum: + - anomaly-detector + - data-frame-analytics + jobIds: + type: array + items: + type: string + spacesToAdd: + type: array + items: + type: string + spacesToRemove: + type: array + items: + type: string + additionalProperties: false + required: + - jobType + - jobIds + - spacesToAdd + - spacesToRemove + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-ml-saved-objects-update-jobs-spaces + x-state: Beta; added in 9.3.0 + /api/ml/saved_objects/update_trained_models_spaces: + post: + summary: Update what spaces trained models are assigned to + tags: + - machine learning + description: 'Update a list of trained models to add and/or remove them from given spaces.

[Required authorization] Route required privileges: ml:canCreateTrainedModels.' + requestBody: + content: + application/json: + schema: + type: object + properties: + modelIds: + type: array + items: + type: string + spacesToAdd: + type: array + items: + type: string + spacesToRemove: + type: array + items: + type: string + additionalProperties: false + required: + - modelIds + - spacesToAdd + - spacesToRemove + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-ml-saved-objects-update-trained-models-spaces + x-state: Beta; added in 9.3.0 + /api/security_ai_assistant/chat/complete: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-chat-complete + /api/security_ai_assistant/current_user/conversations: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-current-user-conversations + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-security-ai-assistant-current-user-conversations + /api/security_ai_assistant/current_user/conversations/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-current-user-conversations-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-security-ai-assistant-current-user-conversations-id + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-security-ai-assistant-current-user-conversations-id + /api/security_ai_assistant/current_user/conversations/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-current-user-conversations-find + /api/security_ai_assistant/knowledge_base/{resource}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-knowledge-base-resource + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-knowledge-base-resource + /api/security_ai_assistant/knowledge_base/entries/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-knowledge-base-entries-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-security-ai-assistant-knowledge-base-entries-id + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-security-ai-assistant-knowledge-base-entries-id + /api/security_ai_assistant/knowledge_base/entries/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-knowledge-base-entries-find + /api/security_ai_assistant/knowledge_base/entries: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-knowledge-base-entries + /api/security_ai_assistant/knowledge_base/entries/_bulk_action: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-knowledge-base-entries-bulk-action + /api/security_ai_assistant/prompts/_bulk_action: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-prompts-bulk-action + /api/security_ai_assistant/prompts/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-prompts-find + /api/security_ai_assistant/security_ai_prompts/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant.' + responses: + '200': + content: + application/json: + schema: {} + parameters: [] + operationId: get-security-ai-assistant-security-ai-prompts-find + /api/security_ai_assistant/anonymization_fields/_bulk_action: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-updateAIAssistantAnonymization.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-security-ai-assistant-anonymization-fields-bulk-action + /api/security_ai_assistant/anonymization_fields/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: elasticAssistant OR securitySolution-readWorkflowInsights.' + responses: {} + parameters: [] + operationId: get-security-ai-assistant-anonymization-fields-find + /api/attack_discovery/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: + '200': + content: + application/json: + schema: {} + parameters: [] + operationId: get-attack-discovery-find + /api/attack_discovery/_bulk: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + requestBody: + content: + application/json: + schema: {} + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-bulk + /api/attack_discovery/generations: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: + '200': + content: + application/json: + schema: {} + parameters: [] + operationId: get-attack-discovery-generations + /api/attack_discovery/generations/{execution_uuid}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: {} + parameters: [] + operationId: get-attack-discovery-generations-execution-uuid + /api/attack_discovery/generations/{execution_uuid}/_dismiss: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-generations-execution-uuid-dismiss + /api/attack_discovery/_generate: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + requestBody: + content: + application/json: + schema: {} + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-generate + /api/attack_discovery/schedules: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' + requestBody: + content: + application/json: + schema: {} + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-schedules + /api/attack_discovery/schedules/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: + '200': + content: + application/json: + schema: {} + parameters: [] + operationId: get-attack-discovery-schedules-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-updateAttackDiscoverySchedule AND securitySolution-attackDiscoveryAll.' + requestBody: + content: + application/json: + schema: {} + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-attack-discovery-schedules-id + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-attack-discovery-schedules-id + /api/attack_discovery/schedules/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' + responses: + '200': + content: + application/json: + schema: {} + parameters: [] + operationId: get-attack-discovery-schedules-find + /api/attack_discovery/schedules/{id}/_disable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-schedules-id-disable + /api/attack_discovery/schedules/{id}/_enable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' + responses: + '200': + content: + application/json: + schema: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-attack-discovery-schedules-id-enable + /api/streams/{name}/dashboards: + get: + summary: Get stream dashboards + tags: + - streams + description: 'Fetches all dashboards linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name-dashboards + x-state: Technical Preview + /api/streams/{name}/dashboards/{dashboardId}: + put: + summary: Link a dashboard to a stream + tags: + - streams + description: 'Links a dashboard to a stream. Noop if the dashboard is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: dashboardId + in: path + required: true + schema: + type: string + operationId: put-streams-name-dashboards-dashboardid + x-state: Technical Preview + delete: + summary: Unlink a dashboard from a stream + tags: + - streams + description: 'Unlinks a dashboard from a stream. Noop if the dashboard is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: dashboardId + in: path + required: true + schema: + type: string + operationId: delete-streams-name-dashboards-dashboardid + x-state: Technical Preview + /api/streams/{name}/dashboards/_bulk: + post: + summary: Bulk update dashboards + tags: + - streams + description: 'Bulk update dashboards linked to a stream. Can link new dashboards and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + operations: + type: array + items: + anyOf: + - type: object + properties: + index: + type: object + properties: + id: + type: string + required: + - id + additionalProperties: false + required: + - index + additionalProperties: false + - type: object + properties: + delete: + type: object + properties: + id: + type: string + required: + - id + additionalProperties: false + required: + - delete + additionalProperties: false + required: + - operations + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: post-streams-name-dashboards-bulk + x-state: Technical Preview + /api/streams/{name}: + get: + summary: Get a stream + tags: + - streams + description: 'Fetches a stream definition and associated dashboards

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name + x-state: Technical Preview + put: + summary: Create or update a stream + tags: + - streams + description: 'Creates or updates a stream definition. Classic streams can not be created through this API, only updated

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + anyOf: + - anyOf: + - allOf: + - type: object + properties: {} + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + additionalProperties: false + required: + - stream + - type: object + properties: + dashboards: + type: array + items: + type: string + rules: + type: array + items: + type: string + queries: + type: array + items: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - dashboards + - rules + - queries + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - allOf: + - type: object + properties: {} + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + - type: object + properties: + ingest: + type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + required: + - lifecycle + - processing + - settings + additionalProperties: false + required: + - ingest + - type: object + properties: + ingest: + type: object + properties: + type: + type: string + enum: + - wired + wired: + type: object + properties: + fields: + type: object + additionalProperties: + allOf: + - type: object + additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: {} + - {} + - anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + format: + type: string + minLength: 1 + required: + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - system + required: + - type + additionalProperties: false + routing: + type: array + items: + type: object + properties: + destination: + type: string + minLength: 1 + where: + $ref: '#/components/schemas/StreamlangCondition' + status: + type: string + enum: + - enabled + - disabled + required: + - destination + - where + additionalProperties: false + required: + - fields + - routing + additionalProperties: false + required: + - type + - wired + additionalProperties: false + required: + - ingest + required: + - stream + - type: object + properties: {} + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + additionalProperties: false + required: + - stream + - type: object + properties: + dashboards: + type: array + items: + type: string + rules: + type: array + items: + type: string + queries: + type: array + items: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - dashboards + - rules + - queries + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + ingest: + type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + required: + - lifecycle + - processing + - settings + additionalProperties: false + required: + - ingest + additionalProperties: false + required: + - stream + - type: object + properties: {} + - type: object + properties: {} + - allOf: + - type: object + properties: {} + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + additionalProperties: false + required: + - stream + - type: object + properties: + dashboards: + type: array + items: + type: string + rules: + type: array + items: + type: string + queries: + type: array + items: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - dashboards + - rules + - queries + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - allOf: + - type: object + properties: {} + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + - type: object + properties: + ingest: + type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + required: + - lifecycle + - processing + - settings + additionalProperties: false + required: + - ingest + - type: object + properties: + ingest: + type: object + properties: + type: + type: string + enum: + - classic + classic: + type: object + properties: + field_overrides: + type: object + additionalProperties: + allOf: + - type: object + additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: {} + - {} + - anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + format: + type: string + minLength: 1 + required: + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - system + required: + - type + additionalProperties: false + additionalProperties: false + required: + - type + - classic + additionalProperties: false + required: + - ingest + required: + - stream + - type: object + properties: {} + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + additionalProperties: false + required: + - stream + - type: object + properties: + dashboards: + type: array + items: + type: string + rules: + type: array + items: + type: string + queries: + type: array + items: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - dashboards + - rules + - queries + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + ingest: + type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + required: + - lifecycle + - processing + - settings + additionalProperties: false + required: + - ingest + additionalProperties: false + required: + - stream + - type: object + properties: {} + - type: object + properties: {} + - allOf: + - type: object + properties: {} + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + name: + type: string + description: + type: string + required: + - name + - description + additionalProperties: false + required: + - stream + - type: object + properties: + dashboards: + type: array + items: + type: string + rules: + type: array + items: + type: string + queries: + type: array + items: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - dashboards + - rules + - queries + - type: object + properties: + stream: + allOf: + - type: object + properties: + name: + not: {} + additionalProperties: true + - type: object + properties: + group: + type: object + properties: + metadata: + type: object + additionalProperties: + type: string + tags: + type: array + items: + type: string + members: + type: array + items: + type: string + required: + - metadata + - tags + - members + additionalProperties: false + required: + - group + additionalProperties: false + required: + - stream + - type: object + properties: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: put-streams-name + x-state: Technical Preview + delete: + summary: Delete a stream + tags: + - streams + description: 'Deletes a stream definition and the underlying data stream

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: delete-streams-name + x-state: Technical Preview + /api/streams: + get: + summary: Get stream list + tags: + - streams + description: 'Fetches list of all streams

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: [] + operationId: get-streams + x-state: Technical Preview + /api/streams/_enable: + post: + summary: Enable streams + tags: + - streams + description: 'Enables wired streams

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-streams-enable + x-state: Technical Preview + /api/streams/_disable: + post: + summary: Disable streams + tags: + - streams + description: 'Disables wired streams and deletes all existing stream definitions. The data of wired streams is deleted, but the data of classic streams is preserved.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-streams-disable + x-state: Technical Preview + /api/streams/{name}/_fork: + post: + summary: Fork a stream + tags: + - streams + description: 'Forks a wired stream and creates a child stream

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + stream: + type: object + properties: + name: + type: string + required: + - name + additionalProperties: false + where: + $ref: '#/components/schemas/StreamlangCondition' + status: + type: string + enum: + - enabled + - disabled + required: + - stream + - where + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: post-streams-name-fork + x-state: Technical Preview + /api/streams/_resync: + post: + summary: Resync streams + tags: + - streams + description: 'Resyncs all streams, making sure that Elasticsearch assets are up to date

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-streams-resync + x-state: Technical Preview + /api/streams/{name}/_ingest: + get: + summary: Get ingest stream settings + tags: + - streams + description: 'Fetches the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name-ingest + x-state: Technical Preview + put: + summary: Update ingest stream settings + tags: + - streams + description: 'Upserts the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + ingest: + anyOf: + - type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - wired + wired: + type: object + properties: + fields: + type: object + additionalProperties: + allOf: + - type: object + additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: {} + - {} + - anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + format: + type: string + minLength: 1 + required: + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - system + required: + - type + additionalProperties: false + routing: + type: array + items: + type: object + properties: + destination: + type: string + minLength: 1 + where: + $ref: '#/components/schemas/StreamlangCondition' + status: + type: string + enum: + - enabled + - disabled + required: + - destination + - where + additionalProperties: false + required: + - fields + - routing + additionalProperties: false + required: + - lifecycle + - processing + - settings + - type + - wired + additionalProperties: false + - type: object + properties: + lifecycle: + anyOf: + - type: object + properties: + type: + type: string + enum: + - dsl + dsl: + type: object + properties: + data_retention: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - dsl + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - ilm + ilm: + type: object + properties: + policy: + type: string + minLength: 1 + required: + - policy + additionalProperties: false + required: + - type + - ilm + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - inherit + inherit: + type: object + properties: {} + additionalProperties: false + required: + - type + - inherit + additionalProperties: false + processing: + type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + additionalProperties: false + settings: + type: object + properties: + index.number_of_replicas: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.number_of_shards: + type: object + properties: + value: + type: number + required: + - value + additionalProperties: false + index.refresh_interval: + type: object + properties: + value: + anyOf: + - type: string + - type: number + enum: + - -1 + required: + - value + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - classic + classic: + type: object + properties: + field_overrides: + type: object + additionalProperties: + allOf: + - type: object + additionalProperties: + anyOf: + - anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: + anyOf: + - type: string + - type: number + - type: boolean + - not: {} + - type: array + items: {} + - {} + - anyOf: + - type: object + properties: + type: + type: string + enum: + - keyword + - match_only_text + - long + - double + - date + - boolean + - ip + format: + type: string + minLength: 1 + required: + - type + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - system + required: + - type + additionalProperties: false + additionalProperties: false + required: + - lifecycle + - processing + - settings + - type + - classic + additionalProperties: false + required: + - ingest + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: put-streams-name-ingest + x-state: Technical Preview + /api/streams/{name}/_group: + get: + summary: Get group stream settings + tags: + - streams + description: 'Fetches the group settings of a group stream definition

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name-group + x-state: Technical Preview + put: + summary: Upsert group stream settings + tags: + - streams + description: 'Upserts the group settings of a group stream definition

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + group: + type: object + properties: + metadata: + type: object + additionalProperties: + type: string + tags: + type: array + items: + type: string + members: + type: array + items: + type: string + required: + - metadata + - tags + - members + additionalProperties: false + required: + - group + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: put-streams-name-group + x-state: Technical Preview + /api/streams/{name}/content/export: + post: + summary: Export stream content + tags: + - streams + description: 'Exports the content associated to a stream.

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + description: + type: string + version: + type: string + include: + anyOf: + - type: object + properties: + objects: + type: object + properties: + all: + type: object + properties: {} + additionalProperties: false + required: + - all + additionalProperties: false + required: + - objects + additionalProperties: false + - type: object + properties: + objects: + type: object + properties: + mappings: + type: boolean + queries: + type: array + items: + type: object + properties: + id: + type: string + required: + - id + additionalProperties: false + routing: + type: array + items: + allOf: + - {} + - type: object + properties: + destination: + type: string + required: + - destination + required: + - mappings + - queries + - routing + additionalProperties: false + required: + - objects + additionalProperties: false + required: + - name + - description + - version + - include + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: post-streams-name-content-export + /api/streams/{name}/content/import: + post: + summary: Import content into a stream + tags: + - streams + description: 'Links content objects to a stream.

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + include: + type: string + content: {} + required: + - include + - content + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: post-streams-name-content-import + /api/streams/{name}/significant_events: + get: + summary: Read the significant events + tags: + - streams + description: 'Read the significant events

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + - name: from + in: query + required: true + schema: + type: string + - name: to + in: query + required: true + schema: + type: string + - name: bucketSize + in: query + required: true + schema: + type: string + operationId: get-streams-name-significant-events + x-state: Technical Preview; added in 9.1.0 + /api/streams/{name}/significant_events/_preview: + post: + summary: Preview significant events + tags: + - streams + description: 'Preview significant event results based on a given query

[Required authorization] Route required privileges: read_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + query: + type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + additionalProperties: false + required: + - query + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: from + in: query + required: true + schema: + type: string + - name: to + in: query + required: true + schema: + type: string + - name: bucketSize + in: query + required: true + schema: + type: string + operationId: post-streams-name-significant-events-preview + x-state: Technical Preview; added in 9.1.0 + /api/streams/{name}/significant_events/_generate: + post: + summary: Generate significant events + tags: + - streams + description: 'Generate significant events queries based on the stream data

[Required authorization] Route required privileges: read_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + description: + type: string + required: + - name + - filter + - description + additionalProperties: false + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: connectorId + in: query + required: true + schema: + type: string + - name: currentDate + in: query + required: false + schema: + type: string + - name: from + in: query + required: true + schema: + type: string + - name: to + in: query + required: true + schema: + type: string + operationId: post-streams-name-significant-events-generate + x-state: Technical Preview; added in 9.2.0 + /api/streams/{name}/queries: + get: + summary: Get stream queries + tags: + - streams + description: 'Fetches all queries linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name-queries + x-state: Technical Preview + /api/streams/{name}/queries/{queryId}: + put: + summary: Upsert a query to a stream + tags: + - streams + description: 'Adds a query to a stream. Noop if the query is already present on the stream.

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + title: + type: string + minLength: 1 + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - title + - kql + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: queryId + in: path + required: true + schema: + type: string + operationId: put-streams-name-queries-queryid + x-state: Technical Preview + delete: + summary: Remove a query from a stream + tags: + - streams + description: 'Remove a query from a stream. Noop if the query is not found on the stream.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: queryId + in: path + required: true + schema: + type: string + operationId: delete-streams-name-queries-queryid + x-state: Technical Preview + /api/streams/{name}/queries/_bulk: + post: + summary: Bulk update queries + tags: + - streams + description: 'Bulk update queries of a stream. Can add new queries and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' + requestBody: + content: + application/json: + schema: + type: object + properties: + operations: + type: array + items: + anyOf: + - type: object + properties: + index: + allOf: + - type: object + properties: + id: + type: string + minLength: 1 + title: + type: string + minLength: 1 + required: + - id + - title + - type: object + properties: + feature: + type: object + properties: + name: + type: string + minLength: 1 + filter: + $ref: '#/components/schemas/StreamlangCondition' + required: + - name + - filter + additionalProperties: false + kql: + type: object + properties: + query: + type: string + required: + - query + additionalProperties: false + required: + - kql + required: + - index + additionalProperties: false + - type: object + properties: + delete: + type: object + properties: + id: + type: string + required: + - id + additionalProperties: false + required: + - delete + additionalProperties: false + required: + - operations + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + operationId: post-streams-name-queries-bulk + x-state: Technical Preview + /api/streams/{name}/rules: + get: + summary: Get stream rules + tags: + - streams + description: 'Fetches all rules linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' + responses: {} + parameters: + - name: name + in: path + required: true + schema: + type: string + operationId: get-streams-name-rules + x-state: Technical Preview + /api/streams/{name}/rules/{ruleId}: + put: + summary: Link a rule to a stream + tags: + - streams + description: 'Links a rule to a stream. Noop if the rule is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: ruleId + in: path + required: true + schema: + type: string + operationId: put-streams-name-rules-ruleid + x-state: Technical Preview + delete: + summary: Unlink a rule from a stream + tags: + - streams + description: 'Unlinks a rule from a stream. Noop if the rule is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: name + in: path + required: true + schema: + type: string + - name: ruleId + in: path + required: true + schema: + type: string + operationId: delete-streams-name-rules-ruleid + x-state: Technical Preview + /api/observability/rules/alerts/dynamic_index_pattern: + get: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-observability-rules-alerts-dynamic-index-pattern + /api/observability/slos: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-slos + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_read.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-observability-slos + /api/observability/slos/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: delete-observability-slos-id + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_read.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + operationId: get-observability-slos-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-observability-slos-id + /api/observability/slos/_delete_instances: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-slos-delete-instances + /api/observability/slos/_bulk_purge_rollup: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-slos-bulk-purge-rollup + /api/observability/slos/{id}/disable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: post-observability-slos-id-disable + /api/observability/slos/{id}/enable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: post-observability-slos-id-enable + /api/observability/slos/_definitions: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_read.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-observability-slos-definitions + /api/observability/slos/{id}/_reset: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: post-observability-slos-id-reset + /api/observability/slos/_bulk_delete: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-observability-slos-bulk-delete + /api/observability/slos/_bulk_delete/{taskId}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: slo_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - name: taskId + in: path + required: true + schema: + type: string + operationId: get-observability-slos-bulk-delete-taskid + /api/fleet/check-permissions: + get: + summary: Check permissions + tags: + - Fleet internals + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + error: + type: string + enum: + - MISSING_SECURITY + - MISSING_PRIVILEGES + - MISSING_FLEET_SERVER_SETUP_PRIVILEGES + additionalProperties: false + required: + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: fleetServerSetup + in: query + required: false + schema: + type: boolean + operationId: get-fleet-check-permissions + /api/fleet/service_tokens: + post: + summary: Create a service token + tags: + - Fleet service tokens + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + remote: + type: boolean + default: false + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + name: + type: string + value: + type: string + additionalProperties: false + required: + - name + - value + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-service-tokens + /api/fleet/epm/categories: + get: + summary: Get package categories + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + title: + type: string + count: + type: number + parent_id: + type: string + parent_title: + type: string + additionalProperties: false + required: + - id + - title + - count + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: prerelease + in: query + required: false + schema: + type: boolean + - name: include_policy_templates + in: query + required: false + schema: + type: boolean + operationId: get-fleet-epm-categories + /api/fleet/epm/packages: + get: + summary: Get packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + status: + type: string + installationInfo: + type: object + properties: + type: + type: string + created_at: + type: string + updated_at: + type: string + namespaces: + type: array + items: + type: string + installed_kibana: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + additional_spaces_installed_kibana: + type: object + additionalProperties: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + installed_es: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: true + required: + - id + - type + name: + type: string + version: + type: string + install_status: + type: string + enum: + - installed + - installing + - install_failed + install_source: + type: string + enum: + - registry + - upload + - bundled + - custom + installed_kibana_space_id: + type: string + install_format_schema_version: + type: string + verification_status: + type: string + enum: + - unverified + - verified + - unknown + verification_key_id: + nullable: true + type: string + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: true + additionalProperties: true + required: + - data_stream + - features + latest_install_failed_attempts: + type: array + items: + type: object + properties: + created_at: + type: string + target_version: + type: string + error: + type: object + properties: + name: + type: string + message: + type: string + stack: + type: string + additionalProperties: true + required: + - name + - message + additionalProperties: true + required: + - created_at + - target_version + - error + latest_executed_state: + type: object + properties: + name: + type: string + started_at: + type: string + error: + type: string + additionalProperties: true + previous_version: + nullable: true + type: string + rolled_back: + type: boolean + is_rollback_ttl_expired: + type: boolean + additionalProperties: true + required: + - type + - installed_kibana + - installed_es + - name + - version + - install_status + - install_source + - verification_status + name: + type: string + version: + type: string + description: + type: string + title: + type: string + icons: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: true + required: + - src + conditions: + type: object + properties: + kibana: + type: object + properties: + version: + type: string + additionalProperties: true + elastic: + type: object + properties: + subscription: + type: string + capabilities: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + release: + type: string + enum: + - ga + - beta + - experimental + type: + anyOf: + - type: string + enum: + - integration + - type: string + enum: + - input + - type: string + enum: + - content + - type: string + path: + type: string + download: + type: string + internal: + type: boolean + data_streams: + type: array + items: + type: object + additionalProperties: {} + policy_templates: + type: array + items: + type: object + additionalProperties: {} + categories: + type: array + items: + type: string + owner: + type: object + properties: + github: + type: string + type: + type: string + enum: + - elastic + - partner + - community + additionalProperties: true + readme: + type: string + signature_path: + type: string + source: + type: object + properties: + license: + type: string + additionalProperties: true + required: + - license + format_version: + type: string + vars: + type: array + items: + type: object + additionalProperties: {} + latestVersion: + type: string + discovery: + type: object + properties: + fields: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + datasets: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + additionalProperties: true + id: + type: string + integration: + type: string + additionalProperties: true + required: + - name + - version + - title + - id + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: category + in: query + required: false + schema: + type: string + - name: prerelease + in: query + required: false + schema: + type: boolean + - name: excludeInstallStatus + in: query + required: false + schema: + type: boolean + - name: withPackagePoliciesCount + in: query + required: false + schema: + type: boolean + operationId: get-fleet-epm-packages + post: + summary: Install a package by upload + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/gzip; application/zip: + schema: + type: string + format: binary + responses: + '200': + description: 'OK: A successful request.' + content: + application/gzip; application/zip: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: false + required: + - id + - type + - type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: false + required: + - id + - type + _meta: + type: object + properties: + install_source: + type: string + name: + type: string + additionalProperties: false + required: + - install_source + - name + additionalProperties: false + required: + - items + - _meta + '400': + description: A bad request. + content: + application/gzip; application/zip: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: ignoreMappingUpdateErrors + in: query + required: false + schema: + type: boolean + default: false + - name: skipDataStreamRollover + in: query + required: false + schema: + type: boolean + default: false + operationId: post-fleet-epm-packages + /api/fleet/epm/packages/installed: + get: + summary: Get installed packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + version: + type: string + status: + type: string + title: + type: string + description: + type: string + icons: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: false + required: + - src + dataStreams: + type: array + items: + type: object + properties: + name: + type: string + title: + type: string + additionalProperties: false + required: + - name + - title + additionalProperties: false + required: + - name + - version + - status + - dataStreams + total: + type: number + searchAfter: + type: array + items: + anyOf: + - type: string + - type: number + - type: boolean + - enum: [] + nullable: true + - {} + additionalProperties: false + required: + - items + - total + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: dataStreamType + in: query + required: false + schema: + type: string + enum: + - logs + - metrics + - traces + - synthetics + - profiling + - name: showOnlyActiveDataStreams + in: query + required: false + schema: + type: boolean + - name: nameQuery + in: query + required: false + schema: + type: string + - name: searchAfter + in: query + required: false + schema: + type: array + items: + anyOf: + - type: string + - type: number + - name: perPage + in: query + required: false + schema: + type: number + default: 15 + - name: sortOrder + in: query + required: false + schema: + default: asc + type: string + enum: + - asc + - desc + operationId: get-fleet-epm-packages-installed + /api/fleet/epm/packages/limited: + get: + summary: Get a limited package list + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: string + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-epm-packages-limited + /api/fleet/epm/packages/{pkgName}/stats: + get: + summary: Get package stats + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + response: + type: object + properties: + agent_policy_count: + type: number + package_policy_count: + type: number + additionalProperties: false + required: + - agent_policy_count + - package_policy_count + additionalProperties: false + required: + - response + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: pkgName + in: path + required: true + schema: + type: string + operationId: get-fleet-epm-packages-pkgname-stats + /api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs: + get: + summary: Get an inputs template + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + anyOf: + - type: string + - type: object + properties: + inputs: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + streams: + type: array + items: + type: object + properties: + id: + type: string + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + additionalProperties: true + required: + - dataset + additionalProperties: true + required: + - id + - data_stream + additionalProperties: false + required: + - id + - type + additionalProperties: false + required: + - inputs + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + default: json + type: string + enum: + - json + - yml + - yaml + - name: prerelease + in: query + required: false + schema: + type: boolean + - name: ignoreUnverified + in: query + required: false + schema: + type: boolean + operationId: get-fleet-epm-templates-pkgname-pkgversion-inputs + /api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}: + get: + summary: Get a package file + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: {} + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + - name: filePath + in: path + required: true + schema: + type: string + operationId: get-fleet-epm-packages-pkgname-pkgversion-filepath + /api/fleet/epm/packages/{pkgName}/{pkgVersion}: + get: + summary: Get a package + tags: + - Elastic Package Manager (EPM) + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + status: + type: string + installationInfo: + type: object + properties: + type: + type: string + created_at: + type: string + updated_at: + type: string + namespaces: + type: array + items: + type: string + installed_kibana: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + additional_spaces_installed_kibana: + type: object + additionalProperties: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + installed_es: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: true + required: + - id + - type + name: + type: string + version: + type: string + install_status: + type: string + enum: + - installed + - installing + - install_failed + install_source: + type: string + enum: + - registry + - upload + - bundled + - custom + installed_kibana_space_id: + type: string + install_format_schema_version: + type: string + verification_status: + type: string + enum: + - unverified + - verified + - unknown + verification_key_id: + nullable: true + type: string + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: true + additionalProperties: true + required: + - data_stream + - features + latest_install_failed_attempts: + type: array + items: + type: object + properties: + created_at: + type: string + target_version: + type: string + error: + type: object + properties: + name: + type: string + message: + type: string + stack: + type: string + additionalProperties: true + required: + - name + - message + additionalProperties: true + required: + - created_at + - target_version + - error + latest_executed_state: + type: object + properties: + name: + type: string + started_at: + type: string + error: + type: string + additionalProperties: true + previous_version: + nullable: true + type: string + rolled_back: + type: boolean + is_rollback_ttl_expired: + type: boolean + additionalProperties: true + required: + - type + - installed_kibana + - installed_es + - name + - version + - install_status + - install_source + - verification_status + name: + type: string + version: + type: string + description: + type: string + title: + type: string + icons: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: true + required: + - src + conditions: + type: object + properties: + kibana: + type: object + properties: + version: + type: string + additionalProperties: true + elastic: + type: object + properties: + subscription: + type: string + capabilities: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + release: + type: string + enum: + - ga + - beta + - experimental + type: + anyOf: + - type: string + enum: + - integration + - type: string + enum: + - input + - type: string + enum: + - content + - type: string + path: + type: string + download: + type: string + internal: + type: boolean + data_streams: + type: array + items: + type: object + additionalProperties: {} + policy_templates: + type: array + items: + type: object + additionalProperties: {} + categories: + type: array + items: + type: string + owner: + type: object + properties: + github: + type: string + type: + type: string + enum: + - elastic + - partner + - community + additionalProperties: true + readme: + type: string + signature_path: + type: string + source: + type: object + properties: + license: + type: string + additionalProperties: true + required: + - license + format_version: + type: string + vars: + type: array + items: + type: object + additionalProperties: {} + latestVersion: + type: string + discovery: + type: object + properties: + fields: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + datasets: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + additionalProperties: true + assets: + type: object + additionalProperties: {} + notice: + type: string + licensePath: + type: string + keepPoliciesUpToDate: + type: boolean + license: + type: string + screenshots: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: false + required: + - src + elasticsearch: + type: object + additionalProperties: {} + agent: + type: object + properties: + privileges: + type: object + properties: + root: + type: boolean + additionalProperties: false + additionalProperties: false + asset_tags: + type: array + items: + type: object + properties: + text: + type: string + asset_types: + type: array + items: + type: string + asset_ids: + type: array + items: + type: string + additionalProperties: false + required: + - text + additionalProperties: true + required: + - name + - version + - title + - assets + metadata: + type: object + properties: + has_policies: + type: boolean + additionalProperties: false + required: + - has_policies + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: false + schema: + type: string + - name: ignoreUnverified + in: query + required: false + schema: + type: boolean + - name: prerelease + in: query + required: false + schema: + type: boolean + - name: full + in: query + required: false + schema: + type: boolean + - name: withMetadata + in: query + required: false + schema: + type: boolean + default: false + operationId: get-fleet-epm-packages-pkgname-pkgversion + put: + summary: Update package settings + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + keepPoliciesUpToDate: + type: boolean + additionalProperties: false + required: + - keepPoliciesUpToDate + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + status: + type: string + installationInfo: + type: object + properties: + type: + type: string + created_at: + type: string + updated_at: + type: string + namespaces: + type: array + items: + type: string + installed_kibana: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + additional_spaces_installed_kibana: + type: object + additionalProperties: + type: array + items: + type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: true + required: + - id + - type + installed_es: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: true + required: + - id + - type + name: + type: string + version: + type: string + install_status: + type: string + enum: + - installed + - installing + - install_failed + install_source: + type: string + enum: + - registry + - upload + - bundled + - custom + installed_kibana_space_id: + type: string + install_format_schema_version: + type: string + verification_status: + type: string + enum: + - unverified + - verified + - unknown + verification_key_id: + nullable: true + type: string + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: true + additionalProperties: true + required: + - data_stream + - features + latest_install_failed_attempts: + type: array + items: + type: object + properties: + created_at: + type: string + target_version: + type: string + error: + type: object + properties: + name: + type: string + message: + type: string + stack: + type: string + additionalProperties: true + required: + - name + - message + additionalProperties: true + required: + - created_at + - target_version + - error + latest_executed_state: + type: object + properties: + name: + type: string + started_at: + type: string + error: + type: string + additionalProperties: true + previous_version: + nullable: true + type: string + rolled_back: + type: boolean + is_rollback_ttl_expired: + type: boolean + additionalProperties: true + required: + - type + - installed_kibana + - installed_es + - name + - version + - install_status + - install_source + - verification_status + name: + type: string + version: + type: string + description: + type: string + title: + type: string + icons: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: true + required: + - src + conditions: + type: object + properties: + kibana: + type: object + properties: + version: + type: string + additionalProperties: true + elastic: + type: object + properties: + subscription: + type: string + capabilities: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + release: + type: string + enum: + - ga + - beta + - experimental + type: + anyOf: + - type: string + enum: + - integration + - type: string + enum: + - input + - type: string + enum: + - content + - type: string + path: + type: string + download: + type: string + internal: + type: boolean + data_streams: + type: array + items: + type: object + additionalProperties: {} + policy_templates: + type: array + items: + type: object + additionalProperties: {} + categories: + type: array + items: + type: string + owner: + type: object + properties: + github: + type: string + type: + type: string + enum: + - elastic + - partner + - community + additionalProperties: true + readme: + type: string + signature_path: + type: string + source: + type: object + properties: + license: + type: string + additionalProperties: true + required: + - license + format_version: + type: string + vars: + type: array + items: + type: object + additionalProperties: {} + latestVersion: + type: string + discovery: + type: object + properties: + fields: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + datasets: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: true + required: + - name + additionalProperties: true + assets: + type: object + additionalProperties: {} + notice: + type: string + licensePath: + type: string + keepPoliciesUpToDate: + type: boolean + license: + type: string + screenshots: + type: array + items: + type: object + properties: + path: + type: string + src: + type: string + title: + type: string + type: + type: string + size: + type: string + dark_mode: + type: boolean + additionalProperties: false + required: + - src + elasticsearch: + type: object + additionalProperties: {} + agent: + type: object + properties: + privileges: + type: object + properties: + root: + type: boolean + additionalProperties: false + additionalProperties: false + asset_tags: + type: array + items: + type: object + properties: + text: + type: string + asset_types: + type: array + items: + type: string + asset_ids: + type: array + items: + type: string + additionalProperties: false + required: + - text + additionalProperties: true + required: + - name + - version + - title + - assets + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: false + schema: + type: string + operationId: put-fleet-epm-packages-pkgname-pkgversion + post: + summary: Install a package from the registry + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + force: + type: boolean + default: false + ignore_constraints: + type: boolean + default: false + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: false + required: + - id + - type + - type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: false + required: + - id + - type + _meta: + type: object + properties: + install_source: + type: string + name: + type: string + additionalProperties: false + required: + - install_source + - name + additionalProperties: false + required: + - items + - _meta + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: false + schema: + type: string + - name: prerelease + in: query + required: false + schema: + type: boolean + - name: ignoreMappingUpdateErrors + in: query + required: false + schema: + type: boolean + default: false + - name: skipDataStreamRollover + in: query + required: false + schema: + type: boolean + default: false + operationId: post-fleet-epm-packages-pkgname-pkgversion + delete: + summary: Delete a package + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: false + required: + - id + - type + - type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: false + required: + - id + - type + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: false + schema: + type: string + - name: force + in: query + required: false + schema: + type: boolean + operationId: delete-fleet-epm-packages-pkgname-pkgversion + /api/fleet/epm/packages/{pkgName}/{pkgVersion}/rule_assets: + post: + summary: Install Kibana alert rule for a package + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + force: + type: boolean + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + additionalProperties: false + required: + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + operationId: post-fleet-epm-packages-pkgname-pkgversion-rule-assets + /api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets: + post: + summary: Install Kibana assets for a package + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + force: + type: boolean + space_ids: + type: array + description: When provided install assets in the specified spaces instead of the current space. + minItems: 1 + items: + type: string + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + additionalProperties: false + required: + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + operationId: post-fleet-epm-packages-pkgname-pkgversion-kibana-assets + delete: + summary: Delete Kibana assets for a package + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + additionalProperties: false + required: + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + operationId: delete-fleet-epm-packages-pkgname-pkgversion-kibana-assets + /api/fleet/epm/packages/_bulk_upgrade: + post: + summary: Bulk upgrade packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packages: + type: array + minItems: 1 + items: + type: object + properties: + name: + type: string + version: + type: string + additionalProperties: false + required: + - name + prerelease: + type: boolean + force: + type: boolean + default: false + upgrade_package_policies: + type: boolean + default: false + additionalProperties: false + required: + - packages + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + taskId: + type: string + additionalProperties: false + required: + - taskId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-epm-packages-bulk-upgrade + /api/fleet/epm/packages/_bulk_uninstall: + post: + summary: Bulk uninstall packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packages: + type: array + minItems: 1 + items: + type: object + properties: + name: + type: string + version: + type: string + additionalProperties: false + required: + - name + - version + force: + type: boolean + default: false + additionalProperties: false + required: + - packages + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + taskId: + type: string + additionalProperties: false + required: + - taskId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-epm-packages-bulk-uninstall + /api/fleet/epm/packages/_bulk_rollback: + post: + summary: Bulk rollback packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packages: + type: array + minItems: 1 + items: + type: object + properties: + name: + type: string + description: Package name to rollback + additionalProperties: false + required: + - name + additionalProperties: false + required: + - packages + examples: + bulkRollbackRequest: + value: + packages: + - name: system + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + taskId: + type: string + additionalProperties: false + required: + - taskId + examples: + successResponse: + value: + taskId: taskId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + examples: + badRequestResponse: + value: + message: Bad Request + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-epm-packages-bulk-rollback + /api/fleet/epm/packages/_bulk_rollback/{taskId}: + get: + summary: Get Bulk rollback packages details + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + status: + type: string + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + results: + type: array + items: + type: object + properties: + name: + type: string + success: + type: boolean + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + additionalProperties: false + required: + - name + - success + additionalProperties: false + required: + - status + examples: + successResponse: + value: + status: success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + examples: + badRequestResponse: + value: + message: Bad Request + parameters: + - name: taskId + in: path + required: true + schema: + type: string + description: Task ID of the bulk operation + operationId: get-fleet-epm-packages-bulk-rollback-taskid + /api/fleet/epm/packages/_bulk_uninstall/{taskId}: + get: + summary: Get Bulk uninstall packages details + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + status: + type: string + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + results: + type: array + items: + type: object + properties: + name: + type: string + success: + type: boolean + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + additionalProperties: false + required: + - name + - success + additionalProperties: false + required: + - status + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: taskId + in: path + required: true + schema: + type: string + description: Task ID of the bulk operation + operationId: get-fleet-epm-packages-bulk-uninstall-taskid + /api/fleet/epm/packages/_bulk_upgrade/{taskId}: + get: + summary: Get Bulk upgrade packages details + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + status: + type: string + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + results: + type: array + items: + type: object + properties: + name: + type: string + success: + type: boolean + error: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + additionalProperties: false + required: + - name + - success + additionalProperties: false + required: + - status + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: taskId + in: path + required: true + schema: + type: string + description: Task ID of the bulk operation + operationId: get-fleet-epm-packages-bulk-upgrade-taskid + /api/fleet/epm/packages/_bulk: + post: + summary: Bulk install packages + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packages: + type: array + minItems: 1 + items: + anyOf: + - type: string + - type: object + properties: + name: + type: string + version: + type: string + prerelease: + type: boolean + additionalProperties: false + required: + - name + - version + force: + type: boolean + default: false + additionalProperties: false + required: + - packages + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + name: + type: string + version: + type: string + result: + type: object + properties: + assets: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: false + required: + - id + - type + - type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: false + required: + - id + - type + status: + type: string + enum: + - installed + - already_installed + error: {} + installType: + type: string + installSource: + type: string + additionalProperties: false + required: + - error + - installType + additionalProperties: false + required: + - name + - version + - result + - type: object + properties: + name: + type: string + statusCode: + type: number + error: + anyOf: + - type: string + - {} + additionalProperties: false + required: + - name + - statusCode + - error + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: prerelease + in: query + required: false + schema: + type: boolean + operationId: post-fleet-epm-packages-bulk + /api/fleet/epm/custom_integrations: + post: + summary: Create a custom integration + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + integrationName: + type: string + datasets: + type: array + items: + type: object + properties: + name: + type: string + type: + type: string + enum: + - logs + - metrics + - traces + - synthetics + - profiling + additionalProperties: false + required: + - name + - type + force: + type: boolean + additionalProperties: false + required: + - integrationName + - datasets + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + originId: + type: string + deferred: + type: boolean + type: + anyOf: + - type: string + enum: + - dashboard + - lens + - visualization + - search + - index-pattern + - map + - ml-module + - security-rule + - csp-rule-template + - osquery-pack-asset + - osquery-saved-query + - tag + - type: string + additionalProperties: false + required: + - id + - type + - type: object + properties: + id: + type: string + type: + type: string + enum: + - index + - index_template + - component_template + - ingest_pipeline + - ilm_policy + - data_stream_ilm_policy + - transform + - ml_model + - knowledge_base + deferred: + type: boolean + version: + type: string + additionalProperties: false + required: + - id + - type + _meta: + type: object + properties: + install_source: + type: string + name: + type: string + additionalProperties: false + required: + - install_source + - name + additionalProperties: false + required: + - items + - _meta + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-epm-custom-integrations + /api/fleet/epm/verification_key_id: + get: + summary: Get a package signature verification key ID + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + nullable: true + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-epm-verification-key-id + /api/fleet/epm/data_streams: + get: + summary: Get data streams + tags: + - Data streams + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + additionalProperties: false + required: + - name + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: type + in: query + required: false + schema: + type: string + enum: + - logs + - metrics + - traces + - synthetics + - profiling + - name: datasetQuery + in: query + required: false + schema: + type: string + - name: sortOrder + in: query + required: false + schema: + default: asc + type: string + enum: + - asc + - desc + - name: uncategorisedOnly + in: query + required: false + schema: + type: boolean + default: false + operationId: get-fleet-epm-data-streams + /api/fleet/epm/bulk_assets: + post: + summary: Bulk get assets + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + assetIds: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + additionalProperties: false + required: + - id + - type + additionalProperties: false + required: + - assetIds + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + appLink: + type: string + id: + type: string + type: + type: string + updatedAt: + type: string + attributes: + type: object + properties: + service: + type: string + title: + type: string + description: + type: string + additionalProperties: false + additionalProperties: false + required: + - id + - type + - attributes + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-epm-bulk-assets + /api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize: + post: + summary: Authorize transforms + tags: + - Elastic Package Manager (EPM) + requestBody: + content: + application/json: + schema: + type: object + properties: + transforms: + type: array + items: + type: object + properties: + transformId: + type: string + additionalProperties: false + required: + - transformId + additionalProperties: false + required: + - transforms + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: array + items: + type: object + properties: + transformId: + type: string + success: + type: boolean + error: + nullable: true + additionalProperties: false + required: + - transformId + - success + - error + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + - name: prerelease + in: query + required: false + schema: + type: boolean + operationId: post-fleet-epm-packages-pkgname-pkgversion-transforms-authorize + /api/fleet/epm/custom_integrations/{pkgName}: + put: + summary: Update a custom integration + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + readMeData: + type: string + categories: + type: array + items: + type: string + additionalProperties: false + required: + - readMeData + responses: + '200': + description: 'OK: A successful request.' + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + operationId: put-fleet-epm-custom-integrations-pkgname + /api/fleet/epm/packages/{pkgName}/{pkgVersion}/datastream_assets: + delete: + summary: Delete assets for an input package + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + success: + type: boolean + additionalProperties: false + required: + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + - name: pkgVersion + in: path + required: true + schema: + type: string + - name: packagePolicyId + in: query + required: true + schema: + type: string + operationId: delete-fleet-epm-packages-pkgname-pkgversion-datastream-assets + /api/fleet/epm/packages/{pkgName}/rollback: + post: + summary: Rollback a package to previous version + tags: + - Elastic Package Manager (EPM) + description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + version: + type: string + success: + type: boolean + additionalProperties: false + required: + - version + - success + examples: + successResponse: + value: + version: 1.0.0 + success: true + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + examples: + badRequestResponse: + value: + message: Bad Request + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: pkgName + in: path + required: true + schema: + type: string + description: Package name to roll back + operationId: post-fleet-epm-packages-pkgname-rollback + x-state: Technical Preview; added in 9.1.0 + /api/fleet/setup: + post: + summary: Initiate Fleet setup + tags: + - Fleet internals + description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + description: A summary of the result of Fleet's `setup` lifecycle. If `isInitialized` is true, Fleet is ready to accept agent enrollment. `nonFatalErrors` may include useful insight into non-blocking issues with Fleet setup. + properties: + isInitialized: + type: boolean + nonFatalErrors: + type: array + items: + type: object + properties: + name: + type: string + message: + type: string + additionalProperties: false + required: + - name + - message + additionalProperties: false + required: + - isInitialized + - nonFatalErrors + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '500': + description: An internal server error occurred. + content: + application/json: + schema: + type: object + description: Internal Server Error + properties: + message: + type: string + additionalProperties: false + required: + - message + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-setup + /api/fleet/agents/setup: + get: + summary: Get agent setup info + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + description: A summary of the agent setup status. `isReady` indicates whether the setup is ready. If the setup is not ready, `missing_requirements` lists which requirements are missing. + properties: + isReady: + type: boolean + missing_requirements: + type: array + items: + type: string + enum: + - security_required + - tls_required + - api_keys + - fleet_admin_user + - fleet_server + missing_optional_features: + type: array + items: + type: string + enum: + - encrypted_saved_object_encryption_key_required + package_verification_key_id: + type: string + is_space_awareness_enabled: + type: boolean + is_secrets_storage_enabled: + type: boolean + is_action_secrets_storage_enabled: + type: boolean + additionalProperties: false + required: + - isReady + - missing_requirements + - missing_optional_features + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-agents-setup + post: + summary: Initiate agent setup + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + description: A summary of the result of Fleet's `setup` lifecycle. If `isInitialized` is true, Fleet is ready to accept agent enrollment. `nonFatalErrors` may include useful insight into non-blocking issues with Fleet setup. + properties: + isInitialized: + type: boolean + nonFatalErrors: + type: array + items: + type: object + properties: + name: + type: string + message: + type: string + additionalProperties: false + required: + - name + - message + additionalProperties: false + required: + - isInitialized + - nonFatalErrors + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-setup + /api/fleet/agent_policies: + get: + summary: Get agent policies + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: number + - name: perPage + in: query + required: false + schema: + type: number + - name: sortField + in: query + required: false + schema: + type: string + - name: sortOrder + in: query + required: false + schema: + type: string + enum: + - desc + - asc + - name: showUpgradeable + in: query + required: false + schema: + type: boolean + - name: kuery + in: query + required: false + schema: + type: string + - name: noAgentCount + in: query + required: false + schema: + type: boolean + deprecated: true + description: use withAgentCount instead + - name: withAgentCount + in: query + required: false + schema: + type: boolean + description: get policies with agent count + - name: full + in: query + required: false + schema: + type: boolean + description: get full policies with package policies populated + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: get-fleet-agent-policies + post: + summary: Create an agent policy + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + force: + type: boolean + additionalProperties: false + required: + - name + - namespace + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: sys_monitoring + in: query + required: false + schema: + type: boolean + operationId: post-fleet-agent-policies + /api/fleet/agent_policies/_bulk_get: + post: + summary: Bulk get agent policies + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' + requestBody: + content: + application/json: + schema: + type: object + properties: + ids: + type: array + description: list of package policy ids + items: + type: string + ignoreMissing: + type: boolean + full: + type: boolean + description: get full policies with package policies populated + additionalProperties: false + required: + - ids + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: post-fleet-agent-policies-bulk-get + /api/fleet/agent_policies/{agentPolicyId}: + get: + summary: Get an agent policy + tags: + - Elastic Agent policies + description: 'Get an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: get-fleet-agent-policies-agentpolicyid + put: + summary: Update an agent policy + tags: + - Elastic Agent policies + description: 'Update an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + force: + type: boolean + bumpRevision: + type: boolean + additionalProperties: false + required: + - name + - namespace + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentPolicyId + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: put-fleet-agent-policies-agentpolicyid + /api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status: + get: + summary: Get auto upgrade agent status + tags: + - Elastic Agent policies + description: 'Get auto upgrade agent status

[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + currentVersions: + type: array + items: + type: object + properties: + version: + type: string + agents: + type: number + failedUpgradeAgents: + type: number + failedUpgradeActionIds: + type: array + items: + type: string + additionalProperties: false + required: + - version + - agents + - failedUpgradeAgents + totalAgents: + type: number + additionalProperties: false + required: + - currentVersions + - totalAgents + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: path + required: true + schema: + type: string + operationId: get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status + /internal/fleet/agent_and_package_policies: + post: + summary: Create an agent policy and its package policies in one request + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + force: + type: boolean + package_policies: + type: array + items: + description: You should use inputs as an object and not use the deprecated inputs array. + anyOf: + - type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + additionalProperties: false + required: + - type + - enabled + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + spaceIds: + type: array + items: + type: string + id: + type: string + description: Package policy unique identifier + force: + type: boolean + description: Force package policy creation even if package is not verified, or if the agent policy is managed. + additionalProperties: false + required: + - name + - inputs + - type: object + properties: + id: + type: string + name: + type: string + description: + type: string + namespace: + type: string + output_id: + nullable: true + type: string + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + inputs: + type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + policy_id: + nullable: true + type: string + policy_ids: + type: array + items: + type: string + force: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + additionalProperties: false + required: + - name + - package + additionalProperties: false + required: + - name + - namespace + - package_policies + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: sys_monitoring + in: query + required: false + schema: + type: boolean + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: post-fleet-agent-and-package-policies + /api/fleet/agent_policies/{agentPolicyId}/copy: + post: + summary: Copy an agent policy + tags: + - Elastic Agent policies + description: 'Copy an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + description: + type: string + additionalProperties: false + required: + - name + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + space_ids: + type: array + items: + type: string + name: + type: string + minLength: 1 + namespace: + type: string + minLength: 1 + description: + type: string + is_managed: + type: boolean + has_fleet_server: + type: boolean + is_default: + type: boolean + is_default_fleet_server: + type: boolean + unenroll_timeout: + type: number + minimum: 0 + inactivity_timeout: + type: number + default: 1209600 + minimum: 0 + monitoring_enabled: + type: array + items: + type: string + enum: + - logs + - metrics + - traces + keep_monitoring_alive: + nullable: true + type: boolean + description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled + default: false + data_output_id: + nullable: true + type: string + monitoring_output_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + fleet_server_host_id: + nullable: true + type: string + agent_features: + type: array + items: + type: object + properties: + name: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - name + - enabled + is_protected: + type: boolean + description: Indicates whether the agent policy has tamper protection enabled. Default false. + overrides: + nullable: true + type: object + description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. + additionalProperties: {} + advanced_settings: + type: object + properties: + agent_limits_go_max_procs: + nullable: true + agent_download_timeout: + nullable: true + agent_download_target_directory: + nullable: true + agent_logging_metrics_period: + nullable: true + agent_logging_level: + nullable: true + agent_logging_to_files: + nullable: true + agent_logging_files_rotateeverybytes: + nullable: true + agent_logging_files_keepfiles: + nullable: true + agent_logging_files_interval: + nullable: true + agent_monitoring_runtime_experimental: + nullable: true + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the agent policy supports agentless integrations. + default: false + global_data_tags: + type: array + description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. + items: + type: object + properties: + name: + type: string + value: + anyOf: + - type: string + - type: number + additionalProperties: false + required: + - name + - value + agentless: + type: object + properties: + cloud_connectors: + type: object + properties: + target_csp: + type: string + enabled: + type: boolean + additionalProperties: false + required: + - enabled + resources: + type: object + properties: + requests: + type: object + properties: + memory: + type: string + cpu: + type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + monitoring_pprof_enabled: + type: boolean + monitoring_http: + type: object + properties: + enabled: + type: boolean + host: + type: string + port: + type: number + minimum: 0 + maximum: 65353 + buffer: + type: object + properties: + enabled: + type: boolean + default: false + additionalProperties: false + additionalProperties: false + monitoring_diagnostics: + type: object + properties: + limit: + type: object + properties: + interval: + type: string + burst: + type: number + additionalProperties: false + uploader: + type: object + properties: + max_retries: + type: number + init_dur: + type: string + max_dur: + type: string + additionalProperties: false + additionalProperties: false + required_versions: + nullable: true + type: array + items: + type: object + properties: + version: + type: string + description: Target version for automatic agent upgrade + percentage: + type: number + description: Target percentage of agents to auto upgrade + minimum: 0 + maximum: 100 + additionalProperties: false + required: + - version + - percentage + status: + type: string + enum: + - active + - inactive + package_policies: + anyOf: + - type: array + items: + type: string + - type: array + description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + updated_at: + type: string + updated_by: + type: string + revision: + type: number + agents: + type: number + unprivileged_agents: + type: number + fips_agents: + type: number + version: + type: string + is_preconfigured: + type: boolean + schema_version: + type: string + additionalProperties: false + required: + - id + - name + - namespace + - is_managed + - is_protected + - status + - updated_at + - updated_by + - revision + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentPolicyId + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: post-fleet-agent-policies-agentpolicyid-copy + /api/fleet/agent_policies/delete: + post: + summary: Delete an agent policy + tags: + - Elastic Agent policies + description: 'Delete an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agentPolicyId: + type: string + force: + type: boolean + description: bypass validation checks that can prevent agent policy deletion + additionalProperties: false + required: + - agentPolicyId + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agent-policies-delete + /api/fleet/agent_policies/{agentPolicyId}/full: + get: + summary: Get a full agent policy + tags: + - Elastic Agent policies + description: 'Get a full agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + anyOf: + - type: string + - type: object + properties: + id: + type: string + namespaces: + type: array + items: + type: string + outputs: + type: object + additionalProperties: + type: object + properties: + type: + type: string + hosts: + type: array + items: + type: string + ca_sha256: + nullable: true + type: string + proxy_url: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + additionalProperties: true + required: + - type + output_permissions: + type: object + additionalProperties: + type: object + additionalProperties: {} + fleet: + anyOf: + - type: object + properties: + hosts: + type: array + items: + type: string + proxy_url: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + ssl: + type: object + properties: + verification_mode: + type: string + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + renegotiation: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + type: object + properties: + id: + type: string + additionalProperties: true + additionalProperties: true + required: + - key + additionalProperties: true + additionalProperties: false + required: + - hosts + - type: object + properties: + kibana: + type: object + properties: + hosts: + type: array + items: + type: string + protocol: + type: string + path: + type: string + additionalProperties: false + required: + - hosts + - protocol + additionalProperties: false + required: + - kibana + inputs: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + revision: + type: number + type: + type: string + data_stream: + type: object + properties: + namespace: + type: string + additionalProperties: true + required: + - namespace + use_output: + type: string + package_policy_id: + type: string + meta: + type: object + properties: + package: + type: object + properties: + name: + type: string + version: + type: string + additionalProperties: true + required: + - name + - version + additionalProperties: true + streams: + type: array + items: + type: object + properties: + id: + type: string + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + additionalProperties: true + required: + - dataset + additionalProperties: true + required: + - id + - data_stream + processors: + type: array + items: + type: object + properties: + add_fields: + type: object + properties: + target: + type: string + fields: + type: object + additionalProperties: + anyOf: + - type: string + - type: number + additionalProperties: true + required: + - target + - fields + additionalProperties: true + required: + - add_fields + additionalProperties: true + required: + - id + - name + - revision + - type + - data_stream + - use_output + - package_policy_id + revision: + type: number + agent: + type: object + properties: + monitoring: + type: object + properties: + namespace: + type: string + use_output: + type: string + enabled: + type: boolean + metrics: + type: boolean + logs: + type: boolean + traces: + type: boolean + apm: {} + _runtime_experimental: + type: string + additionalProperties: false + required: + - enabled + - metrics + - logs + - traces + - apm + download: + type: object + properties: + sourceURI: + type: string + ssl: + type: object + properties: + verification_mode: + type: string + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + renegotiation: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + type: object + properties: + id: + type: string + additionalProperties: true + additionalProperties: true + required: + - key + additionalProperties: true + timeout: + type: string + target_directory: + type: string + proxy_url: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + additionalProperties: false + required: + - sourceURI + features: + type: object + additionalProperties: + type: object + properties: + enabled: + type: boolean + additionalProperties: false + required: + - enabled + protection: + type: object + properties: + enabled: + type: boolean + uninstall_token_hash: + type: string + signing_key: + type: string + additionalProperties: false + required: + - enabled + - uninstall_token_hash + - signing_key + logging: + type: object + properties: + level: + type: string + to_files: + type: boolean + files: + type: object + properties: + rotateeverybytes: + type: number + keepfiles: + type: number + interval: + type: string + additionalProperties: false + metrics: + type: object + properties: + period: + type: string + additionalProperties: false + additionalProperties: false + limits: + type: object + properties: + go_max_procs: + type: number + additionalProperties: false + additionalProperties: false + required: + - monitoring + - download + - features + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + signed: + type: object + properties: + data: + type: string + signature: + type: string + additionalProperties: false + required: + - data + - signature + extensions: + type: object + additionalProperties: {} + receivers: + type: object + additionalProperties: {} + processors: + type: object + additionalProperties: {} + connectors: + type: object + additionalProperties: {} + exporters: + type: object + additionalProperties: {} + service: + type: object + properties: + extensions: + type: array + items: + type: string + pipelines: + type: object + additionalProperties: + type: object + properties: + receivers: + type: array + items: + type: string + processors: + type: array + items: + type: string + exporters: + type: array + items: + type: string + additionalProperties: false + x-oas-optional: true + additionalProperties: false + additionalProperties: false + required: + - id + - outputs + - inputs + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: path + required: true + schema: + type: string + - name: download + in: query + required: false + schema: + type: boolean + - name: standalone + in: query + required: false + schema: + type: boolean + - name: kubernetes + in: query + required: false + schema: + type: boolean + operationId: get-fleet-agent-policies-agentpolicyid-full + /api/fleet/agent_policies/{agentPolicyId}/download: + get: + summary: Download an agent policy + tags: + - Elastic Agent policies + description: 'Download an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: string + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: path + required: true + schema: + type: string + - name: download + in: query + required: false + schema: + type: boolean + - name: standalone + in: query + required: false + schema: + type: boolean + - name: kubernetes + in: query + required: false + schema: + type: boolean + operationId: get-fleet-agent-policies-agentpolicyid-download + /api/fleet/kubernetes: + get: + summary: Get a full K8s agent manifest + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: string + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: download + in: query + required: false + schema: + type: boolean + - name: fleetServer + in: query + required: false + schema: + type: string + - name: enrolToken + in: query + required: false + schema: + type: string + operationId: get-fleet-kubernetes + /api/fleet/kubernetes/download: + get: + summary: Download an agent manifest + tags: + - Elastic Agent policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: string + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: download + in: query + required: false + schema: + type: boolean + - name: fleetServer + in: query + required: false + schema: + type: string + - name: enrolToken + in: query + required: false + schema: + type: string + operationId: get-fleet-kubernetes-download + /api/fleet/agent_policies/outputs: + post: + summary: Get outputs for agent policies + tags: + - Elastic Agent policies + description: 'Get a list of outputs associated with agent policies.

[Required authorization] Route required privileges: fleet-agent-policies-read AND fleet-settings-read.' + requestBody: + content: + application/json: + schema: + type: object + properties: + ids: + type: array + description: list of package policy ids + items: + type: string + additionalProperties: false + required: + - ids + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + agentPolicyId: + type: string + monitoring: + type: object + properties: + output: + type: object + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + additionalProperties: false + required: + - output + data: + type: object + properties: + output: + type: object + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + integrations: + type: array + items: + type: object + properties: + pkgName: + type: string + integrationPolicyName: + type: string + id: + type: string + name: + type: string + additionalProperties: false + additionalProperties: false + required: + - output + additionalProperties: false + required: + - monitoring + - data + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agent-policies-outputs + /api/fleet/agent_policies/{agentPolicyId}/outputs: + get: + summary: Get outputs for an agent policy + tags: + - Elastic Agent policies + description: 'Get a list of outputs associated with agent policy by policy id.

[Required authorization] Route required privileges: fleet-agent-policies-read AND fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + agentPolicyId: + type: string + monitoring: + type: object + properties: + output: + type: object + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + additionalProperties: false + required: + - output + data: + type: object + properties: + output: + type: object + properties: + id: + type: string + name: + type: string + additionalProperties: false + required: + - id + - name + integrations: + type: array + items: + type: object + properties: + pkgName: + type: string + integrationPolicyName: + type: string + id: + type: string + name: + type: string + additionalProperties: false + additionalProperties: false + required: + - output + additionalProperties: false + required: + - monitoring + - data + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: path + required: true + schema: + type: string + operationId: get-fleet-agent-policies-agentpolicyid-outputs + /api/fleet/package_policies: + get: + summary: Get package policies + tags: + - Fleet package policies + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: number + - name: perPage + in: query + required: false + schema: + type: number + - name: sortField + in: query + required: false + schema: + type: string + - name: sortOrder + in: query + required: false + schema: + type: string + enum: + - desc + - asc + - name: showUpgradeable + in: query + required: false + schema: + type: boolean + - name: kuery + in: query + required: false + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + - name: withAgentCount + in: query + required: false + schema: + type: boolean + operationId: get-fleet-package-policies + post: + summary: Create a package policy + tags: + - Fleet package policies + requestBody: + content: + application/json: + schema: + description: You should use inputs as an object and not use the deprecated inputs array. + anyOf: + - type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + additionalProperties: false + required: + - type + - enabled + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + spaceIds: + type: array + items: + type: string + id: + type: string + description: Package policy unique identifier + force: + type: boolean + description: Force package policy creation even if package is not verified, or if the agent policy is managed. + additionalProperties: false + required: + - name + - inputs + - type: object + properties: + id: + type: string + name: + type: string + description: + type: string + namespace: + type: string + output_id: + nullable: true + type: string + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + inputs: + type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + policy_id: + nullable: true + type: string + policy_ids: + type: array + items: + type: string + force: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + additionalProperties: false + required: + - name + - package + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '409': + description: A conflict occurred. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: post-fleet-package-policies + /api/fleet/package_policies/_bulk_get: + post: + summary: Bulk get package policies + tags: + - Fleet package policies + requestBody: + content: + application/json: + schema: + type: object + properties: + ids: + type: array + description: list of package policy ids + items: + type: string + ignoreMissing: + type: boolean + additionalProperties: false + required: + - ids + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: post-fleet-package-policies-bulk-get + /api/fleet/package_policies/{packagePolicyId}: + get: + summary: Get a package policy + tags: + - Fleet package policies + description: Get a package policy by ID. + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + parameters: + - name: packagePolicyId + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: get-fleet-package-policies-packagepolicyid + put: + summary: Update a package policy + tags: + - Fleet package policies + description: Update a package policy by ID. + requestBody: + content: + application/json: + schema: + anyOf: + - type: object + properties: + name: + type: string + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + additionalProperties: false + required: + - type + - enabled + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + spaceIds: + type: array + items: + type: string + version: + type: string + force: + type: boolean + additionalProperties: false + - type: object + properties: + id: + type: string + name: + type: string + description: + type: string + namespace: + type: string + output_id: + nullable: true + type: string + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + inputs: + type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + policy_id: + nullable: true + type: string + policy_ids: + type: array + items: + type: string + force: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + additionalProperties: false + required: + - name + - package + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '403': + description: Forbidden. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: packagePolicyId + in: path + required: true + schema: + type: string + - name: format + in: query + required: false + schema: + type: string + enum: + - simplified + - legacy + operationId: put-fleet-package-policies-packagepolicyid + delete: + summary: Delete a package policy + tags: + - Fleet package policies + description: 'Delete a package policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: packagePolicyId + in: path + required: true + schema: + type: string + - name: force + in: query + required: false + schema: + type: boolean + operationId: delete-fleet-package-policies-packagepolicyid + /internal/fleet/orphaned_integration_policies: + get: + summary: '' + tags: [] + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - id + - revision + - updated_at + - updated_by + - created_at + - created_by + total: + type: number + additionalProperties: false + required: + - items + - total + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-orphaned-integration-policies + /api/fleet/package_policies/delete: + post: + summary: Bulk delete package policies + tags: + - Fleet package policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packagePolicyIds: + type: array + items: + type: string + force: + type: boolean + additionalProperties: false + required: + - packagePolicyIds + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + success: + type: boolean + name: + type: string + statusCode: + type: number + body: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + policy_id: + nullable: true + type: string + description: Use `policy_ids` instead + deprecated: true + policy_ids: + type: array + items: + type: string + output_id: + nullable: true + type: string + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + additionalProperties: false + required: + - id + - success + - policy_ids + - package + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-package-policies-delete + /api/fleet/package_policies/upgrade: + post: + summary: Upgrade a package policy + tags: + - Fleet package policies + description: 'Upgrade a package policy to a newer package version.

[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packagePolicyIds: + type: array + items: + type: string + additionalProperties: false + required: + - packagePolicyIds + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + success: + type: boolean + name: + type: string + statusCode: + type: number + body: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + additionalProperties: false + required: + - id + - success + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-package-policies-upgrade + /api/fleet/package_policies/upgrade/dryrun: + post: + summary: Dry run a package policy upgrade + tags: + - Fleet package policies + description: '[Required authorization] Route required privileges: fleet-agent-policies-read AND integrations-read.' + requestBody: + content: + application/json: + schema: + type: object + properties: + packagePolicyIds: + type: array + items: + type: string + packageVersion: + type: string + additionalProperties: false + required: + - packagePolicyIds + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: array + items: + type: object + properties: + name: + type: string + statusCode: + type: number + body: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + hasErrors: + type: boolean + diff: + type: array + items: + anyOf: + - type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + anyOf: + - type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + - type: object + description: Package policy inputs (see integration documentation to know what inputs are available) + x-oas-optional: true + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that input, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + streams: + type: object + description: Input streams (see integration documentation to know what streams are available) + additionalProperties: + type: object + properties: + enabled: + type: boolean + description: enable or disable that stream, (default to true) + vars: + type: object + description: Input/stream level variable (see integration documentation for more information) + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + additionalProperties: false + additionalProperties: false + vars: + anyOf: + - type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + - type: object + description: Input/stream level variable (see integration documentation for more information) + x-oas-optional: true + additionalProperties: + nullable: true + anyOf: + - type: boolean + - type: string + - type: number + - type: array + items: + type: string + - type: array + items: + type: number + - type: object + properties: + id: + type: string + isSecretRef: + type: boolean + additionalProperties: false + required: + - id + - isSecretRef + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + spaceIds: + type: array + items: + type: string + agents: + type: number + additionalProperties: false + required: + - name + - enabled + - inputs + - revision + - updated_at + - updated_by + - created_at + - created_by + - type: object + properties: + name: + type: string + description: Package policy name (should be unique) + description: + type: string + description: Package policy description + namespace: + type: string + description: The package policy namespace. Leave blank to inherit the agent policy's namespace. + policy_id: + nullable: true + type: string + description: Agent policy ID where that package policy will be added + deprecated: true + policy_ids: + type: array + items: + type: string + description: Agent policy IDs where that package policy will be added + output_id: + nullable: true + type: string + cloud_connector_id: + nullable: true + type: string + description: ID of the cloud connector associated with this package policy. + enabled: + type: boolean + is_managed: + type: boolean + package: + type: object + properties: + name: + type: string + description: Package name + title: + type: string + version: + type: string + description: Package version + experimental_data_stream_features: + type: array + items: + type: object + properties: + data_stream: + type: string + features: + type: object + properties: + synthetic_source: + type: boolean + tsdb: + type: boolean + doc_value_only_numeric: + type: boolean + doc_value_only_other: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - data_stream + - features + requires_root: + type: boolean + fips_compatible: + type: boolean + additionalProperties: false + required: + - name + - version + inputs: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + policy_template: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + streams: + type: array + items: + type: object + properties: + id: + type: string + enabled: + type: boolean + keep_enabled: + type: boolean + release: + type: string + enum: + - ga + - beta + - experimental + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + indices: + type: array + items: + type: string + additionalProperties: false + dynamic_dataset: + type: boolean + dynamic_namespace: + type: boolean + additionalProperties: false + additionalProperties: false + required: + - dataset + - type + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + config: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + compiled_stream: {} + additionalProperties: false + required: + - enabled + - data_stream + - compiled_stream + compiled_input: {} + additionalProperties: false + required: + - type + - enabled + - streams + - compiled_input + vars: + type: object + description: Package variable (see integration documentation for more information) + additionalProperties: + type: object + properties: + type: + type: string + value: {} + frozen: + type: boolean + additionalProperties: false + required: + - value + overrides: + nullable: true + type: object + description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. + properties: + inputs: + type: object + additionalProperties: {} + additionalProperties: false + supports_agentless: + nullable: true + type: boolean + description: Indicates whether the package policy belongs to an agentless agent policy. + default: false + supports_cloud_connector: + nullable: true + type: boolean + description: Indicates whether the package policy supports cloud connectors. + default: false + additional_datastreams_permissions: + nullable: true + type: array + description: Additional datastream permissions, that will be added to the agent policy. + items: + type: string + id: + type: string + version: + type: string + revision: + type: number + updated_at: + type: string + updated_by: + type: string + created_at: + type: string + created_by: + type: string + elasticsearch: + type: object + properties: + privileges: + type: object + properties: + cluster: + type: array + items: + type: string + additionalProperties: true + additionalProperties: true + secret_references: + type: array + items: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + force: + type: boolean + errors: + type: array + items: + type: object + properties: + message: + type: string + key: + type: string + additionalProperties: false + required: + - message + missingVars: + type: array + items: + type: string + additionalProperties: true + required: + - name + - enabled + - inputs + agent_diff: + type: array + items: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + revision: + type: number + type: + type: string + data_stream: + type: object + properties: + namespace: + type: string + additionalProperties: true + required: + - namespace + use_output: + type: string + package_policy_id: + type: string + meta: + type: object + properties: + package: + type: object + properties: + name: + type: string + version: + type: string + additionalProperties: true + required: + - name + - version + additionalProperties: true + required: + - package + streams: + type: array + items: + type: object + properties: + id: + type: string + data_stream: + type: object + properties: + dataset: + type: string + type: + type: string + additionalProperties: true + required: + - dataset + additionalProperties: true + required: + - data_stream + processors: + type: array + items: + type: object + properties: + add_fields: + type: object + properties: + target: + type: string + fields: + type: object + additionalProperties: + anyOf: + - type: string + - type: number + additionalProperties: true + required: + - target + - fields + additionalProperties: true + required: + - add_fields + additionalProperties: true + required: + - id + - name + - revision + - type + - data_stream + - use_output + - package_policy_id + additionalProperties: false + required: + - hasErrors + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-package-policies-upgrade-dryrun + /api/fleet/outputs: + get: + summary: Get outputs + tags: + - Fleet outputs + description: '[Required authorization] Route required privileges: fleet-settings-read OR fleet-agent-policies-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + required: + - key + additionalProperties: true + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: true + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: true + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: true + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: true + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: true + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: true + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-outputs + post: + summary: Create output + tags: + - Fleet outputs + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + required: + - key + additionalProperties: false + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: false + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: false + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: false + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: false + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: false + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: false + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + required: + - key + additionalProperties: true + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: true + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: true + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: true + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: true + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: true + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: true + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-outputs + /api/fleet/outputs/{outputId}: + get: + summary: Get output + tags: + - Fleet outputs + description: 'Get output by ID.

[Required authorization] Route required privileges: fleet-settings-read OR fleet-agent-policies-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + required: + - key + additionalProperties: true + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: true + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: true + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: true + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: true + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: true + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: true + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: outputId + in: path + required: true + schema: + type: string + operationId: get-fleet-outputs-outputid + put: + summary: Update output + tags: + - Fleet outputs + description: 'Update output by ID.

[Required authorization] Route required privileges: fleet-settings-all OR fleet-agent-policies-all.' + requestBody: + content: + application/json: + schema: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: false + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: false + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + is_default_monitoring: + type: boolean + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + required: + - key + additionalProperties: false + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: false + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: false + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: false + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: false + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: false + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: false + required: + - name + - compression_level + - connection_type + - username + - password + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + additionalProperties: true + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: true + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: true + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: true + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: true + required: + - id + - type: string + additionalProperties: true + required: + - key + additionalProperties: true + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: true + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: true + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: true + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: true + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: true + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: true + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: outputId + in: path + required: true + schema: + type: string + operationId: put-fleet-outputs-outputid + delete: + summary: Delete output + tags: + - Fleet outputs + description: 'Delete output by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: outputId + in: path + required: true + schema: + type: string + operationId: delete-fleet-outputs-outputid + /api/fleet/logstash_api_keys: + post: + summary: Generate a Logstash API key + tags: + - Fleet outputs + description: '[Required authorization] Route required privileges: fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + api_key: + type: string + additionalProperties: false + required: + - api_key + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-logstash-api-keys + /api/fleet/outputs/{outputId}/health: + get: + summary: Get the latest output health + tags: + - Fleet outputs + description: '[Required authorization] Route required privileges: fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + state: + type: string + description: state of output, HEALTHY or DEGRADED + message: + type: string + description: long message if unhealthy + timestamp: + type: string + description: timestamp of reported state + additionalProperties: false + required: + - state + - message + - timestamp + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: outputId + in: path + required: true + schema: + type: string + operationId: get-fleet-outputs-outputid-health + /api/fleet/space_settings: + get: + summary: Get space settings + tags: [] + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + managed_by: + type: string + allowed_namespace_prefixes: + type: array + items: + type: string + additionalProperties: false + required: + - allowed_namespace_prefixes + additionalProperties: false + required: + - item + parameters: [] + operationId: get-fleet-space-settings + x-state: Generally available; added in 9.1.0 + put: + summary: Create space settings + tags: [] + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + allowed_namespace_prefixes: + type: array + items: + type: string + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + managed_by: + type: string + allowed_namespace_prefixes: + type: array + items: + type: string + additionalProperties: false + required: + - allowed_namespace_prefixes + additionalProperties: false + required: + - item + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-fleet-space-settings + x-state: Generally available; added in 9.1.0 + /api/fleet/settings: + get: + summary: Get settings + tags: + - Fleet internals + description: '[Required authorization] Route required privileges: fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + has_seen_add_data_notice: + type: boolean + prerelease_integrations_enabled: + type: boolean + id: + type: string + version: + type: string + preconfigured_fields: + type: array + items: + type: string + enum: + - fleet_server_hosts + secret_storage_requirements_met: + type: boolean + output_secret_storage_requirements_met: + type: boolean + action_secret_storage_requirements_met: + type: boolean + use_space_awareness_migration_status: + type: string + enum: + - pending + - success + - error + use_space_awareness_migration_started_at: + nullable: true + type: string + delete_unenrolled_agents: + type: object + properties: + enabled: + type: boolean + is_preconfigured: + type: boolean + additionalProperties: false + required: + - enabled + - is_preconfigured + additionalProperties: false + required: + - id + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + parameters: [] + operationId: get-fleet-settings + put: + summary: Update settings + tags: + - Fleet internals + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + has_seen_add_data_notice: + type: boolean + deprecated: true + additional_yaml_config: + type: string + deprecated: true + kibana_urls: + type: array + items: + type: string + format: uri + deprecated: true + kibana_ca_sha256: + type: string + deprecated: true + prerelease_integrations_enabled: + type: boolean + delete_unenrolled_agents: + type: object + properties: + enabled: + type: boolean + is_preconfigured: + type: boolean + additionalProperties: false + required: + - enabled + - is_preconfigured + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + has_seen_add_data_notice: + type: boolean + prerelease_integrations_enabled: + type: boolean + id: + type: string + version: + type: string + preconfigured_fields: + type: array + items: + type: string + enum: + - fleet_server_hosts + secret_storage_requirements_met: + type: boolean + output_secret_storage_requirements_met: + type: boolean + action_secret_storage_requirements_met: + type: boolean + use_space_awareness_migration_status: + type: string + enum: + - pending + - success + - error + use_space_awareness_migration_started_at: + nullable: true + type: string + delete_unenrolled_agents: + type: object + properties: + enabled: + type: boolean + is_preconfigured: + type: boolean + additionalProperties: false + required: + - enabled + - is_preconfigured + additionalProperties: false + required: + - id + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-fleet-settings + /internal/fleet/settings/enrollment: + get: + summary: Get enrollment settings + tags: + - Fleet internals + description: '[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + fleet_server: + type: object + properties: + policies: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + is_managed: + type: boolean + is_default_fleet_server: + type: boolean + has_fleet_server: + type: boolean + fleet_server_host_id: + nullable: true + type: string + download_source_id: + nullable: true + type: string + space_ids: + type: array + items: + type: string + data_output_id: + nullable: true + type: string + additionalProperties: false + required: + - id + - name + - is_managed + has_active: + type: boolean + host: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + - id + host_proxy: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + es_output: + anyOf: + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + service_token: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - remote_elasticsearch + hosts: + type: array + minItems: 1 + items: + type: string + format: uri + preset: + type: string + enum: + - balanced + - custom + - throughput + - scale + - latency + write_to_logs_streams: + nullable: true + type: boolean + service_token: + nullable: true + type: string + sync_integrations: + type: boolean + kibana_url: + nullable: true + type: string + kibana_api_key: + nullable: true + type: string + sync_uninstalled_integrations: + type: boolean + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + type: + type: string + enum: + - logstash + hosts: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - name + - type + - hosts + - type: object + properties: + id: + type: string + name: + type: string + is_default: + type: boolean + default: false + is_default_monitoring: + type: boolean + default: false + is_internal: + type: boolean + is_preconfigured: + type: boolean + ca_sha256: + nullable: true + type: string + ca_trusted_fingerprint: + nullable: true + type: string + config_yaml: + nullable: true + type: string + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + verification_mode: + type: string + enum: + - full + - none + - certificate + - strict + additionalProperties: false + proxy_id: + nullable: true + type: string + shipper: + nullable: true + type: object + properties: + disk_queue_enabled: + nullable: true + type: boolean + default: false + disk_queue_path: + nullable: true + type: string + disk_queue_max_size: + nullable: true + type: number + disk_queue_encryption_enabled: + nullable: true + type: boolean + disk_queue_compression_enabled: + nullable: true + type: boolean + compression_level: + nullable: true + type: number + loadbalance: + nullable: true + type: boolean + mem_queue_events: + nullable: true + type: number + queue_flush_timeout: + nullable: true + type: number + max_batch_bytes: + nullable: true + type: number + additionalProperties: false + required: + - disk_queue_path + - disk_queue_max_size + - disk_queue_encryption_enabled + - disk_queue_compression_enabled + - compression_level + - loadbalance + - mem_queue_events + - queue_flush_timeout + - max_batch_bytes + allow_edit: + type: array + items: + type: string + secrets: + type: object + properties: + password: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + hash: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + required: + - key + additionalProperties: false + type: + type: string + enum: + - kafka + hosts: + type: array + minItems: 1 + items: + type: string + version: + type: string + key: + type: string + compression: + type: string + enum: + - gzip + - snappy + - lz4 + - none + compression_level: + oneOf: + - type: number + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + client_id: + type: string + auth_type: + type: string + enum: + - none + - user_pass + - ssl + - kerberos + connection_type: + oneOf: + - type: string + enum: + - plaintext + - encryption + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + username: + nullable: true + oneOf: + - type: string + - not: {} + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + password: + nullable: true + oneOf: + - not: {} + - oneOf: + - type: string + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + sasl: + nullable: true + type: object + properties: + mechanism: + type: string + enum: + - PLAIN + - SCRAM-SHA-256 + - SCRAM-SHA-512 + additionalProperties: false + partition: + type: string + enum: + - random + - round_robin + - hash + random: + type: object + properties: + group_events: + type: number + additionalProperties: false + round_robin: + type: object + properties: + group_events: + type: number + additionalProperties: false + hash: + type: object + properties: + hash: + type: string + random: + type: boolean + additionalProperties: false + topic: + type: string + headers: + type: array + items: + type: object + properties: + key: + type: string + value: + type: string + additionalProperties: false + required: + - key + - value + timeout: + type: number + broker_timeout: + type: number + required_acks: + type: integer + enum: + - 1 + - 0 + - -1 + additionalProperties: false + required: + - name + - type + - hosts + - compression_level + - auth_type + - connection_type + - username + - password + es_output_proxy: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + additionalProperties: false + required: + - policies + - has_active + download_source: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - id + - name + - host + download_source_proxy: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + additionalProperties: false + required: + - fleet_server + - download_source + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentPolicyId + in: query + required: false + schema: + type: string + operationId: get-fleet-settings-enrollment + /api/fleet/data_streams: + get: + summary: Get data streams + tags: + - Data streams + description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + data_streams: + type: array + items: + type: object + properties: + index: + type: string + dataset: + type: string + namespace: + type: string + type: + type: string + package: + type: string + package_version: + type: string + last_activity_ms: + type: number + size_in_bytes: + type: number + size_in_bytes_formatted: + anyOf: + - type: number + - type: string + dashboards: + type: array + items: + type: object + properties: + id: + type: string + title: + type: string + additionalProperties: false + required: + - id + - title + serviceDetails: + nullable: true + type: object + properties: + environment: + type: string + serviceName: + type: string + additionalProperties: false + required: + - environment + - serviceName + additionalProperties: false + required: + - index + - dataset + - namespace + - type + - package + - package_version + - last_activity_ms + - size_in_bytes + - size_in_bytes_formatted + - dashboards + - serviceDetails + additionalProperties: false + required: + - data_streams + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-data-streams + /internal/fleet/reset_preconfigured_agent_policies: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all AND integrations-read.' + responses: {} + parameters: [] + operationId: post-fleet-reset-preconfigured-agent-policies + /internal/fleet/reset_preconfigured_agent_policies/{agentPolicyId}: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all AND integrations-read.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentPolicyId + in: path + required: true + schema: + type: string + operationId: post-fleet-reset-preconfigured-agent-policies-agentpolicyid + /api/fleet/fleet_server_hosts: + get: + summary: Get Fleet Server hosts + tags: + - Fleet Server hosts + description: '[Required authorization] Route required privileges: fleet-agents-all OR fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + - id + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-fleet-server-hosts + post: + summary: Create a Fleet Server host + tags: + - Fleet Server hosts + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + - id + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-fleet-server-hosts + /api/fleet/fleet_server_hosts/{itemId}: + get: + summary: Get a Fleet Server host + tags: + - Fleet Server hosts + description: 'Get a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + - id + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: itemId + in: path + required: true + schema: + type: string + operationId: get-fleet-fleet-server-hosts-itemid + delete: + summary: Delete a Fleet Server host + tags: + - Fleet Server hosts + description: 'Delete a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: itemId + in: path + required: true + schema: + type: string + operationId: delete-fleet-fleet-server-hosts-itemid + put: + summary: Update a Fleet Server host + tags: + - Fleet Server hosts + description: 'Update a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + additionalProperties: false + required: + - proxy_id + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + name: + type: string + host_urls: + type: array + minItems: 1 + items: + type: string + is_default: + type: boolean + default: false + is_internal: + type: boolean + proxy_id: + nullable: true + type: string + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + es_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + agent_key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + ssl: + nullable: true + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + es_certificate_authorities: + type: array + items: + type: string + es_certificate: + type: string + es_key: + type: string + agent_certificate_authorities: + type: array + items: + type: string + agent_certificate: + type: string + agent_key: + type: string + client_auth: + type: string + enum: + - optional + - required + - none + additionalProperties: false + id: + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - name + - host_urls + - id + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: itemId + in: path + required: true + schema: + type: string + operationId: put-fleet-fleet-server-hosts-itemid + /api/fleet/proxies: + get: + summary: Get proxies + tags: + - Fleet proxies + description: '[Required authorization] Route required privileges: fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-proxies + post: + summary: Create a proxy + tags: + - Fleet proxies + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - url + - name + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-proxies + /api/fleet/proxies/{itemId}: + put: + summary: Update a proxy + tags: + - Fleet proxies + description: 'Update a proxy by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + url: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + additionalProperties: false + required: + - certificate_authorities + - certificate + - certificate_key + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: itemId + in: path + required: true + schema: + type: string + operationId: put-fleet-proxies-itemid + get: + summary: Get a proxy + tags: + - Fleet proxies + description: 'Get a proxy by ID.

[Required authorization] Route required privileges: fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + url: + type: string + name: + type: string + proxy_headers: + nullable: true + type: object + additionalProperties: + anyOf: + - type: string + - type: boolean + - type: number + certificate_authorities: + nullable: true + type: string + certificate: + nullable: true + type: string + certificate_key: + nullable: true + type: string + is_preconfigured: + type: boolean + default: false + additionalProperties: false + required: + - id + - url + - name + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: itemId + in: path + required: true + schema: + type: string + operationId: get-fleet-proxies-itemid + delete: + summary: Delete a proxy + tags: + - Fleet proxies + description: 'Delete a proxy by ID

[Required authorization] Route required privileges: fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: itemId + in: path + required: true + schema: + type: string + operationId: delete-fleet-proxies-itemid + /api/fleet/agent_download_sources: + get: + summary: Get agent binary download sources + tags: + - Elastic Agent binary download sources + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - id + - name + - host + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-agent-download-sources + post: + summary: Create an agent binary download source + tags: + - Elastic Agent binary download sources + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - name + - host + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - id + - name + - host + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agent-download-sources + /api/fleet/agent_download_sources/{sourceId}: + get: + summary: Get an agent binary download source + tags: + - Elastic Agent binary download sources + description: 'Get an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - id + - name + - host + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: sourceId + in: path + required: true + schema: + type: string + operationId: get-fleet-agent-download-sources-sourceid + put: + summary: Update an agent binary download source + tags: + - Elastic Agent binary download sources + description: 'Update an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - name + - host + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + host: + type: string + format: uri + is_default: + type: boolean + default: false + proxy_id: + nullable: true + type: string + description: The ID of the proxy to use for this download source. See the proxies API for more information. + ssl: + type: object + properties: + certificate_authorities: + type: array + items: + type: string + certificate: + type: string + key: + type: string + additionalProperties: false + secrets: + type: object + properties: + ssl: + type: object + properties: + key: + anyOf: + - type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + - type: string + additionalProperties: false + additionalProperties: false + additionalProperties: false + required: + - id + - name + - host + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: sourceId + in: path + required: true + schema: + type: string + operationId: put-fleet-agent-download-sources-sourceid + delete: + summary: Delete an agent binary download source + tags: + - Elastic Agent binary download sources + description: 'Delete an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: sourceId + in: path + required: true + schema: + type: string + operationId: delete-fleet-agent-download-sources-sourceid + /api/fleet/health_check: + post: + summary: Check Fleet Server health + tags: + - Fleet internals + description: '[Required authorization] Route required privileges: fleet-settings-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + status: + type: string + name: + type: string + host_id: + type: string + additionalProperties: false + required: + - status + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '404': + description: Not found. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-health-check + /api/fleet/message_signing_service/rotate_key_pair: + post: + summary: Rotate a Fleet message signing key pair + tags: + - Message Signing Service + description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + message: + type: string + additionalProperties: false + required: + - message + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + '500': + description: An internal server error. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: acknowledge + in: query + required: false + schema: + type: boolean + default: false + operationId: post-fleet-message-signing-service-rotate-key-pair + /api/fleet/uninstall_tokens: + get: + summary: Get metadata for latest uninstall tokens + tags: + - Fleet uninstall tokens + description: 'List the metadata for the latest uninstall tokens per agent policy.

[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + policy_id: + type: string + policy_name: + nullable: true + type: string + created_at: + type: string + namespaces: + type: array + items: + type: string + additionalProperties: false + required: + - id + - policy_id + - created_at + total: + type: number + page: + type: number + perPage: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: policyId + in: query + required: false + schema: + type: string + maxLength: 50 + description: Partial match filtering for policy IDs + - name: search + in: query + required: false + schema: + type: string + maxLength: 50 + - name: perPage + in: query + required: false + schema: + type: number + minimum: 5 + description: The number of items to return + - name: page + in: query + required: false + schema: + type: number + minimum: 1 + operationId: get-fleet-uninstall-tokens + /api/fleet/uninstall_tokens/{uninstallTokenId}: + get: + summary: Get a decrypted uninstall token + tags: + - Fleet uninstall tokens + description: 'Get one decrypted uninstall token by its ID.

[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + policy_id: + type: string + policy_name: + nullable: true + type: string + created_at: + type: string + namespaces: + type: array + items: + type: string + token: + type: string + additionalProperties: false + required: + - id + - policy_id + - created_at + - token + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: uninstallTokenId + in: path + required: true + schema: + type: string + operationId: get-fleet-uninstall-tokens-uninstalltokenid + /api/fleet/remote_synced_integrations/status: + get: + summary: Get remote synced integrations status + tags: + - Fleet remote synced integrations + description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + integrations: + type: array + items: + type: object + properties: + id: + type: string + package_name: + type: string + package_version: + type: string + sync_status: + type: string + enum: + - completed + - synchronizing + - failed + - warning + error: + type: string + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + updated_at: + type: string + install_status: + type: object + properties: + main: + type: string + remote: + type: string + additionalProperties: false + required: + - main + additionalProperties: false + required: + - sync_status + - install_status + custom_assets: + type: object + additionalProperties: + type: object + properties: + type: + type: string + name: + type: string + package_name: + type: string + package_version: + type: string + sync_status: + type: string + enum: + - completed + - synchronizing + - failed + - warning + error: + type: string + is_deleted: + type: boolean + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + additionalProperties: false + required: + - type + - name + - package_name + - package_version + - sync_status + error: + type: string + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + additionalProperties: false + required: + - integrations + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-remote-synced-integrations-status + x-state: Generally available; added in 9.1.0 + /api/fleet/remote_synced_integrations/{outputId}/remote_status: + get: + summary: Get remote synced integrations status by outputId + tags: + - Fleet remote synced integrations + description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + integrations: + type: array + items: + type: object + properties: + id: + type: string + package_name: + type: string + package_version: + type: string + sync_status: + type: string + enum: + - completed + - synchronizing + - failed + - warning + error: + type: string + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + updated_at: + type: string + install_status: + type: object + properties: + main: + type: string + remote: + type: string + additionalProperties: false + required: + - main + additionalProperties: false + required: + - sync_status + - install_status + custom_assets: + type: object + additionalProperties: + type: object + properties: + type: + type: string + name: + type: string + package_name: + type: string + package_version: + type: string + sync_status: + type: string + enum: + - completed + - synchronizing + - failed + - warning + error: + type: string + is_deleted: + type: boolean + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + additionalProperties: false + required: + - type + - name + - package_name + - package_version + - sync_status + error: + type: string + warning: + type: object + properties: + title: + type: string + message: + type: string + additionalProperties: false + required: + - title + additionalProperties: false + required: + - integrations + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: outputId + in: path + required: true + schema: + type: string + operationId: get-fleet-remote-synced-integrations-outputid-remote-status + x-state: Generally available; added in 9.1.0 + /api/fleet/cloud_connectors: + post: + summary: Create cloud connector + tags: + - Fleet cloud connectors + description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 255 + cloudProvider: + type: string + enum: + - aws + - azure + - gcp + vars: + type: object + additionalProperties: + anyOf: + - type: string + maxLength: 1000 + - type: number + - type: boolean + - type: object + properties: + type: + type: string + maxLength: 50 + value: + anyOf: + - type: string + maxLength: 1000 + - type: object + properties: + isSecretRef: + type: boolean + id: + type: string + maxLength: 255 + additionalProperties: false + required: + - isSecretRef + - id + frozen: + type: boolean + additionalProperties: false + required: + - type + - value + additionalProperties: false + required: + - name + - cloudProvider + - vars + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + namespace: + type: string + cloudProvider: + type: string + vars: + type: object + additionalProperties: {} + packagePolicyCount: + type: number + created_at: + type: string + updated_at: + type: string + additionalProperties: false + required: + - id + - name + - cloudProvider + - vars + - packagePolicyCount + - created_at + - updated_at + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-cloud-connectors + x-state: Technical Preview; added in 9.2.0 + get: + summary: Get cloud connectors + tags: + - Fleet cloud connectors + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + namespace: + type: string + cloudProvider: + type: string + vars: + type: object + additionalProperties: {} + packagePolicyCount: + type: number + created_at: + type: string + updated_at: + type: string + additionalProperties: false + required: + - id + - name + - cloudProvider + - vars + - packagePolicyCount + - created_at + - updated_at + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: string + - name: perPage + in: query + required: false + schema: + type: string + operationId: get-fleet-cloud-connectors + x-state: Technical Preview; added in 9.2.0 + /api/fleet/cloud_connectors/{cloudConnectorId}: + get: + summary: Get cloud connector + tags: + - Fleet cloud connectors + description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + namespace: + type: string + cloudProvider: + type: string + vars: + type: object + additionalProperties: {} + packagePolicyCount: + type: number + created_at: + type: string + updated_at: + type: string + additionalProperties: false + required: + - id + - name + - cloudProvider + - vars + - packagePolicyCount + - created_at + - updated_at + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: cloudConnectorId + in: path + required: true + schema: + type: string + operationId: get-fleet-cloud-connectors-cloudconnectorid + x-state: Technical Preview; added in 9.2.0 + put: + summary: Update cloud connector + tags: + - Fleet cloud connectors + description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + minLength: 1 + maxLength: 255 + vars: + type: object + additionalProperties: + anyOf: + - type: string + maxLength: 1000 + - type: number + - type: boolean + - type: object + properties: + type: + type: string + maxLength: 50 + value: + anyOf: + - type: string + maxLength: 1000 + - type: object + properties: + isSecretRef: + type: boolean + id: + type: string + maxLength: 255 + additionalProperties: false + required: + - isSecretRef + - id + frozen: + type: boolean + additionalProperties: false + required: + - type + - value + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + name: + type: string + namespace: + type: string + cloudProvider: + type: string + vars: + type: object + additionalProperties: {} + packagePolicyCount: + type: number + created_at: + type: string + updated_at: + type: string + additionalProperties: false + required: + - id + - name + - cloudProvider + - vars + - packagePolicyCount + - created_at + - updated_at + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: cloudConnectorId + in: path + required: true + schema: + type: string + operationId: put-fleet-cloud-connectors-cloudconnectorid + x-state: Technical Preview; added in 9.2.0 + delete: + summary: Delete cloud connector (supports force deletion) + tags: + - Fleet cloud connectors + description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + additionalProperties: false + required: + - id + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: cloudConnectorId + in: path + required: true + schema: + type: string + - name: force + in: query + required: false + schema: + type: boolean + operationId: delete-fleet-cloud-connectors-cloudconnectorid + x-state: Technical Preview; added in 9.2.0 + /api/fleet/agents/{agentId}: + get: + summary: Get an agent + tags: + - Elastic Agents + description: 'Get an agent by ID.

[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + access_api_key: + type: string + default_api_key_history: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + deprecated: true + required: + - id + - retired_at + outputs: + type: object + additionalProperties: + type: object + properties: + api_key_id: + type: string + type: + type: string + to_retire_api_key_ids: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + required: + - id + - retired_at + additionalProperties: false + status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + last_known_status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + packages: + type: array + items: + type: string + sort: + type: array + items: {} + metrics: + type: object + properties: + cpu_avg: + type: number + memory_size_byte_avg: + type: number + additionalProperties: false + type: + type: string + enum: + - PERMANENT + - EPHEMERAL + - TEMPORARY + active: + type: boolean + enrolled_at: + type: string + unenrolled_at: + type: string + unenrollment_started_at: + type: string + audit_unenrolled_reason: + type: string + upgraded_at: + nullable: true + type: string + upgrade_started_at: + nullable: true + type: string + upgrade_details: + nullable: true + type: object + properties: + target_version: + type: string + action_id: + type: string + state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + metadata: + type: object + properties: + scheduled_at: + type: string + download_percent: + type: number + download_rate: + type: number + failed_state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + error_msg: + type: string + retry_error_msg: + type: string + retry_until: + type: string + additionalProperties: false + additionalProperties: false + required: + - target_version + - action_id + - state + upgrade_attempts: + nullable: true + type: array + items: + type: string + access_api_key_id: + type: string + default_api_key: + type: string + default_api_key_id: + type: string + policy_id: + type: string + policy_revision: + nullable: true + type: number + last_checkin: + type: string + last_checkin_status: + type: string + enum: + - error + - online + - degraded + - updating + - starting + last_checkin_message: + type: string + user_provided_metadata: + type: object + additionalProperties: {} + local_metadata: + type: object + additionalProperties: {} + tags: + type: array + items: + type: string + components: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + units: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - input + - output + - '' + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + payload: + type: object + additionalProperties: {} + additionalProperties: false + required: + - id + - type + - status + - message + additionalProperties: false + required: + - id + - type + - status + - message + agent: + type: object + properties: + id: + type: string + version: + type: string + additionalProperties: true + required: + - id + - version + unhealthy_reason: + nullable: true + type: array + items: + type: string + enum: + - input + - output + - other + namespaces: + type: array + items: + type: string + additionalProperties: false + required: + - id + - packages + - type + - active + - enrolled_at + - local_metadata + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentId + in: path + required: true + schema: + type: string + - name: withMetrics + in: query + required: false + schema: + type: boolean + default: false + operationId: get-fleet-agents-agentid + put: + summary: Update an agent by ID + tags: + - Elastic Agents + description: 'Update an agent by ID.

[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + user_provided_metadata: + type: object + additionalProperties: {} + tags: + type: array + items: + type: string + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + access_api_key: + type: string + default_api_key_history: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + deprecated: true + required: + - id + - retired_at + outputs: + type: object + additionalProperties: + type: object + properties: + api_key_id: + type: string + type: + type: string + to_retire_api_key_ids: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + required: + - id + - retired_at + additionalProperties: false + status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + last_known_status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + packages: + type: array + items: + type: string + sort: + type: array + items: {} + metrics: + type: object + properties: + cpu_avg: + type: number + memory_size_byte_avg: + type: number + additionalProperties: false + type: + type: string + enum: + - PERMANENT + - EPHEMERAL + - TEMPORARY + active: + type: boolean + enrolled_at: + type: string + unenrolled_at: + type: string + unenrollment_started_at: + type: string + audit_unenrolled_reason: + type: string + upgraded_at: + nullable: true + type: string + upgrade_started_at: + nullable: true + type: string + upgrade_details: + nullable: true + type: object + properties: + target_version: + type: string + action_id: + type: string + state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + metadata: + type: object + properties: + scheduled_at: + type: string + download_percent: + type: number + download_rate: + type: number + failed_state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + error_msg: + type: string + retry_error_msg: + type: string + retry_until: + type: string + additionalProperties: false + additionalProperties: false + required: + - target_version + - action_id + - state + upgrade_attempts: + nullable: true + type: array + items: + type: string + access_api_key_id: + type: string + default_api_key: + type: string + default_api_key_id: + type: string + policy_id: + type: string + policy_revision: + nullable: true + type: number + last_checkin: + type: string + last_checkin_status: + type: string + enum: + - error + - online + - degraded + - updating + - starting + last_checkin_message: + type: string + user_provided_metadata: + type: object + additionalProperties: {} + local_metadata: + type: object + additionalProperties: {} + tags: + type: array + items: + type: string + components: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + units: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - input + - output + - '' + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + payload: + type: object + additionalProperties: {} + additionalProperties: false + required: + - id + - type + - status + - message + additionalProperties: false + required: + - id + - type + - status + - message + agent: + type: object + properties: + id: + type: string + version: + type: string + additionalProperties: true + required: + - id + - version + unhealthy_reason: + nullable: true + type: array + items: + type: string + enum: + - input + - output + - other + namespaces: + type: array + items: + type: string + additionalProperties: false + required: + - id + - packages + - type + - active + - enrolled_at + - local_metadata + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: put-fleet-agents-agentid + delete: + summary: Delete an agent + tags: + - Elastic Agents + description: 'Delete an agent by ID.

[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + action: + type: string + enum: + - deleted + additionalProperties: false + required: + - action + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: delete-fleet-agents-agentid + /api/fleet/agents/{agentId}/migrate: + post: + summary: Migrate a single agent + tags: + - Elastic Agents + description: 'Migrate a single agent to another cluster.

[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + uri: + type: string + format: uri + enrollment_token: + type: string + settings: + type: object + properties: + ca_sha256: + type: string + certificate_authorities: + type: string + elastic_agent_cert: + type: string + elastic_agent_cert_key: + type: string + elastic_agent_cert_key_passphrase: + type: string + headers: + type: object + additionalProperties: + type: string + insecure: + type: boolean + proxy_disabled: + type: boolean + proxy_headers: + type: object + additionalProperties: + type: string + proxy_url: + type: string + staging: + type: string + tags: + type: array + items: + type: string + replace_token: + type: string + additionalProperties: false + additionalProperties: false + required: + - uri + - enrollment_token + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-migrate + /api/fleet/agents/bulk_migrate: + post: + summary: Migrate multiple agents + tags: + - Elastic Agents + description: 'Bulk migrate agents to another cluster.

[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agents: + anyOf: + - type: array + items: + type: string + - type: string + uri: + type: string + format: uri + enrollment_token: + type: string + settings: + type: object + properties: + ca_sha256: + type: string + certificate_authorities: + type: string + elastic_agent_cert: + type: string + elastic_agent_cert_key: + type: string + elastic_agent_cert_key_passphrase: + type: string + headers: + type: object + additionalProperties: + type: string + insecure: + type: boolean + proxy_disabled: + type: boolean + proxy_headers: + type: object + additionalProperties: + type: string + proxy_url: + type: string + staging: + type: string + tags: + type: array + items: + type: string + additionalProperties: false + batchSize: + type: number + additionalProperties: false + required: + - agents + - uri + - enrollment_token + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-migrate + /api/fleet/agents/bulk_update_agent_tags: + post: + summary: Bulk update agent tags + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agents: + anyOf: + - type: array + items: + type: string + - type: string + tagsToAdd: + type: array + items: + type: string + tagsToRemove: + type: array + items: + type: string + batchSize: + type: number + includeInactive: + type: boolean + default: false + additionalProperties: false + required: + - agents + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-update-agent-tags + /api/fleet/agents: + get: + summary: Get agents + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + access_api_key: + type: string + default_api_key_history: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + deprecated: true + required: + - id + - retired_at + outputs: + type: object + additionalProperties: + type: object + properties: + api_key_id: + type: string + type: + type: string + to_retire_api_key_ids: + type: array + items: + type: object + properties: + id: + type: string + retired_at: + type: string + additionalProperties: false + required: + - id + - retired_at + additionalProperties: false + status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + last_known_status: + type: string + enum: + - offline + - error + - online + - inactive + - enrolling + - unenrolling + - unenrolled + - updating + - degraded + - uninstalled + - orphaned + packages: + type: array + items: + type: string + sort: + type: array + items: {} + metrics: + type: object + properties: + cpu_avg: + type: number + memory_size_byte_avg: + type: number + additionalProperties: false + type: + type: string + enum: + - PERMANENT + - EPHEMERAL + - TEMPORARY + active: + type: boolean + enrolled_at: + type: string + unenrolled_at: + type: string + unenrollment_started_at: + type: string + audit_unenrolled_reason: + type: string + upgraded_at: + nullable: true + type: string + upgrade_started_at: + nullable: true + type: string + upgrade_details: + nullable: true + type: object + properties: + target_version: + type: string + action_id: + type: string + state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + metadata: + type: object + properties: + scheduled_at: + type: string + download_percent: + type: number + download_rate: + type: number + failed_state: + type: string + enum: + - UPG_REQUESTED + - UPG_SCHEDULED + - UPG_DOWNLOADING + - UPG_EXTRACTING + - UPG_REPLACING + - UPG_RESTARTING + - UPG_FAILED + - UPG_WATCHING + - UPG_ROLLBACK + error_msg: + type: string + retry_error_msg: + type: string + retry_until: + type: string + additionalProperties: false + additionalProperties: false + required: + - target_version + - action_id + - state + upgrade_attempts: + nullable: true + type: array + items: + type: string + access_api_key_id: + type: string + default_api_key: + type: string + default_api_key_id: + type: string + policy_id: + type: string + policy_revision: + nullable: true + type: number + last_checkin: + type: string + last_checkin_status: + type: string + enum: + - error + - online + - degraded + - updating + - starting + last_checkin_message: + type: string + user_provided_metadata: + type: object + additionalProperties: {} + local_metadata: + type: object + additionalProperties: {} + tags: + type: array + items: + type: string + components: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + units: + type: array + items: + type: object + properties: + id: + type: string + type: + type: string + enum: + - input + - output + - '' + status: + type: string + enum: + - STARTING + - CONFIGURING + - HEALTHY + - DEGRADED + - FAILED + - STOPPING + - STOPPED + message: + type: string + payload: + type: object + additionalProperties: {} + additionalProperties: false + required: + - id + - type + - status + - message + additionalProperties: false + required: + - id + - type + - status + - message + agent: + type: object + properties: + id: + type: string + version: + type: string + additionalProperties: true + required: + - id + - version + unhealthy_reason: + nullable: true + type: array + items: + type: string + enum: + - input + - output + - other + namespaces: + type: array + items: + type: string + additionalProperties: false + required: + - id + - packages + - type + - active + - enrolled_at + - local_metadata + total: + type: number + page: + type: number + perPage: + type: number + pit: + type: string + nextSearchAfter: + type: string + statusSummary: + type: object + additionalProperties: + type: number + additionalProperties: false + required: + - items + - total + - page + - perPage + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: number + - name: perPage + in: query + required: false + schema: + type: number + default: 20 + - name: kuery + in: query + required: false + schema: + type: string + - name: showAgentless + in: query + required: false + schema: + type: boolean + default: true + - name: showInactive + in: query + required: false + schema: + type: boolean + default: false + - name: withMetrics + in: query + required: false + schema: + type: boolean + default: false + - name: showUpgradeable + in: query + required: false + schema: + type: boolean + default: false + - name: getStatusSummary + in: query + required: false + schema: + type: boolean + default: false + - name: sortField + in: query + required: false + schema: + type: string + - name: sortOrder + in: query + required: false + schema: + type: string + enum: + - asc + - desc + - name: searchAfter + in: query + required: false + schema: + type: string + - name: openPit + in: query + required: false + schema: + type: boolean + - name: pitId + in: query + required: false + schema: + type: string + - name: pitKeepAlive + in: query + required: false + schema: + type: string + operationId: get-fleet-agents + post: + summary: Get agents by action ids + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + requestBody: + content: + application/json: + schema: + type: object + properties: + actionIds: + type: array + items: + type: string + additionalProperties: false + required: + - actionIds + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: string + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents + /api/fleet/agents/tags: + get: + summary: Get agent tags + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: string + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: kuery + in: query + required: false + schema: + type: string + - name: showInactive + in: query + required: false + schema: + type: boolean + default: false + operationId: get-fleet-agents-tags + /api/fleet/agents/{agentId}/actions: + post: + summary: Create an agent action + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + action: + anyOf: + - type: object + properties: + type: + type: string + enum: + - UNENROLL + - UPGRADE + - POLICY_REASSIGN + data: {} + ack_data: {} + additionalProperties: false + required: + - type + - data + - ack_data + - type: object + properties: + type: + type: string + enum: + - SETTINGS + data: + type: object + properties: + log_level: + nullable: true + type: string + enum: + - debug + - info + - warning + - error + additionalProperties: false + required: + - log_level + additionalProperties: false + required: + - type + - data + additionalProperties: false + required: + - action + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + type: + type: string + data: {} + sent_at: + type: string + created_at: + type: string + ack_data: {} + agents: + type: array + items: + type: string + namespaces: + type: array + items: + type: string + expiration: + type: string + start_time: + type: string + minimum_execution_duration: + type: number + rollout_duration_seconds: + type: number + source_uri: + type: string + total: + type: number + additionalProperties: false + required: + - id + - type + - data + - created_at + - ack_data + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-actions + /api/fleet/agents/actions/{actionId}/cancel: + post: + summary: Cancel an agent action + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + type: + type: string + data: {} + sent_at: + type: string + created_at: + type: string + ack_data: {} + agents: + type: array + items: + type: string + namespaces: + type: array + items: + type: string + expiration: + type: string + start_time: + type: string + minimum_execution_duration: + type: number + rollout_duration_seconds: + type: number + source_uri: + type: string + total: + type: number + additionalProperties: false + required: + - id + - type + - data + - created_at + - ack_data + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: actionId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-actions-actionid-cancel + /api/fleet/agents/{agentId}/unenroll: + post: + summary: Unenroll an agent + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + force: + type: boolean + revoke: + type: boolean + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-unenroll + /api/fleet/agents/{agentId}/reassign: + post: + summary: Reassign an agent + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + policy_id: + type: string + additionalProperties: false + required: + - policy_id + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: {} + additionalProperties: false + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-reassign + /api/fleet/agents/{agentId}/request_diagnostics: + post: + summary: Request agent diagnostics + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-read.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + additional_metrics: + type: array + items: + type: string + enum: + - CPU + additionalProperties: false + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-request-diagnostics + /api/fleet/agents/bulk_request_diagnostics: + post: + summary: Bulk request diagnostics from agents + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-read.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agents: + anyOf: + - type: array + items: + type: string + - type: string + batchSize: + type: number + additional_metrics: + type: array + items: + type: string + enum: + - CPU + additionalProperties: false + required: + - agents + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-request-diagnostics + /api/fleet/agents/{agentId}/uploads: + get: + summary: Get agent uploads + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + name: + type: string + filePath: + type: string + createTime: + type: string + status: + type: string + enum: + - READY + - AWAITING_UPLOAD + - DELETED + - EXPIRED + - IN_PROGRESS + - FAILED + actionId: + type: string + error: + type: string + additionalProperties: false + required: + - id + - name + - filePath + - createTime + - status + - actionId + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentId + in: path + required: true + schema: + type: string + operationId: get-fleet-agents-agentid-uploads + /api/fleet/agents/files/{fileId}/{fileName}: + get: + summary: Get an uploaded file + tags: + - Elastic Agents + description: 'Get a file uploaded by an agent.

[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: fileId + in: path + required: true + schema: + type: string + - name: fileName + in: path + required: true + schema: + type: string + operationId: get-fleet-agents-files-fileid-filename + /api/fleet/agents/files/{fileId}: + delete: + summary: Delete an uploaded file + tags: + - Elastic Agents + description: 'Delete a file uploaded by an agent.

[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + id: + type: string + deleted: + type: boolean + additionalProperties: false + required: + - id + - deleted + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: fileId + in: path + required: true + schema: + type: string + operationId: delete-fleet-agents-files-fileid + /api/fleet/agent_status: + get: + summary: Get an agent status summary + tags: + - Elastic Agent status + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + results: + type: object + properties: + events: + type: number + online: + type: number + error: + type: number + offline: + type: number + uninstalled: + type: number + orphaned: + type: number + other: + type: number + updating: + type: number + inactive: + type: number + unenrolled: + type: number + all: + type: number + active: + type: number + additionalProperties: false + required: + - events + - online + - error + - offline + - other + - updating + - inactive + - unenrolled + - all + - active + additionalProperties: false + required: + - results + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: policyId + in: query + required: false + schema: + type: string + - name: policyIds + in: query + required: false + schema: + anyOf: + - type: array + items: + type: string + - type: string + - name: kuery + in: query + required: false + schema: + type: string + operationId: get-fleet-agent-status + /api/fleet/agent_status/data: + get: + summary: Get incoming agent data + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + additionalProperties: + type: object + properties: + data: + type: boolean + additionalProperties: false + required: + - data + dataPreview: + type: array + items: {} + additionalProperties: false + required: + - items + - dataPreview + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: agentsIds + in: query + required: true + schema: + anyOf: + - type: array + items: + type: string + - type: string + - name: pkgName + in: query + required: false + schema: + type: string + - name: pkgVersion + in: query + required: false + schema: + type: string + - name: previewData + in: query + required: false + schema: + type: boolean + default: false + operationId: get-fleet-agent-status-data + /api/fleet/agents/{agentId}/upgrade: + post: + summary: Upgrade an agent + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + source_uri: + type: string + version: + type: string + force: + type: boolean + skipRateLimitCheck: + type: boolean + additionalProperties: false + required: + - version + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: {} + additionalProperties: false + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: agentId + in: path + required: true + schema: + type: string + operationId: post-fleet-agents-agentid-upgrade + /api/fleet/agents/bulk_upgrade: + post: + summary: Bulk upgrade agents + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agents: + anyOf: + - type: array + items: + type: string + - type: string + source_uri: + type: string + version: + type: string + force: + type: boolean + skipRateLimitCheck: + type: boolean + rollout_duration_seconds: + type: number + minimum: 600 + start_time: + type: string + batchSize: + type: number + includeInactive: + type: boolean + default: false + additionalProperties: false + required: + - agents + - version + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-upgrade + /api/fleet/agents/action_status: + get: + summary: Get an agent action status + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + actionId: + type: string + is_automatic: + type: boolean + nbAgentsActionCreated: + type: number + description: number of agents included in action from kibana + nbAgentsAck: + type: number + description: number of agents that acknowledged the action + nbAgentsFailed: + type: number + description: number of agents that failed to execute the action + version: + type: string + description: agent version number (UPGRADE action) + startTime: + type: string + description: start time of action (scheduled actions) + type: + type: string + enum: + - UPGRADE + - UNENROLL + - SETTINGS + - POLICY_REASSIGN + - CANCEL + - FORCE_UNENROLL + - REQUEST_DIAGNOSTICS + - UPDATE_TAGS + - POLICY_CHANGE + - INPUT_ACTION + - MIGRATE + - PRIVILEGE_LEVEL_CHANGE + nbAgentsActioned: + type: number + description: number of agents actioned + status: + type: string + enum: + - COMPLETE + - EXPIRED + - CANCELLED + - FAILED + - IN_PROGRESS + - ROLLOUT_PASSED + expiration: + type: string + completionTime: + type: string + cancellationTime: + type: string + newPolicyId: + type: string + description: new policy id (POLICY_REASSIGN action) + creationTime: + type: string + description: creation time of action + hasRolloutPeriod: + type: boolean + latestErrors: + type: array + items: + type: object + description: latest errors that happened when the agents executed the action + properties: + agentId: + type: string + error: + type: string + timestamp: + type: string + hostname: + type: string + additionalProperties: false + required: + - agentId + - error + - timestamp + revision: + type: number + description: new policy revision (POLICY_CHANGE action) + policyId: + type: string + description: policy id (POLICY_CHANGE action) + additionalProperties: false + required: + - actionId + - nbAgentsActionCreated + - nbAgentsAck + - nbAgentsFailed + - type + - nbAgentsActioned + - status + - creationTime + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: number + default: 0 + - name: perPage + in: query + required: false + schema: + type: number + default: 20 + - name: date + in: query + required: false + schema: + type: string + - name: latest + in: query + required: false + schema: + type: number + - name: errorSize + in: query + required: false + schema: + type: number + default: 5 + operationId: get-fleet-agents-action-status + /api/fleet/agents/bulk_reassign: + post: + summary: Bulk reassign agents + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + policy_id: + type: string + agents: + anyOf: + - type: array + items: + type: string + - type: string + batchSize: + type: number + includeInactive: + type: boolean + default: false + additionalProperties: false + required: + - policy_id + - agents + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-reassign + /api/fleet/agents/bulk_unenroll: + post: + summary: Bulk unenroll agents + tags: + - Elastic Agent actions + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + agents: + anyOf: + - type: array + items: + type: string + description: KQL query string, leave empty to action all agents + - type: string + description: list of agent IDs + force: + type: boolean + description: Unenrolls hosted agents too + revoke: + type: boolean + description: Revokes API keys of agents + batchSize: + type: number + includeInactive: + type: boolean + description: When passing agents by KQL query, unenrolls inactive agents too + additionalProperties: false + required: + - agents + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + actionId: + type: string + additionalProperties: false + required: + - actionId + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-agents-bulk-unenroll + /api/fleet/agents/available_versions: + get: + summary: Get available agent versions + tags: + - Elastic Agents + description: '[Required authorization] Route required privileges: fleet-agents-read.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: string + additionalProperties: false + required: + - items + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: [] + operationId: get-fleet-agents-available-versions + /api/fleet/enrollment_api_keys/{keyId}: + get: + summary: Get an enrollment API key + tags: + - Fleet enrollment API keys + description: 'Get an enrollment API key by ID.

[Required authorization] Route required privileges: fleet-agents-all OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + api_key_id: + type: string + description: The ID of the API key in the Security API. + api_key: + type: string + description: The enrollment API key (token) used for enrolling Elastic Agents. + name: + type: string + description: The name of the enrollment API key. + active: + type: boolean + description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + policy_id: + type: string + description: The ID of the agent policy the Elastic Agent will be enrolled in. + created_at: + type: string + hidden: + type: boolean + additionalProperties: false + required: + - id + - api_key_id + - api_key + - active + - created_at + additionalProperties: false + required: + - item + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: keyId + in: path + required: true + schema: + type: string + operationId: get-fleet-enrollment-api-keys-keyid + delete: + summary: Revoke an enrollment API key + tags: + - Fleet enrollment API keys + description: 'Revoke an enrollment API key by ID by marking it as inactive.

[Required authorization] Route required privileges: fleet-agents-all.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + action: + type: string + enum: + - deleted + additionalProperties: false + required: + - action + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: keyId + in: path + required: true + schema: + type: string + operationId: delete-fleet-enrollment-api-keys-keyid + /api/fleet/enrollment_api_keys: + get: + summary: Get enrollment API keys + tags: + - Fleet enrollment API keys + description: '[Required authorization] Route required privileges: fleet-agents-all OR fleet-setup.' + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + items: + type: array + items: + type: object + properties: + id: + type: string + api_key_id: + type: string + description: The ID of the API key in the Security API. + api_key: + type: string + description: The enrollment API key (token) used for enrolling Elastic Agents. + name: + type: string + description: The name of the enrollment API key. + active: + type: boolean + description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + policy_id: + type: string + description: The ID of the agent policy the Elastic Agent will be enrolled in. + created_at: + type: string + hidden: + type: boolean + additionalProperties: false + required: + - id + - api_key_id + - api_key + - active + - created_at + total: + type: number + page: + type: number + perPage: + type: number + list: + type: array + items: + type: object + properties: + id: + type: string + api_key_id: + type: string + description: The ID of the API key in the Security API. + api_key: + type: string + description: The enrollment API key (token) used for enrolling Elastic Agents. + name: + type: string + description: The name of the enrollment API key. + active: + type: boolean + description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + policy_id: + type: string + description: The ID of the agent policy the Elastic Agent will be enrolled in. + created_at: + type: string + hidden: + type: boolean + additionalProperties: false + required: + - id + - api_key_id + - api_key + - active + - created_at + deprecated: true + additionalProperties: false + required: + - items + - total + - page + - perPage + - list + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - name: page + in: query + required: false + schema: + type: number + default: 1 + - name: perPage + in: query + required: false + schema: + type: number + default: 20 + - name: kuery + in: query + required: false + schema: + type: string + operationId: get-fleet-enrollment-api-keys + post: + summary: Create an enrollment API key + tags: + - Fleet enrollment API keys + description: '[Required authorization] Route required privileges: fleet-agents-all.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + policy_id: + type: string + expiration: + type: string + additionalProperties: false + required: + - policy_id + responses: + '200': + description: 'OK: A successful request.' + content: + application/json: + schema: + type: object + properties: + item: + type: object + properties: + id: + type: string + api_key_id: + type: string + description: The ID of the API key in the Security API. + api_key: + type: string + description: The enrollment API key (token) used for enrolling Elastic Agents. + name: + type: string + description: The name of the enrollment API key. + active: + type: boolean + description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. + policy_id: + type: string + description: The ID of the agent policy the Elastic Agent will be enrolled in. + created_at: + type: string + hidden: + type: boolean + additionalProperties: false + required: + - id + - api_key_id + - api_key + - active + - created_at + action: + type: string + enum: + - created + additionalProperties: false + required: + - item + - action + '400': + description: A bad request. + content: + application/json: + schema: + type: object + description: Generic Error + properties: + statusCode: + type: number + error: + type: string + errorType: + type: string + message: + type: string + attributes: {} + additionalProperties: false + required: + - message + - attributes + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-fleet-enrollment-api-keys + /api/uptime/settings: + get: + summary: '' + tags: + - uptime + description: 'Get uptime settings

[Required authorization] Route required privileges: uptime-read.' + responses: + '200': + content: + application/json: + schema: + type: object + properties: + heartbeatIndices: + type: string + minLength: 1 + certAgeThreshold: + type: number + minimum: 1 + certExpirationThreshold: + type: number + minimum: 1 + defaultConnectors: + type: array + items: + type: string + defaultEmail: + type: object + properties: + to: + type: array + items: + type: string + cc: + type: array + items: + type: string + bcc: + type: array + items: + type: string + additionalProperties: false + required: + - to + additionalProperties: false + parameters: [] + operationId: get-uptime-settings + put: + summary: '' + tags: + - uptime + description: 'Update uptime settings

[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + heartbeatIndices: + type: string + minLength: 1 + certAgeThreshold: + type: number + minimum: 1 + certExpirationThreshold: + type: number + minimum: 1 + defaultConnectors: + type: array + items: + type: string + defaultEmail: + type: object + properties: + to: + type: array + items: + type: string + cc: + type: array + items: + type: string + bcc: + type: array + items: + type: string + additionalProperties: false + required: + - to + additionalProperties: false + responses: + '200': + content: + application/json: + schema: + type: object + properties: + heartbeatIndices: + type: string + minLength: 1 + certAgeThreshold: + type: number + minimum: 1 + certExpirationThreshold: + type: number + minimum: 1 + defaultConnectors: + type: array + items: + type: string + defaultEmail: + type: object + properties: + to: + type: array + items: + type: string + cc: + type: array + items: + type: string + bcc: + type: array + items: + type: string + additionalProperties: false + required: + - to + additionalProperties: false + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-uptime-settings + /api/synthetics/params/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read.' + responses: {} + parameters: + - name: id + in: path + required: false + schema: + type: string + operationId: get-synthetics-params-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + key: + type: string + minLength: 1 + value: + type: string + minLength: 1 + description: + type: string + tags: + type: array + items: + type: string + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-synthetics-params-id + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + ids: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: false + schema: + type: string + operationId: delete-synthetics-params-id + /api/synthetics/params: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + anyOf: + - type: object + properties: + key: + type: string + minLength: 1 + value: + type: string + minLength: 1 + description: + type: string + tags: + type: array + items: + type: string + share_across_spaces: + type: boolean + additionalProperties: false + required: + - key + - value + - type: array + items: + type: object + properties: + key: + type: string + minLength: 1 + value: + type: string + minLength: 1 + description: + type: string + tags: + type: array + items: + type: string + share_across_spaces: + type: boolean + additionalProperties: false + required: + - key + - value + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-synthetics-params + /api/synthetics/private_locations: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + label: + type: string + agentPolicyId: + type: string + tags: + type: array + items: + type: string + geo: + type: object + properties: + lat: + type: number + lon: + type: number + additionalProperties: false + required: + - lat + - lon + spaces: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - label + - agentPolicyId + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-synthetics-private-locations + /api/synthetics/private_locations/{locationId}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: locationId + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1024 + operationId: delete-synthetics-private-locations-locationid + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + label: + type: string + minLength: 1 + tags: + type: array + items: + type: string + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: locationId + in: path + required: true + schema: + type: string + operationId: put-synthetics-private-locations-locationid + /api/synthetics/private_locations/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read.' + responses: {} + parameters: + - name: id + in: path + required: false + schema: + type: string + operationId: get-synthetics-private-locations-id + /api/synthetics/monitors: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read.' + responses: {} + parameters: + - name: query + in: query + required: false + schema: + type: string + - name: filter + in: query + required: false + schema: + type: string + - name: tags + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: monitorTypes + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: locations + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: projects + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: schedules + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: status + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: monitorQueryIds + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + - name: showFromAllSpaces + in: query + required: false + schema: + type: boolean + - name: useLogicalAndFor + in: query + required: false + schema: + anyOf: + - type: string + - type: array + items: + type: string + enum: + - tags + - locations + - name: page + in: query + required: false + schema: + type: number + - name: perPage + in: query + required: false + schema: + type: number + - name: sortField + in: query + required: false + schema: + type: string + enum: + - enabled + - status + - updated_at + - name.keyword + - tags.keyword + - project_id.keyword + - type.keyword + - schedule.keyword + - journey_id + - name: sortOrder + in: query + required: false + schema: + type: string + enum: + - desc + - asc + - name: searchAfter + in: query + required: false + schema: + type: array + items: + type: string + - name: internal + in: query + required: false + schema: + type: boolean + operationId: get-synthetics-monitors + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: query + required: false + schema: + type: string + - name: preserve_namespace + in: query + required: false + schema: + type: boolean + - name: gettingStarted + in: query + required: false + schema: + type: boolean + - name: internal + in: query + required: false + schema: + type: boolean + - name: savedObjectType + in: query + required: false + schema: + type: string + enum: + - synthetics-monitor-multi-space + - synthetics-monitor + operationId: post-synthetics-monitors + /api/synthetics/monitors/{monitorId}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read.' + responses: {} + parameters: + - name: monitorId + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1024 + - name: internal + in: query + required: false + schema: + type: boolean + operationId: get-synthetics-monitors-monitorid + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: monitorId + in: path + required: true + schema: + type: string + - name: internal + in: query + required: false + schema: + type: boolean + operationId: put-synthetics-monitors-monitorid + /api/synthetics/monitors/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + nullable: true + type: object + properties: + ids: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: false + schema: + type: string + operationId: delete-synthetics-monitors-id + /api/synthetics/monitors/_bulk_delete: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + ids: + type: array + minItems: 1 + items: + type: string + additionalProperties: false + required: + - ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-synthetics-monitors-bulk-delete + /api/synthetics/params/_bulk_delete: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + requestBody: + content: + application/json: + schema: + type: object + properties: + ids: + type: array + items: + type: string + additionalProperties: false + required: + - ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-synthetics-params-bulk-delete + /api/synthetics/latest_test_run: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read.' + responses: {} + parameters: + - name: from + in: query + required: false + schema: + type: string + - name: to + in: query + required: false + schema: + type: string + - name: locationLabel + in: query + required: false + schema: + type: string + - name: monitorId + in: query + required: true + schema: + type: string + operationId: get-synthetics-latest-test-run + /api/synthetics/monitor/test/{monitorId}: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: monitorId + in: path + required: true + schema: + type: string + minLength: 1 + maxLength: 1024 + operationId: post-synthetics-monitor-test-monitorid + /api/apm/services/{serviceName}/annotation/search: + get: + summary: '' + tags: + - APM annotations + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - name: serviceName + in: path + required: true + schema: + type: string + operationId: get-apm-services-servicename-annotation-search + /api/apm/services/{serviceName}/annotation: + post: + summary: '' + tags: + - APM annotations + description: '[Required authorization] Route required privileges: apm AND apm_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: serviceName + in: path + required: true + schema: + type: string + operationId: post-apm-services-servicename-annotation + /api/apm/settings/agent-configuration: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-apm-settings-agent-configuration + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-apm-settings-agent-configuration + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-apm-settings-agent-configuration + /api/apm/settings/agent-configuration/view: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-apm-settings-agent-configuration-view + /api/apm/settings/agent-configuration/search: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-apm-settings-agent-configuration-search + /api/apm/settings/agent-configuration/environments: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-apm-settings-agent-configuration-environments + /api/apm/settings/agent-configuration/agent_name: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-apm-settings-agent-configuration-agent-name + /api/apm/sourcemaps: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: [] + operationId: get-apm-sourcemaps + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm AND apm_write.' + requestBody: + content: + multipart/form-data: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-apm-sourcemaps + /api/apm/sourcemaps/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm AND apm_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: delete-apm-sourcemaps-id + /api/apm/fleet/apm_server_schema: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: apm AND apm_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-apm-fleet-apm-server-schema + /api/apm/agent_keys: + post: + summary: '' + tags: + - APM agent keys + description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' + requestBody: + content: + application/json: + schema: + description: Pass through any value without validation. + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-apm-agent-keys + /api/osquery/live_queries: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' + responses: {} + parameters: [] + operationId: get-osquery-live-queries + post: + summary: '' + tags: [] + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-osquery-live-queries + /api/osquery/live_queries/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' + responses: {} + parameters: [] + operationId: get-osquery-live-queries-id + /api/osquery/live_queries/{id}/results/{actionId}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' + responses: {} + parameters: [] + operationId: get-osquery-live-queries-id-results-actionid + /api/osquery/packs: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writePacks.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-osquery-packs + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readPacks.' + responses: {} + parameters: [] + operationId: get-osquery-packs + /api/osquery/packs/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writePacks.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-osquery-packs-id + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readPacks.' + responses: {} + parameters: [] + operationId: get-osquery-packs-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writePacks.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-osquery-packs-id + /api/osquery/saved_queries: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-osquery-saved-queries + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readSavedQueries.' + responses: {} + parameters: [] + operationId: get-osquery-saved-queries + /api/osquery/saved_queries/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-osquery-saved-queries-id + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-readSavedQueries.' + responses: {} + parameters: [] + operationId: get-osquery-saved-queries-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-osquery-saved-queries-id + /api/osquery/action_results/{actionId}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: osquery-read.' + responses: {} + parameters: [] + operationId: get-osquery-action-results-actionid + /api/detection_engine/rules/prepackaged/_status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-rules-prepackaged-status + /api/detection_engine/rules/prepackaged: + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: put-detection-engine-rules-prepackaged + /api/detection_engine/rules/{id}/exceptions: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules-id-exceptions + /api/exceptions/shared: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-exceptions-shared + /api/detection_engine/rules: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-rules + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-detection-engine-rules + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-detection-engine-rules + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-detection-engine-rules + /api/detection_engine/rules/_bulk_action: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules-bulk-action + /api/detection_engine/rules/_export: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules-export + /api/detection_engine/rules/_import: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules-import + /api/detection_engine/rules/_find: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-rules-find + /api/detection_engine/tags: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-tags + /api/detection_engine/rules/preview: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-rules-preview + /api/timeline: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-timeline + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-timeline + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_read.' + responses: {} + parameters: [] + operationId: get-timeline + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-timeline + /api/timeline/_import: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-timeline-import + /api/timeline/_export: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_read.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-timeline-export + /api/timeline/_draft: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_read.' + responses: {} + parameters: [] + operationId: get-timeline-draft + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-timeline-draft + /api/timeline/resolve: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_read.' + responses: {} + parameters: [] + operationId: get-timeline-resolve + /api/timelines: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_read.' + responses: {} + parameters: [] + operationId: get-timelines + /api/timeline/_favorite: + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-timeline-favorite + /api/timeline/_prepackaged: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-timeline-prepackaged + /api/note: + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: notes_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-note + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: notes_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-note + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: notes_read.' + responses: {} + parameters: [] + operationId: get-note + /api/pinned_event: + patch: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: timeline_write.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: patch-pinned-event + /api/detection_engine/signals/status: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-status + /api/detection_engine/signals/tags: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-tags + /api/detection_engine/signals/assignees: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-assignees + /api/detection_engine/signals/search: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-search + /api/detection_engine/signals/migration_status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + deprecated: true + responses: {} + parameters: [] + operationId: get-detection-engine-signals-migration-status + /api/detection_engine/signals/migration: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + deprecated: true + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-migration + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + deprecated: true + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-detection-engine-signals-migration + /api/detection_engine/signals/finalize_migration: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + deprecated: true + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-detection-engine-signals-finalize-migration + /api/detection_engine/index: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: post-detection-engine-index + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-index + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: delete-detection-engine-index + /api/detection_engine/privileges: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-detection-engine-privileges + /api/asset_criticality/upload_csv: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + file: + type: object + additionalProperties: false + required: + - file + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-asset-criticality-upload-csv + /api/asset_criticality/bulk: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-asset-criticality-bulk + /api/asset_criticality: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-asset-criticality + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-asset-criticality + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-asset-criticality + /api/asset_criticality/list: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-asset-criticality-list + /internal/risk_score/engine/schedule_now: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-risk-score-engine-schedule-now + /api/risk_score/engine/dangerously_delete_data: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-risk-score-engine-dangerously-delete-data + /api/risk_score/engine/saved_object/configure: + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-risk-score-engine-saved-object-configure + /api/entity_store/enable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-store-enable + /api/entity_store/status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-store-status + /api/entity_store/engines/{entityType}/init: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-store-engines-entitytype-init + /api/entity_store/engines/{entityType}/start: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-store-engines-entitytype-start + /api/entity_store/engines/{entityType}/stop: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-store-engines-entitytype-stop + /api/entity_store/engines/{entityType}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-entity-store-engines-entitytype + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-store-engines-entitytype + /api/entity_store/engines: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-store-engines + /api/entity_store/entities/list: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-store-entities-list + /api/entity_store/engines/apply_dataview_indices: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-store-engines-apply-dataview-indices + /api/entity_store/entities/{entityType}: + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-entity-store-entities-entitytype + x-state: Beta + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-entity-store-entities-entitytype + x-state: Beta; added in 9.3.0 + /api/entity_store/entities/bulk: + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-entity-store-entities-bulk + x-state: Beta + /api/entity_analytics/privileged_user_monitoring/pad/install: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-privileged-user-monitoring-pad-install + /api/entity_analytics/privileged_user_monitoring/pad/status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-analytics-privileged-user-monitoring-pad-status + /api/entity_analytics/monitoring/engine/init: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-engine-init + /api/entity_analytics/monitoring/engine/schedule_now: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-engine-schedule-now + /api/entity_analytics/monitoring/engine/delete: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: delete-entity-analytics-monitoring-engine-delete + x-state: Generally available; added in 9.1.0 + /api/entity_analytics/monitoring/privileges/health: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-analytics-monitoring-privileges-health + /api/entity_analytics/monitoring/privileges/privileges: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-analytics-monitoring-privileges-privileges + /api/entity_analytics/monitoring/privileges/indices: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-analytics-monitoring-privileges-indices + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: put-entity-analytics-monitoring-privileges-indices + /api/entity_analytics/monitoring/users: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: + type: object + properties: + user: + type: object + properties: + name: + type: string + additionalProperties: false + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-users + /api/entity_analytics/monitoring/users/{id}: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: delete-entity-analytics-monitoring-users-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: + type: object + properties: + id: + type: string + user: + type: object + properties: + name: + type: string + is_privileged: + type: boolean + additionalProperties: false + labels: + type: object + properties: + sources: + type: array + items: {} + source_ids: + type: array + items: + type: string + source_integrations: + type: array + items: + type: string + additionalProperties: false + entity_analytics_monitoring: + type: object + properties: + labels: + type: array + items: + type: object + properties: + field: + type: string + value: + type: string + source: + type: string + required: + - field + - value + - source + additionalProperties: false + additionalProperties: false + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-entity-analytics-monitoring-users-id + /api/entity_analytics/monitoring/users/list: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - name: kql + in: query + required: false + schema: + type: string + operationId: get-entity-analytics-monitoring-users-list + /api/entity_analytics/monitoring/users/_csv: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + file: + type: object + additionalProperties: false + required: + - file + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-users-csv + /api/entity_analytics/monitoring/engine/disable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-engine-disable + x-state: Generally available; added in 9.1.0 + /api/entity_analytics/monitoring/entity_source: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: + type: object + properties: + type: + type: string + name: + type: string + managed: + type: boolean + indexPattern: + type: string + enabled: + type: boolean + error: + type: string + integrationName: + type: string + matchers: + type: array + items: + type: object + properties: + fields: + type: array + items: + type: string + values: + type: array + items: + type: string + required: + - fields + - values + additionalProperties: false + filter: + type: object + properties: + kuery: + anyOf: + - type: string + - type: object + properties: {} + additionalProperties: false + additionalProperties: false + integrations: + type: object + properties: + syncMarkerIndex: + type: string + syncData: + type: object + properties: + lastFullSync: + type: string + format: date-time + lastUpdateProcessed: + type: string + format: date-time + additionalProperties: false + additionalProperties: false + required: + - type + - name + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-entity-analytics-monitoring-entity-source + /api/entity_analytics/monitoring/entity_source/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + operationId: get-entity-analytics-monitoring-entity-source-id + put: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + requestBody: + content: + application/json: + schema: + type: object + properties: + name: + type: string + type: + type: string + managed: + type: boolean + indexPattern: + type: string + integrationName: + type: string + enabled: + type: boolean + matchers: + type: array + items: + type: object + properties: + fields: + type: array + items: + type: string + values: + type: array + items: + type: string + required: + - fields + - values + additionalProperties: false + filter: + type: object + properties: + kuery: + anyOf: + - type: string + - type: object + properties: {} + additionalProperties: false + additionalProperties: false + integrations: + type: object + properties: + syncMarkerIndex: + type: string + syncData: + type: object + properties: + lastFullSync: + type: string + format: date-time + lastUpdateProcessed: + type: string + format: date-time + additionalProperties: false + additionalProperties: false + additionalProperties: false + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: id + in: path + required: true + schema: + type: string + operationId: put-entity-analytics-monitoring-entity-source-id + /api/entity_analytics/monitoring/entity_source/list: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' + responses: {} + parameters: [] + operationId: get-entity-analytics-monitoring-entity-source-list + /api/asset_inventory/enable: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: {} + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-asset-inventory-enable + /api/asset_inventory/delete: + delete: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: delete-asset-inventory-delete + /api/asset_inventory/status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-asset-inventory-status + /api/asset_inventory/install_data_view: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-asset-inventory-install-data-view + /api/siem_readiness/post_task: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + task_id: + type: string + status: + type: string + enum: + - completed + - incomplete + meta: + type: object + properties: {} + additionalProperties: true + additionalProperties: false + required: + - task_id + - status + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-siem-readiness-post-task + /api/siem_readiness/get_latest_tasks: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-siem-readiness-get-latest-tasks + /api/endpoint/metadata: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: page + in: query + required: false + schema: + type: number + default: 0 + minimum: 0 + - name: pageSize + in: query + required: false + schema: + type: number + default: 10 + minimum: 1 + maximum: 10000 + - name: kuery + in: query + required: false + schema: + type: string + - name: sortField + in: query + required: false + schema: + type: string + enum: + - enrolled_at + - metadata.host.hostname + - host_status + - metadata.Endpoint.policy.applied.name + - metadata.Endpoint.policy.applied.status + - metadata.host.os.name + - metadata.host.ip + - metadata.agent.version + - last_checkin + - name: sortDirection + in: query + required: false + schema: + type: string + enum: + - asc + - desc + - name: hostStatuses + in: query + required: false + schema: + type: array + items: + type: string + enum: + - healthy + - offline + - updating + - unhealthy + - inactive + operationId: get-endpoint-metadata + /api/endpoint/metadata/{id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: id + in: path + required: true + schema: + type: string + operationId: get-endpoint-metadata-id + /api/endpoint/policy_response: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: agentId + in: query + required: true + schema: + type: string + operationId: get-endpoint-policy-response + /api/endpoint/protection_updates_note/{package_policy_id}: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + note: + type: string + additionalProperties: false + required: + - note + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + - name: package_policy_id + in: path + required: true + schema: + type: string + operationId: post-endpoint-protection-updates-note-package-policy-id + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: package_policy_id + in: path + required: true + schema: + type: string + operationId: get-endpoint-protection-updates-note-package-policy-id + /api/endpoint/action_status: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: agent_ids + in: query + required: true + schema: + anyOf: + - type: array + minItems: 1 + maxItems: 50 + items: + type: string + minLength: 1 + - type: string + minLength: 1 + operationId: get-endpoint-action-status + /api/endpoint/action/state: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: [] + operationId: get-endpoint-action-state + /api/endpoint/action: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: agentIds + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + items: + type: string + minLength: 1 + - type: string + minLength: 1 + - name: agentTypes + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + maxItems: 4 + items: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + - type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + - name: commands + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + items: + type: string + enum: + - isolate + - unisolate + - kill-process + - suspend-process + - running-processes + - get-file + - execute + - upload + - scan + - runscript + - cancel + - memory-dump + - type: string + enum: + - isolate + - unisolate + - kill-process + - suspend-process + - running-processes + - get-file + - execute + - upload + - scan + - runscript + - cancel + - memory-dump + - name: page + in: query + required: false + schema: + type: number + minimum: 1 + - name: pageSize + in: query + required: false + schema: + type: number + minimum: 1 + maximum: 10000 + - name: startDate + in: query + required: false + schema: + type: string + - name: endDate + in: query + required: false + schema: + type: string + - name: statuses + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + maxItems: 3 + items: + type: string + enum: + - failed + - pending + - successful + - type: string + enum: + - failed + - pending + - successful + - name: userIds + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + items: + type: string + minLength: 1 + - type: string + minLength: 1 + - name: withOutputs + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + items: + type: string + minLength: 1 + - type: string + minLength: 1 + - name: types + in: query + required: false + schema: + anyOf: + - type: array + minItems: 1 + maxItems: 2 + items: + type: string + enum: + - automated + - manual + - type: string + enum: + - automated + - manual + operationId: get-endpoint-action + /api/endpoint/action/{action_id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: action_id + in: path + required: true + schema: + type: string + operationId: get-endpoint-action-action-id + /api/endpoint/action/isolate: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: {} + additionalProperties: false + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-isolate + /api/endpoint/action/unisolate: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: {} + additionalProperties: false + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-unisolate + /api/endpoint/action/kill_process: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + anyOf: + - type: object + properties: + pid: + type: number + minimum: 1 + additionalProperties: false + required: + - pid + - type: object + properties: + entity_id: + type: string + minLength: 1 + additionalProperties: false + required: + - entity_id + - type: object + properties: + process_name: + type: string + minLength: 1 + additionalProperties: false + required: + - process_name + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-kill-process + /api/endpoint/action/suspend_process: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + anyOf: + - type: object + properties: + pid: + type: number + minimum: 1 + additionalProperties: false + required: + - pid + - type: object + properties: + entity_id: + type: string + minLength: 1 + additionalProperties: false + required: + - entity_id + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-suspend-process + /api/endpoint/action/running_procs: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: {} + additionalProperties: false + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-running-procs + /api/endpoint/action/get_file: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: + path: + type: string + minLength: 1 + additionalProperties: false + required: + - path + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-get-file + /api/endpoint/action/execute: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: + command: + type: string + minLength: 1 + timeout: + type: number + minimum: 1 + additionalProperties: false + required: + - command + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-execute + /api/endpoint/action/upload: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + multipart/form-data: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: + overwrite: + type: boolean + additionalProperties: false + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + file: + type: object + additionalProperties: false + required: + - endpoint_ids + - parameters + - file + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-upload + /api/endpoint/action/scan: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: + path: + type: string + minLength: 1 + additionalProperties: false + required: + - path + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-scan + /api/endpoint/action/run_script: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + parameters: + oneOf: + - type: object + properties: + raw: + type: string + minLength: 1 + hostPath: + type: string + minLength: 1 + cloudFile: + type: string + minLength: 1 + commandLine: + type: string + minLength: 1 + timeout: + type: number + minimum: 1 + additionalProperties: false + - oneOf: + - type: object + properties: + scriptName: + type: string + minLength: 1 + args: + type: string + minLength: 1 + additionalProperties: false + required: + - scriptName + - oneOf: + - type: object + properties: + scriptId: + type: string + minLength: 1 + scriptInput: + type: string + minLength: 1 + additionalProperties: false + required: + - scriptId + - not: {} + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + nullable: true + anyOf: + - type: array + items: {} + - type: boolean + - type: number + - type: object + - type: string + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-run-script + /api/endpoint/action/cancel: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + type: object + properties: + id: + type: string + minLength: 1 + additionalProperties: false + required: + - id + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-cancel + /api/endpoint/action/memory_dump: + post: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + requestBody: + content: + application/json: + schema: + type: object + properties: + endpoint_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + alert_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + case_ids: + type: array + minItems: 1 + items: + type: string + minLength: 1 + comment: + type: string + parameters: + anyOf: + - type: object + properties: + type: + type: string + enum: + - kernel + additionalProperties: false + required: + - type + - type: object + properties: + type: + type: string + enum: + - process + pid: + type: number + minimum: 1 + additionalProperties: false + required: + - type + - pid + - type: object + properties: + type: + type: string + enum: + - process + entity_id: + type: string + minLength: 1 + additionalProperties: false + required: + - type + - entity_id + agent_type: + type: string + enum: + - endpoint + - sentinel_one + - crowdstrike + - microsoft_defender_endpoint + additionalProperties: false + required: + - endpoint_ids + - parameters + responses: {} + parameters: + - description: A required header to protect against CSRF attacks + in: header + name: kbn-xsrf + required: true + schema: + example: 'true' + type: string + operationId: post-endpoint-action-memory-dump + /api/endpoint/action/{action_id}/file/{file_id}/download: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: action_id + in: path + required: true + schema: + type: string + minLength: 1 + - name: file_id + in: path + required: true + schema: + type: string + minLength: 1 + operationId: get-endpoint-action-action-id-file-file-id-download + /api/endpoint/action/{action_id}/file/{file_id}: + get: + summary: '' + tags: [] + description: '[Required authorization] Route required privileges: securitySolution.' + responses: {} + parameters: + - name: action_id + in: path + required: true + schema: + type: string + minLength: 1 + - name: file_id + in: path + required: true + schema: + type: string + minLength: 1 + operationId: get-endpoint-action-action-id-file-file-id +components: + schemas: + core_status_response: + type: object + description: Kibana's operational status as well as a detailed breakdown of plugin statuses indication of various loads (like event loop utilization and network traffic) at time of request. + properties: + name: + type: string + description: Kibana instance name. + uuid: + type: string + description: Unique, generated Kibana instance UUID. This UUID should persist even if the Kibana process restarts. + version: + type: object + properties: + number: + type: string + description: A semantic version number. + build_hash: + type: string + description: A unique hash value representing the git commit of this Kibana build. + build_number: + type: number + description: A monotonically increasing number, each subsequent build will have a higher number. + build_snapshot: + type: boolean + description: Whether this build is a snapshot build. + build_flavor: + description: The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the "traditional" flavour, while other flavours are reserved for Elastic-specific use cases. + type: string + enum: + - serverless + - traditional + build_date: + type: string + description: The date and time of this build. + additionalProperties: false + required: + - number + - build_hash + - build_number + - build_snapshot + - build_flavor + - build_date + status: + type: object + properties: + overall: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + summary: + type: string + description: A human readable summary of the service status. + detail: + type: string + description: Human readable detail of the service status. + documentationUrl: + type: string + description: A URL to further documentation regarding this service. + meta: + type: object + description: An unstructured set of extra metadata about this service. + additionalProperties: {} + additionalProperties: false + required: + - level + - summary + - meta + core: + type: object + description: Statuses of core Kibana services. + properties: + elasticsearch: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + summary: + type: string + description: A human readable summary of the service status. + detail: + type: string + description: Human readable detail of the service status. + documentationUrl: + type: string + description: A URL to further documentation regarding this service. + meta: + type: object + description: An unstructured set of extra metadata about this service. + additionalProperties: {} + additionalProperties: false + required: + - level + - summary + - meta + http: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + summary: + type: string + description: A human readable summary of the service status. + detail: + type: string + description: Human readable detail of the service status. + documentationUrl: + type: string + description: A URL to further documentation regarding this service. + meta: + type: object + description: An unstructured set of extra metadata about this service. + additionalProperties: {} + additionalProperties: false + required: + - level + - summary + - meta + savedObjects: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + summary: + type: string + description: A human readable summary of the service status. + detail: + type: string + description: Human readable detail of the service status. + documentationUrl: + type: string + description: A URL to further documentation regarding this service. + meta: + type: object + description: An unstructured set of extra metadata about this service. + additionalProperties: {} + additionalProperties: false + required: + - level + - summary + - meta + additionalProperties: false + required: + - elasticsearch + - savedObjects + plugins: + type: object + description: A dynamic mapping of plugin ID to plugin status. + additionalProperties: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + summary: + type: string + description: A human readable summary of the service status. + detail: + type: string + description: Human readable detail of the service status. + documentationUrl: + type: string + description: A URL to further documentation regarding this service. + meta: + type: object + description: An unstructured set of extra metadata about this service. + additionalProperties: {} + additionalProperties: false + required: + - level + - summary + - meta + additionalProperties: false + required: + - overall + - core + - plugins + metrics: + type: object + description: Metric groups collected by Kibana. + properties: + elasticsearch_client: + type: object + description: Current network metrics of Kibana's Elasticsearch client. + properties: + totalActiveSockets: + type: number + description: Count of network sockets currently in use. + totalIdleSockets: + type: number + description: Count of network sockets currently idle. + totalQueuedRequests: + type: number + description: Count of requests not yet assigned to sockets. + additionalProperties: false + required: + - totalActiveSockets + - totalIdleSockets + - totalQueuedRequests + last_updated: + type: string + description: The time metrics were collected. + collection_interval_in_millis: + type: number + description: The interval at which metrics should be collected. + additionalProperties: false + required: + - elasticsearch_client + - last_updated + - collection_interval_in_millis + additionalProperties: false + required: + - name + - uuid + - version + - status + - metrics + core_status_redactedResponse: + type: object + description: A minimal representation of Kibana's operational status. + properties: + status: + type: object + properties: + overall: + type: object + properties: + level: + description: Service status levels as human and machine readable values. + type: string + enum: + - available + - degraded + - unavailable + - critical + additionalProperties: false + required: + - level + additionalProperties: false + required: + - overall + additionalProperties: false + required: + - status + StreamlangCondition: + anyOf: + - type: object + properties: + type: + type: string + enum: + - filter + field: + type: string + minLength: 1 + eq: + anyOf: + - type: string + - type: number + - type: boolean + neq: + anyOf: + - type: string + - type: number + - type: boolean + lt: + anyOf: + - type: string + - type: number + - type: boolean + lte: + anyOf: + - type: string + - type: number + - type: boolean + gt: + anyOf: + - type: string + - type: number + - type: boolean + gte: + anyOf: + - type: string + - type: number + - type: boolean + contains: + anyOf: + - type: string + - type: number + - type: boolean + startsWith: + anyOf: + - type: string + - type: number + - type: boolean + endsWith: + anyOf: + - type: string + - type: number + - type: boolean + range: + type: object + properties: + gt: + anyOf: + - type: string + - type: number + - type: boolean + gte: + anyOf: + - type: string + - type: number + - type: boolean + lt: + anyOf: + - type: string + - type: number + - type: boolean + lte: + anyOf: + - type: string + - type: number + - type: boolean + additionalProperties: false + exists: + type: boolean + required: + - type + - field + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - and + and: + type: array + items: + $ref: '#/components/schemas/StreamlangCondition' + required: + - type + - and + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - or + or: + type: array + items: + $ref: '#/components/schemas/StreamlangCondition' + required: + - type + - or + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - not + not: + $ref: '#/components/schemas/StreamlangCondition' + required: + - type + - not + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - never + never: + type: object + properties: {} + additionalProperties: false + required: + - type + - never + additionalProperties: false + - type: object + properties: + type: + type: string + enum: + - always + always: + type: object + properties: {} + additionalProperties: false + required: + - type + - always + additionalProperties: false + StreamlangStep: + anyOf: + - allOf: + - anyOf: + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - grok + from: + type: string + minLength: 1 + patterns: + type: array + items: + type: string + minLength: 1 + minItems: 1 + ignore_missing: + type: boolean + required: + - action + - from + - patterns + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - dissect + from: + type: string + minLength: 1 + pattern: + type: string + minLength: 1 + append_separator: + type: string + minLength: 1 + ignore_missing: + type: boolean + required: + - action + - from + - pattern + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - date + from: + type: string + minLength: 1 + to: + type: string + minLength: 1 + formats: + type: array + items: + type: string + minLength: 1 + output_format: + type: string + minLength: 1 + timezone: + type: string + minLength: 1 + locale: + type: string + minLength: 1 + required: + - action + - from + - formats + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - rename + from: + type: string + minLength: 1 + to: + type: string + minLength: 1 + ignore_missing: + type: boolean + override: + type: boolean + required: + - action + - from + - to + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - set + to: + type: string + minLength: 1 + override: + type: boolean + value: {} + copy_from: + type: string + minLength: 1 + required: + - action + - to + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - append + to: + type: string + minLength: 1 + value: + type: array + items: {} + minItems: 1 + allow_duplicates: + type: boolean + required: + - action + - to + - value + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + action: + type: string + enum: + - remove_by_prefix + from: + type: string + minLength: 1 + required: + - action + - from + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - remove + from: + type: string + minLength: 1 + ignore_missing: + type: boolean + required: + - action + - from + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - convert + from: + type: string + minLength: 1 + to: + type: string + minLength: 1 + type: + type: string + enum: + - integer + - long + - double + - boolean + - string + ignore_missing: + type: boolean + required: + - action + - from + - type + additionalProperties: false + - type: object + properties: + customIdentifier: + type: string + minLength: 1 + description: + type: string + ignore_failure: + type: boolean + where: + $ref: '#/components/schemas/StreamlangCondition' + action: + type: string + enum: + - manual_ingest_pipeline + processors: + type: array + items: + type: object + required: + - append + - attachment + - bytes + - circle + - community_id + - convert + - csv + - date + - date_index_name + - dissect + - dot_expander + - drop + - enrich + - fail + - fingerprint + - foreach + - ip_location + - geo_grid + - geoip + - grok + - gsub + - html_strip + - inference + - join + - json + - kv + - lowercase + - network_direction + - pipeline + - redact + - registered_domain + - remove + - rename + - reroute + - script + - set + - set_security_user + - sort + - split + - terminate + - trim + - uppercase + - urldecode + - uri_parts + - user_agent + properties: + append: {} + attachment: {} + bytes: {} + circle: {} + community_id: {} + convert: {} + csv: {} + date: {} + date_index_name: {} + dissect: {} + dot_expander: {} + drop: {} + enrich: {} + fail: {} + fingerprint: {} + foreach: {} + ip_location: {} + geo_grid: {} + geoip: {} + grok: {} + gsub: {} + html_strip: {} + inference: {} + join: {} + json: {} + kv: {} + lowercase: {} + network_direction: {} + pipeline: {} + redact: {} + registered_domain: {} + remove: {} + rename: {} + reroute: {} + script: {} + set: {} + set_security_user: {} + sort: {} + split: {} + terminate: {} + trim: {} + uppercase: {} + urldecode: {} + uri_parts: {} + user_agent: {} + additionalProperties: false + tag: + type: string + on_failure: + type: array + items: + type: object + additionalProperties: {} + required: + - action + - processors + additionalProperties: false + - type: object + properties: + kind: + type: string + enum: + - processor + - type: object + properties: + kind: + type: string + enum: + - where + customIdentifier: + type: string + where: + allOf: + - $ref: '#/components/schemas/StreamlangCondition' + - type: object + properties: + steps: + type: array + items: + $ref: '#/components/schemas/StreamlangStep' + required: + - steps + required: + - where + additionalProperties: false + securitySchemes: + basicAuth: + type: http + scheme: basic + apiKeyAuth: + type: apiKey + in: header + name: Authorization diff --git a/generated/kbstreams/streams.gen.go b/generated/kbstreams/streams.gen.go new file mode 100644 index 000000000..6ad45759c --- /dev/null +++ b/generated/kbstreams/streams.gen.go @@ -0,0 +1,6249 @@ +// Package kbstreams provides primitives to interact with the openapi HTTP API. +// +// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT. +package kbstreams + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "io" + "net/http" + "net/url" + "strings" + + "github.com/oapi-codegen/runtime" +) + +const ( + BasicAuthScopes = "basicAuth.Scopes" +) + +// Defines values for StreamlangCondition0Type. +const ( + Filter StreamlangCondition0Type = "filter" +) + +// Defines values for StreamlangCondition1Type. +const ( + And StreamlangCondition1Type = "and" +) + +// Defines values for StreamlangCondition2Type. +const ( + Or StreamlangCondition2Type = "or" +) + +// Defines values for StreamlangCondition3Type. +const ( + Not StreamlangCondition3Type = "not" +) + +// Defines values for StreamlangCondition4Type. +const ( + Never StreamlangCondition4Type = "never" +) + +// Defines values for StreamlangCondition5Type. +const ( + Always StreamlangCondition5Type = "always" +) + +// Defines values for StreamlangStep0Kind. +const ( + Processor StreamlangStep0Kind = "processor" +) + +// Defines values for StreamlangStep1Kind. +const ( + Where StreamlangStep1Kind = "where" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle0Type. +const ( + PutStreamsNameJSONBody00StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody00StreamIngestLifecycle0Type = "dsl" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle1Type. +const ( + PutStreamsNameJSONBody00StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody00StreamIngestLifecycle1Type = "ilm" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle2Type. +const ( + PutStreamsNameJSONBody00StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody00StreamIngestLifecycle2Type = "inherit" +) + +// Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 = -1 +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle0Type. +const ( + PutStreamsNameJSONBody01StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody01StreamIngestLifecycle0Type = "dsl" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle1Type. +const ( + PutStreamsNameJSONBody01StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody01StreamIngestLifecycle1Type = "ilm" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle2Type. +const ( + PutStreamsNameJSONBody01StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody01StreamIngestLifecycle2Type = "inherit" +) + +// Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 = -1 +) + +// Defines values for PostStreamsNameForkJSONBodyStatus. +const ( + PostStreamsNameForkJSONBodyStatusDisabled PostStreamsNameForkJSONBodyStatus = "disabled" + PostStreamsNameForkJSONBodyStatusEnabled PostStreamsNameForkJSONBodyStatus = "enabled" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type. +const ( + PutStreamsNameIngestJSONBodyIngest0Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type = "dsl" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type. +const ( + PutStreamsNameIngestJSONBodyIngest0Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type = "ilm" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type. +const ( + PutStreamsNameIngestJSONBodyIngest0Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type = "inherit" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0Type. +const ( + Wired PutStreamsNameIngestJSONBodyIngest0Type = "wired" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus. +const ( + PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatusDisabled PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus = "disabled" + PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatusEnabled PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus = "enabled" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type. +const ( + PutStreamsNameIngestJSONBodyIngest1Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type = "dsl" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type. +const ( + PutStreamsNameIngestJSONBodyIngest1Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type = "ilm" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type. +const ( + PutStreamsNameIngestJSONBodyIngest1Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type = "inherit" +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. +const ( + PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 +) + +// Defines values for PutStreamsNameIngestJSONBodyIngest1Type. +const ( + Classic PutStreamsNameIngestJSONBodyIngest1Type = "classic" +) + +// StreamlangCondition defines model for StreamlangCondition. +type StreamlangCondition struct { + union json.RawMessage +} + +// StreamlangCondition0 defines model for . +type StreamlangCondition0 struct { + Contains *StreamlangCondition_0_Contains `json:"contains,omitempty"` + EndsWith *StreamlangCondition_0_EndsWith `json:"endsWith,omitempty"` + Eq *StreamlangCondition_0_Eq `json:"eq,omitempty"` + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` + Gt *StreamlangCondition_0_Gt `json:"gt,omitempty"` + Gte *StreamlangCondition_0_Gte `json:"gte,omitempty"` + Lt *StreamlangCondition_0_Lt `json:"lt,omitempty"` + Lte *StreamlangCondition_0_Lte `json:"lte,omitempty"` + Neq *StreamlangCondition_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *StreamlangCondition_0_Range_Gt `json:"gt,omitempty"` + Gte *StreamlangCondition_0_Range_Gte `json:"gte,omitempty"` + Lt *StreamlangCondition_0_Range_Lt `json:"lt,omitempty"` + Lte *StreamlangCondition_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *StreamlangCondition_0_StartsWith `json:"startsWith,omitempty"` + Type StreamlangCondition0Type `json:"type"` +} + +// StreamlangCondition0Contains0 defines model for . +type StreamlangCondition0Contains0 = string + +// StreamlangCondition0Contains1 defines model for . +type StreamlangCondition0Contains1 = float32 + +// StreamlangCondition0Contains2 defines model for . +type StreamlangCondition0Contains2 = bool + +// StreamlangCondition_0_Contains defines model for StreamlangCondition.0.Contains. +type StreamlangCondition_0_Contains struct { + union json.RawMessage +} + +// StreamlangCondition0EndsWith0 defines model for . +type StreamlangCondition0EndsWith0 = string + +// StreamlangCondition0EndsWith1 defines model for . +type StreamlangCondition0EndsWith1 = float32 + +// StreamlangCondition0EndsWith2 defines model for . +type StreamlangCondition0EndsWith2 = bool + +// StreamlangCondition_0_EndsWith defines model for StreamlangCondition.0.EndsWith. +type StreamlangCondition_0_EndsWith struct { + union json.RawMessage +} + +// StreamlangCondition0Eq0 defines model for . +type StreamlangCondition0Eq0 = string + +// StreamlangCondition0Eq1 defines model for . +type StreamlangCondition0Eq1 = float32 + +// StreamlangCondition0Eq2 defines model for . +type StreamlangCondition0Eq2 = bool + +// StreamlangCondition_0_Eq defines model for StreamlangCondition.0.Eq. +type StreamlangCondition_0_Eq struct { + union json.RawMessage +} + +// StreamlangCondition0Gt0 defines model for . +type StreamlangCondition0Gt0 = string + +// StreamlangCondition0Gt1 defines model for . +type StreamlangCondition0Gt1 = float32 + +// StreamlangCondition0Gt2 defines model for . +type StreamlangCondition0Gt2 = bool + +// StreamlangCondition_0_Gt defines model for StreamlangCondition.0.Gt. +type StreamlangCondition_0_Gt struct { + union json.RawMessage +} + +// StreamlangCondition0Gte0 defines model for . +type StreamlangCondition0Gte0 = string + +// StreamlangCondition0Gte1 defines model for . +type StreamlangCondition0Gte1 = float32 + +// StreamlangCondition0Gte2 defines model for . +type StreamlangCondition0Gte2 = bool + +// StreamlangCondition_0_Gte defines model for StreamlangCondition.0.Gte. +type StreamlangCondition_0_Gte struct { + union json.RawMessage +} + +// StreamlangCondition0Lt0 defines model for . +type StreamlangCondition0Lt0 = string + +// StreamlangCondition0Lt1 defines model for . +type StreamlangCondition0Lt1 = float32 + +// StreamlangCondition0Lt2 defines model for . +type StreamlangCondition0Lt2 = bool + +// StreamlangCondition_0_Lt defines model for StreamlangCondition.0.Lt. +type StreamlangCondition_0_Lt struct { + union json.RawMessage +} + +// StreamlangCondition0Lte0 defines model for . +type StreamlangCondition0Lte0 = string + +// StreamlangCondition0Lte1 defines model for . +type StreamlangCondition0Lte1 = float32 + +// StreamlangCondition0Lte2 defines model for . +type StreamlangCondition0Lte2 = bool + +// StreamlangCondition_0_Lte defines model for StreamlangCondition.0.Lte. +type StreamlangCondition_0_Lte struct { + union json.RawMessage +} + +// StreamlangCondition0Neq0 defines model for . +type StreamlangCondition0Neq0 = string + +// StreamlangCondition0Neq1 defines model for . +type StreamlangCondition0Neq1 = float32 + +// StreamlangCondition0Neq2 defines model for . +type StreamlangCondition0Neq2 = bool + +// StreamlangCondition_0_Neq defines model for StreamlangCondition.0.Neq. +type StreamlangCondition_0_Neq struct { + union json.RawMessage +} + +// StreamlangCondition0RangeGt0 defines model for . +type StreamlangCondition0RangeGt0 = string + +// StreamlangCondition0RangeGt1 defines model for . +type StreamlangCondition0RangeGt1 = float32 + +// StreamlangCondition0RangeGt2 defines model for . +type StreamlangCondition0RangeGt2 = bool + +// StreamlangCondition_0_Range_Gt defines model for StreamlangCondition.0.Range.Gt. +type StreamlangCondition_0_Range_Gt struct { + union json.RawMessage +} + +// StreamlangCondition0RangeGte0 defines model for . +type StreamlangCondition0RangeGte0 = string + +// StreamlangCondition0RangeGte1 defines model for . +type StreamlangCondition0RangeGte1 = float32 + +// StreamlangCondition0RangeGte2 defines model for . +type StreamlangCondition0RangeGte2 = bool + +// StreamlangCondition_0_Range_Gte defines model for StreamlangCondition.0.Range.Gte. +type StreamlangCondition_0_Range_Gte struct { + union json.RawMessage +} + +// StreamlangCondition0RangeLt0 defines model for . +type StreamlangCondition0RangeLt0 = string + +// StreamlangCondition0RangeLt1 defines model for . +type StreamlangCondition0RangeLt1 = float32 + +// StreamlangCondition0RangeLt2 defines model for . +type StreamlangCondition0RangeLt2 = bool + +// StreamlangCondition_0_Range_Lt defines model for StreamlangCondition.0.Range.Lt. +type StreamlangCondition_0_Range_Lt struct { + union json.RawMessage +} + +// StreamlangCondition0RangeLte0 defines model for . +type StreamlangCondition0RangeLte0 = string + +// StreamlangCondition0RangeLte1 defines model for . +type StreamlangCondition0RangeLte1 = float32 + +// StreamlangCondition0RangeLte2 defines model for . +type StreamlangCondition0RangeLte2 = bool + +// StreamlangCondition_0_Range_Lte defines model for StreamlangCondition.0.Range.Lte. +type StreamlangCondition_0_Range_Lte struct { + union json.RawMessage +} + +// StreamlangCondition0StartsWith0 defines model for . +type StreamlangCondition0StartsWith0 = string + +// StreamlangCondition0StartsWith1 defines model for . +type StreamlangCondition0StartsWith1 = float32 + +// StreamlangCondition0StartsWith2 defines model for . +type StreamlangCondition0StartsWith2 = bool + +// StreamlangCondition_0_StartsWith defines model for StreamlangCondition.0.StartsWith. +type StreamlangCondition_0_StartsWith struct { + union json.RawMessage +} + +// StreamlangCondition0Type defines model for StreamlangCondition.0.Type. +type StreamlangCondition0Type string + +// StreamlangCondition1 defines model for . +type StreamlangCondition1 struct { + And []StreamlangCondition `json:"and"` + Type StreamlangCondition1Type `json:"type"` +} + +// StreamlangCondition1Type defines model for StreamlangCondition.1.Type. +type StreamlangCondition1Type string + +// StreamlangCondition2 defines model for . +type StreamlangCondition2 struct { + Or []StreamlangCondition `json:"or"` + Type StreamlangCondition2Type `json:"type"` +} + +// StreamlangCondition2Type defines model for StreamlangCondition.2.Type. +type StreamlangCondition2Type string + +// StreamlangCondition3 defines model for . +type StreamlangCondition3 struct { + Not StreamlangCondition `json:"not"` + Type StreamlangCondition3Type `json:"type"` +} + +// StreamlangCondition3Type defines model for StreamlangCondition.3.Type. +type StreamlangCondition3Type string + +// StreamlangCondition4 defines model for . +type StreamlangCondition4 struct { + Never map[string]interface{} `json:"never"` + Type StreamlangCondition4Type `json:"type"` +} + +// StreamlangCondition4Type defines model for StreamlangCondition.4.Type. +type StreamlangCondition4Type string + +// StreamlangCondition5 defines model for . +type StreamlangCondition5 struct { + Always map[string]interface{} `json:"always"` + Type StreamlangCondition5Type `json:"type"` +} + +// StreamlangCondition5Type defines model for StreamlangCondition.5.Type. +type StreamlangCondition5Type string + +// StreamlangStep defines model for StreamlangStep. +type StreamlangStep struct { + union json.RawMessage +} + +// StreamlangStep0 defines model for . +type StreamlangStep0 struct { + Kind *StreamlangStep0Kind `json:"kind,omitempty"` +} + +// StreamlangStep0Kind defines model for StreamlangStep.0.Kind. +type StreamlangStep0Kind string + +// StreamlangStep1 defines model for . +type StreamlangStep1 struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Kind *StreamlangStep1Kind `json:"kind,omitempty"` + Where struct { + Steps []StreamlangStep `json:"steps"` + } `json:"where"` +} + +// StreamlangStep1Kind defines model for StreamlangStep.1.Kind. +type StreamlangStep1Kind string + +// PostStreamsDisableParams defines parameters for PostStreamsDisable. +type PostStreamsDisableParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsEnableParams defines parameters for PostStreamsEnable. +type PostStreamsEnableParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsResyncParams defines parameters for PostStreamsResync. +type PostStreamsResyncParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// DeleteStreamsNameParams defines parameters for DeleteStreamsName. +type DeleteStreamsNameParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameJSONBody defines parameters for PutStreamsName. +type PutStreamsNameJSONBody struct { + union json.RawMessage +} + +// PutStreamsNameParams defines parameters for PutStreamsName. +type PutStreamsNameParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameJSONBody0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody0 struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00 struct { + Dashboards []string `json:"dashboards"` + Queries []struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"queries"` + Rules []string `json:"rules"` + Stream struct { + Ingest struct { + Lifecycle PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []StreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + } `json:"ingest"` + Name interface{} `json:"name,omitempty"` + } `json:"stream"` +} + +// PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle0Type `json:"type"` +} + +// PutStreamsNameJSONBody00StreamIngestLifecycle0Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle0Type string + +// PutStreamsNameJSONBody00StreamIngestLifecycle1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle1Type `json:"type"` +} + +// PutStreamsNameJSONBody00StreamIngestLifecycle1Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle1Type string + +// PutStreamsNameJSONBody00StreamIngestLifecycle2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle2Type `json:"type"` +} + +// PutStreamsNameJSONBody00StreamIngestLifecycle2Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle2Type string + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01 struct { + Dashboards []string `json:"dashboards"` + Queries []struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"queries"` + Rules []string `json:"rules"` + Stream struct { + Ingest struct { + Lifecycle PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []StreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + } `json:"ingest"` + Name interface{} `json:"name,omitempty"` + } `json:"stream"` +} + +// PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle0Type `json:"type"` +} + +// PutStreamsNameJSONBody01StreamIngestLifecycle0Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle0Type string + +// PutStreamsNameJSONBody01StreamIngestLifecycle1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle1Type `json:"type"` +} + +// PutStreamsNameJSONBody01StreamIngestLifecycle1Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle1Type string + +// PutStreamsNameJSONBody01StreamIngestLifecycle2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle2Type `json:"type"` +} + +// PutStreamsNameJSONBody01StreamIngestLifecycle2Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle2Type string + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + +// PutStreamsNameJSONBody1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1 struct { + Dashboards []string `json:"dashboards"` + Queries []struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"queries"` + Rules []string `json:"rules"` + Stream struct { + Group struct { + Members []string `json:"members"` + Metadata map[string]string `json:"metadata"` + Tags []string `json:"tags"` + } `json:"group"` + Name interface{} `json:"name,omitempty"` + } `json:"stream"` +} + +// PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. +type PostStreamsNameForkJSONBody struct { + Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` + Stream struct { + Name string `json:"name"` + } `json:"stream"` + Where StreamlangCondition `json:"where"` +} + +// PostStreamsNameForkParams defines parameters for PostStreamsNameFork. +type PostStreamsNameForkParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameForkJSONBodyStatus defines parameters for PostStreamsNameFork. +type PostStreamsNameForkJSONBodyStatus string + +// PutStreamsNameGroupJSONBody defines parameters for PutStreamsNameGroup. +type PutStreamsNameGroupJSONBody struct { + Group struct { + Members []string `json:"members"` + Metadata map[string]string `json:"metadata"` + Tags []string `json:"tags"` + } `json:"group"` +} + +// PutStreamsNameGroupParams defines parameters for PutStreamsNameGroup. +type PutStreamsNameGroupParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameIngestJSONBody defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody struct { + Ingest PutStreamsNameIngestJSONBody_Ingest `json:"ingest"` +} + +// PutStreamsNameIngestParams defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameIngestJSONBodyIngest0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0 struct { + Lifecycle PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []StreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + Type PutStreamsNameIngestJSONBodyIngest0Type `json:"type"` + Wired struct { + Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` + Routing []struct { + Destination string `json:"destination"` + Status *PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus `json:"status,omitempty"` + Where StreamlangCondition `json:"where"` + } `json:"routing"` + } `json:"wired"` +} + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type string + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type string + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type string + +// PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Type string + +// PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0WiredFields00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields00 = string + +// PutStreamsNameIngestJSONBodyIngest0WiredFields01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields01 = float32 + +// PutStreamsNameIngestJSONBodyIngest0WiredFields02 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields02 = bool + +// PutStreamsNameIngestJSONBodyIngest0WiredFields03 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields03 = interface{} + +// PutStreamsNameIngestJSONBodyIngest0WiredFields1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields1 = []PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item + +// PutStreamsNameIngestJSONBodyIngest0WiredFields10 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields10 = string + +// PutStreamsNameIngestJSONBodyIngest0WiredFields11 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields11 = float32 + +// PutStreamsNameIngestJSONBodyIngest0WiredFields12 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields12 = bool + +// PutStreamsNameIngestJSONBodyIngest0WiredFields13 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields13 = interface{} + +// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} + +// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} + +// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus string + +// PutStreamsNameIngestJSONBodyIngest1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1 struct { + Classic struct { + FieldOverrides *map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties `json:"field_overrides,omitempty"` + } `json:"classic"` + Lifecycle PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []StreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + Type PutStreamsNameIngestJSONBodyIngest1Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 = string + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 = bool + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 = interface{} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 = []PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 = string + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 = float32 + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 = bool + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 = interface{} + +// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} + +// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type string + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type string + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type `json:"type"` +} + +// PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type string + +// PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string + +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 + +// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { + union json.RawMessage +} + +// PutStreamsNameIngestJSONBodyIngest1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Type string + +// PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest struct { + union json.RawMessage +} + +// PostStreamsNameContentExportJSONBody defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBody struct { + Description string `json:"description"` + Include PostStreamsNameContentExportJSONBody_Include `json:"include"` + Name string `json:"name"` + Version string `json:"version"` +} + +// PostStreamsNameContentExportParams defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameContentExportJSONBodyInclude0 defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBodyInclude0 struct { + Objects struct { + All map[string]interface{} `json:"all"` + } `json:"objects"` +} + +// PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBodyInclude1 struct { + Objects struct { + Mappings bool `json:"mappings"` + Queries []struct { + Id string `json:"id"` + } `json:"queries"` + Routing []struct { + Destination string `json:"destination"` + } `json:"routing"` + } `json:"objects"` +} + +// PostStreamsNameContentExportJSONBody_Include defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBody_Include struct { + union json.RawMessage +} + +// PostStreamsNameContentImportMultipartBody defines parameters for PostStreamsNameContentImport. +type PostStreamsNameContentImportMultipartBody struct { + Content interface{} `json:"content"` + Include string `json:"include"` +} + +// PostStreamsNameContentImportParams defines parameters for PostStreamsNameContentImport. +type PostStreamsNameContentImportParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameDashboardsBulkJSONBody defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBody struct { + Operations []PostStreamsNameDashboardsBulkJSONBody_Operations_Item `json:"operations"` +} + +// PostStreamsNameDashboardsBulkParams defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameDashboardsBulkJSONBodyOperations0 defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBodyOperations0 struct { + Index struct { + Id string `json:"id"` + } `json:"index"` +} + +// PostStreamsNameDashboardsBulkJSONBodyOperations1 defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBodyOperations1 struct { + Delete struct { + Id string `json:"id"` + } `json:"delete"` +} + +// PostStreamsNameDashboardsBulkJSONBody_Operations_Item defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBody_Operations_Item struct { + union json.RawMessage +} + +// DeleteStreamsNameDashboardsDashboardidParams defines parameters for DeleteStreamsNameDashboardsDashboardid. +type DeleteStreamsNameDashboardsDashboardidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameDashboardsDashboardidParams defines parameters for PutStreamsNameDashboardsDashboardid. +type PutStreamsNameDashboardsDashboardidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameQueriesBulkJSONBody defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody struct { + Operations []PostStreamsNameQueriesBulkJSONBody_Operations_Item `json:"operations"` +} + +// PostStreamsNameQueriesBulkParams defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { + Index struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"index"` +} + +// PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { + Delete struct { + Id string `json:"id"` + } `json:"delete"` +} + +// PostStreamsNameQueriesBulkJSONBody_Operations_Item defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_Item struct { + union json.RawMessage +} + +// DeleteStreamsNameQueriesQueryidParams defines parameters for DeleteStreamsNameQueriesQueryid. +type DeleteStreamsNameQueriesQueryidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` +} + +// PutStreamsNameQueriesQueryidParams defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// DeleteStreamsNameRulesRuleidParams defines parameters for DeleteStreamsNameRulesRuleid. +type DeleteStreamsNameRulesRuleidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameRulesRuleidParams defines parameters for PutStreamsNameRulesRuleid. +type PutStreamsNameRulesRuleidParams struct { + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// GetStreamsNameSignificantEventsParams defines parameters for GetStreamsNameSignificantEvents. +type GetStreamsNameSignificantEventsParams struct { + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` + BucketSize string `form:"bucketSize" json:"bucketSize"` +} + +// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody struct { + Feature *struct { + Description string `json:"description"` + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` +} + +// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateParams struct { + ConnectorId string `form:"connectorId" json:"connectorId"` + CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` + + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody struct { + Query struct { + Feature *struct { + Filter StreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + } `json:"query"` +} + +// PostStreamsNameSignificantEventsPreviewParams defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewParams struct { + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` + BucketSize string `form:"bucketSize" json:"bucketSize"` + + // KbnXsrf A required header to protect against CSRF attacks + KbnXsrf string `json:"kbn-xsrf"` +} + +// PutStreamsNameJSONRequestBody defines body for PutStreamsName for application/json ContentType. +type PutStreamsNameJSONRequestBody PutStreamsNameJSONBody + +// PostStreamsNameForkJSONRequestBody defines body for PostStreamsNameFork for application/json ContentType. +type PostStreamsNameForkJSONRequestBody PostStreamsNameForkJSONBody + +// PutStreamsNameGroupJSONRequestBody defines body for PutStreamsNameGroup for application/json ContentType. +type PutStreamsNameGroupJSONRequestBody PutStreamsNameGroupJSONBody + +// PutStreamsNameIngestJSONRequestBody defines body for PutStreamsNameIngest for application/json ContentType. +type PutStreamsNameIngestJSONRequestBody PutStreamsNameIngestJSONBody + +// PostStreamsNameContentExportJSONRequestBody defines body for PostStreamsNameContentExport for application/json ContentType. +type PostStreamsNameContentExportJSONRequestBody PostStreamsNameContentExportJSONBody + +// PostStreamsNameContentImportMultipartRequestBody defines body for PostStreamsNameContentImport for multipart/form-data ContentType. +type PostStreamsNameContentImportMultipartRequestBody PostStreamsNameContentImportMultipartBody + +// PostStreamsNameDashboardsBulkJSONRequestBody defines body for PostStreamsNameDashboardsBulk for application/json ContentType. +type PostStreamsNameDashboardsBulkJSONRequestBody PostStreamsNameDashboardsBulkJSONBody + +// PostStreamsNameQueriesBulkJSONRequestBody defines body for PostStreamsNameQueriesBulk for application/json ContentType. +type PostStreamsNameQueriesBulkJSONRequestBody PostStreamsNameQueriesBulkJSONBody + +// PutStreamsNameQueriesQueryidJSONRequestBody defines body for PutStreamsNameQueriesQueryid for application/json ContentType. +type PutStreamsNameQueriesQueryidJSONRequestBody PutStreamsNameQueriesQueryidJSONBody + +// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. +type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody + +// PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. +type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody + +// AsStreamlangCondition0 returns the union data inside the StreamlangCondition as a StreamlangCondition0 +func (t StreamlangCondition) AsStreamlangCondition0() (StreamlangCondition0, error) { + var body StreamlangCondition0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition0 +func (t *StreamlangCondition) FromStreamlangCondition0(v StreamlangCondition0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition0 +func (t *StreamlangCondition) MergeStreamlangCondition0(v StreamlangCondition0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition1 returns the union data inside the StreamlangCondition as a StreamlangCondition1 +func (t StreamlangCondition) AsStreamlangCondition1() (StreamlangCondition1, error) { + var body StreamlangCondition1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition1 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition1 +func (t *StreamlangCondition) FromStreamlangCondition1(v StreamlangCondition1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition1 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition1 +func (t *StreamlangCondition) MergeStreamlangCondition1(v StreamlangCondition1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition2 returns the union data inside the StreamlangCondition as a StreamlangCondition2 +func (t StreamlangCondition) AsStreamlangCondition2() (StreamlangCondition2, error) { + var body StreamlangCondition2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition2 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition2 +func (t *StreamlangCondition) FromStreamlangCondition2(v StreamlangCondition2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition2 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition2 +func (t *StreamlangCondition) MergeStreamlangCondition2(v StreamlangCondition2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition3 returns the union data inside the StreamlangCondition as a StreamlangCondition3 +func (t StreamlangCondition) AsStreamlangCondition3() (StreamlangCondition3, error) { + var body StreamlangCondition3 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition3 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition3 +func (t *StreamlangCondition) FromStreamlangCondition3(v StreamlangCondition3) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition3 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition3 +func (t *StreamlangCondition) MergeStreamlangCondition3(v StreamlangCondition3) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition4 returns the union data inside the StreamlangCondition as a StreamlangCondition4 +func (t StreamlangCondition) AsStreamlangCondition4() (StreamlangCondition4, error) { + var body StreamlangCondition4 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition4 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition4 +func (t *StreamlangCondition) FromStreamlangCondition4(v StreamlangCondition4) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition4 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition4 +func (t *StreamlangCondition) MergeStreamlangCondition4(v StreamlangCondition4) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition5 returns the union data inside the StreamlangCondition as a StreamlangCondition5 +func (t StreamlangCondition) AsStreamlangCondition5() (StreamlangCondition5, error) { + var body StreamlangCondition5 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition5 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition5 +func (t *StreamlangCondition) FromStreamlangCondition5(v StreamlangCondition5) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition5 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition5 +func (t *StreamlangCondition) MergeStreamlangCondition5(v StreamlangCondition5) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Contains0 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains0 +func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains0() (StreamlangCondition0Contains0, error) { + var body StreamlangCondition0Contains0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Contains0 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains0 +func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains0(v StreamlangCondition0Contains0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Contains0 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains0 +func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains0(v StreamlangCondition0Contains0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Contains1 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains1 +func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains1() (StreamlangCondition0Contains1, error) { + var body StreamlangCondition0Contains1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Contains1 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains1 +func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains1(v StreamlangCondition0Contains1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Contains1 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains1 +func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains1(v StreamlangCondition0Contains1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Contains2 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains2 +func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains2() (StreamlangCondition0Contains2, error) { + var body StreamlangCondition0Contains2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Contains2 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains2 +func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains2(v StreamlangCondition0Contains2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Contains2 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains2 +func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains2(v StreamlangCondition0Contains2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Contains) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Contains) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0EndsWith0 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith0 +func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith0() (StreamlangCondition0EndsWith0, error) { + var body StreamlangCondition0EndsWith0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0EndsWith0 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith0 +func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith0(v StreamlangCondition0EndsWith0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0EndsWith0 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith0 +func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith0(v StreamlangCondition0EndsWith0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0EndsWith1 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith1 +func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith1() (StreamlangCondition0EndsWith1, error) { + var body StreamlangCondition0EndsWith1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0EndsWith1 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith1 +func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith1(v StreamlangCondition0EndsWith1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0EndsWith1 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith1 +func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith1(v StreamlangCondition0EndsWith1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0EndsWith2 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith2 +func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith2() (StreamlangCondition0EndsWith2, error) { + var body StreamlangCondition0EndsWith2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0EndsWith2 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith2 +func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith2(v StreamlangCondition0EndsWith2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0EndsWith2 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith2 +func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith2(v StreamlangCondition0EndsWith2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_EndsWith) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_EndsWith) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Eq0 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq0 +func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq0() (StreamlangCondition0Eq0, error) { + var body StreamlangCondition0Eq0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Eq0 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq0 +func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq0(v StreamlangCondition0Eq0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Eq0 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq0 +func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq0(v StreamlangCondition0Eq0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Eq1 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq1 +func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq1() (StreamlangCondition0Eq1, error) { + var body StreamlangCondition0Eq1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Eq1 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq1 +func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq1(v StreamlangCondition0Eq1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Eq1 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq1 +func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq1(v StreamlangCondition0Eq1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Eq2 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq2 +func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq2() (StreamlangCondition0Eq2, error) { + var body StreamlangCondition0Eq2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Eq2 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq2 +func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq2(v StreamlangCondition0Eq2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Eq2 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq2 +func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq2(v StreamlangCondition0Eq2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Eq) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Eq) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Gt0 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt0 +func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt0() (StreamlangCondition0Gt0, error) { + var body StreamlangCondition0Gt0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gt0 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt0 +func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt0(v StreamlangCondition0Gt0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gt0 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt0 +func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt0(v StreamlangCondition0Gt0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Gt1 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt1 +func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt1() (StreamlangCondition0Gt1, error) { + var body StreamlangCondition0Gt1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gt1 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt1 +func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt1(v StreamlangCondition0Gt1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gt1 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt1 +func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt1(v StreamlangCondition0Gt1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Gt2 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt2 +func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt2() (StreamlangCondition0Gt2, error) { + var body StreamlangCondition0Gt2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gt2 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt2 +func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt2(v StreamlangCondition0Gt2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gt2 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt2 +func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt2(v StreamlangCondition0Gt2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Gt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Gt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Gte0 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte0 +func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte0() (StreamlangCondition0Gte0, error) { + var body StreamlangCondition0Gte0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gte0 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte0 +func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte0(v StreamlangCondition0Gte0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gte0 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte0 +func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte0(v StreamlangCondition0Gte0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Gte1 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte1 +func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte1() (StreamlangCondition0Gte1, error) { + var body StreamlangCondition0Gte1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gte1 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte1 +func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte1(v StreamlangCondition0Gte1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gte1 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte1 +func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte1(v StreamlangCondition0Gte1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Gte2 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte2 +func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte2() (StreamlangCondition0Gte2, error) { + var body StreamlangCondition0Gte2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Gte2 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte2 +func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte2(v StreamlangCondition0Gte2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Gte2 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte2 +func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte2(v StreamlangCondition0Gte2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Gte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Gte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Lt0 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt0 +func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt0() (StreamlangCondition0Lt0, error) { + var body StreamlangCondition0Lt0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lt0 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt0 +func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt0(v StreamlangCondition0Lt0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lt0 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt0 +func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt0(v StreamlangCondition0Lt0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Lt1 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt1 +func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt1() (StreamlangCondition0Lt1, error) { + var body StreamlangCondition0Lt1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lt1 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt1 +func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt1(v StreamlangCondition0Lt1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lt1 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt1 +func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt1(v StreamlangCondition0Lt1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Lt2 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt2 +func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt2() (StreamlangCondition0Lt2, error) { + var body StreamlangCondition0Lt2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lt2 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt2 +func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt2(v StreamlangCondition0Lt2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lt2 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt2 +func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt2(v StreamlangCondition0Lt2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Lt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Lt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Lte0 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte0 +func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte0() (StreamlangCondition0Lte0, error) { + var body StreamlangCondition0Lte0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lte0 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte0 +func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte0(v StreamlangCondition0Lte0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lte0 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte0 +func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte0(v StreamlangCondition0Lte0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Lte1 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte1 +func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte1() (StreamlangCondition0Lte1, error) { + var body StreamlangCondition0Lte1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lte1 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte1 +func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte1(v StreamlangCondition0Lte1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lte1 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte1 +func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte1(v StreamlangCondition0Lte1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Lte2 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte2 +func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte2() (StreamlangCondition0Lte2, error) { + var body StreamlangCondition0Lte2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Lte2 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte2 +func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte2(v StreamlangCondition0Lte2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Lte2 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte2 +func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte2(v StreamlangCondition0Lte2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Lte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Lte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0Neq0 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq0 +func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq0() (StreamlangCondition0Neq0, error) { + var body StreamlangCondition0Neq0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Neq0 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq0 +func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq0(v StreamlangCondition0Neq0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Neq0 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq0 +func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq0(v StreamlangCondition0Neq0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Neq1 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq1 +func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq1() (StreamlangCondition0Neq1, error) { + var body StreamlangCondition0Neq1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Neq1 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq1 +func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq1(v StreamlangCondition0Neq1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Neq1 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq1 +func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq1(v StreamlangCondition0Neq1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0Neq2 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq2 +func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq2() (StreamlangCondition0Neq2, error) { + var body StreamlangCondition0Neq2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0Neq2 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq2 +func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq2(v StreamlangCondition0Neq2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0Neq2 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq2 +func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq2(v StreamlangCondition0Neq2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Neq) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Neq) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0RangeGt0 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt0 +func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt0() (StreamlangCondition0RangeGt0, error) { + var body StreamlangCondition0RangeGt0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGt0 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt0 +func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt0(v StreamlangCondition0RangeGt0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGt0 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt0 +func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt0(v StreamlangCondition0RangeGt0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeGt1 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt1 +func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt1() (StreamlangCondition0RangeGt1, error) { + var body StreamlangCondition0RangeGt1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGt1 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt1 +func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt1(v StreamlangCondition0RangeGt1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGt1 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt1 +func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt1(v StreamlangCondition0RangeGt1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeGt2 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt2 +func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt2() (StreamlangCondition0RangeGt2, error) { + var body StreamlangCondition0RangeGt2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGt2 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt2 +func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt2(v StreamlangCondition0RangeGt2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGt2 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt2 +func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt2(v StreamlangCondition0RangeGt2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Range_Gt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Range_Gt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0RangeGte0 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte0 +func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte0() (StreamlangCondition0RangeGte0, error) { + var body StreamlangCondition0RangeGte0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGte0 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte0 +func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte0(v StreamlangCondition0RangeGte0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGte0 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte0 +func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte0(v StreamlangCondition0RangeGte0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeGte1 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte1 +func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte1() (StreamlangCondition0RangeGte1, error) { + var body StreamlangCondition0RangeGte1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGte1 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte1 +func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte1(v StreamlangCondition0RangeGte1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGte1 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte1 +func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte1(v StreamlangCondition0RangeGte1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeGte2 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte2 +func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte2() (StreamlangCondition0RangeGte2, error) { + var body StreamlangCondition0RangeGte2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeGte2 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte2 +func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte2(v StreamlangCondition0RangeGte2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeGte2 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte2 +func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte2(v StreamlangCondition0RangeGte2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Range_Gte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Range_Gte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0RangeLt0 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt0 +func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt0() (StreamlangCondition0RangeLt0, error) { + var body StreamlangCondition0RangeLt0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLt0 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt0 +func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt0(v StreamlangCondition0RangeLt0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLt0 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt0 +func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt0(v StreamlangCondition0RangeLt0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeLt1 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt1 +func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt1() (StreamlangCondition0RangeLt1, error) { + var body StreamlangCondition0RangeLt1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLt1 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt1 +func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt1(v StreamlangCondition0RangeLt1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLt1 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt1 +func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt1(v StreamlangCondition0RangeLt1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeLt2 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt2 +func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt2() (StreamlangCondition0RangeLt2, error) { + var body StreamlangCondition0RangeLt2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLt2 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt2 +func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt2(v StreamlangCondition0RangeLt2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLt2 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt2 +func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt2(v StreamlangCondition0RangeLt2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Range_Lt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Range_Lt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0RangeLte0 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte0 +func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte0() (StreamlangCondition0RangeLte0, error) { + var body StreamlangCondition0RangeLte0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLte0 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte0 +func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte0(v StreamlangCondition0RangeLte0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLte0 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte0 +func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte0(v StreamlangCondition0RangeLte0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeLte1 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte1 +func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte1() (StreamlangCondition0RangeLte1, error) { + var body StreamlangCondition0RangeLte1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLte1 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte1 +func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte1(v StreamlangCondition0RangeLte1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLte1 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte1 +func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte1(v StreamlangCondition0RangeLte1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0RangeLte2 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte2 +func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte2() (StreamlangCondition0RangeLte2, error) { + var body StreamlangCondition0RangeLte2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0RangeLte2 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte2 +func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte2(v StreamlangCondition0RangeLte2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0RangeLte2 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte2 +func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte2(v StreamlangCondition0RangeLte2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_Range_Lte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_Range_Lte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangCondition0StartsWith0 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith0 +func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith0() (StreamlangCondition0StartsWith0, error) { + var body StreamlangCondition0StartsWith0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0StartsWith0 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith0 +func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith0(v StreamlangCondition0StartsWith0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0StartsWith0 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith0 +func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith0(v StreamlangCondition0StartsWith0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0StartsWith1 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith1 +func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith1() (StreamlangCondition0StartsWith1, error) { + var body StreamlangCondition0StartsWith1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0StartsWith1 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith1 +func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith1(v StreamlangCondition0StartsWith1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0StartsWith1 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith1 +func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith1(v StreamlangCondition0StartsWith1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangCondition0StartsWith2 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith2 +func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith2() (StreamlangCondition0StartsWith2, error) { + var body StreamlangCondition0StartsWith2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangCondition0StartsWith2 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith2 +func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith2(v StreamlangCondition0StartsWith2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangCondition0StartsWith2 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith2 +func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith2(v StreamlangCondition0StartsWith2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangCondition_0_StartsWith) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangCondition_0_StartsWith) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsStreamlangStep0 returns the union data inside the StreamlangStep as a StreamlangStep0 +func (t StreamlangStep) AsStreamlangStep0() (StreamlangStep0, error) { + var body StreamlangStep0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangStep0 overwrites any union data inside the StreamlangStep as the provided StreamlangStep0 +func (t *StreamlangStep) FromStreamlangStep0(v StreamlangStep0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangStep0 performs a merge with any union data inside the StreamlangStep, using the provided StreamlangStep0 +func (t *StreamlangStep) MergeStreamlangStep0(v StreamlangStep0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsStreamlangStep1 returns the union data inside the StreamlangStep as a StreamlangStep1 +func (t StreamlangStep) AsStreamlangStep1() (StreamlangStep1, error) { + var body StreamlangStep1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromStreamlangStep1 overwrites any union data inside the StreamlangStep as the provided StreamlangStep1 +func (t *StreamlangStep) FromStreamlangStep1(v StreamlangStep1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeStreamlangStep1 performs a merge with any union data inside the StreamlangStep, using the provided StreamlangStep1 +func (t *StreamlangStep) MergeStreamlangStep1(v StreamlangStep1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t StreamlangStep) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *StreamlangStep) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// RequestEditorFn is the function signature for the RequestEditor callback function +type RequestEditorFn func(ctx context.Context, req *http.Request) error + +// Doer performs HTTP requests. +// +// The standard http.Client implements this interface. +type HttpRequestDoer interface { + Do(req *http.Request) (*http.Response, error) +} + +// Client which conforms to the OpenAPI3 specification for this service. +type Client struct { + // The endpoint of the server conforming to this interface, with scheme, + // https://api.deepmap.com for example. This can contain a path relative + // to the server, such as https://api.deepmap.com/dev-test, and all the + // paths in the swagger spec will be appended to the server. + Server string + + // Doer for performing requests, typically a *http.Client with any + // customized settings, such as certificate chains. + Client HttpRequestDoer + + // A list of callbacks for modifying requests which are generated before sending over + // the network. + RequestEditors []RequestEditorFn +} + +// ClientOption allows setting custom parameters during construction +type ClientOption func(*Client) error + +// Creates a new Client, with reasonable defaults +func NewClient(server string, opts ...ClientOption) (*Client, error) { + // create a client with sane default values + client := Client{ + Server: server, + } + // mutate client and add all optional params + for _, o := range opts { + if err := o(&client); err != nil { + return nil, err + } + } + // ensure the server URL always has a trailing slash + if !strings.HasSuffix(client.Server, "/") { + client.Server += "/" + } + // create httpClient, if not already present + if client.Client == nil { + client.Client = &http.Client{} + } + return &client, nil +} + +// WithHTTPClient allows overriding the default Doer, which is +// automatically created using http.Client. This is useful for tests. +func WithHTTPClient(doer HttpRequestDoer) ClientOption { + return func(c *Client) error { + c.Client = doer + return nil + } +} + +// WithRequestEditorFn allows setting up a callback function, which will be +// called right before sending the request. This can be used to mutate the request. +func WithRequestEditorFn(fn RequestEditorFn) ClientOption { + return func(c *Client) error { + c.RequestEditors = append(c.RequestEditors, fn) + return nil + } +} + +// The interface specification for the client above. +type ClientInterface interface { + // GetStreams request + GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsDisable request + PostStreamsDisable(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsEnable request + PostStreamsEnable(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsResync request + PostStreamsResync(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteStreamsName request + DeleteStreamsName(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsName request + GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameWithBody request with any body + PutStreamsNameWithBody(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutStreamsName(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameForkWithBody request with any body + PostStreamsNameForkWithBody(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameFork(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameGroup request + GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameGroupWithBody request with any body + PutStreamsNameGroupWithBody(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutStreamsNameGroup(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameIngest request + GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameIngestWithBody request with any body + PutStreamsNameIngestWithBody(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutStreamsNameIngest(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameContentExportWithBody request with any body + PostStreamsNameContentExportWithBody(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameContentExport(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameContentImportWithBody request with any body + PostStreamsNameContentImportWithBody(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameDashboards request + GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameDashboardsBulkWithBody request with any body + PostStreamsNameDashboardsBulkWithBody(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameDashboardsBulk(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteStreamsNameDashboardsDashboardid request + DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameDashboardsDashboardid request + PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameQueries request + GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameQueriesBulkWithBody request with any body + PostStreamsNameQueriesBulkWithBody(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameQueriesBulk(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteStreamsNameQueriesQueryid request + DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameQueriesQueryidWithBody request with any body + PutStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PutStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameRules request + GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) + + // DeleteStreamsNameRulesRuleid request + DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PutStreamsNameRulesRuleid request + PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // GetStreamsNameSignificantEvents request + GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameSignificantEventsGenerateWithBody request with any body + PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + + // PostStreamsNameSignificantEventsPreviewWithBody request with any body + PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + + PostStreamsNameSignificantEventsPreview(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) +} + +func (c *Client) GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsRequest(c.Server) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsDisable(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsDisableRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsEnable(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsEnableRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsResync(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsResyncRequest(c.Server, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteStreamsName(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameRequest(c.Server, name, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameWithBody(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsName(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameForkWithBody(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameForkRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameFork(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameForkRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameGroupRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameGroupWithBody(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameGroupRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameGroup(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameGroupRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameIngestRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameIngestWithBody(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameIngestRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameIngest(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameIngestRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameContentExportWithBody(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameContentExportRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameContentExport(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameContentExportRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameContentImportWithBody(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameContentImportRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameDashboardsRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameDashboardsBulkWithBody(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameDashboardsBulkRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameDashboardsBulk(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameDashboardsBulkRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameQueriesRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameQueriesBulkWithBody(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameQueriesBulkRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameQueriesBulk(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameQueriesBulkRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameQueriesQueryidRequest(c.Server, name, queryId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameQueriesQueryidRequestWithBody(c.Server, name, queryId, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameQueriesQueryidRequest(c.Server, name, queryId, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameRulesRequest(c.Server, name) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameRulesRuleidRequest(c.Server, name, ruleId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameRulesRuleidRequest(c.Server, name, ruleId, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameSignificantEventsRequest(c.Server, name, params) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsPreviewRequestWithBody(c.Server, name, params, contentType, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +func (c *Client) PostStreamsNameSignificantEventsPreview(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsNameSignificantEventsPreviewRequest(c.Server, name, params, body) + if err != nil { + return nil, err + } + req = req.WithContext(ctx) + if err := c.applyEditors(ctx, req, reqEditors); err != nil { + return nil, err + } + return c.Client.Do(req) +} + +// NewGetStreamsRequest generates requests for GetStreams +func NewGetStreamsRequest(server string) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostStreamsDisableRequest generates requests for PostStreamsDisable +func NewPostStreamsDisableRequest(server string, params *PostStreamsDisableParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/_disable") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsEnableRequest generates requests for PostStreamsEnable +func NewPostStreamsEnableRequest(server string, params *PostStreamsEnableParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/_enable") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsResyncRequest generates requests for PostStreamsResync +func NewPostStreamsResyncRequest(server string, params *PostStreamsResyncParams) (*http.Request, error) { + var err error + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/_resync") + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewDeleteStreamsNameRequest generates requests for DeleteStreamsName +func NewDeleteStreamsNameRequest(server string, name string, params *DeleteStreamsNameParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameRequest generates requests for GetStreamsName +func NewGetStreamsNameRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutStreamsNameRequest calls the generic PutStreamsName builder with application/json body +func NewPutStreamsNameRequest(server string, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutStreamsNameRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPutStreamsNameRequestWithBody generates requests for PutStreamsName with any type of body +func NewPutStreamsNameRequestWithBody(server string, name string, params *PutStreamsNameParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsNameForkRequest calls the generic PostStreamsNameFork builder with application/json body +func NewPostStreamsNameForkRequest(server string, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameForkRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameForkRequestWithBody generates requests for PostStreamsNameFork with any type of body +func NewPostStreamsNameForkRequestWithBody(server string, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/_fork", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameGroupRequest generates requests for GetStreamsNameGroup +func NewGetStreamsNameGroupRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/_group", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutStreamsNameGroupRequest calls the generic PutStreamsNameGroup builder with application/json body +func NewPutStreamsNameGroupRequest(server string, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutStreamsNameGroupRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPutStreamsNameGroupRequestWithBody generates requests for PutStreamsNameGroup with any type of body +func NewPutStreamsNameGroupRequestWithBody(server string, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/_group", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameIngestRequest generates requests for GetStreamsNameIngest +func NewGetStreamsNameIngestRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/_ingest", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPutStreamsNameIngestRequest calls the generic PutStreamsNameIngest builder with application/json body +func NewPutStreamsNameIngestRequest(server string, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutStreamsNameIngestRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPutStreamsNameIngestRequestWithBody generates requests for PutStreamsNameIngest with any type of body +func NewPutStreamsNameIngestRequestWithBody(server string, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/_ingest", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsNameContentExportRequest calls the generic PostStreamsNameContentExport builder with application/json body +func NewPostStreamsNameContentExportRequest(server string, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameContentExportRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameContentExportRequestWithBody generates requests for PostStreamsNameContentExport with any type of body +func NewPostStreamsNameContentExportRequestWithBody(server string, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/content/export", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsNameContentImportRequestWithBody generates requests for PostStreamsNameContentImport with any type of body +func NewPostStreamsNameContentImportRequestWithBody(server string, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/content/import", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameDashboardsRequest generates requests for GetStreamsNameDashboards +func NewGetStreamsNameDashboardsRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/dashboards", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostStreamsNameDashboardsBulkRequest calls the generic PostStreamsNameDashboardsBulk builder with application/json body +func NewPostStreamsNameDashboardsBulkRequest(server string, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameDashboardsBulkRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameDashboardsBulkRequestWithBody generates requests for PostStreamsNameDashboardsBulk with any type of body +func NewPostStreamsNameDashboardsBulkRequestWithBody(server string, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/dashboards/_bulk", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewDeleteStreamsNameDashboardsDashboardidRequest generates requests for DeleteStreamsNameDashboardsDashboardid +func NewDeleteStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "dashboardId", runtime.ParamLocationPath, dashboardId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/dashboards/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPutStreamsNameDashboardsDashboardidRequest generates requests for PutStreamsNameDashboardsDashboardid +func NewPutStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "dashboardId", runtime.ParamLocationPath, dashboardId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/dashboards/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameQueriesRequest generates requests for GetStreamsNameQueries +func NewGetStreamsNameQueriesRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/queries", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostStreamsNameQueriesBulkRequest calls the generic PostStreamsNameQueriesBulk builder with application/json body +func NewPostStreamsNameQueriesBulkRequest(server string, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameQueriesBulkRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameQueriesBulkRequestWithBody generates requests for PostStreamsNameQueriesBulk with any type of body +func NewPostStreamsNameQueriesBulkRequestWithBody(server string, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/queries/_bulk", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewDeleteStreamsNameQueriesQueryidRequest generates requests for DeleteStreamsNameQueriesQueryid +func NewDeleteStreamsNameQueriesQueryidRequest(server string, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "queryId", runtime.ParamLocationPath, queryId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/queries/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPutStreamsNameQueriesQueryidRequest calls the generic PutStreamsNameQueriesQueryid builder with application/json body +func NewPutStreamsNameQueriesQueryidRequest(server string, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPutStreamsNameQueriesQueryidRequestWithBody(server, name, queryId, params, "application/json", bodyReader) +} + +// NewPutStreamsNameQueriesQueryidRequestWithBody generates requests for PutStreamsNameQueriesQueryid with any type of body +func NewPutStreamsNameQueriesQueryidRequestWithBody(server string, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "queryId", runtime.ParamLocationPath, queryId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/queries/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameRulesRequest generates requests for GetStreamsNameRules +func NewGetStreamsNameRulesRequest(server string, name string) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/rules", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewDeleteStreamsNameRulesRuleidRequest generates requests for DeleteStreamsNameRulesRuleid +func NewDeleteStreamsNameRulesRuleidRequest(server string, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "ruleId", runtime.ParamLocationPath, ruleId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/rules/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("DELETE", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPutStreamsNameRulesRuleidRequest generates requests for PutStreamsNameRulesRuleid +func NewPutStreamsNameRulesRuleidRequest(server string, name string, ruleId string, params *PutStreamsNameRulesRuleidParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + var pathParam1 string + + pathParam1, err = runtime.StyleParamWithLocation("simple", false, "ruleId", runtime.ParamLocationPath, ruleId) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/rules/%s", pathParam0, pathParam1) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + req, err := http.NewRequest("PUT", queryURL.String(), nil) + if err != nil { + return nil, err + } + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewGetStreamsNameSignificantEventsRequest generates requests for GetStreamsNameSignificantEvents +func NewGetStreamsNameSignificantEventsRequest(server string, name string, params *GetStreamsNameSignificantEventsParams) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/significant_events", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bucketSize", runtime.ParamLocationQuery, params.BucketSize); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("GET", queryURL.String(), nil) + if err != nil { + return nil, err + } + + return req, nil +} + +// NewPostStreamsNameSignificantEventsGenerateRequest calls the generic PostStreamsNameSignificantEventsGenerate builder with application/json body +func NewPostStreamsNameSignificantEventsGenerateRequest(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameSignificantEventsGenerateRequestWithBody generates requests for PostStreamsNameSignificantEventsGenerate with any type of body +func NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/significant_events/_generate", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connectorId", runtime.ParamLocationQuery, params.ConnectorId); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if params.CurrentDate != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "currentDate", runtime.ParamLocationQuery, *params.CurrentDate); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +// NewPostStreamsNameSignificantEventsPreviewRequest calls the generic PostStreamsNameSignificantEventsPreview builder with application/json body +func NewPostStreamsNameSignificantEventsPreviewRequest(server string, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody) (*http.Request, error) { + var bodyReader io.Reader + buf, err := json.Marshal(body) + if err != nil { + return nil, err + } + bodyReader = bytes.NewReader(buf) + return NewPostStreamsNameSignificantEventsPreviewRequestWithBody(server, name, params, "application/json", bodyReader) +} + +// NewPostStreamsNameSignificantEventsPreviewRequestWithBody generates requests for PostStreamsNameSignificantEventsPreview with any type of body +func NewPostStreamsNameSignificantEventsPreviewRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader) (*http.Request, error) { + var err error + + var pathParam0 string + + pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) + if err != nil { + return nil, err + } + + serverURL, err := url.Parse(server) + if err != nil { + return nil, err + } + + operationPath := fmt.Sprintf("/api/streams/%s/significant_events/_preview", pathParam0) + if operationPath[0] == '/' { + operationPath = "." + operationPath + } + + queryURL, err := serverURL.Parse(operationPath) + if err != nil { + return nil, err + } + + if params != nil { + queryValues := queryURL.Query() + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bucketSize", runtime.ParamLocationQuery, params.BucketSize); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } + + queryURL.RawQuery = queryValues.Encode() + } + + req, err := http.NewRequest("POST", queryURL.String(), body) + if err != nil { + return nil, err + } + + req.Header.Add("Content-Type", contentType) + + if params != nil { + + var headerParam0 string + + headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) + if err != nil { + return nil, err + } + + req.Header.Set("kbn-xsrf", headerParam0) + + } + + return req, nil +} + +func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error { + for _, r := range c.RequestEditors { + if err := r(ctx, req); err != nil { + return err + } + } + for _, r := range additionalEditors { + if err := r(ctx, req); err != nil { + return err + } + } + return nil +} + +// ClientWithResponses builds on ClientInterface to offer response payloads +type ClientWithResponses struct { + ClientInterface +} + +// NewClientWithResponses creates a new ClientWithResponses, which wraps +// Client with return type handling +func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) { + client, err := NewClient(server, opts...) + if err != nil { + return nil, err + } + return &ClientWithResponses{client}, nil +} + +// WithBaseURL overrides the baseURL. +func WithBaseURL(baseURL string) ClientOption { + return func(c *Client) error { + newBaseURL, err := url.Parse(baseURL) + if err != nil { + return err + } + c.Server = newBaseURL.String() + return nil + } +} + +// ClientWithResponsesInterface is the interface specification for the client with responses above. +type ClientWithResponsesInterface interface { + // GetStreamsWithResponse request + GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) + + // PostStreamsDisableWithResponse request + PostStreamsDisableWithResponse(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) + + // PostStreamsEnableWithResponse request + PostStreamsEnableWithResponse(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) + + // PostStreamsResyncWithResponse request + PostStreamsResyncWithResponse(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) + + // DeleteStreamsNameWithResponse request + DeleteStreamsNameWithResponse(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) + + // GetStreamsNameWithResponse request + GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) + + // PutStreamsNameWithBodyWithResponse request with any body + PutStreamsNameWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) + + PutStreamsNameWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) + + // PostStreamsNameForkWithBodyWithResponse request with any body + PostStreamsNameForkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) + + PostStreamsNameForkWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) + + // GetStreamsNameGroupWithResponse request + GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) + + // PutStreamsNameGroupWithBodyWithResponse request with any body + PutStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) + + PutStreamsNameGroupWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) + + // GetStreamsNameIngestWithResponse request + GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) + + // PutStreamsNameIngestWithBodyWithResponse request with any body + PutStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) + + PutStreamsNameIngestWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) + + // PostStreamsNameContentExportWithBodyWithResponse request with any body + PostStreamsNameContentExportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) + + PostStreamsNameContentExportWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) + + // PostStreamsNameContentImportWithBodyWithResponse request with any body + PostStreamsNameContentImportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentImportResponse, error) + + // GetStreamsNameDashboardsWithResponse request + GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) + + // PostStreamsNameDashboardsBulkWithBodyWithResponse request with any body + PostStreamsNameDashboardsBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) + + PostStreamsNameDashboardsBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) + + // DeleteStreamsNameDashboardsDashboardidWithResponse request + DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) + + // PutStreamsNameDashboardsDashboardidWithResponse request + PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) + + // GetStreamsNameQueriesWithResponse request + GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) + + // PostStreamsNameQueriesBulkWithBodyWithResponse request with any body + PostStreamsNameQueriesBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) + + PostStreamsNameQueriesBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) + + // DeleteStreamsNameQueriesQueryidWithResponse request + DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) + + // PutStreamsNameQueriesQueryidWithBodyWithResponse request with any body + PutStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) + + PutStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) + + // GetStreamsNameRulesWithResponse request + GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) + + // DeleteStreamsNameRulesRuleidWithResponse request + DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) + + // PutStreamsNameRulesRuleidWithResponse request + PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) + + // GetStreamsNameSignificantEventsWithResponse request + GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) + + // PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body + PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) + + PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) + + // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with any body + PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) + + PostStreamsNameSignificantEventsPreviewWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) +} + +type GetStreamsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsDisableResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsDisableResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsDisableResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsEnableResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsEnableResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsEnableResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsResyncResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsResyncResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsResyncResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteStreamsNameResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteStreamsNameResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteStreamsNameResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameForkResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameForkResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameForkResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameGroupResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameGroupResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameGroupResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameGroupResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameGroupResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameGroupResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameIngestResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameIngestResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameIngestResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameIngestResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameIngestResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameIngestResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameContentExportResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameContentExportResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameContentExportResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameContentImportResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameContentImportResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameContentImportResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameDashboardsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameDashboardsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameDashboardsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameDashboardsBulkResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameDashboardsBulkResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameDashboardsBulkResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteStreamsNameDashboardsDashboardidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteStreamsNameDashboardsDashboardidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteStreamsNameDashboardsDashboardidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameDashboardsDashboardidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameDashboardsDashboardidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameDashboardsDashboardidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameQueriesResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameQueriesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameQueriesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameQueriesBulkResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameQueriesBulkResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameQueriesBulkResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteStreamsNameQueriesQueryidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteStreamsNameQueriesQueryidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteStreamsNameQueriesQueryidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameQueriesQueryidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameQueriesQueryidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameQueriesQueryidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameRulesResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameRulesResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameRulesResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type DeleteStreamsNameRulesRuleidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r DeleteStreamsNameRulesRuleidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r DeleteStreamsNameRulesRuleidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PutStreamsNameRulesRuleidResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PutStreamsNameRulesRuleidResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PutStreamsNameRulesRuleidResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type GetStreamsNameSignificantEventsResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r GetStreamsNameSignificantEventsResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r GetStreamsNameSignificantEventsResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameSignificantEventsGenerateResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameSignificantEventsGenerateResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameSignificantEventsGenerateResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +type PostStreamsNameSignificantEventsPreviewResponse struct { + Body []byte + HTTPResponse *http.Response +} + +// Status returns HTTPResponse.Status +func (r PostStreamsNameSignificantEventsPreviewResponse) Status() string { + if r.HTTPResponse != nil { + return r.HTTPResponse.Status + } + return http.StatusText(0) +} + +// StatusCode returns HTTPResponse.StatusCode +func (r PostStreamsNameSignificantEventsPreviewResponse) StatusCode() int { + if r.HTTPResponse != nil { + return r.HTTPResponse.StatusCode + } + return 0 +} + +// GetStreamsWithResponse request returning *GetStreamsResponse +func (c *ClientWithResponses) GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) { + rsp, err := c.GetStreams(ctx, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsResponse(rsp) +} + +// PostStreamsDisableWithResponse request returning *PostStreamsDisableResponse +func (c *ClientWithResponses) PostStreamsDisableWithResponse(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) { + rsp, err := c.PostStreamsDisable(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsDisableResponse(rsp) +} + +// PostStreamsEnableWithResponse request returning *PostStreamsEnableResponse +func (c *ClientWithResponses) PostStreamsEnableWithResponse(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) { + rsp, err := c.PostStreamsEnable(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsEnableResponse(rsp) +} + +// PostStreamsResyncWithResponse request returning *PostStreamsResyncResponse +func (c *ClientWithResponses) PostStreamsResyncWithResponse(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) { + rsp, err := c.PostStreamsResync(ctx, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsResyncResponse(rsp) +} + +// DeleteStreamsNameWithResponse request returning *DeleteStreamsNameResponse +func (c *ClientWithResponses) DeleteStreamsNameWithResponse(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) { + rsp, err := c.DeleteStreamsName(ctx, name, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteStreamsNameResponse(rsp) +} + +// GetStreamsNameWithResponse request returning *GetStreamsNameResponse +func (c *ClientWithResponses) GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) { + rsp, err := c.GetStreamsName(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameResponse(rsp) +} + +// PutStreamsNameWithBodyWithResponse request with arbitrary body returning *PutStreamsNameResponse +func (c *ClientWithResponses) PutStreamsNameWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) { + rsp, err := c.PutStreamsNameWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameResponse(rsp) +} + +func (c *ClientWithResponses) PutStreamsNameWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) { + rsp, err := c.PutStreamsName(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameResponse(rsp) +} + +// PostStreamsNameForkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameForkResponse +func (c *ClientWithResponses) PostStreamsNameForkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) { + rsp, err := c.PostStreamsNameForkWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameForkResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameForkWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) { + rsp, err := c.PostStreamsNameFork(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameForkResponse(rsp) +} + +// GetStreamsNameGroupWithResponse request returning *GetStreamsNameGroupResponse +func (c *ClientWithResponses) GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) { + rsp, err := c.GetStreamsNameGroup(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameGroupResponse(rsp) +} + +// PutStreamsNameGroupWithBodyWithResponse request with arbitrary body returning *PutStreamsNameGroupResponse +func (c *ClientWithResponses) PutStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) { + rsp, err := c.PutStreamsNameGroupWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameGroupResponse(rsp) +} + +func (c *ClientWithResponses) PutStreamsNameGroupWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) { + rsp, err := c.PutStreamsNameGroup(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameGroupResponse(rsp) +} + +// GetStreamsNameIngestWithResponse request returning *GetStreamsNameIngestResponse +func (c *ClientWithResponses) GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) { + rsp, err := c.GetStreamsNameIngest(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameIngestResponse(rsp) +} + +// PutStreamsNameIngestWithBodyWithResponse request with arbitrary body returning *PutStreamsNameIngestResponse +func (c *ClientWithResponses) PutStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) { + rsp, err := c.PutStreamsNameIngestWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameIngestResponse(rsp) +} + +func (c *ClientWithResponses) PutStreamsNameIngestWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) { + rsp, err := c.PutStreamsNameIngest(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameIngestResponse(rsp) +} + +// PostStreamsNameContentExportWithBodyWithResponse request with arbitrary body returning *PostStreamsNameContentExportResponse +func (c *ClientWithResponses) PostStreamsNameContentExportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) { + rsp, err := c.PostStreamsNameContentExportWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameContentExportResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameContentExportWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) { + rsp, err := c.PostStreamsNameContentExport(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameContentExportResponse(rsp) +} + +// PostStreamsNameContentImportWithBodyWithResponse request with arbitrary body returning *PostStreamsNameContentImportResponse +func (c *ClientWithResponses) PostStreamsNameContentImportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentImportResponse, error) { + rsp, err := c.PostStreamsNameContentImportWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameContentImportResponse(rsp) +} + +// GetStreamsNameDashboardsWithResponse request returning *GetStreamsNameDashboardsResponse +func (c *ClientWithResponses) GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) { + rsp, err := c.GetStreamsNameDashboards(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameDashboardsResponse(rsp) +} + +// PostStreamsNameDashboardsBulkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameDashboardsBulkResponse +func (c *ClientWithResponses) PostStreamsNameDashboardsBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) { + rsp, err := c.PostStreamsNameDashboardsBulkWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameDashboardsBulkResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameDashboardsBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) { + rsp, err := c.PostStreamsNameDashboardsBulk(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameDashboardsBulkResponse(rsp) +} + +// DeleteStreamsNameDashboardsDashboardidWithResponse request returning *DeleteStreamsNameDashboardsDashboardidResponse +func (c *ClientWithResponses) DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { + rsp, err := c.DeleteStreamsNameDashboardsDashboardid(ctx, name, dashboardId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp) +} + +// PutStreamsNameDashboardsDashboardidWithResponse request returning *PutStreamsNameDashboardsDashboardidResponse +func (c *ClientWithResponses) PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) { + rsp, err := c.PutStreamsNameDashboardsDashboardid(ctx, name, dashboardId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameDashboardsDashboardidResponse(rsp) +} + +// GetStreamsNameQueriesWithResponse request returning *GetStreamsNameQueriesResponse +func (c *ClientWithResponses) GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) { + rsp, err := c.GetStreamsNameQueries(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameQueriesResponse(rsp) +} + +// PostStreamsNameQueriesBulkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameQueriesBulkResponse +func (c *ClientWithResponses) PostStreamsNameQueriesBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) { + rsp, err := c.PostStreamsNameQueriesBulkWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameQueriesBulkResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameQueriesBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) { + rsp, err := c.PostStreamsNameQueriesBulk(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameQueriesBulkResponse(rsp) +} + +// DeleteStreamsNameQueriesQueryidWithResponse request returning *DeleteStreamsNameQueriesQueryidResponse +func (c *ClientWithResponses) DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) { + rsp, err := c.DeleteStreamsNameQueriesQueryid(ctx, name, queryId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteStreamsNameQueriesQueryidResponse(rsp) +} + +// PutStreamsNameQueriesQueryidWithBodyWithResponse request with arbitrary body returning *PutStreamsNameQueriesQueryidResponse +func (c *ClientWithResponses) PutStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) { + rsp, err := c.PutStreamsNameQueriesQueryidWithBody(ctx, name, queryId, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameQueriesQueryidResponse(rsp) +} + +func (c *ClientWithResponses) PutStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) { + rsp, err := c.PutStreamsNameQueriesQueryid(ctx, name, queryId, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameQueriesQueryidResponse(rsp) +} + +// GetStreamsNameRulesWithResponse request returning *GetStreamsNameRulesResponse +func (c *ClientWithResponses) GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) { + rsp, err := c.GetStreamsNameRules(ctx, name, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameRulesResponse(rsp) +} + +// DeleteStreamsNameRulesRuleidWithResponse request returning *DeleteStreamsNameRulesRuleidResponse +func (c *ClientWithResponses) DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) { + rsp, err := c.DeleteStreamsNameRulesRuleid(ctx, name, ruleId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseDeleteStreamsNameRulesRuleidResponse(rsp) +} + +// PutStreamsNameRulesRuleidWithResponse request returning *PutStreamsNameRulesRuleidResponse +func (c *ClientWithResponses) PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) { + rsp, err := c.PutStreamsNameRulesRuleid(ctx, name, ruleId, params, reqEditors...) + if err != nil { + return nil, err + } + return ParsePutStreamsNameRulesRuleidResponse(rsp) +} + +// GetStreamsNameSignificantEventsWithResponse request returning *GetStreamsNameSignificantEventsResponse +func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) { + rsp, err := c.GetStreamsNameSignificantEvents(ctx, name, params, reqEditors...) + if err != nil { + return nil, err + } + return ParseGetStreamsNameSignificantEventsResponse(rsp) +} + +// PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsGenerateResponse +func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) +} + +// PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsPreviewResponse +func (c *ClientWithResponses) PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsPreviewWithBody(ctx, name, params, contentType, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameSignificantEventsPreviewResponse(rsp) +} + +func (c *ClientWithResponses) PostStreamsNameSignificantEventsPreviewWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) { + rsp, err := c.PostStreamsNameSignificantEventsPreview(ctx, name, params, body, reqEditors...) + if err != nil { + return nil, err + } + return ParsePostStreamsNameSignificantEventsPreviewResponse(rsp) +} + +// ParseGetStreamsResponse parses an HTTP response from a GetStreamsWithResponse call +func ParseGetStreamsResponse(rsp *http.Response) (*GetStreamsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsDisableResponse parses an HTTP response from a PostStreamsDisableWithResponse call +func ParsePostStreamsDisableResponse(rsp *http.Response) (*PostStreamsDisableResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsDisableResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsEnableResponse parses an HTTP response from a PostStreamsEnableWithResponse call +func ParsePostStreamsEnableResponse(rsp *http.Response) (*PostStreamsEnableResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsEnableResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsResyncResponse parses an HTTP response from a PostStreamsResyncWithResponse call +func ParsePostStreamsResyncResponse(rsp *http.Response) (*PostStreamsResyncResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsResyncResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteStreamsNameResponse parses an HTTP response from a DeleteStreamsNameWithResponse call +func ParseDeleteStreamsNameResponse(rsp *http.Response) (*DeleteStreamsNameResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteStreamsNameResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameResponse parses an HTTP response from a GetStreamsNameWithResponse call +func ParseGetStreamsNameResponse(rsp *http.Response) (*GetStreamsNameResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameResponse parses an HTTP response from a PutStreamsNameWithResponse call +func ParsePutStreamsNameResponse(rsp *http.Response) (*PutStreamsNameResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameForkResponse parses an HTTP response from a PostStreamsNameForkWithResponse call +func ParsePostStreamsNameForkResponse(rsp *http.Response) (*PostStreamsNameForkResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameForkResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameGroupResponse parses an HTTP response from a GetStreamsNameGroupWithResponse call +func ParseGetStreamsNameGroupResponse(rsp *http.Response) (*GetStreamsNameGroupResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameGroupResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameGroupResponse parses an HTTP response from a PutStreamsNameGroupWithResponse call +func ParsePutStreamsNameGroupResponse(rsp *http.Response) (*PutStreamsNameGroupResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameGroupResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameIngestResponse parses an HTTP response from a GetStreamsNameIngestWithResponse call +func ParseGetStreamsNameIngestResponse(rsp *http.Response) (*GetStreamsNameIngestResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameIngestResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameIngestResponse parses an HTTP response from a PutStreamsNameIngestWithResponse call +func ParsePutStreamsNameIngestResponse(rsp *http.Response) (*PutStreamsNameIngestResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameIngestResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameContentExportResponse parses an HTTP response from a PostStreamsNameContentExportWithResponse call +func ParsePostStreamsNameContentExportResponse(rsp *http.Response) (*PostStreamsNameContentExportResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameContentExportResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameContentImportResponse parses an HTTP response from a PostStreamsNameContentImportWithResponse call +func ParsePostStreamsNameContentImportResponse(rsp *http.Response) (*PostStreamsNameContentImportResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameContentImportResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameDashboardsResponse parses an HTTP response from a GetStreamsNameDashboardsWithResponse call +func ParseGetStreamsNameDashboardsResponse(rsp *http.Response) (*GetStreamsNameDashboardsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameDashboardsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameDashboardsBulkResponse parses an HTTP response from a PostStreamsNameDashboardsBulkWithResponse call +func ParsePostStreamsNameDashboardsBulkResponse(rsp *http.Response) (*PostStreamsNameDashboardsBulkResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameDashboardsBulkResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteStreamsNameDashboardsDashboardidResponse parses an HTTP response from a DeleteStreamsNameDashboardsDashboardidWithResponse call +func ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp *http.Response) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteStreamsNameDashboardsDashboardidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameDashboardsDashboardidResponse parses an HTTP response from a PutStreamsNameDashboardsDashboardidWithResponse call +func ParsePutStreamsNameDashboardsDashboardidResponse(rsp *http.Response) (*PutStreamsNameDashboardsDashboardidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameDashboardsDashboardidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameQueriesResponse parses an HTTP response from a GetStreamsNameQueriesWithResponse call +func ParseGetStreamsNameQueriesResponse(rsp *http.Response) (*GetStreamsNameQueriesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameQueriesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameQueriesBulkResponse parses an HTTP response from a PostStreamsNameQueriesBulkWithResponse call +func ParsePostStreamsNameQueriesBulkResponse(rsp *http.Response) (*PostStreamsNameQueriesBulkResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameQueriesBulkResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteStreamsNameQueriesQueryidResponse parses an HTTP response from a DeleteStreamsNameQueriesQueryidWithResponse call +func ParseDeleteStreamsNameQueriesQueryidResponse(rsp *http.Response) (*DeleteStreamsNameQueriesQueryidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteStreamsNameQueriesQueryidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameQueriesQueryidResponse parses an HTTP response from a PutStreamsNameQueriesQueryidWithResponse call +func ParsePutStreamsNameQueriesQueryidResponse(rsp *http.Response) (*PutStreamsNameQueriesQueryidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameQueriesQueryidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameRulesResponse parses an HTTP response from a GetStreamsNameRulesWithResponse call +func ParseGetStreamsNameRulesResponse(rsp *http.Response) (*GetStreamsNameRulesResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameRulesResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseDeleteStreamsNameRulesRuleidResponse parses an HTTP response from a DeleteStreamsNameRulesRuleidWithResponse call +func ParseDeleteStreamsNameRulesRuleidResponse(rsp *http.Response) (*DeleteStreamsNameRulesRuleidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &DeleteStreamsNameRulesRuleidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePutStreamsNameRulesRuleidResponse parses an HTTP response from a PutStreamsNameRulesRuleidWithResponse call +func ParsePutStreamsNameRulesRuleidResponse(rsp *http.Response) (*PutStreamsNameRulesRuleidResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PutStreamsNameRulesRuleidResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParseGetStreamsNameSignificantEventsResponse parses an HTTP response from a GetStreamsNameSignificantEventsWithResponse call +func ParseGetStreamsNameSignificantEventsResponse(rsp *http.Response) (*GetStreamsNameSignificantEventsResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &GetStreamsNameSignificantEventsResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a PostStreamsNameSignificantEventsGenerateWithResponse call +func ParsePostStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsGenerateResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameSignificantEventsGenerateResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} + +// ParsePostStreamsNameSignificantEventsPreviewResponse parses an HTTP response from a PostStreamsNameSignificantEventsPreviewWithResponse call +func ParsePostStreamsNameSignificantEventsPreviewResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsPreviewResponse, error) { + bodyBytes, err := io.ReadAll(rsp.Body) + defer func() { _ = rsp.Body.Close() }() + if err != nil { + return nil, err + } + + response := &PostStreamsNameSignificantEventsPreviewResponse{ + Body: bodyBytes, + HTTPResponse: rsp, + } + + return response, nil +} diff --git a/generated/kbstreams/transform_schema.go b/generated/kbstreams/transform_schema.go new file mode 100644 index 000000000..b80c31f38 --- /dev/null +++ b/generated/kbstreams/transform_schema.go @@ -0,0 +1,74 @@ +//go:build ignore +// +build ignore + +// TEMPORARY (POC): Minimal transformer that trims a full Kibana OAS down to the +// Streams-related paths only. This keeps oapi-codegen focused on the Streams +// surface while avoiding issues in unrelated APIs (attack discovery, cases, +// fleet settings, etc.). +// +// This program is intentionally small and self-contained so that it can be +// iterated on or replaced once Streams is fully integrated into the main +// Kibana OAS pipeline. +package main + +import ( + "flag" + "log" + "os" + "strings" + + "gopkg.in/yaml.v3" +) + +func main() { + inFile := flag.String("i", "", "input file") + outFile := flag.String("o", "", "output file") + flag.Parse() + + if *inFile == "" || *outFile == "" { + flag.Usage() + os.Exit(1) + } + + data, err := os.ReadFile(*inFile) + if err != nil { + log.Fatalf("failed to read input schema %q: %v", *inFile, err) + } + + var root map[string]any + if err := yaml.Unmarshal(data, &root); err != nil { + log.Fatalf("failed to unmarshal input schema %q: %v", *inFile, err) + } + + pathsAny, ok := root["paths"] + if !ok { + log.Fatalf("input schema has no top-level \"paths\" key") + } + + pathsMap, ok := pathsAny.(map[string]any) + if !ok { + log.Fatalf("input schema \"paths\" is not an object") + } + + streamsPaths := map[string]any{} + for p, v := range pathsMap { + if strings.HasPrefix(p, "/api/streams") { + streamsPaths[p] = v + } + } + + if len(streamsPaths) == 0 { + log.Fatalf("no /api/streams* paths found in input schema %q", *inFile) + } + + root["paths"] = streamsPaths + + out, err := yaml.Marshal(root) + if err != nil { + log.Fatalf("failed to marshal filtered schema %q: %v", *outFile, err) + } + + if err := os.WriteFile(*outFile, out, 0o664); err != nil { + log.Fatalf("failed to write filtered schema %q: %v", *outFile, err) + } +} diff --git a/internal/clients/kibana_oapi/streams.go b/internal/clients/kibana_oapi/streams.go new file mode 100644 index 000000000..3e41da38b --- /dev/null +++ b/internal/clients/kibana_oapi/streams.go @@ -0,0 +1,298 @@ +package kibana_oapi + +import ( + "bytes" + "context" + "io" + "net/http" + "strings" + + "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/elastic/terraform-provider-elasticstack/internal/diagutil" + "github.com/hashicorp/terraform-plugin-framework/diag" +) + +// newStreamsClient constructs a Streams-only API client on top of the shared +// Kibana HTTP client. This keeps Streams experimentation isolated from the +// main kbapi client. +func newStreamsClient(c *Client) (*kbstreams.ClientWithResponses, diag.Diagnostics) { + var diags diag.Diagnostics + + endpoint := c.URL + if !strings.HasSuffix(endpoint, "/") { + endpoint += "/" + } + + streamsClient, err := kbstreams.NewClientWithResponses(endpoint, kbstreams.WithHTTPClient(c.HTTP)) + if err != nil { + diags.AddError("Failed to create Kibana Streams client", err.Error()) + return nil, diags + } + + return streamsClient, diags +} + +// GetStreamJSON reads a single stream definition (GET /api/streams/{name}). +// Returns nil, nil on 404. +func GetStreamJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return nil, diags + } + + resp, err := streamsClient.GetStreamsNameWithResponse(ctx, name) + if err != nil { + return nil, diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + switch { + case status == http.StatusNotFound: + return nil, nil + case status >= 200 && status < 300: + return resp.Body, nil + default: + return nil, reportUnknownError(status, resp.Body) + } +} + +// PutStream upserts a stream (PUT /api/streams/{name}). +// The caller is responsible for building a valid kbstreams.PutStreamsNameJSONRequestBody. +func PutStream(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameJSONRequestBody) diag.Diagnostics { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return diags + } + + resp, err := streamsClient.PutStreamsNameWithResponse(ctx, name, nil, body) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + if status >= 200 && status < 300 { + return nil + } + + return reportUnknownError(status, resp.Body) +} + +// PutStreamRaw upserts a stream by sending a pre-built JSON payload to +// PUT /api/streams/{name}. This is used in cases where the generated +// kbstreams union types are too awkward to construct directly from +// Terraform models. +func PutStreamRaw(ctx context.Context, client *Client, name string, body []byte) diag.Diagnostics { + var diags diag.Diagnostics + + endpoint := client.URL + if !strings.HasSuffix(endpoint, "/") { + endpoint += "/" + } + + url := endpoint + "api/streams/" + name + + req, err := http.NewRequestWithContext(ctx, http.MethodPut, url, bytes.NewReader(body)) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + req.Header.Set("Content-Type", "application/json") + + resp, err := client.HTTP.Do(req) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + defer resp.Body.Close() + + respBody, _ := io.ReadAll(resp.Body) + + status := resp.StatusCode + if status >= 200 && status < 300 { + return diags + } + + return reportUnknownError(status, respBody) +} + +// DeleteStream deletes a stream (DELETE /api/streams/{name}). +// 404 is treated as success. +// +// We intentionally avoid the generated client here because the request body +// for this endpoint is defined as "undefined" in Kibana's schema. Some +// generated clients may serialize a nil body as JSON "null", which then +// fails validation with 'expected undefined, received null'. Using the raw +// HTTP client guarantees we send no body at all. +func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnostics { + var diags diag.Diagnostics + + endpoint := client.URL + if !strings.HasSuffix(endpoint, "/") { + endpoint += "/" + } + + url := endpoint + "api/streams/" + name + + req, err := http.NewRequestWithContext(ctx, http.MethodDelete, url, nil) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + resp, err := client.HTTP.Do(req) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + defer resp.Body.Close() + + respBody, _ := io.ReadAll(resp.Body) + + switch resp.StatusCode { + case http.StatusNotFound: + return diags + case http.StatusOK, http.StatusNoContent: + return diags + case http.StatusBadRequest: + // Some Streams deployments validate the DELETE request body as + // "undefined" and will respond with a 400 "Expected undefined, + // received null" even though no body was sent. Treat this specific + // validation error as a successful delete to keep Terraform idempotent. + if bytes.Contains(respBody, []byte("Expected undefined, received null")) { + return diags + } + return reportUnknownError(resp.StatusCode, respBody) + default: + return reportUnknownError(resp.StatusCode, respBody) + } +} + +// GetStreamIngestJSON reads ingest settings (GET /api/streams/{name}/_ingest). +// Returns nil, nil on 404. +func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return nil, diags + } + + resp, err := streamsClient.GetStreamsNameIngestWithResponse(ctx, name) + if err != nil { + return nil, diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + switch { + case status == http.StatusNotFound: + // No ingest definition for this stream. + return nil, nil + case status == http.StatusBadRequest: + // For non‑ingest streams (e.g. group streams) Kibana returns 400 + // "Stream is not an ingest stream". In that case we simply omit the + // ingest block from Terraform state instead of treating it as an error. + return nil, nil + case status >= 200 && status < 300: + return resp.Body, nil + default: + return nil, reportUnknownError(status, resp.Body) + } +} + +// PutStreamIngest upserts ingest settings (PUT /api/streams/{name}/_ingest). +func PutStreamIngest(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameIngestJSONRequestBody) diag.Diagnostics { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return diags + } + + resp, err := streamsClient.PutStreamsNameIngestWithResponse(ctx, name, nil, body) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + if status >= 200 && status < 300 { + return nil + } + + return reportUnknownError(status, resp.Body) +} + +// GetStreamGroupJSON reads group settings (GET /api/streams/{name}/_group). +// Returns nil, nil on 404. +func GetStreamGroupJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return nil, diags + } + + resp, err := streamsClient.GetStreamsNameGroupWithResponse(ctx, name) + if err != nil { + return nil, diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + switch { + case status == http.StatusNotFound: + return nil, nil + case status >= 200 && status < 300: + return resp.Body, nil + default: + return nil, reportUnknownError(status, resp.Body) + } +} + +// PutStreamGroup upserts group settings (PUT /api/streams/{name}/_group). +func PutStreamGroup(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameGroupJSONRequestBody) diag.Diagnostics { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return diags + } + + resp, err := streamsClient.PutStreamsNameGroupWithResponse(ctx, name, nil, body) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + if status >= 200 && status < 300 { + return nil + } + + return reportUnknownError(status, resp.Body) +} + +// EnableStreams enables Streams (POST /api/streams/_enable). +func EnableStreams(ctx context.Context, client *Client) diag.Diagnostics { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return diags + } + + resp, err := streamsClient.PostStreamsEnableWithResponse(ctx, nil) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + if status >= 200 && status < 300 { + return nil + } + + return reportUnknownError(status, resp.Body) +} + +// DisableStreams disables Streams (POST /api/streams/_disable). +func DisableStreams(ctx context.Context, client *Client) diag.Diagnostics { + streamsClient, diags := newStreamsClient(client) + if diags.HasError() { + return diags + } + + resp, err := streamsClient.PostStreamsDisableWithResponse(ctx, nil) + if err != nil { + return diagutil.FrameworkDiagFromError(err) + } + + status := resp.StatusCode() + if status >= 200 && status < 300 { + return nil + } + + return reportUnknownError(status, resp.Body) +} diff --git a/internal/kibana/streams/conditions.go b/internal/kibana/streams/conditions.go new file mode 100644 index 000000000..2b8523fda --- /dev/null +++ b/internal/kibana/streams/conditions.go @@ -0,0 +1,93 @@ +package streams + +import "encoding/json" + +// Condition represents a logical condition tree that can be serialized +// into a JSON-friendly DSL structure. +// +// This is intentionally generic and internal to the provider so that we +// can evolve the exact JSON shape to match the Streams condition DSL +// without leaking details into the rest of the codebase. +type Condition interface { + // ToDSL returns the condition encoded as a nested map/list structure + // suitable for JSON marshaling. + ToDSL() map[string]any +} + +// FieldComparison is a simple leaf condition like: +// +// field value +// +// Example JSON (one possible shape): +// +// {"field": "host.name", "op": "eq", "value": "web-01"} +type FieldComparison struct { + Field string + Op string + Value any +} + +// ToDSL implements Condition. +func (c FieldComparison) ToDSL() map[string]any { + return map[string]any{ + "field": c.Field, + "op": c.Op, + "value": c.Value, + } +} + +// And represents a logical AND over its children. +// +// Example JSON: +// +// {"and": [ , , ... ]} +type And struct { + Children []Condition +} + +// ToDSL implements Condition. +func (a And) ToDSL() map[string]any { + children := make([]any, 0, len(a.Children)) + for _, child := range a.Children { + if child == nil { + continue + } + children = append(children, child.ToDSL()) + } + return map[string]any{ + "and": children, + } +} + +// Or represents a logical OR over its children. +// +// Example JSON: +// +// {"or": [ , , ... ]} +type Or struct { + Children []Condition +} + +// ToDSL implements Condition. +func (o Or) ToDSL() map[string]any { + children := make([]any, 0, len(o.Children)) + for _, child := range o.Children { + if child == nil { + continue + } + children = append(children, child.ToDSL()) + } + return map[string]any{ + "or": children, + } +} + +// MarshalCondition encodes a Condition into JSON. This is a helper used +// by unit tests (and potentially by Streams helpers in the future). +func MarshalCondition(c Condition) ([]byte, error) { + if c == nil { + // Encode as JSON null for now; callers can decide how to handle this. + return []byte("null"), nil + } + return json.Marshal(c.ToDSL()) +} diff --git a/internal/kibana/streams/conditions_test.go b/internal/kibana/streams/conditions_test.go new file mode 100644 index 000000000..f62a3e009 --- /dev/null +++ b/internal/kibana/streams/conditions_test.go @@ -0,0 +1,101 @@ +package streams + +import ( + "encoding/json" + "reflect" + "testing" +) + +func mustDecodeJSON(t *testing.T, b []byte) any { + t.Helper() + var v any + if err := json.Unmarshal(b, &v); err != nil { + t.Fatalf("failed to unmarshal JSON: %v\ninput: %s", err, string(b)) + } + return v +} + +func TestMarshalCondition_SimpleAndOr(t *testing.T) { + t.Parallel() + + tests := []struct { + name string + cond Condition + want string + }{ + { + name: "single leaf", + cond: FieldComparison{ + Field: "host.name", + Op: "eq", + Value: "web-01", + }, + want: `{ + "field": "host.name", + "op": "eq", + "value": "web-01" + }`, + }, + { + name: "and of two leaves", + cond: And{ + Children: []Condition{ + FieldComparison{Field: "host.name", Op: "eq", Value: "web-01"}, + FieldComparison{Field: "status", Op: "eq", Value: "ok"}, + }, + }, + want: `{ + "and": [ + {"field": "host.name", "op": "eq", "value": "web-01"}, + {"field": "status", "op": "eq", "value": "ok"} + ] + }`, + }, + { + name: "nested and/or tree", + cond: And{ + Children: []Condition{ + FieldComparison{Field: "env", Op: "eq", Value: "prod"}, + Or{ + Children: []Condition{ + FieldComparison{Field: "service", Op: "eq", Value: "api"}, + FieldComparison{Field: "service", Op: "eq", Value: "frontend"}, + }, + }, + }, + }, + want: `{ + "and": [ + {"field": "env", "op": "eq", "value": "prod"}, + {"or": [ + {"field": "service", "op": "eq", "value": "api"}, + {"field": "service", "op": "eq", "value": "frontend"} + ]} + ] + }`, + }, + } + + for _, tt := range tests { + tt := tt + t.Run(tt.name, func(t *testing.T) { + t.Parallel() + + gotBytes, err := MarshalCondition(tt.cond) + if err != nil { + t.Fatalf("MarshalCondition() error = %v", err) + } + + got := mustDecodeJSON(t, gotBytes) + want := mustDecodeJSON(t, []byte(tt.want)) + + if !reflect.DeepEqual(got, want) { + gb, _ := json.MarshalIndent(got, "", " ") + wb, _ := json.MarshalIndent(want, "", " ") + t.Fatalf("mismatch.\nGot:\n%s\nWant:\n%s", string(gb), string(wb)) + } + }) + } +} + + diff --git a/internal/kibana/streams/flatten_expand.go b/internal/kibana/streams/flatten_expand.go new file mode 100644 index 000000000..c555b7d64 --- /dev/null +++ b/internal/kibana/streams/flatten_expand.go @@ -0,0 +1,247 @@ +package streams + +import ( + "context" + "encoding/json" + + "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/types" +) + +// expandGroupToAPI converts the Terraform groupModel into the kbstreams payload used +// by PUT /api/streams/{name}/_group. +func expandGroupToAPI(ctx context.Context, m *groupModel) (*kbstreams.PutStreamsNameGroupJSONBody, diag.Diagnostics) { + var diags diag.Diagnostics + + body := &kbstreams.PutStreamsNameGroupJSONBody{} + if m == nil { + // Ensure we always send empty arrays/objects rather than nulls to match + // the Streams Group schema expectations. + body.Group.Members = []string{} + body.Group.Metadata = map[string]string{} + body.Group.Tags = []string{} + return body, diags + } + + // Start with empty values so we never send null for these fields. + body.Group.Members = []string{} + body.Group.Metadata = map[string]string{} + body.Group.Tags = []string{} + + // members + if len(m.Members) > 0 { + members := make([]string, 0, len(m.Members)) + for _, v := range m.Members { + if v.IsNull() || v.IsUnknown() { + continue + } + members = append(members, v.ValueString()) + } + body.Group.Members = members + } + + // metadata + if !m.Metadata.IsNull() && !m.Metadata.IsUnknown() { + var meta map[string]string + d := m.Metadata.ElementsAs(ctx, &meta, false) + diags.Append(d...) + if !diags.HasError() { + body.Group.Metadata = meta + } + } + + // tags + if len(m.Tags) > 0 { + tags := make([]string, 0, len(m.Tags)) + for _, v := range m.Tags { + if v.IsNull() || v.IsUnknown() { + continue + } + tags = append(tags, v.ValueString()) + } + body.Group.Tags = tags + } + + return body, diags +} + +// flattenGroupFromAPI populates a groupModel from the JSON returned by +// GET /api/streams/{name}/_group. +func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) diag.Diagnostics { + var diags diag.Diagnostics + + if apiBytes == nil { + return diags + } + + var body kbstreams.PutStreamsNameGroupJSONBody + if err := json.Unmarshal(apiBytes, &body); err != nil { + diags.AddError("Failed to decode group stream settings", err.Error()) + return diags + } + + // members + if len(body.Group.Members) == 0 { + m.Members = nil + } else { + m.Members = make([]types.String, len(body.Group.Members)) + for i, v := range body.Group.Members { + m.Members[i] = types.StringValue(v) + } + } + + // metadata + if len(body.Group.Metadata) == 0 { + // Preserve empty map rather than null to avoid post-apply inconsistencies + // when the plan contained `metadata = {}`. + mv, d := types.MapValueFrom(ctx, types.StringType, map[string]string{}) + diags.Append(d...) + if diags.HasError() { + return diags + } + m.Metadata = mv + } else { + mv, d := types.MapValueFrom(ctx, types.StringType, body.Group.Metadata) + diags.Append(d...) + if diags.HasError() { + return diags + } + m.Metadata = mv + } + + // tags + if len(body.Group.Tags) == 0 { + // Preserve empty list rather than null to avoid post-apply inconsistencies + // when the plan contained `tags = []`. + m.Tags = []types.String{} + } else { + m.Tags = make([]types.String, len(body.Group.Tags)) + for i, v := range body.Group.Tags { + m.Tags[i] = types.StringValue(v) + } + } + + return diags +} + +// flattenIngestFromAPI decodes the JSON returned by GET /api/streams/{name}/_ingest +// into a Terraform Object value for the computed `ingest` attribute. For the +// current POC we only surface the ingest `type` field. +func flattenIngestFromAPI(ctx context.Context, apiBytes []byte) (types.Object, diag.Diagnostics) { + var diags diag.Diagnostics + + if apiBytes == nil { + return types.ObjectNull(ingestAttrTypes), diags + } + + type ingestAPI struct { + Ingest struct { + Type string `json:"type"` + } `json:"ingest"` + } + + var body ingestAPI + if err := json.Unmarshal(apiBytes, &body); err != nil { + diags.AddError("Failed to decode ingest stream settings", err.Error()) + return types.ObjectNull(ingestAttrTypes), diags + } + + attrs := map[string]attr.Value{ + "type": types.StringValue(body.Ingest.Type), + } + obj, d := types.ObjectValue(ingestAttrTypes, attrs) + diags.Append(d...) + + return obj, diags +} + +// expandGroupToStreamUpsertJSON builds the minimal JSON body required to create +// or upsert a group stream via PUT /api/streams/{name}. It mirrors the +// Streams.GroupStream.UpsertRequest shape by sending: +// - dashboards, rules, queries as empty arrays (emptyAssets) +// - stream.description (when set) +// - stream.group.metadata, stream.group.tags, stream.group.members from the plan. +func expandGroupToStreamUpsertJSON(ctx context.Context, name string, plan *streamModel) ([]byte, diag.Diagnostics) { + var diags diag.Diagnostics + + // The stream name is taken from the URL path in the Streams API and is + // intentionally omitted from the JSON body. The server-side schema expects + // `stream.name` to be undefined in the payload. + // For the group-stream upsert branch, `stream.description` is required, + // while `stream.ingest` must not be present (it is validated separately + // via the _ingest endpoint for ingest streams). + desc := "" + if plan != nil && !plan.Description.IsNull() && !plan.Description.IsUnknown() { + desc = plan.Description.ValueString() + } + + stream := map[string]any{ + "description": desc, + } + + // Group block + if plan != nil && plan.Group != nil { + group := map[string]any{} + + // metadata + if !plan.Group.Metadata.IsNull() && !plan.Group.Metadata.IsUnknown() { + var meta map[string]string + d := plan.Group.Metadata.ElementsAs(ctx, &meta, false) + diags.Append(d...) + if diags.HasError() { + return nil, diags + } + group["metadata"] = meta + } else { + group["metadata"] = map[string]string{} + } + + // tags + if len(plan.Group.Tags) > 0 { + tags := make([]string, 0, len(plan.Group.Tags)) + for _, v := range plan.Group.Tags { + if v.IsNull() || v.IsUnknown() { + continue + } + tags = append(tags, v.ValueString()) + } + group["tags"] = tags + } else { + group["tags"] = []string{} + } + + // members + if len(plan.Group.Members) > 0 { + members := make([]string, 0, len(plan.Group.Members)) + for _, v := range plan.Group.Members { + if v.IsNull() || v.IsUnknown() { + continue + } + members = append(members, v.ValueString()) + } + group["members"] = members + } else { + // The schema allows an empty members array; we preserve that here. + group["members"] = []string{} + } + + stream["group"] = group + } + + body := map[string]any{ + "dashboards": []string{}, + "rules": []string{}, + "queries": []any{}, + "stream": stream, + } + + raw, err := json.Marshal(body) + if err != nil { + diags.AddError("Failed to encode group stream upsert payload", err.Error()) + return nil, diags + } + + return raw, diags +} diff --git a/internal/kibana/streams/models.go b/internal/kibana/streams/models.go new file mode 100644 index 000000000..32514c1be --- /dev/null +++ b/internal/kibana/streams/models.go @@ -0,0 +1,31 @@ +package streams + +import ( + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/types" +) + +// ingestAttrTypes describes the shape of the `ingest` nested object in state. +var ingestAttrTypes = map[string]attr.Type{ + "type": types.StringType, +} + +// groupModel represents the group configuration for a group stream. +type groupModel struct { + Members []types.String `tfsdk:"members"` + Metadata types.Map `tfsdk:"metadata"` + Tags []types.String `tfsdk:"tags"` +} + +// streamModel is the top-level Terraform representation of a Kibana stream. +type streamModel struct { + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + SpaceID types.String `tfsdk:"space_id"` + Description types.String `tfsdk:"description"` + Type types.String `tfsdk:"type"` + CreateIfMissing types.Bool `tfsdk:"create_if_missing"` + + Ingest types.Object `tfsdk:"ingest"` + Group *groupModel `tfsdk:"group"` +} diff --git a/internal/kibana/streams/resource.go b/internal/kibana/streams/resource.go new file mode 100644 index 000000000..d0bc8d066 --- /dev/null +++ b/internal/kibana/streams/resource.go @@ -0,0 +1,526 @@ +package streams + +import ( + "context" + "fmt" + + "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/elastic/terraform-provider-elasticstack/internal/clients" + "github.com/elastic/terraform-provider-elasticstack/internal/clients/kibana_oapi" + "github.com/elastic/terraform-provider-elasticstack/internal/diagutil" + fwdiag "github.com/hashicorp/terraform-plugin-framework/diag" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-log/tflog" +) + +const resourceName = "kibana_stream" + +// Ensure provider defined types fully satisfy framework interfaces. +var ( + _ resource.Resource = &Resource{} + _ resource.ResourceWithConfigure = &Resource{} + _ resource.ResourceWithImportState = &Resource{} +) + +// Resource implements the elasticstack_kibana_stream resource. +type Resource struct { + client *clients.ApiClient +} + +// NewResource is a helper function to simplify the provider implementation. +func NewResource() resource.Resource { + return &Resource{} +} + +func (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) { + client, diags := clients.ConvertProviderData(req.ProviderData) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + r.client = client +} + +func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { + resp.TypeName = fmt.Sprintf("%s_%s", req.ProviderTypeName, resourceName) +} + +func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { + resp.Schema = getSchema() +} + +func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { + // We use the standard composite ID format: /. + resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) +} + +func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) { + if r.client == nil { + resp.Diagnostics.AddError("Unconfigured client", "Expected configured API client, but got nil.") + return + } + + var plan streamModel + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + if plan.Name.IsUnknown() || plan.Name.IsNull() { + resp.Diagnostics.AddError("Missing stream name", "The 'name' attribute must be set for kibana_stream.") + return + } + + // Determine which mode this resource is using. + // In the current POC: + // - If a `group` block is present, we manage the group stream settings. + // - If no `group` block is present, we assume this is an ingest-only + // stream and treat it as a read-only view of `/api/streams/{name}/_ingest`. + isGroupStream := plan.Group != nil + isIngestStream := !isGroupStream + + client, err := r.client.GetKibanaOapiClient() + if err != nil { + resp.Diagnostics.AddError("Failed to get Kibana OAPI client", err.Error()) + return + } + + name := plan.Name.ValueString() + if isGroupStream { + // Group stream mode: manage /_group configuration. + tflog.Debug(ctx, "Creating Kibana group stream", map[string]any{ + "stream_name": name, + }) + + // If requested, create the base group stream via PUT /api/streams/{name} + // when it does not already exist. This keeps the default behaviour + // "attach to existing" unless create_if_missing is explicitly enabled. + if !plan.CreateIfMissing.IsNull() && plan.CreateIfMissing.ValueBool() { + tflog.Debug(ctx, "Ensuring base group stream exists via PUT /api/streams/{name}", map[string]any{ + "stream_name": name, + }) + + existingJSON, d := kibana_oapi.GetStreamJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + if existingJSON == nil { + rawBody, d := expandGroupToStreamUpsertJSON(ctx, name, &plan) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + d = kibana_oapi.PutStreamRaw(ctx, client, name, rawBody) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + } + } + + groupBody, d := expandGroupToAPI(ctx, plan.Group) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + // Upsert group configuration for the stream. + apiBody := kbstreams.PutStreamsNameGroupJSONRequestBody(*groupBody) + d = kibana_oapi.PutStreamGroup(ctx, client, name, apiBody) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + // Read back the group configuration to populate state deterministically. + groupJSON, d := kibana_oapi.GetStreamGroupJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + if groupJSON == nil { + // Treat missing group as the resource having been removed. + resp.State.RemoveResource(ctx) + return + } + + if plan.Group == nil { + plan.Group = &groupModel{} + } + d = flattenGroupFromAPI(ctx, groupJSON, plan.Group) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + // Group-only streams have no ingest settings; ensure the computed + // `ingest` attribute is set to a known null object after apply. + plan.Ingest = types.ObjectNull(ingestAttrTypes) + } else if isIngestStream { + // Ingest stream mode (POC, read-only): do not attempt to create or update + // ingest via Terraform yet. Instead, validate the ingest stream exists and + // hydrate state from the existing _ingest definition. + tflog.Debug(ctx, "Registering existing Kibana ingest stream", map[string]any{ + "stream_name": name, + }) + + ingestJSON, d := kibana_oapi.GetStreamIngestJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + if ingestJSON == nil { + resp.Diagnostics.AddError( + "Ingest stream not found", + fmt.Sprintf("No ingest definition was found for stream %q. Ensure the ingest stream exists in Kibana before managing it with Terraform.", name), + ) + return + } + + plan.Ingest, d = flattenIngestFromAPI(ctx, ingestJSON) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + } + + // Compute the composite ID /. + var fwDiags fwdiag.Diagnostics + compID, sdkDiags := r.client.ID(ctx, name) + fwDiags = diagutil.FrameworkDiagsFromSDK(sdkDiags) + resp.Diagnostics.Append(fwDiags...) + if resp.Diagnostics.HasError() { + return + } + + if compID != nil { + plan.ID = types.StringValue(compID.String()) + } else { + plan.ID = types.StringValue(name) + } + + // For now, we distinguish only between "group" and ingest-type streams. + if isGroupStream { + plan.Type = types.StringValue("group") + } else if isIngestStream { + // For ingest streams in this POC we currently surface only that this is an + // ingest stream; more detailed typing (wired/classic) can be added later. + plan.Type = types.StringValue("ingest") + } + + // space_id is currently a placeholder; we default to "default" while Streams + // is global in the Streams OAS snapshot. + if plan.SpaceID.IsNull() || plan.SpaceID.IsUnknown() { + plan.SpaceID = types.StringValue("default") + } + + diags = resp.State.Set(ctx, plan) + resp.Diagnostics.Append(diags...) +} + +func (r *Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { + if r.client == nil { + resp.Diagnostics.AddError("Unconfigured client", "Expected configured API client, but got nil.") + return + } + + var state streamModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + client, err := r.client.GetKibanaOapiClient() + if err != nil { + resp.Diagnostics.AddError("Failed to get Kibana OAPI client", err.Error()) + return + } + + // Derive the logical stream name either from the composite ID or from the + // stored name attribute. + var name string + if !state.ID.IsNull() && state.ID.ValueString() != "" { + compID, fwDiags := clients.CompositeIdFromStrFw(state.ID.ValueString()) + resp.Diagnostics.Append(fwDiags...) + if resp.Diagnostics.HasError() { + return + } + if compID != nil { + name = compID.ResourceId + } + } + if name == "" && !state.Name.IsNull() && !state.Name.IsUnknown() { + name = state.Name.ValueString() + } + if name == "" { + resp.Diagnostics.AddError("Missing stream identifier", "Neither 'id' nor 'name' could be resolved from state.") + return + } + + // Decide which aspects of the stream to refresh. This allows us to support + // group-only, ingest-only, or combined views without calling endpoints that + // are invalid for a given stream type. + hasGroupState := state.Group != nil + + if hasGroupState { + tflog.Debug(ctx, "Reading Kibana group stream", map[string]any{ + "stream_name": name, + }) + + groupJSON, d := kibana_oapi.GetStreamGroupJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + if groupJSON == nil { + // Stream (or its group configuration) no longer exists. + resp.State.RemoveResource(ctx) + return + } + + if state.Group == nil { + state.Group = &groupModel{} + } + d = flattenGroupFromAPI(ctx, groupJSON, state.Group) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + } + + // Best-effort read of ingest settings for this stream. For the current POC we + // treat ingest as read-only configuration: we reflect whatever Kibana + // returns, but Create/Update do not yet push ingest changes. + ingestJSON, d := kibana_oapi.GetStreamIngestJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + state.Ingest, d = flattenIngestFromAPI(ctx, ingestJSON) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + // Keep ID stable; recompute if it was missing. + if state.ID.IsNull() || state.ID.ValueString() == "" { + compID, sdkDiags := r.client.ID(ctx, name) + resp.Diagnostics.Append(diagutil.FrameworkDiagsFromSDK(sdkDiags)...) + if resp.Diagnostics.HasError() { + return + } + if compID != nil { + state.ID = types.StringValue(compID.String()) + } else { + state.ID = types.StringValue(name) + } + } + + state.Name = types.StringValue(name) + state.Type = types.StringValue("group") + if state.SpaceID.IsNull() || state.SpaceID.IsUnknown() { + state.SpaceID = types.StringValue("default") + } + + diags = resp.State.Set(ctx, state) + resp.Diagnostics.Append(diags...) +} + +func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + if r.client == nil { + resp.Diagnostics.AddError("Unconfigured client", "Expected configured API client, but got nil.") + return + } + + var plan streamModel + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + isGroupStream := plan.Group != nil + isIngestStream := !isGroupStream + + client, err := r.client.GetKibanaOapiClient() + if err != nil { + resp.Diagnostics.AddError("Failed to get Kibana OAPI client", err.Error()) + return + } + + if plan.Name.IsUnknown() || plan.Name.IsNull() { + resp.Diagnostics.AddError("Missing stream name", "The 'name' attribute must be set for kibana_stream.") + return + } + name := plan.Name.ValueString() + + if isGroupStream { + tflog.Debug(ctx, "Updating Kibana group stream", map[string]any{ + "stream_name": name, + }) + + groupBody, d := expandGroupToAPI(ctx, plan.Group) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + apiBody := kbstreams.PutStreamsNameGroupJSONRequestBody(*groupBody) + d = kibana_oapi.PutStreamGroup(ctx, client, name, apiBody) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + // Re-read after update to keep state in sync. + groupJSON, d := kibana_oapi.GetStreamGroupJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + if groupJSON == nil { + resp.State.RemoveResource(ctx) + return + } + + if plan.Group == nil { + plan.Group = &groupModel{} + } + d = flattenGroupFromAPI(ctx, groupJSON, plan.Group) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + // Group-only streams have no ingest settings; ensure the computed + // `ingest` attribute is set to a known null object after apply. + plan.Ingest = types.ObjectNull(ingestAttrTypes) + } else if isIngestStream { + // Ingest streams are currently read-only from Terraform's perspective. + // We refresh state from the existing _ingest definition but do not push + // any changes to Kibana. + tflog.Debug(ctx, "Refreshing existing Kibana ingest stream (read-only)", map[string]any{ + "stream_name": name, + }) + + ingestJSON, d := kibana_oapi.GetStreamIngestJSON(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + if ingestJSON == nil { + resp.State.RemoveResource(ctx) + return + } + + plan.Ingest, d = flattenIngestFromAPI(ctx, ingestJSON) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + } + + // Preserve or compute ID as in Create. + if plan.ID.IsNull() || plan.ID.ValueString() == "" { + compID, sdkDiags := r.client.ID(ctx, name) + resp.Diagnostics.Append(diagutil.FrameworkDiagsFromSDK(sdkDiags)...) + if resp.Diagnostics.HasError() { + return + } + if compID != nil { + plan.ID = types.StringValue(compID.String()) + } else { + plan.ID = types.StringValue(name) + } + } + + if isGroupStream { + plan.Type = types.StringValue("group") + } else if isIngestStream { + // For ingest streams in this POC we currently surface only that this is an + // ingest stream; more detailed typing (wired/classic) can be added later. + plan.Type = types.StringValue("ingest") + } + if plan.SpaceID.IsNull() || plan.SpaceID.IsUnknown() { + plan.SpaceID = types.StringValue("default") + } + + diags = resp.State.Set(ctx, plan) + resp.Diagnostics.Append(diags...) +} + +func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) { + if r.client == nil { + resp.Diagnostics.AddError("Unconfigured client", "Expected configured API client, but got nil.") + return + } + + var state streamModel + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + // Decide whether this resource represents a group stream or an ingest + // stream. For the current POC we only issue a DELETE to Kibana for group + // streams; ingest-only streams are treated as read-only views and are + // simply removed from Terraform state. + isGroupStream := state.Group != nil + isIngestStream := !isGroupStream + + client, err := r.client.GetKibanaOapiClient() + if err != nil { + resp.Diagnostics.AddError("Failed to get Kibana OAPI client", err.Error()) + return + } + + // Derive the stream name from ID or name. + var name string + if !state.ID.IsNull() && state.ID.ValueString() != "" { + compID, fwDiags := clients.CompositeIdFromStrFw(state.ID.ValueString()) + resp.Diagnostics.Append(fwDiags...) + if resp.Diagnostics.HasError() { + return + } + if compID != nil { + name = compID.ResourceId + } + } + if name == "" && !state.Name.IsNull() && !state.Name.IsUnknown() { + name = state.Name.ValueString() + } + if name == "" { + resp.Diagnostics.AddError("Missing stream identifier", "Neither 'id' nor 'name' could be resolved from state.") + return + } + + // Ingest-only streams: do not attempt to delete anything in Kibana in this + // POC. We only drop them from Terraform state. + if isIngestStream && !isGroupStream { + tflog.Debug(ctx, "Removing ingest-only stream from Terraform state without deleting in Kibana (read-only ingest POC)", map[string]any{ + "stream_name": name, + }) + resp.State.RemoveResource(ctx) + return + } + + tflog.Debug(ctx, "Deleting Kibana stream", map[string]any{ + "stream_name": name, + }) + + d := kibana_oapi.DeleteStream(ctx, client, name) + resp.Diagnostics.Append(d...) + if resp.Diagnostics.HasError() { + return + } + + resp.State.RemoveResource(ctx) +} diff --git a/internal/kibana/streams/schema.go b/internal/kibana/streams/schema.go new file mode 100644 index 000000000..faa4fe598 --- /dev/null +++ b/internal/kibana/streams/schema.go @@ -0,0 +1,93 @@ +package streams + +import ( + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringdefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/types" +) + +func getSchema() schema.Schema { + return schema.Schema{ + MarkdownDescription: "Manages a Kibana Stream (wired/classic ingest or group) via the Streams API.", + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + Computed: true, + MarkdownDescription: "Internal identifier of the stream (`/`).", + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + "name": schema.StringAttribute{ + Required: true, + MarkdownDescription: "Stream name (path segment `{name}` in the Streams API).", + PlanModifiers: []planmodifier.String{ + // Renaming a stream requires creating a new stream in Kibana and + // deleting the old one; model this as a replacement in Terraform. + stringplanmodifier.RequiresReplace(), + }, + }, + "space_id": schema.StringAttribute{ + Optional: true, + Computed: true, + Default: stringdefault.StaticString("default"), + MarkdownDescription: "Kibana space ID; defaults to `default`.", + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), + }, + }, + "description": schema.StringAttribute{ + Optional: true, + MarkdownDescription: "Optional human‑readable description for the stream.", + }, + "type": schema.StringAttribute{ + Computed: true, + MarkdownDescription: "Computed stream type, e.g. `wired`, `classic`, or `group`.", + }, + "create_if_missing": schema.BoolAttribute{ + Optional: true, + Computed: true, + Default: booldefault.StaticBool(false), + MarkdownDescription: "When `true` and a `group` block is configured, Terraform will create a new group stream via " + + "`PUT /api/streams/{name}` if the stream does not already exist. When `false` (default), the stream " + + "must already exist and Terraform will only manage its group configuration via `/_group`.", + }, + "ingest": schema.SingleNestedAttribute{ + Computed: true, + MarkdownDescription: "Ingest settings for wired/classic ingest streams. In the current POC this is populated from `_ingest` and treated as read-only. Only the `type` field is exposed for now.", + Attributes: map[string]schema.Attribute{ + "type": schema.StringAttribute{ + Computed: true, + MarkdownDescription: "Ingest type reported by Kibana, e.g. `wired` or `classic`.", + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + }, + }, + "group": schema.SingleNestedAttribute{ + Optional: true, + MarkdownDescription: "Grouping configuration for group streams.", + Attributes: map[string]schema.Attribute{ + "members": schema.ListAttribute{ + ElementType: types.StringType, + Optional: true, + MarkdownDescription: "Member stream names that belong to this group.", + }, + "metadata": schema.MapAttribute{ + ElementType: types.StringType, + Optional: true, + MarkdownDescription: "Arbitrary metadata for the group stream.", + }, + "tags": schema.ListAttribute{ + ElementType: types.StringType, + Optional: true, + MarkdownDescription: "Tags associated with this group stream.", + }, + }, + }, + }, + } +} diff --git a/provider/plugin_framework.go b/provider/plugin_framework.go index 14a0d9939..ef3abe209 100644 --- a/provider/plugin_framework.go +++ b/provider/plugin_framework.go @@ -31,6 +31,7 @@ import ( "github.com/elastic/terraform-provider-elasticstack/internal/kibana/maintenance_window" "github.com/elastic/terraform-provider-elasticstack/internal/kibana/security_detection_rule" "github.com/elastic/terraform-provider-elasticstack/internal/kibana/spaces" + "github.com/elastic/terraform-provider-elasticstack/internal/kibana/streams" "github.com/elastic/terraform-provider-elasticstack/internal/kibana/synthetics/monitor" "github.com/elastic/terraform-provider-elasticstack/internal/kibana/synthetics/parameter" "github.com/elastic/terraform-provider-elasticstack/internal/kibana/synthetics/private_location" @@ -128,5 +129,6 @@ func (p *Provider) Resources(ctx context.Context) []func() resource.Resource { anomaly_detection_job.NewAnomalyDetectionJobResource, security_detection_rule.NewSecurityDetectionRuleResource, job_state.NewMLJobStateResource, + streams.NewResource, } } diff --git a/streams/main.tf b/streams/main.tf new file mode 100644 index 000000000..1a157db13 --- /dev/null +++ b/streams/main.tf @@ -0,0 +1,66 @@ +terraform { + required_providers { + elasticstack = { + source = "elastic/elasticstack" + version = "0.12.2" + } + } +} +provider "elasticstack" { + elasticsearch { + endpoints = ["http://localhost:9200"] # adjust to your ES URL + username = var.elasticsearch_username + password = var.elasticsearch_password + } + + kibana { + endpoints = ["http://localhost:5601/rStelmach"] + username = var.kibana_username + password = var.kibana_password + } +} + +variable "elasticsearch_username" { + type = string + default = "elastic" +} + +variable "elasticsearch_password" { + type = string + default = "changeme" +} + +variable "kibana_username" { + type = string + default = "elastic" +} +variable "kibana_password" { + type = string + default = "changeme" +} + +# resource "elasticstack_kibana_stream" "example_group" { +# name = "tf-example-group" +# description = "Terraform example group stream" + +# group = { +# members = ["logs-synth.1-default", "logs-synth.2-default", "logs-synth.3-default"] # adjust to something valid in your env +# metadata = { env = "dev" } +# tags = ["terraform", "poc"] +# } +# } + +resource "elasticstack_kibana_stream" "example_group" { + name = "tf-example-group-created-by-tf" + create_if_missing = true + group = { + members = ["logs-synth.1-default"] + metadata = {} + tags = [] + } +} + +resource "elasticstack_kibana_stream" "example_ingest" { + name = "logs-synth.1-default" + space_id = "default" +} \ No newline at end of file From 57a753d12d22abc001aaf8181a7d835112c2e230 Mon Sep 17 00:00:00 2001 From: Robert Stelmach Date: Fri, 21 Nov 2025 12:45:59 +0100 Subject: [PATCH 2/3] use kibana.yaml generated code --- generated/kbapi/Makefile | 2 +- generated/kbapi/kibana.gen.go | 22488 ++----- generated/kbstreams/Makefile | 37 - generated/kbstreams/oapi-config.yaml | 7 - generated/kbstreams/oas-streams.yaml | 3293 - generated/kbstreams/oas.yaml | 67215 ------------------- generated/kbstreams/streams.gen.go | 6249 -- generated/kbstreams/transform_schema.go | 74 - internal/clients/fleet/fleet.go | 2 +- internal/clients/kibana_oapi/streams.go | 111 +- internal/kibana/streams/conditions_test.go | 2 - internal/kibana/streams/resource.go | 6 +- 12 files changed, 5214 insertions(+), 94272 deletions(-) delete mode 100644 generated/kbstreams/Makefile delete mode 100644 generated/kbstreams/oapi-config.yaml delete mode 100644 generated/kbstreams/oas-streams.yaml delete mode 100644 generated/kbstreams/oas.yaml delete mode 100644 generated/kbstreams/streams.gen.go delete mode 100644 generated/kbstreams/transform_schema.go diff --git a/generated/kbapi/Makefile b/generated/kbapi/Makefile index f374ee3db..f25308a14 100644 --- a/generated/kbapi/Makefile +++ b/generated/kbapi/Makefile @@ -2,7 +2,7 @@ SHELL := /bin/bash ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) -github_ref ?= 6a867d8e589056123e9e08e61256f48f6edb092e +github_ref ?= 660b9ea6419cc5d532ce34697e55109a109fbe02 oas_url := https://raw.githubusercontent.com/elastic/kibana/$(github_ref)/oas_docs/output/kibana.yaml .PHONY: all diff --git a/generated/kbapi/kibana.gen.go b/generated/kbapi/kibana.gen.go index efdc4ecaf..df0110d73 100644 --- a/generated/kbapi/kibana.gen.go +++ b/generated/kbapi/kibana.gen.go @@ -235,6 +235,46 @@ const ( N404 DataViews404ResponseStatusCode = 404 ) +// Defines values for KibanaHTTPAPIsStreamlangCondition0Type. +const ( + KibanaHTTPAPIsStreamlangCondition0TypeFilter KibanaHTTPAPIsStreamlangCondition0Type = "filter" +) + +// Defines values for KibanaHTTPAPIsStreamlangCondition1Type. +const ( + And KibanaHTTPAPIsStreamlangCondition1Type = "and" +) + +// Defines values for KibanaHTTPAPIsStreamlangCondition2Type. +const ( + Or KibanaHTTPAPIsStreamlangCondition2Type = "or" +) + +// Defines values for KibanaHTTPAPIsStreamlangCondition3Type. +const ( + Not KibanaHTTPAPIsStreamlangCondition3Type = "not" +) + +// Defines values for KibanaHTTPAPIsStreamlangCondition4Type. +const ( + Never KibanaHTTPAPIsStreamlangCondition4Type = "never" +) + +// Defines values for KibanaHTTPAPIsStreamlangCondition5Type. +const ( + Always KibanaHTTPAPIsStreamlangCondition5Type = "always" +) + +// Defines values for KibanaHTTPAPIsStreamlangStep0Kind. +const ( + Processor KibanaHTTPAPIsStreamlangStep0Kind = "processor" +) + +// Defines values for KibanaHTTPAPIsStreamlangStep1Kind. +const ( + Where KibanaHTTPAPIsStreamlangStep1Kind = "where" +) + // Defines values for KibanaHTTPAPIsCoreStatusRedactedResponseStatusOverallLevel. const ( KibanaHTTPAPIsCoreStatusRedactedResponseStatusOverallLevelAvailable KibanaHTTPAPIsCoreStatusRedactedResponseStatusOverallLevel = "available" @@ -3326,12 +3366,6 @@ const ( PostFleetAgentPoliciesAgentpolicyidCopyParamsFormatSimplified PostFleetAgentPoliciesAgentpolicyidCopyParamsFormat = "simplified" ) -// Defines values for PostFleetAgentlessPoliciesParamsFormat. -const ( - PostFleetAgentlessPoliciesParamsFormatLegacy PostFleetAgentlessPoliciesParamsFormat = "legacy" - PostFleetAgentlessPoliciesParamsFormatSimplified PostFleetAgentlessPoliciesParamsFormat = "simplified" -) - // Defines values for GetFleetAgentsParamsSortOrder. const ( GetFleetAgentsParamsSortOrderAsc GetFleetAgentsParamsSortOrder = "asc" @@ -3467,8 +3501,8 @@ const ( // Defines values for PutFleetPackagePoliciesPackagepolicyidParamsFormat. const ( - Legacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" - Simplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" + PutFleetPackagePoliciesPackagepolicyidParamsFormatLegacy PutFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy" + PutFleetPackagePoliciesPackagepolicyidParamsFormatSimplified PutFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified" ) // Defines values for FindListsParamsSortOrder. @@ -3566,63 +3600,19 @@ const ( PutSpacesSpaceIdJSONBodySolutionSecurity PutSpacesSpaceIdJSONBodySolution = "security" ) -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps00ActionGrok PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action = "grok" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps01Action. +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle0Type. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps01ActionDissect PutStreamsNameJSONBody00StreamIngestProcessingSteps01Action = "dissect" + PutStreamsNameJSONBody00StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody00StreamIngestLifecycle0Type = "dsl" ) -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps02Action. +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle1Type. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps02ActionDate PutStreamsNameJSONBody00StreamIngestProcessingSteps02Action = "date" + PutStreamsNameJSONBody00StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody00StreamIngestLifecycle1Type = "ilm" ) -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action. +// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle2Type. const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action = "rename" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action = "set" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action = "append" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps06ActionRemoveByPrefix PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps07ActionRemove PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action = "remove" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps08ActionConvert PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action = "convert" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps08TypeBoolean PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type = "boolean" - PutStreamsNameJSONBody00StreamIngestProcessingSteps08TypeDouble PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type = "double" - PutStreamsNameJSONBody00StreamIngestProcessingSteps08TypeInteger PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type = "integer" - PutStreamsNameJSONBody00StreamIngestProcessingSteps08TypeLong PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type = "long" - PutStreamsNameJSONBody00StreamIngestProcessingSteps08TypeString PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type = "string" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action. -const ( - PutStreamsNameJSONBody00StreamIngestProcessingSteps09ActionManualIngestPipeline PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody00StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody00StreamIngestLifecycle2Type = "inherit" ) // Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. @@ -3630,63 +3620,19 @@ const ( PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 = -1 ) -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action. +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle0Type. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps00ActionGrok PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action = "grok" + PutStreamsNameJSONBody01StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody01StreamIngestLifecycle0Type = "dsl" ) -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps01Action. +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle1Type. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps01ActionDissect PutStreamsNameJSONBody01StreamIngestProcessingSteps01Action = "dissect" + PutStreamsNameJSONBody01StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody01StreamIngestLifecycle1Type = "ilm" ) -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps02Action. +// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle2Type. const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps02ActionDate PutStreamsNameJSONBody01StreamIngestProcessingSteps02Action = "date" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps03ActionRename PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action = "rename" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps04ActionSet PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action = "set" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps05ActionAppend PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action = "append" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps06ActionRemoveByPrefix PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps07ActionRemove PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action = "remove" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps08ActionConvert PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action = "convert" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps08TypeBoolean PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type = "boolean" - PutStreamsNameJSONBody01StreamIngestProcessingSteps08TypeDouble PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type = "double" - PutStreamsNameJSONBody01StreamIngestProcessingSteps08TypeInteger PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type = "integer" - PutStreamsNameJSONBody01StreamIngestProcessingSteps08TypeLong PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type = "long" - PutStreamsNameJSONBody01StreamIngestProcessingSteps08TypeString PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type = "string" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action. -const ( - PutStreamsNameJSONBody01StreamIngestProcessingSteps09ActionManualIngestPipeline PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action = "manual_ingest_pipeline" + PutStreamsNameJSONBody01StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody01StreamIngestLifecycle2Type = "inherit" ) // Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. @@ -3700,68 +3646,29 @@ const ( PostStreamsNameForkJSONBodyStatusEnabled PostStreamsNameForkJSONBodyStatus = "enabled" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00ActionGrok PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action = "grok" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01ActionDissect PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Action = "dissect" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02ActionDate PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Action = "date" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action = "rename" + PutStreamsNameIngestJSONBodyIngest0Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type = "dsl" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action = "set" + PutStreamsNameIngestJSONBodyIngest0Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type = "ilm" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action = "append" + PutStreamsNameIngestJSONBodyIngest0Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type = "inherit" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07ActionRemove PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action = "remove" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08ActionConvert PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action = "convert" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type. -const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08TypeBoolean PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type = "boolean" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08TypeDouble PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type = "double" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08TypeInteger PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type = "integer" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08TypeLong PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type = "long" - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08TypeString PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type = "string" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. const ( - PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 ) -// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. +// Defines values for PutStreamsNameIngestJSONBodyIngest0Type. const ( - PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 + Wired PutStreamsNameIngestJSONBodyIngest0Type = "wired" ) // Defines values for PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus. @@ -3770,68 +3677,29 @@ const ( PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatusEnabled PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus = "enabled" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00ActionGrok PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action = "grok" + PutStreamsNameIngestJSONBodyIngest1Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type = "dsl" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01ActionDissect PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Action = "dissect" + PutStreamsNameIngestJSONBodyIngest1Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type = "ilm" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02ActionDate PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Action = "date" + PutStreamsNameIngestJSONBodyIngest1Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type = "inherit" ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03ActionRename PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action = "rename" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04ActionSet PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action = "set" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05ActionAppend PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action = "append" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06ActionRemoveByPrefix PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action = "remove_by_prefix" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07ActionRemove PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action = "remove" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08ActionConvert PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action = "convert" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type. -const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08TypeBoolean PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type = "boolean" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08TypeDouble PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type = "double" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08TypeInteger PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type = "integer" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08TypeLong PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type = "long" - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08TypeString PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type = "string" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action. +// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. const ( - PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09ActionManualIngestPipeline PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action = "manual_ingest_pipeline" + PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 ) -// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. +// Defines values for PutStreamsNameIngestJSONBodyIngest1Type. const ( - PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 + Classic PutStreamsNameIngestJSONBodyIngest1Type = "classic" ) // Defines values for GetSyntheticMonitorsParamsMonitorTypes0. @@ -5847,6 +5715,288 @@ type DataViewsUpdateDataViewRequestObjectInner struct { TypeMeta *DataViewsTypemeta `json:"typeMeta,omitempty"` } +// KibanaHTTPAPIsStreamlangCondition defines model for Kibana_HTTP_APIs_StreamlangCondition. +type KibanaHTTPAPIsStreamlangCondition struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0 struct { + Contains *KibanaHTTPAPIsStreamlangCondition_0_Contains `json:"contains,omitempty"` + EndsWith *KibanaHTTPAPIsStreamlangCondition_0_EndsWith `json:"endsWith,omitempty"` + Eq *KibanaHTTPAPIsStreamlangCondition_0_Eq `json:"eq,omitempty"` + Exists *bool `json:"exists,omitempty"` + Field string `json:"field"` + Gt *KibanaHTTPAPIsStreamlangCondition_0_Gt `json:"gt,omitempty"` + Gte *KibanaHTTPAPIsStreamlangCondition_0_Gte `json:"gte,omitempty"` + Lt *KibanaHTTPAPIsStreamlangCondition_0_Lt `json:"lt,omitempty"` + Lte *KibanaHTTPAPIsStreamlangCondition_0_Lte `json:"lte,omitempty"` + Neq *KibanaHTTPAPIsStreamlangCondition_0_Neq `json:"neq,omitempty"` + Range *struct { + Gt *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt `json:"gt,omitempty"` + Gte *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte `json:"gte,omitempty"` + Lt *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt `json:"lt,omitempty"` + Lte *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte `json:"lte,omitempty"` + } `json:"range,omitempty"` + StartsWith *KibanaHTTPAPIsStreamlangCondition_0_StartsWith `json:"startsWith,omitempty"` + Type KibanaHTTPAPIsStreamlangCondition0Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition0Contains0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Contains0 = string + +// KibanaHTTPAPIsStreamlangCondition0Contains1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Contains1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Contains2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Contains2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Contains defines model for KibanaHTTPAPIsStreamlangCondition.0.Contains. +type KibanaHTTPAPIsStreamlangCondition_0_Contains struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0EndsWith0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0EndsWith0 = string + +// KibanaHTTPAPIsStreamlangCondition0EndsWith1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0EndsWith1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0EndsWith2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0EndsWith2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_EndsWith defines model for KibanaHTTPAPIsStreamlangCondition.0.EndsWith. +type KibanaHTTPAPIsStreamlangCondition_0_EndsWith struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Eq0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Eq0 = string + +// KibanaHTTPAPIsStreamlangCondition0Eq1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Eq1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Eq2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Eq2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Eq defines model for KibanaHTTPAPIsStreamlangCondition.0.Eq. +type KibanaHTTPAPIsStreamlangCondition_0_Eq struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Gt0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gt0 = string + +// KibanaHTTPAPIsStreamlangCondition0Gt1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gt1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Gt2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gt2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Gt defines model for KibanaHTTPAPIsStreamlangCondition.0.Gt. +type KibanaHTTPAPIsStreamlangCondition_0_Gt struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Gte0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gte0 = string + +// KibanaHTTPAPIsStreamlangCondition0Gte1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gte1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Gte2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Gte2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Gte defines model for KibanaHTTPAPIsStreamlangCondition.0.Gte. +type KibanaHTTPAPIsStreamlangCondition_0_Gte struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Lt0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lt0 = string + +// KibanaHTTPAPIsStreamlangCondition0Lt1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lt1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Lt2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lt2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Lt defines model for KibanaHTTPAPIsStreamlangCondition.0.Lt. +type KibanaHTTPAPIsStreamlangCondition_0_Lt struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Lte0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lte0 = string + +// KibanaHTTPAPIsStreamlangCondition0Lte1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lte1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Lte2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Lte2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Lte defines model for KibanaHTTPAPIsStreamlangCondition.0.Lte. +type KibanaHTTPAPIsStreamlangCondition_0_Lte struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Neq0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Neq0 = string + +// KibanaHTTPAPIsStreamlangCondition0Neq1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Neq1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0Neq2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0Neq2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Neq defines model for KibanaHTTPAPIsStreamlangCondition.0.Neq. +type KibanaHTTPAPIsStreamlangCondition_0_Neq struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0RangeGt0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGt0 = string + +// KibanaHTTPAPIsStreamlangCondition0RangeGt1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGt1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0RangeGt2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGt2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Range_Gt defines model for KibanaHTTPAPIsStreamlangCondition.0.Range.Gt. +type KibanaHTTPAPIsStreamlangCondition_0_Range_Gt struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0RangeGte0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGte0 = string + +// KibanaHTTPAPIsStreamlangCondition0RangeGte1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGte1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0RangeGte2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeGte2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Range_Gte defines model for KibanaHTTPAPIsStreamlangCondition.0.Range.Gte. +type KibanaHTTPAPIsStreamlangCondition_0_Range_Gte struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0RangeLt0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLt0 = string + +// KibanaHTTPAPIsStreamlangCondition0RangeLt1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLt1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0RangeLt2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLt2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Range_Lt defines model for KibanaHTTPAPIsStreamlangCondition.0.Range.Lt. +type KibanaHTTPAPIsStreamlangCondition_0_Range_Lt struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0RangeLte0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLte0 = string + +// KibanaHTTPAPIsStreamlangCondition0RangeLte1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLte1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0RangeLte2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0RangeLte2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_Range_Lte defines model for KibanaHTTPAPIsStreamlangCondition.0.Range.Lte. +type KibanaHTTPAPIsStreamlangCondition_0_Range_Lte struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0StartsWith0 defines model for . +type KibanaHTTPAPIsStreamlangCondition0StartsWith0 = string + +// KibanaHTTPAPIsStreamlangCondition0StartsWith1 defines model for . +type KibanaHTTPAPIsStreamlangCondition0StartsWith1 = float32 + +// KibanaHTTPAPIsStreamlangCondition0StartsWith2 defines model for . +type KibanaHTTPAPIsStreamlangCondition0StartsWith2 = bool + +// KibanaHTTPAPIsStreamlangCondition_0_StartsWith defines model for KibanaHTTPAPIsStreamlangCondition.0.StartsWith. +type KibanaHTTPAPIsStreamlangCondition_0_StartsWith struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangCondition0Type defines model for KibanaHTTPAPIsStreamlangCondition.0.Type. +type KibanaHTTPAPIsStreamlangCondition0Type string + +// KibanaHTTPAPIsStreamlangCondition1 defines model for . +type KibanaHTTPAPIsStreamlangCondition1 struct { + And []KibanaHTTPAPIsStreamlangCondition `json:"and"` + Type KibanaHTTPAPIsStreamlangCondition1Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition1Type defines model for KibanaHTTPAPIsStreamlangCondition.1.Type. +type KibanaHTTPAPIsStreamlangCondition1Type string + +// KibanaHTTPAPIsStreamlangCondition2 defines model for . +type KibanaHTTPAPIsStreamlangCondition2 struct { + Or []KibanaHTTPAPIsStreamlangCondition `json:"or"` + Type KibanaHTTPAPIsStreamlangCondition2Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition2Type defines model for KibanaHTTPAPIsStreamlangCondition.2.Type. +type KibanaHTTPAPIsStreamlangCondition2Type string + +// KibanaHTTPAPIsStreamlangCondition3 defines model for . +type KibanaHTTPAPIsStreamlangCondition3 struct { + Not KibanaHTTPAPIsStreamlangCondition `json:"not"` + Type KibanaHTTPAPIsStreamlangCondition3Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition3Type defines model for KibanaHTTPAPIsStreamlangCondition.3.Type. +type KibanaHTTPAPIsStreamlangCondition3Type string + +// KibanaHTTPAPIsStreamlangCondition4 defines model for . +type KibanaHTTPAPIsStreamlangCondition4 struct { + Never map[string]interface{} `json:"never"` + Type KibanaHTTPAPIsStreamlangCondition4Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition4Type defines model for KibanaHTTPAPIsStreamlangCondition.4.Type. +type KibanaHTTPAPIsStreamlangCondition4Type string + +// KibanaHTTPAPIsStreamlangCondition5 defines model for . +type KibanaHTTPAPIsStreamlangCondition5 struct { + Always map[string]interface{} `json:"always"` + Type KibanaHTTPAPIsStreamlangCondition5Type `json:"type"` +} + +// KibanaHTTPAPIsStreamlangCondition5Type defines model for KibanaHTTPAPIsStreamlangCondition.5.Type. +type KibanaHTTPAPIsStreamlangCondition5Type string + +// KibanaHTTPAPIsStreamlangStep defines model for Kibana_HTTP_APIs_StreamlangStep. +type KibanaHTTPAPIsStreamlangStep struct { + union json.RawMessage +} + +// KibanaHTTPAPIsStreamlangStep0 defines model for . +type KibanaHTTPAPIsStreamlangStep0 struct { + Kind *KibanaHTTPAPIsStreamlangStep0Kind `json:"kind,omitempty"` +} + +// KibanaHTTPAPIsStreamlangStep0Kind defines model for KibanaHTTPAPIsStreamlangStep.0.Kind. +type KibanaHTTPAPIsStreamlangStep0Kind string + +// KibanaHTTPAPIsStreamlangStep1 defines model for . +type KibanaHTTPAPIsStreamlangStep1 struct { + CustomIdentifier *string `json:"customIdentifier,omitempty"` + Kind *KibanaHTTPAPIsStreamlangStep1Kind `json:"kind,omitempty"` + Where struct { + Steps []KibanaHTTPAPIsStreamlangStep `json:"steps"` + } `json:"where"` +} + +// KibanaHTTPAPIsStreamlangStep1Kind defines model for KibanaHTTPAPIsStreamlangStep.1.Kind. +type KibanaHTTPAPIsStreamlangStep1Kind string + // KibanaHTTPAPIsCoreStatusRedactedResponse A minimal representation of Kibana's operational status. type KibanaHTTPAPIsCoreStatusRedactedResponse struct { Status struct { @@ -21804,15 +21954,11 @@ type AgentPolicyPackagePolicies1 = []struct { Description *string `json:"description,omitempty"` Elasticsearch *AgentPolicy_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs AgentPolicy_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -21844,13 +21990,11 @@ type AgentPolicyPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -21860,15 +22004,11 @@ type AgentPolicyPackagePolicies1 = []struct { SupportsAgentless *bool `json:"supports_agentless,omitempty"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector,omitempty"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *AgentPolicy_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } // AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges defines model for AgentPolicy.PackagePolicies.1.Elasticsearch.Privileges. @@ -21942,21 +22082,21 @@ type AgentPolicyPackagePolicies1Inputs0 = []struct { // AgentPolicyPackagePolicies1Inputs0StreamsRelease defines model for AgentPolicy.PackagePolicies.1.Inputs.0.Streams.Release. type AgentPolicyPackagePolicies1Inputs0StreamsRelease string -// AgentPolicyPackagePolicies1Inputs1 Package policy inputs. Refer to the integration documentation to know which inputs are available. +// AgentPolicyPackagePolicies1Inputs1 Package policy inputs (see integration documentation to know what inputs are available) type AgentPolicyPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } @@ -22012,7 +22152,7 @@ type AgentPolicy_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Inputs Package policy inputs. +// AgentPolicy_PackagePolicies_1_Inputs defines model for AgentPolicy.PackagePolicies.1.Inputs. type AgentPolicy_PackagePolicies_1_Inputs struct { union json.RawMessage } @@ -22024,7 +22164,7 @@ type AgentPolicyPackagePolicies1Vars0 map[string]struct { Value interface{} `json:"value"` } -// AgentPolicyPackagePolicies1Vars1 Input/stream level variable. Refer to the integration documentation for more information. +// AgentPolicyPackagePolicies1Vars1 Input/stream level variable (see integration documentation for more information) type AgentPolicyPackagePolicies1Vars1 map[string]*AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties // AgentPolicyPackagePolicies1Vars10 defines model for . @@ -22053,7 +22193,7 @@ type AgentPolicy_PackagePolicies_1_Vars_1_AdditionalProperties struct { union json.RawMessage } -// AgentPolicy_PackagePolicies_1_Vars Package level variable. +// AgentPolicy_PackagePolicies_1_Vars defines model for AgentPolicy.PackagePolicies.1.Vars. type AgentPolicy_PackagePolicies_1_Vars struct { union json.RawMessage } @@ -23705,15 +23845,13 @@ type PackagePolicy struct { Description *string `json:"description,omitempty"` Elasticsearch *PackagePolicy_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. + // Inputs Package policy inputs (see integration documentation to know what inputs are available) Inputs map[string]PackagePolicyInput `json:"inputs"` IsManaged *bool `json:"is_managed,omitempty"` - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -23745,12 +23883,10 @@ type PackagePolicy struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` Revision float32 `json:"revision"` SecretReferences *[]PackagePolicySecretRef `json:"secret_references,omitempty"` SpaceIds *[]string `json:"spaceIds,omitempty"` @@ -23763,9 +23899,7 @@ type PackagePolicy struct { UpdatedAt string `json:"updated_at"` UpdatedBy string `json:"updated_by"` Vars *map[string]interface{} `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + Version *string `json:"version,omitempty"` } // PackagePolicy_Elasticsearch_Privileges defines model for PackagePolicy.Elasticsearch.Privileges. @@ -23782,17 +23916,17 @@ type PackagePolicy_Elasticsearch struct { // PackagePolicyInput defines model for package_policy_input. type PackagePolicyInput struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]PackagePolicyInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyInputStream defines model for package_policy_input_stream. type PackagePolicyInputStream struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -23801,33 +23935,18 @@ type PackagePolicyInputStream struct { type PackagePolicyRequest struct { // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` - - // Description Policy description. - Description *string `json:"description,omitempty"` - - // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. - Force *bool `json:"force,omitempty"` - - // Id Policy unique identifier. - Id *string `json:"id,omitempty"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. - Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` - - // Name Unique name for the policy. - Name string `json:"name"` - - // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id,omitempty"` - Package PackagePolicyRequestPackage `json:"package"` - - // PolicyId Deprecated. Use policy_ids instead. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id,omitempty"` - - // PolicyIds IDs of the agent policies which that package policy will be added to. - PolicyIds *[]string `json:"policy_ids,omitempty"` + Description *string `json:"description,omitempty"` + Force *bool `json:"force,omitempty"` + Id *string `json:"id,omitempty"` + + // Inputs Package policy inputs (see integration documentation to know what inputs are available) + Inputs *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"` + Name string `json:"name"` + Namespace *string `json:"namespace,omitempty"` + OutputId *string `json:"output_id,omitempty"` + Package PackagePolicyRequestPackage `json:"package"` + PolicyId *string `json:"policy_id,omitempty"` + PolicyIds *[]string `json:"policy_ids,omitempty"` // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. SupportsAgentless *bool `json:"supports_agentless,omitempty"` @@ -23836,17 +23955,17 @@ type PackagePolicyRequest struct { // PackagePolicyRequestInput defines model for package_policy_request_input. type PackagePolicyRequestInput struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]PackagePolicyRequestInputStream `json:"streams,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } // PackagePolicyRequestInputStream defines model for package_policy_request_input_stream. type PackagePolicyRequestInputStream struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` } @@ -29685,161 +29804,6 @@ type GetFleetAgentStatusDataParamsAgentsIds0 = []string // GetFleetAgentStatusDataParamsAgentsIds1 defines parameters for GetFleetAgentStatusData. type GetFleetAgentStatusDataParamsAgentsIds1 = string -// PostFleetAgentlessPoliciesJSONBody defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions,omitempty"` - - // Description Policy description. - Description *string `json:"description,omitempty"` - - // Force Force package policy creation even if the package is not verified, or if the agent policy is managed. - Force *bool `json:"force,omitempty"` - - // Id Policy unique identifier. - Id *string `json:"id,omitempty"` - - // Inputs Package policy inputs. Refer to the integration documentation to know which inputs are available. - Inputs *map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams. Refer to the integration documentation to know which streams are available. - Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"inputs,omitempty"` - - // Name Unique name for the policy. - Name string `json:"name"` - - // Namespace Policy namespace. When not specified, it inherits the agent policy namespace. - Namespace *string `json:"namespace,omitempty"` - Package struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` -} - -// PostFleetAgentlessPoliciesParams defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesParams struct { - // Format The format of the response package policy. - Format *PostFleetAgentlessPoliciesParamsFormat `form:"format,omitempty" json:"format,omitempty"` -} - -// PostFleetAgentlessPoliciesParamsFormat defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesParamsFormat string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsStreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Inputs_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// PostFleetAgentlessPoliciesJSONBodyInputsVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyInputsVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyInputsVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyInputsVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyInputsVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyInputsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Inputs_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// PostFleetAgentlessPoliciesJSONBodyVars0 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars0 = bool - -// PostFleetAgentlessPoliciesJSONBodyVars1 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars1 = string - -// PostFleetAgentlessPoliciesJSONBodyVars2 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars2 = float32 - -// PostFleetAgentlessPoliciesJSONBodyVars3 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars3 = []string - -// PostFleetAgentlessPoliciesJSONBodyVars4 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars4 = []float32 - -// PostFleetAgentlessPoliciesJSONBodyVars5 defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBodyVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} - -// PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties defines parameters for PostFleetAgentlessPolicies. -type PostFleetAgentlessPoliciesJSONBody_Vars_AdditionalProperties struct { - union json.RawMessage -} - -// DeleteFleetAgentlessPoliciesPolicyidParams defines parameters for DeleteFleetAgentlessPoliciesPolicyid. -type DeleteFleetAgentlessPoliciesPolicyidParams struct { - // Force Force delete the policy even if the policy is managed. - Force *bool `form:"force,omitempty" json:"force,omitempty"` -} - // GetFleetAgentsParams defines parameters for GetFleetAgents. type GetFleetAgentsParams struct { Page *float32 `form:"page,omitempty" json:"page,omitempty"` @@ -30124,24 +30088,15 @@ type GetFleetCheckPermissionsParams struct { // GetFleetCloudConnectorsParams defines parameters for GetFleetCloudConnectors. type GetFleetCloudConnectorsParams struct { - // Page The page number for pagination. - Page *string `form:"page,omitempty" json:"page,omitempty"` - - // PerPage The number of items per page. + Page *string `form:"page,omitempty" json:"page,omitempty"` PerPage *string `form:"perPage,omitempty" json:"perPage,omitempty"` - - // Kuery KQL query to filter cloud connectors. - Kuery *string `form:"kuery,omitempty" json:"kuery,omitempty"` } // PostFleetCloudConnectorsJSONBody defines parameters for PostFleetCloudConnectors. type PostFleetCloudConnectorsJSONBody struct { - // CloudProvider The cloud provider type: aws, azure, or gcp. - CloudProvider PostFleetCloudConnectorsJSONBodyCloudProvider `json:"cloudProvider"` - - // Name The name of the cloud connector. - Name string `json:"name"` - Vars map[string]PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties `json:"vars"` + CloudProvider PostFleetCloudConnectorsJSONBodyCloudProvider `json:"cloudProvider"` + Name string `json:"name"` + Vars map[string]PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties `json:"vars"` } // PostFleetCloudConnectorsJSONBodyCloudProvider defines parameters for PostFleetCloudConnectors. @@ -30184,13 +30139,11 @@ type PostFleetCloudConnectorsJSONBody_Vars_AdditionalProperties struct { // DeleteFleetCloudConnectorsCloudconnectoridParams defines parameters for DeleteFleetCloudConnectorsCloudconnectorid. type DeleteFleetCloudConnectorsCloudconnectoridParams struct { - // Force If true, forces deletion even if the cloud connector is in use. Force *bool `form:"force,omitempty" json:"force,omitempty"` } // PutFleetCloudConnectorsCloudconnectoridJSONBody defines parameters for PutFleetCloudConnectorsCloudconnectorid. type PutFleetCloudConnectorsCloudconnectoridJSONBody struct { - // Name The name of the cloud connector. Name *string `json:"name,omitempty"` Vars *map[string]PutFleetCloudConnectorsCloudconnectoridJSONBody_Vars_AdditionalProperties `json:"vars,omitempty"` } @@ -32009,90 +31962,6 @@ type GetStatusParams struct { V8format *bool `form:"v8format,omitempty" json:"v8format,omitempty"` } -// GetStreamsJSONBody defines parameters for GetStreams. -type GetStreamsJSONBody struct { - union json.RawMessage -} - -// GetStreamsJSONBody0 defines parameters for GetStreams. -type GetStreamsJSONBody0 = map[string]interface{} - -// GetStreamsJSONBody1 defines parameters for GetStreams. -type GetStreamsJSONBody1 = interface{} - -// GetStreamsJSONBody2 defines parameters for GetStreams. -type GetStreamsJSONBody2 = interface{} - -// PostStreamsDisableJSONBody defines parameters for PostStreamsDisable. -type PostStreamsDisableJSONBody struct { - union json.RawMessage -} - -// PostStreamsDisableJSONBody0 defines parameters for PostStreamsDisable. -type PostStreamsDisableJSONBody0 = map[string]interface{} - -// PostStreamsDisableJSONBody1 defines parameters for PostStreamsDisable. -type PostStreamsDisableJSONBody1 = interface{} - -// PostStreamsDisableJSONBody2 defines parameters for PostStreamsDisable. -type PostStreamsDisableJSONBody2 = interface{} - -// PostStreamsEnableJSONBody defines parameters for PostStreamsEnable. -type PostStreamsEnableJSONBody struct { - union json.RawMessage -} - -// PostStreamsEnableJSONBody0 defines parameters for PostStreamsEnable. -type PostStreamsEnableJSONBody0 = map[string]interface{} - -// PostStreamsEnableJSONBody1 defines parameters for PostStreamsEnable. -type PostStreamsEnableJSONBody1 = interface{} - -// PostStreamsEnableJSONBody2 defines parameters for PostStreamsEnable. -type PostStreamsEnableJSONBody2 = interface{} - -// PostStreamsResyncJSONBody defines parameters for PostStreamsResync. -type PostStreamsResyncJSONBody struct { - union json.RawMessage -} - -// PostStreamsResyncJSONBody0 defines parameters for PostStreamsResync. -type PostStreamsResyncJSONBody0 = map[string]interface{} - -// PostStreamsResyncJSONBody1 defines parameters for PostStreamsResync. -type PostStreamsResyncJSONBody1 = interface{} - -// PostStreamsResyncJSONBody2 defines parameters for PostStreamsResync. -type PostStreamsResyncJSONBody2 = interface{} - -// DeleteStreamsNameJSONBody defines parameters for DeleteStreamsName. -type DeleteStreamsNameJSONBody struct { - union json.RawMessage -} - -// DeleteStreamsNameJSONBody0 defines parameters for DeleteStreamsName. -type DeleteStreamsNameJSONBody0 = map[string]interface{} - -// DeleteStreamsNameJSONBody1 defines parameters for DeleteStreamsName. -type DeleteStreamsNameJSONBody1 = interface{} - -// DeleteStreamsNameJSONBody2 defines parameters for DeleteStreamsName. -type DeleteStreamsNameJSONBody2 = interface{} - -// GetStreamsNameJSONBody defines parameters for GetStreamsName. -type GetStreamsNameJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameJSONBody0 defines parameters for GetStreamsName. -type GetStreamsNameJSONBody0 = map[string]interface{} - -// GetStreamsNameJSONBody1 defines parameters for GetStreamsName. -type GetStreamsNameJSONBody1 = interface{} - -// GetStreamsNameJSONBody2 defines parameters for GetStreamsName. -type GetStreamsNameJSONBody2 = interface{} - // PutStreamsNameJSONBody defines parameters for PutStreamsName. type PutStreamsNameJSONBody struct { union json.RawMessage @@ -32108,8 +31977,8 @@ type PutStreamsNameJSONBody00 struct { Dashboards []string `json:"dashboards"` Queries []struct { Feature *struct { - Filter PutStreamsNameJSONBody_0_0_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` } `json:"feature,omitempty"` Id string `json:"id"` Kql struct { @@ -32122,7 +31991,7 @@ type PutStreamsNameJSONBody00 struct { Ingest struct { Lifecycle PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle `json:"lifecycle"` Processing struct { - Steps []PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item `json:"steps"` + Steps []KibanaHTTPAPIsStreamlangStep `json:"steps"` } `json:"processing"` Settings struct { IndexNumberOfReplicas *struct { @@ -32140,14210 +32009,2227 @@ type PutStreamsNameJSONBody00 struct { } `json:"stream"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage +// PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle0Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt1 = float32 +// PutStreamsNameJSONBody00StreamIngestLifecycle0Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle0Type string -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage +// PutStreamsNameJSONBody00StreamIngestLifecycle1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle1Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte1 = float32 +// PutStreamsNameJSONBody00StreamIngestLifecycle1Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle1Type string -// PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage +// PutStreamsNameJSONBody00StreamIngestLifecycle2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameJSONBody00StreamIngestLifecycle2Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lt2 = bool +// PutStreamsNameJSONBody00StreamIngestLifecycle2Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestLifecycle2Type string -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lt struct { +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle struct { union json.RawMessage } -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte1 = float32 +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string -// PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Lte2 = bool +// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Lte struct { +// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { union json.RawMessage } -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage +// PutStreamsNameJSONBody01 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01 struct { + Dashboards []string `json:"dashboards"` + Queries []struct { + Feature *struct { + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"queries"` + Rules []string `json:"rules"` + Stream struct { + Ingest struct { + Lifecycle PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []KibanaHTTPAPIsStreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + } `json:"ingest"` + Name interface{} `json:"name,omitempty"` + } `json:"stream"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage +// PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle0Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeGte2 = bool +// PutStreamsNameJSONBody01StreamIngestLifecycle0Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle0Type string -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage +// PutStreamsNameJSONBody01StreamIngestLifecycle1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle1Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLt2 = bool +// PutStreamsNameJSONBody01StreamIngestLifecycle1Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle1Type string -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage +// PutStreamsNameJSONBody01StreamIngestLifecycle2 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameJSONBody01StreamIngestLifecycle2Type `json:"type"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte1 = float32 +// PutStreamsNameJSONBody01StreamIngestLifecycle2Type defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestLifecycle2Type string -// PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_Range_Lte struct { +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle struct { union json.RawMessage } -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith1 = float32 +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string -// PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter00StartsWith2 = bool +// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter_0_0_StartsWith struct { +// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. +type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { union json.RawMessage } -// PutStreamsNameJSONBody00QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` +// PutStreamsNameJSONBody1 defines parameters for PutStreamsName. +type PutStreamsNameJSONBody1 struct { + Dashboards []string `json:"dashboards"` + Queries []struct { + Feature *struct { + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"queries"` + Rules []string `json:"rules"` + Stream struct { + Group struct { + Members []string `json:"members"` + Metadata map[string]string `json:"metadata"` + Tags []string `json:"tags"` + } `json:"group"` + Name interface{} `json:"name,omitempty"` + } `json:"stream"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` +// PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. +type PostStreamsNameForkJSONBody struct { + Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` + Stream struct { + Name string `json:"name"` + } `json:"stream"` + Where KibanaHTTPAPIsStreamlangCondition `json:"where"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} +// PostStreamsNameForkJSONBodyStatus defines parameters for PostStreamsNameFork. +type PostStreamsNameForkJSONBodyStatus string -// PutStreamsNameJSONBody00QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` +// PutStreamsNameGroupJSONBody defines parameters for PutStreamsNameGroup. +type PutStreamsNameGroupJSONBody struct { + Group struct { + Members []string `json:"members"` + Metadata map[string]string `json:"metadata"` + Tags []string `json:"tags"` + } `json:"group"` } -// PutStreamsNameJSONBody00QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` +// PutStreamsNameIngestJSONBody defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody struct { + Ingest PutStreamsNameIngestJSONBody_Ingest `json:"ingest"` } -// PutStreamsNameJSONBody_0_0_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Queries_Feature_Filter struct { - union json.RawMessage +// PutStreamsNameIngestJSONBodyIngest0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0 struct { + Lifecycle PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []KibanaHTTPAPIsStreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + Type PutStreamsNameIngestJSONBodyIngest0Type `json:"type"` + Wired struct { + Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` + Routing []struct { + Destination string `json:"destination"` + Status *PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus `json:"status,omitempty"` + Where KibanaHTTPAPIsStreamlangCondition `json:"where"` + } `json:"routing"` + } `json:"wired"` } -// PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { +// PutStreamsNameIngestJSONBodyIngest0Lifecycle0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle0 struct { Dsl struct { DataRetention *string `json:"data_retention,omitempty"` } `json:"dsl"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type `json:"type"` } -// PutStreamsNameJSONBody00StreamIngestLifecycle1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle1 struct { +// PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type string + +// PutStreamsNameIngestJSONBodyIngest0Lifecycle1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle1 struct { Ilm struct { Policy string `json:"policy"` } `json:"ilm"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type `json:"type"` } -// PutStreamsNameJSONBody00StreamIngestLifecycle2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` -} +// PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle struct { - union json.RawMessage +// PutStreamsNameIngestJSONBodyIngest0Lifecycle2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type `json:"type"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps0 struct { +// PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type string + +// PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` -} +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Action string +// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where0 struct { +// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Contains2 = bool +// PutStreamsNameIngestJSONBodyIngest0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0Type string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains struct { +// PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith0 = string +// PutStreamsNameIngestJSONBodyIngest0WiredFields00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields00 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith1 = float32 +// PutStreamsNameIngestJSONBodyIngest0WiredFields01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields01 = float32 -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00EndsWith2 = bool +// PutStreamsNameIngestJSONBodyIngest0WiredFields02 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields02 = bool -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith struct { - union json.RawMessage -} +// PutStreamsNameIngestJSONBodyIngest0WiredFields03 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields03 = interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq0 = string +// PutStreamsNameIngestJSONBodyIngest0WiredFields1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields1 = []PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item + +// PutStreamsNameIngestJSONBodyIngest0WiredFields10 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields10 = string + +// PutStreamsNameIngestJSONBodyIngest0WiredFields11 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields11 = float32 -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq1 = float32 +// PutStreamsNameIngestJSONBodyIngest0WiredFields12 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields12 = bool -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Eq2 = bool +// PutStreamsNameIngestJSONBodyIngest0WiredFields13 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields13 = interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq struct { +// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt1 = float32 +// PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gt2 = bool +// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt struct { +// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte1 = float32 +// PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Gte2 = bool +// PutStreamsNameIngestJSONBodyIngest1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1 struct { + Classic struct { + FieldOverrides *map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties `json:"field_overrides,omitempty"` + } `json:"classic"` + Lifecycle PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle `json:"lifecycle"` + Processing struct { + Steps []KibanaHTTPAPIsStreamlangStep `json:"steps"` + } `json:"processing"` + Settings struct { + IndexNumberOfReplicas *struct { + Value float32 `json:"value"` + } `json:"index.number_of_replicas,omitempty"` + IndexNumberOfShards *struct { + Value float32 `json:"value"` + } `json:"index.number_of_shards,omitempty"` + IndexRefreshInterval *struct { + Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` + } `json:"index.refresh_interval,omitempty"` + } `json:"settings"` + Type PutStreamsNameIngestJSONBodyIngest1Type `json:"type"` +} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte struct { +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt0 = string +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 = string + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 = float32 -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt1 = float32 +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 = bool -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lt2 = bool +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 = interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt struct { - union json.RawMessage -} +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 = []PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item + +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte0 = string +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 = float32 -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte1 = float32 +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 = bool -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Lte2 = bool +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 = interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte struct { +// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq1 = float32 +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00Neq2 = bool +// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq struct { +// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt1 = float32 +// PutStreamsNameIngestJSONBodyIngest1Lifecycle0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle0 struct { + Dsl struct { + DataRetention *string `json:"data_retention,omitempty"` + } `json:"dsl"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type `json:"type"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGt2 = bool +// PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt struct { - union json.RawMessage +// PutStreamsNameIngestJSONBodyIngest1Lifecycle1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle1 struct { + Ilm struct { + Policy string `json:"policy"` + } `json:"ilm"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type `json:"type"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte0 = string +// PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte1 = float32 +// PutStreamsNameIngestJSONBodyIngest1Lifecycle2 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle2 struct { + Inherit map[string]interface{} `json:"inherit"` + Type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type `json:"type"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeGte2 = bool +// PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte struct { +// PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt1 = float32 +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLt2 = bool +// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt struct { +// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00RangeLte2 = bool +// PutStreamsNameIngestJSONBodyIngest1Type defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBodyIngest1Type string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte struct { +// PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. +type PutStreamsNameIngestJSONBody_Ingest struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith0 = string +// PostStreamsNameContentExportJSONBody defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBody struct { + Description string `json:"description"` + Include PostStreamsNameContentExportJSONBody_Include `json:"include"` + Name string `json:"name"` + Version string `json:"version"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith1 = float32 +// PostStreamsNameContentExportJSONBodyInclude0 defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBodyInclude0 struct { + Objects struct { + All map[string]interface{} `json:"all"` + } `json:"objects"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where00StartsWith2 = bool +// PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBodyInclude1 struct { + Objects struct { + Mappings bool `json:"mappings"` + Queries []struct { + Id string `json:"id"` + } `json:"queries"` + Routing []struct { + Destination string `json:"destination"` + } `json:"routing"` + } `json:"objects"` +} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith struct { +// PostStreamsNameContentExportJSONBody_Include defines parameters for PostStreamsNameContentExport. +type PostStreamsNameContentExportJSONBody_Include struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` +// PostStreamsNameContentImportMultipartBody defines parameters for PostStreamsNameContentImport. +type PostStreamsNameContentImportMultipartBody struct { + Content interface{} `json:"content"` + Include string `json:"include"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where1 struct { - And []interface{} `json:"and"` +// PostStreamsNameDashboardsBulkJSONBody defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBody struct { + Operations []PostStreamsNameDashboardsBulkJSONBody_Operations_Item `json:"operations"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where2 struct { - Or []interface{} `json:"or"` +// PostStreamsNameDashboardsBulkJSONBodyOperations0 defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBodyOperations0 struct { + Index struct { + Id string `json:"id"` + } `json:"index"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where3 struct { - Not interface{} `json:"not"` +// PostStreamsNameDashboardsBulkJSONBodyOperations1 defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBodyOperations1 struct { + Delete struct { + Id string `json:"id"` + } `json:"delete"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where4 struct { - Never map[string]interface{} `json:"never"` +// PostStreamsNameDashboardsBulkJSONBody_Operations_Item defines parameters for PostStreamsNameDashboardsBulk. +type PostStreamsNameDashboardsBulkJSONBody_Operations_Item struct { + union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps00Where5 struct { - Always map[string]interface{} `json:"always"` +// PostStreamsNameQueriesBulkJSONBody defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody struct { + Operations []PostStreamsNameQueriesBulkJSONBody_Operations_Item `json:"operations"` } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_0_Where struct { - union json.RawMessage +// PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { + Index struct { + Feature *struct { + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Id string `json:"id"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` + } `json:"index"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps01Action `json:"action"` - AppendSeparator *string `json:"append_separator,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Pattern string `json:"pattern"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where `json:"where,omitempty"` +// PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { + Delete struct { + Id string `json:"id"` + } `json:"delete"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where0 struct { +// PostStreamsNameQueriesBulkJSONBody_Operations_Item defines parameters for PostStreamsNameQueriesBulk. +type PostStreamsNameQueriesBulkJSONBody_Operations_Item struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith `json:"startsWith,omitempty"` +// PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. +type PutStreamsNameQueriesQueryidJSONBody struct { + Feature *struct { + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + Title string `json:"title"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains struct { - union json.RawMessage +// GetStreamsNameSignificantEventsParams defines parameters for GetStreamsNameSignificantEvents. +type GetStreamsNameSignificantEventsParams struct { + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` + BucketSize string `form:"bucketSize" json:"bucketSize"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith0 = string +// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateJSONBody struct { + Feature *struct { + Description string `json:"description"` + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith1 = float32 +// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. +type PostStreamsNameSignificantEventsGenerateParams struct { + ConnectorId string `form:"connectorId" json:"connectorId"` + CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00EndsWith2 = bool +// PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewJSONBody struct { + Query struct { + Feature *struct { + Filter KibanaHTTPAPIsStreamlangCondition `json:"filter"` + Name string `json:"name"` + } `json:"feature,omitempty"` + Kql struct { + Query string `json:"query"` + } `json:"kql"` + } `json:"query"` +} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith struct { - union json.RawMessage +// PostStreamsNameSignificantEventsPreviewParams defines parameters for PostStreamsNameSignificantEventsPreview. +type PostStreamsNameSignificantEventsPreviewParams struct { + From string `form:"from" json:"from"` + To string `form:"to" json:"to"` + BucketSize string `form:"bucketSize" json:"bucketSize"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq0 = string +// GetSyntheticMonitorsParams defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParams struct { + // Filter Additional filtering criteria. + Filter *string `form:"filter,omitempty" json:"filter,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq1 = float32 + // Locations The locations to filter by. + Locations *struct { + union json.RawMessage + } `form:"locations,omitempty" json:"locations,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Eq2 = bool + // MonitorTypes The monitor types to filter. + MonitorTypes *struct { + union json.RawMessage + } `form:"monitorTypes,omitempty" json:"monitorTypes,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq struct { - union json.RawMessage -} + // Page The page number for paginated results. + Page *int `form:"page,omitempty" json:"page,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt0 = string + // PerPage The number of items to return per page. + PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` + + // Projects The projects to filter by. + Projects *struct { + union json.RawMessage + } `form:"projects,omitempty" json:"projects,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt1 = float32 + // Query A free-text query string. + Query *string `form:"query,omitempty" json:"query,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gt2 = bool + // Schedules The schedules to filter by. + Schedules *struct { + union json.RawMessage + } `form:"schedules,omitempty" json:"schedules,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt struct { - union json.RawMessage -} + // SortField The field to sort the results by. + SortField *GetSyntheticMonitorsParamsSortField `form:"sortField,omitempty" json:"sortField,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte0 = string + // SortOrder The sort order. + SortOrder *GetSyntheticMonitorsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte1 = float32 + // Status The status to filter by. + Status *struct { + union json.RawMessage + } `form:"status,omitempty" json:"status,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Gte2 = bool + // Tags Tags to filter monitors. + Tags *struct { + union json.RawMessage + } `form:"tags,omitempty" json:"tags,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte struct { - union json.RawMessage + // UseLogicalAndFor Specifies whether to apply logical AND filtering for specific fields. Accepts either a string with values "tags" or "locations" or an array containing both. + UseLogicalAndFor *[]GetSyntheticMonitorsParamsUseLogicalAndFor `form:"useLogicalAndFor,omitempty" json:"useLogicalAndFor,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt0 = string +// GetSyntheticMonitorsParamsLocations0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsLocations0 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt1 = float32 +// GetSyntheticMonitorsParamsLocations1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsLocations1 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lt2 = bool +// GetSyntheticMonitorsParamsMonitorTypes0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsMonitorTypes0 string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt struct { - union json.RawMessage -} +// GetSyntheticMonitorsParamsMonitorTypes1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsMonitorTypes1 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte0 = string +// GetSyntheticMonitorsParamsProjects0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsProjects0 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte1 = float32 +// GetSyntheticMonitorsParamsProjects1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsProjects1 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Lte2 = bool +// GetSyntheticMonitorsParamsSchedules0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsSchedules0 = []interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte struct { - union json.RawMessage -} +// GetSyntheticMonitorsParamsSchedules1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsSchedules1 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq0 = string +// GetSyntheticMonitorsParamsSortField defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsSortField string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq1 = float32 +// GetSyntheticMonitorsParamsSortOrder defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsSortOrder string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00Neq2 = bool +// GetSyntheticMonitorsParamsStatus0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsStatus0 = []interface{} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq struct { - union json.RawMessage -} +// GetSyntheticMonitorsParamsStatus1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsStatus1 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt0 = string +// GetSyntheticMonitorsParamsTags0 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsTags0 = string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt1 = float32 +// GetSyntheticMonitorsParamsTags1 defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsTags1 = []interface{} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGt2 = bool +// GetSyntheticMonitorsParamsUseLogicalAndFor defines parameters for GetSyntheticMonitors. +type GetSyntheticMonitorsParamsUseLogicalAndFor string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt struct { +// PostSyntheticMonitorsJSONBody defines parameters for PostSyntheticMonitors. +type PostSyntheticMonitorsJSONBody struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeGte2 = bool +// DeleteSyntheticMonitorsJSONBody defines parameters for DeleteSyntheticMonitors. +type DeleteSyntheticMonitorsJSONBody struct { + // Ids An array of monitor IDs to delete. + Ids []string `json:"ids"` +} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte struct { +// PutSyntheticMonitorJSONBody defines parameters for PutSyntheticMonitor. +type PutSyntheticMonitorJSONBody struct { union json.RawMessage } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt1 = float32 +// PostParametersJSONBody defines parameters for PostParameters. +type PostParametersJSONBody struct { + union json.RawMessage +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLt2 = bool +// PostParametersJSONBody0 defines parameters for PostParameters. +type PostParametersJSONBody0 = []SyntheticsParameterRequest -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt struct { - union json.RawMessage +// DeleteParametersJSONBody defines parameters for DeleteParameters. +type DeleteParametersJSONBody struct { + // Ids An array of parameter IDs to delete. + Ids *[]string `json:"ids,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte0 = string +// PutParameterJSONBody defines parameters for PutParameter. +type PutParameterJSONBody struct { + // Description The updated description of the parameter. + Description *string `json:"description,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte1 = float32 + // Key The key of the parameter. + Key *string `json:"key,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00RangeLte2 = bool + // Tags An array of updated tags to categorize the parameter. + Tags *[]string `json:"tags,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte struct { - union json.RawMessage + // Value The updated value associated with the parameter. + Value *string `json:"value,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith0 = string +// PostPrivateLocationJSONBody defines parameters for PostPrivateLocation. +type PostPrivateLocationJSONBody struct { + // AgentPolicyId The ID of the agent policy associated with the private location. + AgentPolicyId string `json:"agentPolicyId"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith1 = float32 + // Geo Geographic coordinates (WGS84) for the location. + Geo *struct { + // Lat The latitude of the location. + Lat float32 `json:"lat"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where00StartsWith2 = bool + // Lon The longitude of the location. + Lon float32 `json:"lon"` + } `json:"geo,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith struct { - union json.RawMessage -} + // Label A label for the private location. + Label string `json:"label"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} + // Spaces An array of space IDs where the private location is available. If it is not provided, the private location is available in all spaces. + Spaces *[]string `json:"spaces,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where1 struct { - And []interface{} `json:"and"` + // Tags An array of tags to categorize the private location. + Tags *[]string `json:"tags,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where2 struct { - Or []interface{} `json:"or"` +// PutPrivateLocationJSONBody defines parameters for PutPrivateLocation. +type PutPrivateLocationJSONBody struct { + // Label A new label for the private location. Must be at least 1 character long. + Label string `json:"label"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where3 struct { - Not interface{} `json:"not"` -} +// DeleteTimelinesJSONBody defines parameters for DeleteTimelines. +type DeleteTimelinesJSONBody struct { + // SavedObjectIds The list of IDs of the Timelines or Timeline templates to delete + SavedObjectIds []string `json:"savedObjectIds"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where4 struct { - Never map[string]interface{} `json:"never"` + // SearchIds Saved search IDs that should be deleted alongside the timelines + SearchIds *[]string `json:"searchIds,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps01Where5 struct { - Always map[string]interface{} `json:"always"` -} +// GetTimelineParams defines parameters for GetTimeline. +type GetTimelineParams struct { + // TemplateTimelineId The `savedObjectId` of the template timeline to retrieve + TemplateTimelineId *string `form:"template_timeline_id,omitempty" json:"template_timeline_id,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_1_Where struct { - union json.RawMessage + // Id The `savedObjectId` of the Timeline to retrieve. + Id *string `form:"id,omitempty" json:"id,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps02Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - Formats []string `json:"formats"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` - OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` - To *string `json:"to,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` -} +// PatchTimelineJSONBody defines parameters for PatchTimeline. +type PatchTimelineJSONBody struct { + Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Action string + // TimelineId The `savedObjectId` of the Timeline or Timeline template that you’re updating. + TimelineId *string `json:"timelineId,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where0 struct { - union json.RawMessage + // Version The version of the Timeline or Timeline template that you’re updating. + Version *string `json:"version,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} +// CreateTimelinesJSONBody defines parameters for CreateTimelines. +type CreateTimelinesJSONBody struct { + // Status The status of the Timeline. + Status *SecurityTimelineAPITimelineStatus `json:"status,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains0 = string + // TemplateTimelineId A unique identifier for the Timeline template. + TemplateTimelineId *string `json:"templateTimelineId,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains1 = float32 + // TemplateTimelineVersion Timeline template version number. + TemplateTimelineVersion *float32 `json:"templateTimelineVersion,omitempty"` + Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Contains2 = bool + // TimelineId A unique identifier for the Timeline. + TimelineId *string `json:"timelineId,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains struct { - union json.RawMessage + // TimelineType The type of Timeline. + TimelineType *SecurityTimelineAPITimelineType `json:"timelineType,omitempty"` + Version *string `json:"version,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith struct { - union json.RawMessage +// CopyTimelineJSONBody defines parameters for CopyTimeline. +type CopyTimelineJSONBody struct { + Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` + TimelineIdToCopy string `json:"timelineIdToCopy"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq struct { - union json.RawMessage +// GetDraftTimelinesParams defines parameters for GetDraftTimelines. +type GetDraftTimelinesParams struct { + TimelineType SecurityTimelineAPITimelineType `form:"timelineType" json:"timelineType"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt1 = float32 +// CleanDraftTimelinesJSONBody defines parameters for CleanDraftTimelines. +type CleanDraftTimelinesJSONBody struct { + // TimelineType The type of Timeline. + TimelineType SecurityTimelineAPITimelineType `json:"timelineType"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gt2 = bool +// ExportTimelinesJSONBody defines parameters for ExportTimelines. +type ExportTimelinesJSONBody struct { + Ids *[]string `json:"ids,omitempty"` +} -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt struct { - union json.RawMessage +// ExportTimelinesParams defines parameters for ExportTimelines. +type ExportTimelinesParams struct { + // FileName The name of the file to export + FileName string `form:"file_name" json:"file_name"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte0 = string +// PersistFavoriteRouteJSONBody defines parameters for PersistFavoriteRoute. +type PersistFavoriteRouteJSONBody struct { + TemplateTimelineId *string `json:"templateTimelineId,omitempty"` + TemplateTimelineVersion *float32 `json:"templateTimelineVersion,omitempty"` + TimelineId *string `json:"timelineId,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte1 = float32 + // TimelineType The type of Timeline. + TimelineType SecurityTimelineAPITimelineType `json:"timelineType"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Gte2 = bool +// ImportTimelinesJSONBody defines parameters for ImportTimelines. +type ImportTimelinesJSONBody struct { + File interface{} `json:"file"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte struct { - union json.RawMessage + // IsImmutable Whether the Timeline should be immutable + IsImmutable *ImportTimelinesJSONBodyIsImmutable `json:"isImmutable,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt0 = string +// ImportTimelinesJSONBodyIsImmutable defines parameters for ImportTimelines. +type ImportTimelinesJSONBodyIsImmutable string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt1 = float32 +// InstallPrepackedTimelinesJSONBody defines parameters for InstallPrepackedTimelines. +type InstallPrepackedTimelinesJSONBody struct { + PrepackagedTimelines []SecurityTimelineAPITimelineSavedToReturnObject `json:"prepackagedTimelines"` + TimelinesToInstall []SecurityTimelineAPIImportTimelines `json:"timelinesToInstall"` + TimelinesToUpdate []SecurityTimelineAPIImportTimelines `json:"timelinesToUpdate"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lt2 = bool +// ResolveTimelineParams defines parameters for ResolveTimeline. +type ResolveTimelineParams struct { + // TemplateTimelineId The ID of the template timeline to resolve + TemplateTimelineId *string `form:"template_timeline_id,omitempty" json:"template_timeline_id,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt struct { - union json.RawMessage + // Id The ID of the timeline to resolve + Id *string `form:"id,omitempty" json:"id,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte0 = string +// GetTimelinesParams defines parameters for GetTimelines. +type GetTimelinesParams struct { + // OnlyUserFavorite If true, only timelines that are marked as favorites by the user are returned. + OnlyUserFavorite *GetTimelinesParamsOnlyUserFavorite `form:"only_user_favorite,omitempty" json:"only_user_favorite,omitempty"` + TimelineType *SecurityTimelineAPITimelineType `form:"timeline_type,omitempty" json:"timeline_type,omitempty"` + SortField *SecurityTimelineAPISortFieldTimeline `form:"sort_field,omitempty" json:"sort_field,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte1 = float32 + // SortOrder Whether to sort the results `ascending` or `descending` + SortOrder *GetTimelinesParamsSortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Lte2 = bool + // PageSize How many results should returned at once + PageSize *string `form:"page_size,omitempty" json:"page_size,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte struct { - union json.RawMessage -} + // PageIndex How many pages should be skipped + PageIndex *string `form:"page_index,omitempty" json:"page_index,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq0 = string + // Search Allows to search for timelines by their title + Search *string `form:"search,omitempty" json:"search,omitempty"` + Status *SecurityTimelineAPITimelineStatus `form:"status,omitempty" json:"status,omitempty"` +} -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq1 = float32 +// GetTimelinesParamsOnlyUserFavorite defines parameters for GetTimelines. +type GetTimelinesParamsOnlyUserFavorite string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00Neq2 = bool +// GetTimelinesParamsSortOrder defines parameters for GetTimelines. +type GetTimelinesParamsSortOrder string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq struct { - union json.RawMessage -} +// PutUptimeSettingsJSONBody defines parameters for PutUptimeSettings. +type PutUptimeSettingsJSONBody struct { + // CertAgeThreshold The number of days after a certificate is created to trigger an alert. + CertAgeThreshold *float32 `json:"certAgeThreshold,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt0 = string + // CertExpirationThreshold The number of days before a certificate expires to trigger an alert. + CertExpirationThreshold *float32 `json:"certExpirationThreshold,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt1 = float32 + // DefaultConnectors A list of connector IDs to be used as default connectors for new alerts. + DefaultConnectors *[]interface{} `json:"defaultConnectors,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGt2 = bool + // DefaultEmail The default email configuration for new alerts. + DefaultEmail *struct { + Bcc *[]string `json:"bcc,omitempty"` + Cc *[]string `json:"cc,omitempty"` + To *[]string `json:"to,omitempty"` + } `json:"defaultEmail,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt struct { - union json.RawMessage + // HeartbeatIndices An index pattern string to be used within the Uptime app and alerts to query Heartbeat data. + HeartbeatIndices *string `json:"heartbeatIndices,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte1 = float32 +// PostActionsConnectorIdJSONBody defines parameters for PostActionsConnectorId. +type PostActionsConnectorIdJSONBody struct { + // Config The connector configuration details. + Config *CreateConnectorConfig `json:"config,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeGte2 = bool + // ConnectorTypeId The type of connector. + ConnectorTypeId string `json:"connector_type_id"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte struct { - union json.RawMessage + // Name The display name for the connector. + Name string `json:"name"` + Secrets *CreateConnectorSecrets `json:"secrets,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLt2 = bool +// PutActionsConnectorIdJSONBody defines parameters for PutActionsConnectorId. +type PutActionsConnectorIdJSONBody struct { + // Config The connector configuration details. + Config *UpdateConnectorConfig `json:"config,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt struct { - union json.RawMessage + // Name The display name for the connector. + Name string `json:"name"` + Secrets *UpdateConnectorSecrets `json:"secrets,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte1 = float32 +// PostMaintenanceWindowJSONBody defines parameters for PostMaintenanceWindow. +type PostMaintenanceWindowJSONBody struct { + // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + Enabled *bool `json:"enabled,omitempty"` + Schedule struct { + Custom struct { + // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. + Duration string `json:"duration"` + Recurring *struct { + // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. + End *string `json:"end,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00RangeLte2 = bool + // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. + Every *string `json:"every,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte struct { - union json.RawMessage -} + // Occurrences The total number of recurrences of the schedule. + Occurrences *float32 `json:"occurrences,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith0 = string + // OnMonth The specific months for a recurring schedule. Valid values are 1-12. + OnMonth *[]float32 `json:"onMonth,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith1 = float32 + // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. + OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where00StartsWith2 = bool + // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + OnWeekDay *[]string `json:"onWeekDay,omitempty"` + } `json:"recurring,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith struct { - union json.RawMessage -} + // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. + Start string `json:"start"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} + // Timezone The timezone of the schedule. The default timezone is UTC. + Timezone *string `json:"timezone,omitempty"` + } `json:"custom"` + } `json:"schedule"` + Scope *struct { + Alerting struct { + Query struct { + // Kql A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. + Kql string `json:"kql"` + } `json:"query"` + } `json:"alerting"` + } `json:"scope,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where1 struct { - And []interface{} `json:"and"` + // Title The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. + Title string `json:"title"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where2 struct { - Or []interface{} `json:"or"` -} +// PatchMaintenanceWindowIdJSONBody defines parameters for PatchMaintenanceWindowId. +type PatchMaintenanceWindowIdJSONBody struct { + // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. + Enabled *bool `json:"enabled,omitempty"` + Schedule *struct { + Custom struct { + // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. + Duration string `json:"duration"` + Recurring *struct { + // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. + End *string `json:"end,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where3 struct { - Not interface{} `json:"not"` -} + // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. + Every *string `json:"every,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where4 struct { - Never map[string]interface{} `json:"never"` -} + // Occurrences The total number of recurrences of the schedule. + Occurrences *float32 `json:"occurrences,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps02Where5 struct { - Always map[string]interface{} `json:"always"` -} + // OnMonth The specific months for a recurring schedule. Valid values are 1-12. + OnMonth *[]float32 `json:"onMonth,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_2_Where struct { - union json.RawMessage -} + // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. + OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` -} + // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. + OnWeekDay *[]string `json:"onWeekDay,omitempty"` + } `json:"recurring,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Action string + // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. + Start string `json:"start"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where0 struct { - union json.RawMessage -} + // Timezone The timezone of the schedule. The default timezone is UTC. + Timezone *string `json:"timezone,omitempty"` + } `json:"custom"` + } `json:"schedule,omitempty"` + Scope *struct { + Alerting struct { + Query struct { + // Kql A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. + Kql string `json:"kql"` + } `json:"query"` + } `json:"alerting"` + } `json:"scope,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith `json:"startsWith,omitempty"` + // Title The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. + Title *string `json:"title,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains0 = string +// FindSlosOpParams defines parameters for FindSlosOp. +type FindSlosOpParams struct { + // KqlQuery A valid kql query to filter the SLO with + KqlQuery *string `form:"kqlQuery,omitempty" json:"kqlQuery,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains1 = float32 + // Size The page size to use for cursor-based pagination, must be greater or equal than 1 + Size *int `form:"size,omitempty" json:"size,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Contains2 = bool + // SearchAfter The cursor to use for fetching the results from, when using a cursor-base pagination. + SearchAfter *[]string `form:"searchAfter,omitempty" json:"searchAfter,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains struct { - union json.RawMessage -} + // Page The page to use for pagination, must be greater or equal than 1 + Page *int `form:"page,omitempty" json:"page,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith0 = string + // PerPage Number of SLOs returned by page + PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith1 = float32 + // SortBy Sort by field + SortBy *FindSlosOpParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00EndsWith2 = bool + // SortDirection Sort order + SortDirection *FindSlosOpParamsSortDirection `form:"sortDirection,omitempty" json:"sortDirection,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith struct { - union json.RawMessage + // HideStale Hide stale SLOs from the list as defined by stale SLO threshold in SLO settings + HideStale *bool `form:"hideStale,omitempty" json:"hideStale,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq1 = float32 +// FindSlosOpParamsSortBy defines parameters for FindSlosOp. +type FindSlosOpParamsSortBy string -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Eq2 = bool +// FindSlosOpParamsSortDirection defines parameters for FindSlosOp. +type FindSlosOpParamsSortDirection string -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq struct { - union json.RawMessage +// GetSloOpParams defines parameters for GetSloOp. +type GetSloOpParams struct { + // InstanceId the specific instanceId used by the summary calculation + InstanceId *string `form:"instanceId,omitempty" json:"instanceId,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gt2 = bool +// GetDefinitionsOpParams defines parameters for GetDefinitionsOp. +type GetDefinitionsOpParams struct { + // IncludeOutdatedOnly Indicates if the API returns only outdated SLO or all SLO definitions + IncludeOutdatedOnly *bool `form:"includeOutdatedOnly,omitempty" json:"includeOutdatedOnly,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt struct { - union json.RawMessage -} + // IncludeHealth Indicates if the API returns SLO health data with definitions + IncludeHealth *bool `form:"includeHealth,omitempty" json:"includeHealth,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte0 = string + // Tags Filters the SLOs by tag + Tags *string `form:"tags,omitempty" json:"tags,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte1 = float32 + // Search Filters the SLOs by name + Search *string `form:"search,omitempty" json:"search,omitempty"` -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Gte2 = bool + // Page The page to use for pagination, must be greater or equal than 1 + Page *float32 `form:"page,omitempty" json:"page,omitempty"` -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte struct { - union json.RawMessage + // PerPage Number of SLOs returned by page + PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"` } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt0 = string +// PostActionsConnectorIdExecuteJSONRequestBody defines body for PostActionsConnectorIdExecute for application/json ContentType. +type PostActionsConnectorIdExecuteJSONRequestBody PostActionsConnectorIdExecuteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt1 = float32 +// PostAgentBuilderA2aAgentidJSONRequestBody defines body for PostAgentBuilderA2aAgentid for application/json ContentType. +type PostAgentBuilderA2aAgentidJSONRequestBody = PostAgentBuilderA2aAgentidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lt2 = bool +// PostAgentBuilderAgentsJSONRequestBody defines body for PostAgentBuilderAgents for application/json ContentType. +type PostAgentBuilderAgentsJSONRequestBody PostAgentBuilderAgentsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt struct { - union json.RawMessage -} +// PutAgentBuilderAgentsIdJSONRequestBody defines body for PutAgentBuilderAgentsId for application/json ContentType. +type PutAgentBuilderAgentsIdJSONRequestBody PutAgentBuilderAgentsIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte0 = string +// PostAgentBuilderConverseJSONRequestBody defines body for PostAgentBuilderConverse for application/json ContentType. +type PostAgentBuilderConverseJSONRequestBody PostAgentBuilderConverseJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte1 = float32 +// PostAgentBuilderConverseAsyncJSONRequestBody defines body for PostAgentBuilderConverseAsync for application/json ContentType. +type PostAgentBuilderConverseAsyncJSONRequestBody PostAgentBuilderConverseAsyncJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Lte2 = bool +// PostAgentBuilderMcpJSONRequestBody defines body for PostAgentBuilderMcp for application/json ContentType. +type PostAgentBuilderMcpJSONRequestBody = PostAgentBuilderMcpJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte struct { - union json.RawMessage -} +// PostAgentBuilderToolsJSONRequestBody defines body for PostAgentBuilderTools for application/json ContentType. +type PostAgentBuilderToolsJSONRequestBody PostAgentBuilderToolsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq0 = string +// PostAgentBuilderToolsExecuteJSONRequestBody defines body for PostAgentBuilderToolsExecute for application/json ContentType. +type PostAgentBuilderToolsExecuteJSONRequestBody PostAgentBuilderToolsExecuteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq1 = float32 +// PutAgentBuilderToolsToolidJSONRequestBody defines body for PutAgentBuilderToolsToolid for application/json ContentType. +type PutAgentBuilderToolsToolidJSONRequestBody PutAgentBuilderToolsToolidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00Neq2 = bool +// PostAlertingRuleIdJSONRequestBody defines body for PostAlertingRuleId for application/json ContentType. +type PostAlertingRuleIdJSONRequestBody PostAlertingRuleIdJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq struct { - union json.RawMessage -} +// PutAlertingRuleIdJSONRequestBody defines body for PutAlertingRuleId for application/json ContentType. +type PutAlertingRuleIdJSONRequestBody PutAlertingRuleIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt0 = string +// PostAlertingRuleIdDisableJSONRequestBody defines body for PostAlertingRuleIdDisable for application/json ContentType. +type PostAlertingRuleIdDisableJSONRequestBody PostAlertingRuleIdDisableJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt1 = float32 +// PostAlertingRuleIdSnoozeScheduleJSONRequestBody defines body for PostAlertingRuleIdSnoozeSchedule for application/json ContentType. +type PostAlertingRuleIdSnoozeScheduleJSONRequestBody PostAlertingRuleIdSnoozeScheduleJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGt2 = bool +// CreateAgentKeyJSONRequestBody defines body for CreateAgentKey for application/json ContentType. +type CreateAgentKeyJSONRequestBody = APMUIAgentKeysObject -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt struct { - union json.RawMessage -} +// SaveApmServerSchemaJSONRequestBody defines body for SaveApmServerSchema for application/json ContentType. +type SaveApmServerSchemaJSONRequestBody SaveApmServerSchemaJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte0 = string +// CreateAnnotationJSONRequestBody defines body for CreateAnnotation for application/json ContentType. +type CreateAnnotationJSONRequestBody = APMUICreateAnnotationObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte1 = float32 +// DeleteAgentConfigurationJSONRequestBody defines body for DeleteAgentConfiguration for application/json ContentType. +type DeleteAgentConfigurationJSONRequestBody = APMUIDeleteServiceObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeGte2 = bool +// CreateUpdateAgentConfigurationJSONRequestBody defines body for CreateUpdateAgentConfiguration for application/json ContentType. +type CreateUpdateAgentConfigurationJSONRequestBody = APMUIAgentConfigurationIntakeObject -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte struct { - union json.RawMessage -} +// SearchSingleConfigurationJSONRequestBody defines body for SearchSingleConfiguration for application/json ContentType. +type SearchSingleConfigurationJSONRequestBody = APMUISearchAgentConfigurationObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt0 = string +// UploadSourceMapMultipartRequestBody defines body for UploadSourceMap for multipart/form-data ContentType. +type UploadSourceMapMultipartRequestBody = APMUIUploadSourceMapObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt1 = float32 +// CreateAssetCriticalityRecordJSONRequestBody defines body for CreateAssetCriticalityRecord for application/json ContentType. +type CreateAssetCriticalityRecordJSONRequestBody CreateAssetCriticalityRecordJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLt2 = bool +// BulkUpsertAssetCriticalityRecordsJSONRequestBody defines body for BulkUpsertAssetCriticalityRecords for application/json ContentType. +type BulkUpsertAssetCriticalityRecordsJSONRequestBody BulkUpsertAssetCriticalityRecordsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt struct { - union json.RawMessage -} +// PostAttackDiscoveryBulkJSONRequestBody defines body for PostAttackDiscoveryBulk for application/json ContentType. +type PostAttackDiscoveryBulkJSONRequestBody PostAttackDiscoveryBulkJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte0 = string +// PostAttackDiscoveryGenerateJSONRequestBody defines body for PostAttackDiscoveryGenerate for application/json ContentType. +type PostAttackDiscoveryGenerateJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte1 = float32 +// CreateAttackDiscoverySchedulesJSONRequestBody defines body for CreateAttackDiscoverySchedules for application/json ContentType. +type CreateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00RangeLte2 = bool +// UpdateAttackDiscoverySchedulesJSONRequestBody defines body for UpdateAttackDiscoverySchedules for application/json ContentType. +type UpdateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte struct { - union json.RawMessage -} +// UpdateCaseDefaultSpaceJSONRequestBody defines body for UpdateCaseDefaultSpace for application/json ContentType. +type UpdateCaseDefaultSpaceJSONRequestBody = CasesUpdateCaseRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith0 = string +// CreateCaseDefaultSpaceJSONRequestBody defines body for CreateCaseDefaultSpace for application/json ContentType. +type CreateCaseDefaultSpaceJSONRequestBody = CasesCreateCaseRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith1 = float32 +// SetCaseConfigurationDefaultSpaceJSONRequestBody defines body for SetCaseConfigurationDefaultSpace for application/json ContentType. +type SetCaseConfigurationDefaultSpaceJSONRequestBody = CasesSetCaseConfigurationRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where00StartsWith2 = bool +// UpdateCaseConfigurationDefaultSpaceJSONRequestBody defines body for UpdateCaseConfigurationDefaultSpace for application/json ContentType. +type UpdateCaseConfigurationDefaultSpaceJSONRequestBody = CasesUpdateCaseConfigurationRequest -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith struct { - union json.RawMessage -} +// UpdateCaseCommentDefaultSpaceJSONRequestBody defines body for UpdateCaseCommentDefaultSpace for application/json ContentType. +type UpdateCaseCommentDefaultSpaceJSONRequestBody = CasesUpdateCaseCommentRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} +// AddCaseCommentDefaultSpaceJSONRequestBody defines body for AddCaseCommentDefaultSpace for application/json ContentType. +type AddCaseCommentDefaultSpaceJSONRequestBody = CasesAddCaseCommentRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where1 struct { - And []interface{} `json:"and"` -} +// PushCaseDefaultSpaceJSONRequestBody defines body for PushCaseDefaultSpace for application/json ContentType. +type PushCaseDefaultSpaceJSONRequestBody = PushCaseDefaultSpaceJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where2 struct { - Or []interface{} `json:"or"` -} +// AddCaseFileDefaultSpaceMultipartRequestBody defines body for AddCaseFileDefaultSpace for multipart/form-data ContentType. +type AddCaseFileDefaultSpaceMultipartRequestBody = CasesAddCaseFileRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where3 struct { - Not interface{} `json:"not"` -} +// UpdateFieldsMetadataDefaultJSONRequestBody defines body for UpdateFieldsMetadataDefault for application/json ContentType. +type UpdateFieldsMetadataDefaultJSONRequestBody UpdateFieldsMetadataDefaultJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where4 struct { - Never map[string]interface{} `json:"never"` -} +// CreateRuntimeFieldDefaultJSONRequestBody defines body for CreateRuntimeFieldDefault for application/json ContentType. +type CreateRuntimeFieldDefaultJSONRequestBody CreateRuntimeFieldDefaultJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps03Where5 struct { - Always map[string]interface{} `json:"always"` -} +// CreateUpdateRuntimeFieldDefaultJSONRequestBody defines body for CreateUpdateRuntimeFieldDefault for application/json ContentType. +type CreateUpdateRuntimeFieldDefaultJSONRequestBody CreateUpdateRuntimeFieldDefaultJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_3_Where struct { - union json.RawMessage -} +// UpdateRuntimeFieldDefaultJSONRequestBody defines body for UpdateRuntimeFieldDefault for application/json ContentType. +type UpdateRuntimeFieldDefaultJSONRequestBody UpdateRuntimeFieldDefaultJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Value interface{} `json:"value,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` -} +// SetDefaultDatailViewDefaultJSONRequestBody defines body for SetDefaultDatailViewDefault for application/json ContentType. +type SetDefaultDatailViewDefaultJSONRequestBody SetDefaultDatailViewDefaultJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Action string +// SwapDataViewsDefaultJSONRequestBody defines body for SwapDataViewsDefault for application/json ContentType. +type SwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where0 struct { - union json.RawMessage -} +// PreviewSwapDataViewsDefaultJSONRequestBody defines body for PreviewSwapDataViewsDefault for application/json ContentType. +type PreviewSwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} +// PatchRuleJSONRequestBody defines body for PatchRule for application/json ContentType. +type PatchRuleJSONRequestBody = SecurityDetectionsAPIRulePatchProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains0 = string +// CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType. +type CreateRuleJSONRequestBody = SecurityDetectionsAPIRuleCreateProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains1 = float32 +// UpdateRuleJSONRequestBody defines body for UpdateRule for application/json ContentType. +type UpdateRuleJSONRequestBody = SecurityDetectionsAPIRuleUpdateProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Contains2 = bool +// PerformRulesBulkActionJSONRequestBody defines body for PerformRulesBulkAction for application/json ContentType. +type PerformRulesBulkActionJSONRequestBody PerformRulesBulkActionJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains struct { - union json.RawMessage -} +// ExportRulesJSONRequestBody defines body for ExportRules for application/json ContentType. +type ExportRulesJSONRequestBody ExportRulesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith0 = string +// ImportRulesMultipartRequestBody defines body for ImportRules for multipart/form-data ContentType. +type ImportRulesMultipartRequestBody ImportRulesMultipartBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith1 = float32 +// RulePreviewJSONRequestBody defines body for RulePreview for application/json ContentType. +type RulePreviewJSONRequestBody RulePreviewJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00EndsWith2 = bool +// CreateRuleExceptionListItemsJSONRequestBody defines body for CreateRuleExceptionListItems for application/json ContentType. +type CreateRuleExceptionListItemsJSONRequestBody CreateRuleExceptionListItemsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith struct { - union json.RawMessage -} +// SetAlertAssigneesJSONRequestBody defines body for SetAlertAssignees for application/json ContentType. +type SetAlertAssigneesJSONRequestBody SetAlertAssigneesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq0 = string +// FinalizeAlertsMigrationJSONRequestBody defines body for FinalizeAlertsMigration for application/json ContentType. +type FinalizeAlertsMigrationJSONRequestBody FinalizeAlertsMigrationJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq1 = float32 +// AlertsMigrationCleanupJSONRequestBody defines body for AlertsMigrationCleanup for application/json ContentType. +type AlertsMigrationCleanupJSONRequestBody AlertsMigrationCleanupJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Eq2 = bool +// CreateAlertsMigrationJSONRequestBody defines body for CreateAlertsMigration for application/json ContentType. +type CreateAlertsMigrationJSONRequestBody CreateAlertsMigrationJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq struct { - union json.RawMessage -} +// SearchAlertsJSONRequestBody defines body for SearchAlerts for application/json ContentType. +type SearchAlertsJSONRequestBody SearchAlertsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt0 = string +// SetAlertsStatusJSONRequestBody defines body for SetAlertsStatus for application/json ContentType. +type SetAlertsStatusJSONRequestBody SetAlertsStatusJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt1 = float32 +// SetAlertTagsJSONRequestBody defines body for SetAlertTags for application/json ContentType. +type SetAlertTagsJSONRequestBody SetAlertTagsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gt2 = bool +// CancelActionJSONRequestBody defines body for CancelAction for application/json ContentType. +type CancelActionJSONRequestBody = SecurityEndpointManagementAPICancelRouteRequestBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt struct { - union json.RawMessage -} +// EndpointExecuteActionJSONRequestBody defines body for EndpointExecuteAction for application/json ContentType. +type EndpointExecuteActionJSONRequestBody = SecurityEndpointManagementAPIExecuteRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte0 = string +// EndpointGetFileActionJSONRequestBody defines body for EndpointGetFileAction for application/json ContentType. +type EndpointGetFileActionJSONRequestBody = SecurityEndpointManagementAPIGetFileRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte1 = float32 +// EndpointIsolateActionJSONRequestBody defines body for EndpointIsolateAction for application/json ContentType. +type EndpointIsolateActionJSONRequestBody EndpointIsolateActionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Gte2 = bool +// EndpointKillProcessActionJSONRequestBody defines body for EndpointKillProcessAction for application/json ContentType. +type EndpointKillProcessActionJSONRequestBody = SecurityEndpointManagementAPIKillProcessRouteRequestBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte struct { - union json.RawMessage -} +// EndpointGetProcessesActionJSONRequestBody defines body for EndpointGetProcessesAction for application/json ContentType. +type EndpointGetProcessesActionJSONRequestBody = SecurityEndpointManagementAPIGetProcessesRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt0 = string +// RunScriptActionJSONRequestBody defines body for RunScriptAction for application/json ContentType. +type RunScriptActionJSONRequestBody = SecurityEndpointManagementAPIRunScriptRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt1 = float32 +// EndpointScanActionJSONRequestBody defines body for EndpointScanAction for application/json ContentType. +type EndpointScanActionJSONRequestBody = SecurityEndpointManagementAPIScanRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lt2 = bool +// EndpointSuspendProcessActionJSONRequestBody defines body for EndpointSuspendProcessAction for application/json ContentType. +type EndpointSuspendProcessActionJSONRequestBody = SecurityEndpointManagementAPISuspendProcessRouteRequestBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt struct { - union json.RawMessage -} +// EndpointUnisolateActionJSONRequestBody defines body for EndpointUnisolateAction for application/json ContentType. +type EndpointUnisolateActionJSONRequestBody EndpointUnisolateActionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte0 = string +// EndpointUploadActionMultipartRequestBody defines body for EndpointUploadAction for multipart/form-data ContentType. +type EndpointUploadActionMultipartRequestBody = SecurityEndpointManagementAPIUploadRouteRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte1 = float32 +// CreateUpdateProtectionUpdatesNoteJSONRequestBody defines body for CreateUpdateProtectionUpdatesNote for application/json ContentType. +type CreateUpdateProtectionUpdatesNoteJSONRequestBody CreateUpdateProtectionUpdatesNoteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Lte2 = bool +// CreateEndpointListItemJSONRequestBody defines body for CreateEndpointListItem for application/json ContentType. +type CreateEndpointListItemJSONRequestBody CreateEndpointListItemJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte struct { - union json.RawMessage -} +// UpdateEndpointListItemJSONRequestBody defines body for UpdateEndpointListItem for application/json ContentType. +type UpdateEndpointListItemJSONRequestBody UpdateEndpointListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq0 = string +// CreatePrivMonUserJSONRequestBody defines body for CreatePrivMonUser for application/json ContentType. +type CreatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIUserName -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq1 = float32 +// PrivmonBulkUploadUsersCSVMultipartRequestBody defines body for PrivmonBulkUploadUsersCSV for multipart/form-data ContentType. +type PrivmonBulkUploadUsersCSVMultipartRequestBody PrivmonBulkUploadUsersCSVMultipartBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00Neq2 = bool +// UpdatePrivMonUserJSONRequestBody defines body for UpdatePrivMonUser for application/json ContentType. +type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq struct { - union json.RawMessage -} +// InitEntityStoreJSONRequestBody defines body for InitEntityStore for application/json ContentType. +type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt0 = string +// InitEntityEngineJSONRequestBody defines body for InitEntityEngine for application/json ContentType. +type InitEntityEngineJSONRequestBody InitEntityEngineJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt1 = float32 +// UpsertEntitiesBulkJSONRequestBody defines body for UpsertEntitiesBulk for application/json ContentType. +type UpsertEntitiesBulkJSONRequestBody = SecurityEntityAnalyticsAPIEntitiesContainer -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGt2 = bool +// DeleteSingleEntityJSONRequestBody defines body for DeleteSingleEntity for application/json ContentType. +type DeleteSingleEntityJSONRequestBody DeleteSingleEntityJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt struct { - union json.RawMessage -} +// UpsertEntityJSONRequestBody defines body for UpsertEntity for application/json ContentType. +type UpsertEntityJSONRequestBody = SecurityEntityAnalyticsAPIEntity -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte0 = string +// CreateExceptionListJSONRequestBody defines body for CreateExceptionList for application/json ContentType. +type CreateExceptionListJSONRequestBody CreateExceptionListJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte1 = float32 +// UpdateExceptionListJSONRequestBody defines body for UpdateExceptionList for application/json ContentType. +type UpdateExceptionListJSONRequestBody UpdateExceptionListJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeGte2 = bool +// ImportExceptionListMultipartRequestBody defines body for ImportExceptionList for multipart/form-data ContentType. +type ImportExceptionListMultipartRequestBody ImportExceptionListMultipartBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte struct { - union json.RawMessage -} +// CreateExceptionListItemJSONRequestBody defines body for CreateExceptionListItem for application/json ContentType. +type CreateExceptionListItemJSONRequestBody CreateExceptionListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt0 = string +// UpdateExceptionListItemJSONRequestBody defines body for UpdateExceptionListItem for application/json ContentType. +type UpdateExceptionListItemJSONRequestBody UpdateExceptionListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt1 = float32 +// CreateSharedExceptionListJSONRequestBody defines body for CreateSharedExceptionList for application/json ContentType. +type CreateSharedExceptionListJSONRequestBody CreateSharedExceptionListJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLt2 = bool +// PostFleetAgentDownloadSourcesJSONRequestBody defines body for PostFleetAgentDownloadSources for application/json ContentType. +type PostFleetAgentDownloadSourcesJSONRequestBody PostFleetAgentDownloadSourcesJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt struct { - union json.RawMessage -} +// PutFleetAgentDownloadSourcesSourceidJSONRequestBody defines body for PutFleetAgentDownloadSourcesSourceid for application/json ContentType. +type PutFleetAgentDownloadSourcesSourceidJSONRequestBody PutFleetAgentDownloadSourcesSourceidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte0 = string +// PostFleetAgentPoliciesJSONRequestBody defines body for PostFleetAgentPolicies for application/json ContentType. +type PostFleetAgentPoliciesJSONRequestBody PostFleetAgentPoliciesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte1 = float32 +// PostFleetAgentPoliciesBulkGetJSONRequestBody defines body for PostFleetAgentPoliciesBulkGet for application/json ContentType. +type PostFleetAgentPoliciesBulkGetJSONRequestBody PostFleetAgentPoliciesBulkGetJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00RangeLte2 = bool +// PostFleetAgentPoliciesDeleteJSONRequestBody defines body for PostFleetAgentPoliciesDelete for application/json ContentType. +type PostFleetAgentPoliciesDeleteJSONRequestBody PostFleetAgentPoliciesDeleteJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte struct { - union json.RawMessage -} +// PostFleetAgentPoliciesOutputsJSONRequestBody defines body for PostFleetAgentPoliciesOutputs for application/json ContentType. +type PostFleetAgentPoliciesOutputsJSONRequestBody PostFleetAgentPoliciesOutputsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith0 = string +// PutFleetAgentPoliciesAgentpolicyidJSONRequestBody defines body for PutFleetAgentPoliciesAgentpolicyid for application/json ContentType. +type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody PutFleetAgentPoliciesAgentpolicyidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith1 = float32 +// PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody defines body for PostFleetAgentPoliciesAgentpolicyidCopy for application/json ContentType. +type PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody PostFleetAgentPoliciesAgentpolicyidCopyJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where00StartsWith2 = bool +// PostFleetAgentsJSONRequestBody defines body for PostFleetAgents for application/json ContentType. +type PostFleetAgentsJSONRequestBody PostFleetAgentsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith struct { - union json.RawMessage -} +// PostFleetAgentsBulkMigrateJSONRequestBody defines body for PostFleetAgentsBulkMigrate for application/json ContentType. +type PostFleetAgentsBulkMigrateJSONRequestBody PostFleetAgentsBulkMigrateJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} +// PostFleetAgentsBulkReassignJSONRequestBody defines body for PostFleetAgentsBulkReassign for application/json ContentType. +type PostFleetAgentsBulkReassignJSONRequestBody PostFleetAgentsBulkReassignJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where1 struct { - And []interface{} `json:"and"` -} +// PostFleetAgentsBulkRequestDiagnosticsJSONRequestBody defines body for PostFleetAgentsBulkRequestDiagnostics for application/json ContentType. +type PostFleetAgentsBulkRequestDiagnosticsJSONRequestBody PostFleetAgentsBulkRequestDiagnosticsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where2 struct { - Or []interface{} `json:"or"` -} +// PostFleetAgentsBulkUnenrollJSONRequestBody defines body for PostFleetAgentsBulkUnenroll for application/json ContentType. +type PostFleetAgentsBulkUnenrollJSONRequestBody PostFleetAgentsBulkUnenrollJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where3 struct { - Not interface{} `json:"not"` -} +// PostFleetAgentsBulkUpdateAgentTagsJSONRequestBody defines body for PostFleetAgentsBulkUpdateAgentTags for application/json ContentType. +type PostFleetAgentsBulkUpdateAgentTagsJSONRequestBody PostFleetAgentsBulkUpdateAgentTagsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where4 struct { - Never map[string]interface{} `json:"never"` -} +// PostFleetAgentsBulkUpgradeJSONRequestBody defines body for PostFleetAgentsBulkUpgrade for application/json ContentType. +type PostFleetAgentsBulkUpgradeJSONRequestBody PostFleetAgentsBulkUpgradeJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps04Where5 struct { - Always map[string]interface{} `json:"always"` -} +// PutFleetAgentsAgentidJSONRequestBody defines body for PutFleetAgentsAgentid for application/json ContentType. +type PutFleetAgentsAgentidJSONRequestBody PutFleetAgentsAgentidJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_4_Where struct { - union json.RawMessage -} +// PostFleetAgentsAgentidActionsJSONRequestBody defines body for PostFleetAgentsAgentidActions for application/json ContentType. +type PostFleetAgentsAgentidActionsJSONRequestBody PostFleetAgentsAgentidActionsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` -} +// PostFleetAgentsAgentidMigrateJSONRequestBody defines body for PostFleetAgentsAgentidMigrate for application/json ContentType. +type PostFleetAgentsAgentidMigrateJSONRequestBody PostFleetAgentsAgentidMigrateJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Action string +// PostFleetAgentsAgentidReassignJSONRequestBody defines body for PostFleetAgentsAgentidReassign for application/json ContentType. +type PostFleetAgentsAgentidReassignJSONRequestBody PostFleetAgentsAgentidReassignJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where0 struct { - union json.RawMessage -} +// PostFleetAgentsAgentidRequestDiagnosticsJSONRequestBody defines body for PostFleetAgentsAgentidRequestDiagnostics for application/json ContentType. +type PostFleetAgentsAgentidRequestDiagnosticsJSONRequestBody PostFleetAgentsAgentidRequestDiagnosticsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} +// PostFleetAgentsAgentidUnenrollJSONRequestBody defines body for PostFleetAgentsAgentidUnenroll for application/json ContentType. +type PostFleetAgentsAgentidUnenrollJSONRequestBody PostFleetAgentsAgentidUnenrollJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains0 = string +// PostFleetAgentsAgentidUpgradeJSONRequestBody defines body for PostFleetAgentsAgentidUpgrade for application/json ContentType. +type PostFleetAgentsAgentidUpgradeJSONRequestBody PostFleetAgentsAgentidUpgradeJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains1 = float32 +// PostFleetCloudConnectorsJSONRequestBody defines body for PostFleetCloudConnectors for application/json ContentType. +type PostFleetCloudConnectorsJSONRequestBody PostFleetCloudConnectorsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Contains2 = bool +// PutFleetCloudConnectorsCloudconnectoridJSONRequestBody defines body for PutFleetCloudConnectorsCloudconnectorid for application/json ContentType. +type PutFleetCloudConnectorsCloudconnectoridJSONRequestBody PutFleetCloudConnectorsCloudconnectoridJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains struct { - union json.RawMessage -} +// PostFleetEnrollmentApiKeysJSONRequestBody defines body for PostFleetEnrollmentApiKeys for application/json ContentType. +type PostFleetEnrollmentApiKeysJSONRequestBody PostFleetEnrollmentApiKeysJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith0 = string +// PostFleetEpmBulkAssetsJSONRequestBody defines body for PostFleetEpmBulkAssets for application/json ContentType. +type PostFleetEpmBulkAssetsJSONRequestBody PostFleetEpmBulkAssetsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith1 = float32 +// PostFleetEpmCustomIntegrationsJSONRequestBody defines body for PostFleetEpmCustomIntegrations for application/json ContentType. +type PostFleetEpmCustomIntegrationsJSONRequestBody PostFleetEpmCustomIntegrationsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00EndsWith2 = bool +// PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody defines body for PutFleetEpmCustomIntegrationsPkgname for application/json ContentType. +type PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody PutFleetEpmCustomIntegrationsPkgnameJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith struct { - union json.RawMessage -} +// PostFleetEpmPackagesBulkJSONRequestBody defines body for PostFleetEpmPackagesBulk for application/json ContentType. +type PostFleetEpmPackagesBulkJSONRequestBody PostFleetEpmPackagesBulkJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq0 = string +// PostFleetEpmPackagesBulkRollbackJSONRequestBody defines body for PostFleetEpmPackagesBulkRollback for application/json ContentType. +type PostFleetEpmPackagesBulkRollbackJSONRequestBody PostFleetEpmPackagesBulkRollbackJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq1 = float32 +// PostFleetEpmPackagesBulkUninstallJSONRequestBody defines body for PostFleetEpmPackagesBulkUninstall for application/json ContentType. +type PostFleetEpmPackagesBulkUninstallJSONRequestBody PostFleetEpmPackagesBulkUninstallJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Eq2 = bool +// PostFleetEpmPackagesBulkUpgradeJSONRequestBody defines body for PostFleetEpmPackagesBulkUpgrade for application/json ContentType. +type PostFleetEpmPackagesBulkUpgradeJSONRequestBody PostFleetEpmPackagesBulkUpgradeJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq struct { - union json.RawMessage -} +// PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversion for application/json ContentType. +type PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt0 = string +// PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody defines body for PutFleetEpmPackagesPkgnamePkgversion for application/json ContentType. +type PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody PutFleetEpmPackagesPkgnamePkgversionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt1 = float32 +// PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets for application/json ContentType. +type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gt2 = bool +// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionRuleAssets for application/json ContentType. +type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt struct { - union json.RawMessage -} +// PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize for application/json ContentType. +type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte0 = string +// PostFleetFleetServerHostsJSONRequestBody defines body for PostFleetFleetServerHosts for application/json ContentType. +type PostFleetFleetServerHostsJSONRequestBody PostFleetFleetServerHostsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte1 = float32 +// PutFleetFleetServerHostsItemidJSONRequestBody defines body for PutFleetFleetServerHostsItemid for application/json ContentType. +type PutFleetFleetServerHostsItemidJSONRequestBody PutFleetFleetServerHostsItemidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Gte2 = bool +// PostFleetHealthCheckJSONRequestBody defines body for PostFleetHealthCheck for application/json ContentType. +type PostFleetHealthCheckJSONRequestBody PostFleetHealthCheckJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte struct { - union json.RawMessage -} +// PostFleetOutputsJSONRequestBody defines body for PostFleetOutputs for application/json ContentType. +type PostFleetOutputsJSONRequestBody = NewOutputUnion -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt0 = string +// PutFleetOutputsOutputidJSONRequestBody defines body for PutFleetOutputsOutputid for application/json ContentType. +type PutFleetOutputsOutputidJSONRequestBody = UpdateOutputUnion -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt1 = float32 +// PostFleetPackagePoliciesJSONRequestBody defines body for PostFleetPackagePolicies for application/json ContentType. +type PostFleetPackagePoliciesJSONRequestBody = PackagePolicyRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lt2 = bool +// PostFleetPackagePoliciesBulkGetJSONRequestBody defines body for PostFleetPackagePoliciesBulkGet for application/json ContentType. +type PostFleetPackagePoliciesBulkGetJSONRequestBody PostFleetPackagePoliciesBulkGetJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt struct { - union json.RawMessage -} +// PostFleetPackagePoliciesDeleteJSONRequestBody defines body for PostFleetPackagePoliciesDelete for application/json ContentType. +type PostFleetPackagePoliciesDeleteJSONRequestBody PostFleetPackagePoliciesDeleteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte0 = string +// PostFleetPackagePoliciesUpgradeJSONRequestBody defines body for PostFleetPackagePoliciesUpgrade for application/json ContentType. +type PostFleetPackagePoliciesUpgradeJSONRequestBody PostFleetPackagePoliciesUpgradeJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte1 = float32 +// PostFleetPackagePoliciesUpgradeDryrunJSONRequestBody defines body for PostFleetPackagePoliciesUpgradeDryrun for application/json ContentType. +type PostFleetPackagePoliciesUpgradeDryrunJSONRequestBody PostFleetPackagePoliciesUpgradeDryrunJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Lte2 = bool +// PutFleetPackagePoliciesPackagepolicyidJSONRequestBody defines body for PutFleetPackagePoliciesPackagepolicyid for application/json ContentType. +type PutFleetPackagePoliciesPackagepolicyidJSONRequestBody = PackagePolicyRequest -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte struct { - union json.RawMessage -} +// PostFleetProxiesJSONRequestBody defines body for PostFleetProxies for application/json ContentType. +type PostFleetProxiesJSONRequestBody PostFleetProxiesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq0 = string +// PutFleetProxiesItemidJSONRequestBody defines body for PutFleetProxiesItemid for application/json ContentType. +type PutFleetProxiesItemidJSONRequestBody PutFleetProxiesItemidJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq1 = float32 +// PostFleetServiceTokensJSONRequestBody defines body for PostFleetServiceTokens for application/json ContentType. +type PostFleetServiceTokensJSONRequestBody PostFleetServiceTokensJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00Neq2 = bool +// PutFleetSettingsJSONRequestBody defines body for PutFleetSettings for application/json ContentType. +type PutFleetSettingsJSONRequestBody PutFleetSettingsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq struct { - union json.RawMessage -} +// PutFleetSpaceSettingsJSONRequestBody defines body for PutFleetSpaceSettings for application/json ContentType. +type PutFleetSpaceSettingsJSONRequestBody PutFleetSpaceSettingsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt0 = string +// PatchListJSONRequestBody defines body for PatchList for application/json ContentType. +type PatchListJSONRequestBody PatchListJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt1 = float32 +// CreateListJSONRequestBody defines body for CreateList for application/json ContentType. +type CreateListJSONRequestBody CreateListJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGt2 = bool +// UpdateListJSONRequestBody defines body for UpdateList for application/json ContentType. +type UpdateListJSONRequestBody UpdateListJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt struct { - union json.RawMessage -} +// PatchListItemJSONRequestBody defines body for PatchListItem for application/json ContentType. +type PatchListItemJSONRequestBody PatchListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte0 = string +// CreateListItemJSONRequestBody defines body for CreateListItem for application/json ContentType. +type CreateListItemJSONRequestBody CreateListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte1 = float32 +// UpdateListItemJSONRequestBody defines body for UpdateListItem for application/json ContentType. +type UpdateListItemJSONRequestBody UpdateListItemJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeGte2 = bool +// ImportListItemsMultipartRequestBody defines body for ImportListItems for multipart/form-data ContentType. +type ImportListItemsMultipartRequestBody ImportListItemsMultipartBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte struct { - union json.RawMessage -} +// PutLogstashPipelineJSONRequestBody defines body for PutLogstashPipeline for application/json ContentType. +type PutLogstashPipelineJSONRequestBody PutLogstashPipelineJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt0 = string +// DeleteNoteJSONRequestBody defines body for DeleteNote for application/json ContentType. +type DeleteNoteJSONRequestBody DeleteNoteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt1 = float32 +// PersistNoteRouteJSONRequestBody defines body for PersistNoteRoute for application/json ContentType. +type PersistNoteRouteJSONRequestBody PersistNoteRouteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLt2 = bool +// ObservabilityAiAssistantChatCompleteJSONRequestBody defines body for ObservabilityAiAssistantChatComplete for application/json ContentType. +type ObservabilityAiAssistantChatCompleteJSONRequestBody ObservabilityAiAssistantChatCompleteJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt struct { - union json.RawMessage -} +// OsqueryCreateLiveQueryJSONRequestBody defines body for OsqueryCreateLiveQuery for application/json ContentType. +type OsqueryCreateLiveQueryJSONRequestBody = SecurityOsqueryAPICreateLiveQueryRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte0 = string +// OsqueryCreatePacksJSONRequestBody defines body for OsqueryCreatePacks for application/json ContentType. +type OsqueryCreatePacksJSONRequestBody = SecurityOsqueryAPICreatePacksRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte1 = float32 +// OsqueryUpdatePacksJSONRequestBody defines body for OsqueryUpdatePacks for application/json ContentType. +type OsqueryUpdatePacksJSONRequestBody = SecurityOsqueryAPIUpdatePacksRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00RangeLte2 = bool +// OsqueryCreateSavedQueryJSONRequestBody defines body for OsqueryCreateSavedQuery for application/json ContentType. +type OsqueryCreateSavedQueryJSONRequestBody = SecurityOsqueryAPICreateSavedQueryRequestBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte struct { - union json.RawMessage -} +// OsqueryUpdateSavedQueryJSONRequestBody defines body for OsqueryUpdateSavedQuery for application/json ContentType. +type OsqueryUpdateSavedQueryJSONRequestBody = SecurityOsqueryAPIUpdateSavedQueryRequestBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith0 = string +// PersistPinnedEventRouteJSONRequestBody defines body for PersistPinnedEventRoute for application/json ContentType. +type PersistPinnedEventRouteJSONRequestBody PersistPinnedEventRouteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith1 = float32 +// ConfigureRiskEngineSavedObjectJSONRequestBody defines body for ConfigureRiskEngineSavedObject for application/json ContentType. +type ConfigureRiskEngineSavedObjectJSONRequestBody ConfigureRiskEngineSavedObjectJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where00StartsWith2 = bool +// ScheduleRiskEngineNowJSONRequestBody defines body for ScheduleRiskEngineNow for application/json ContentType. +type ScheduleRiskEngineNowJSONRequestBody ScheduleRiskEngineNowJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith struct { - union json.RawMessage -} +// BulkCreateSavedObjectsJSONRequestBody defines body for BulkCreateSavedObjects for application/json ContentType. +type BulkCreateSavedObjectsJSONRequestBody = BulkCreateSavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} +// BulkDeleteSavedObjectsJSONRequestBody defines body for BulkDeleteSavedObjects for application/json ContentType. +type BulkDeleteSavedObjectsJSONRequestBody = BulkDeleteSavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where1 struct { - And []interface{} `json:"and"` -} +// BulkGetSavedObjectsJSONRequestBody defines body for BulkGetSavedObjects for application/json ContentType. +type BulkGetSavedObjectsJSONRequestBody = BulkGetSavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where2 struct { - Or []interface{} `json:"or"` -} +// BulkResolveSavedObjectsJSONRequestBody defines body for BulkResolveSavedObjects for application/json ContentType. +type BulkResolveSavedObjectsJSONRequestBody = BulkResolveSavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where3 struct { - Not interface{} `json:"not"` -} +// BulkUpdateSavedObjectsJSONRequestBody defines body for BulkUpdateSavedObjects for application/json ContentType. +type BulkUpdateSavedObjectsJSONRequestBody = BulkUpdateSavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where4 struct { - Never map[string]interface{} `json:"never"` -} +// PostSavedObjectsExportJSONRequestBody defines body for PostSavedObjectsExport for application/json ContentType. +type PostSavedObjectsExportJSONRequestBody PostSavedObjectsExportJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps05Where5 struct { - Always map[string]interface{} `json:"always"` -} +// PostSavedObjectsImportMultipartRequestBody defines body for PostSavedObjectsImport for multipart/form-data ContentType. +type PostSavedObjectsImportMultipartRequestBody PostSavedObjectsImportMultipartBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_5_Where struct { - union json.RawMessage -} +// ResolveImportErrorsMultipartRequestBody defines body for ResolveImportErrors for multipart/form-data ContentType. +type ResolveImportErrorsMultipartRequestBody ResolveImportErrorsMultipartBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps06 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} +// CreateSavedObjectJSONRequestBody defines body for CreateSavedObject for application/json ContentType. +type CreateSavedObjectJSONRequestBody CreateSavedObjectJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps06Action string +// CreateSavedObjectIdJSONRequestBody defines body for CreateSavedObjectId for application/json ContentType. +type CreateSavedObjectIdJSONRequestBody CreateSavedObjectIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where `json:"where,omitempty"` -} +// UpdateSavedObjectJSONRequestBody defines body for UpdateSavedObject for application/json ContentType. +type UpdateSavedObjectJSONRequestBody = UpdateSavedObjectJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Action string +// PostSecurityRoleQueryJSONRequestBody defines body for PostSecurityRoleQuery for application/json ContentType. +type PostSecurityRoleQueryJSONRequestBody PostSecurityRoleQueryJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where0 struct { - union json.RawMessage -} +// PutSecurityRoleNameJSONRequestBody defines body for PutSecurityRoleName for application/json ContentType. +type PutSecurityRoleNameJSONRequestBody PutSecurityRoleNameJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} +// PostSecurityRolesJSONRequestBody defines body for PostSecurityRoles for application/json ContentType. +type PostSecurityRolesJSONRequestBody PostSecurityRolesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains0 = string +// PostSecuritySessionInvalidateJSONRequestBody defines body for PostSecuritySessionInvalidate for application/json ContentType. +type PostSecuritySessionInvalidateJSONRequestBody PostSecuritySessionInvalidateJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains1 = float32 +// PerformAnonymizationFieldsBulkActionJSONRequestBody defines body for PerformAnonymizationFieldsBulkAction for application/json ContentType. +type PerformAnonymizationFieldsBulkActionJSONRequestBody PerformAnonymizationFieldsBulkActionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Contains2 = bool +// ChatCompleteJSONRequestBody defines body for ChatComplete for application/json ContentType. +type ChatCompleteJSONRequestBody = SecurityAIAssistantAPIChatCompleteProps -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains struct { - union json.RawMessage -} +// DeleteAllConversationsJSONRequestBody defines body for DeleteAllConversations for application/json ContentType. +type DeleteAllConversationsJSONRequestBody DeleteAllConversationsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith0 = string +// CreateConversationJSONRequestBody defines body for CreateConversation for application/json ContentType. +type CreateConversationJSONRequestBody = SecurityAIAssistantAPIConversationCreateProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith1 = float32 +// UpdateConversationJSONRequestBody defines body for UpdateConversation for application/json ContentType. +type UpdateConversationJSONRequestBody = SecurityAIAssistantAPIConversationUpdateProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00EndsWith2 = bool +// CreateKnowledgeBaseEntryJSONRequestBody defines body for CreateKnowledgeBaseEntry for application/json ContentType. +type CreateKnowledgeBaseEntryJSONRequestBody = SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith struct { - union json.RawMessage -} +// PerformKnowledgeBaseEntryBulkActionJSONRequestBody defines body for PerformKnowledgeBaseEntryBulkAction for application/json ContentType. +type PerformKnowledgeBaseEntryBulkActionJSONRequestBody PerformKnowledgeBaseEntryBulkActionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq0 = string +// UpdateKnowledgeBaseEntryJSONRequestBody defines body for UpdateKnowledgeBaseEntry for application/json ContentType. +type UpdateKnowledgeBaseEntryJSONRequestBody = SecurityAIAssistantAPIKnowledgeBaseEntryUpdateRouteProps -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq1 = float32 +// PerformPromptsBulkActionJSONRequestBody defines body for PerformPromptsBulkAction for application/json ContentType. +type PerformPromptsBulkActionJSONRequestBody PerformPromptsBulkActionJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Eq2 = bool +// PostUrlJSONRequestBody defines body for PostUrl for application/json ContentType. +type PostUrlJSONRequestBody PostUrlJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq struct { - union json.RawMessage -} +// PostSpacesCopySavedObjectsJSONRequestBody defines body for PostSpacesCopySavedObjects for application/json ContentType. +type PostSpacesCopySavedObjectsJSONRequestBody PostSpacesCopySavedObjectsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt0 = string +// PostSpacesDisableLegacyUrlAliasesJSONRequestBody defines body for PostSpacesDisableLegacyUrlAliases for application/json ContentType. +type PostSpacesDisableLegacyUrlAliasesJSONRequestBody PostSpacesDisableLegacyUrlAliasesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt1 = float32 +// PostSpacesGetShareableReferencesJSONRequestBody defines body for PostSpacesGetShareableReferences for application/json ContentType. +type PostSpacesGetShareableReferencesJSONRequestBody PostSpacesGetShareableReferencesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gt2 = bool +// PostSpacesResolveCopySavedObjectsErrorsJSONRequestBody defines body for PostSpacesResolveCopySavedObjectsErrors for application/json ContentType. +type PostSpacesResolveCopySavedObjectsErrorsJSONRequestBody PostSpacesResolveCopySavedObjectsErrorsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt struct { - union json.RawMessage -} +// PostSpacesUpdateObjectsSpacesJSONRequestBody defines body for PostSpacesUpdateObjectsSpaces for application/json ContentType. +type PostSpacesUpdateObjectsSpacesJSONRequestBody PostSpacesUpdateObjectsSpacesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte0 = string +// PostSpacesSpaceJSONRequestBody defines body for PostSpacesSpace for application/json ContentType. +type PostSpacesSpaceJSONRequestBody PostSpacesSpaceJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte1 = float32 +// PutSpacesSpaceIdJSONRequestBody defines body for PutSpacesSpaceId for application/json ContentType. +type PutSpacesSpaceIdJSONRequestBody PutSpacesSpaceIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Gte2 = bool +// PutStreamsNameJSONRequestBody defines body for PutStreamsName for application/json ContentType. +type PutStreamsNameJSONRequestBody PutStreamsNameJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte struct { - union json.RawMessage -} +// PostStreamsNameForkJSONRequestBody defines body for PostStreamsNameFork for application/json ContentType. +type PostStreamsNameForkJSONRequestBody PostStreamsNameForkJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt0 = string +// PutStreamsNameGroupJSONRequestBody defines body for PutStreamsNameGroup for application/json ContentType. +type PutStreamsNameGroupJSONRequestBody PutStreamsNameGroupJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt1 = float32 +// PutStreamsNameIngestJSONRequestBody defines body for PutStreamsNameIngest for application/json ContentType. +type PutStreamsNameIngestJSONRequestBody PutStreamsNameIngestJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lt2 = bool +// PostStreamsNameContentExportJSONRequestBody defines body for PostStreamsNameContentExport for application/json ContentType. +type PostStreamsNameContentExportJSONRequestBody PostStreamsNameContentExportJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt struct { - union json.RawMessage -} +// PostStreamsNameContentImportMultipartRequestBody defines body for PostStreamsNameContentImport for multipart/form-data ContentType. +type PostStreamsNameContentImportMultipartRequestBody PostStreamsNameContentImportMultipartBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte0 = string +// PostStreamsNameDashboardsBulkJSONRequestBody defines body for PostStreamsNameDashboardsBulk for application/json ContentType. +type PostStreamsNameDashboardsBulkJSONRequestBody PostStreamsNameDashboardsBulkJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte1 = float32 +// PostStreamsNameQueriesBulkJSONRequestBody defines body for PostStreamsNameQueriesBulk for application/json ContentType. +type PostStreamsNameQueriesBulkJSONRequestBody PostStreamsNameQueriesBulkJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Lte2 = bool +// PutStreamsNameQueriesQueryidJSONRequestBody defines body for PutStreamsNameQueriesQueryid for application/json ContentType. +type PutStreamsNameQueriesQueryidJSONRequestBody PutStreamsNameQueriesQueryidJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte struct { - union json.RawMessage -} +// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. +type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq0 = string +// PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. +type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq1 = float32 +// PostSyntheticMonitorsJSONRequestBody defines body for PostSyntheticMonitors for application/json ContentType. +type PostSyntheticMonitorsJSONRequestBody PostSyntheticMonitorsJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00Neq2 = bool +// DeleteSyntheticMonitorsJSONRequestBody defines body for DeleteSyntheticMonitors for application/json ContentType. +type DeleteSyntheticMonitorsJSONRequestBody DeleteSyntheticMonitorsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq struct { - union json.RawMessage -} +// PutSyntheticMonitorJSONRequestBody defines body for PutSyntheticMonitor for application/json ContentType. +type PutSyntheticMonitorJSONRequestBody PutSyntheticMonitorJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt0 = string +// PostParametersJSONRequestBody defines body for PostParameters for application/json ContentType. +type PostParametersJSONRequestBody PostParametersJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt1 = float32 +// DeleteParametersJSONRequestBody defines body for DeleteParameters for application/json ContentType. +type DeleteParametersJSONRequestBody DeleteParametersJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGt2 = bool +// PutParameterJSONRequestBody defines body for PutParameter for application/json ContentType. +type PutParameterJSONRequestBody PutParameterJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt struct { - union json.RawMessage -} +// PostPrivateLocationJSONRequestBody defines body for PostPrivateLocation for application/json ContentType. +type PostPrivateLocationJSONRequestBody PostPrivateLocationJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte0 = string +// PutPrivateLocationJSONRequestBody defines body for PutPrivateLocation for application/json ContentType. +type PutPrivateLocationJSONRequestBody PutPrivateLocationJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte1 = float32 +// DeleteTimelinesJSONRequestBody defines body for DeleteTimelines for application/json ContentType. +type DeleteTimelinesJSONRequestBody DeleteTimelinesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeGte2 = bool +// PatchTimelineJSONRequestBody defines body for PatchTimeline for application/json ContentType. +type PatchTimelineJSONRequestBody PatchTimelineJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte struct { - union json.RawMessage -} +// CreateTimelinesJSONRequestBody defines body for CreateTimelines for application/json ContentType. +type CreateTimelinesJSONRequestBody CreateTimelinesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt0 = string +// CopyTimelineJSONRequestBody defines body for CopyTimeline for application/json ContentType. +type CopyTimelineJSONRequestBody CopyTimelineJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt1 = float32 +// CleanDraftTimelinesJSONRequestBody defines body for CleanDraftTimelines for application/json ContentType. +type CleanDraftTimelinesJSONRequestBody CleanDraftTimelinesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLt2 = bool +// ExportTimelinesJSONRequestBody defines body for ExportTimelines for application/json ContentType. +type ExportTimelinesJSONRequestBody ExportTimelinesJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt struct { - union json.RawMessage -} +// PersistFavoriteRouteJSONRequestBody defines body for PersistFavoriteRoute for application/json ContentType. +type PersistFavoriteRouteJSONRequestBody PersistFavoriteRouteJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte0 = string +// ImportTimelinesJSONRequestBody defines body for ImportTimelines for application/json ContentType. +type ImportTimelinesJSONRequestBody ImportTimelinesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte1 = float32 +// InstallPrepackedTimelinesJSONRequestBody defines body for InstallPrepackedTimelines for application/json ContentType. +type InstallPrepackedTimelinesJSONRequestBody InstallPrepackedTimelinesJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00RangeLte2 = bool +// PutUptimeSettingsJSONRequestBody defines body for PutUptimeSettings for application/json ContentType. +type PutUptimeSettingsJSONRequestBody PutUptimeSettingsJSONBody -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte struct { - union json.RawMessage -} +// PostActionsConnectorIdJSONRequestBody defines body for PostActionsConnectorId for application/json ContentType. +type PostActionsConnectorIdJSONRequestBody PostActionsConnectorIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith0 = string +// PutActionsConnectorIdJSONRequestBody defines body for PutActionsConnectorId for application/json ContentType. +type PutActionsConnectorIdJSONRequestBody PutActionsConnectorIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith1 = float32 +// CreateDataViewDefaultwJSONRequestBody defines body for CreateDataViewDefaultw for application/json ContentType. +type CreateDataViewDefaultwJSONRequestBody = DataViewsCreateDataViewRequestObject -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where00StartsWith2 = bool +// UpdateDataViewDefaultJSONRequestBody defines body for UpdateDataViewDefault for application/json ContentType. +type UpdateDataViewDefaultJSONRequestBody = DataViewsUpdateDataViewRequestObject -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith struct { - union json.RawMessage -} +// PostMaintenanceWindowJSONRequestBody defines body for PostMaintenanceWindow for application/json ContentType. +type PostMaintenanceWindowJSONRequestBody PostMaintenanceWindowJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} +// PatchMaintenanceWindowIdJSONRequestBody defines body for PatchMaintenanceWindowId for application/json ContentType. +type PatchMaintenanceWindowIdJSONRequestBody PatchMaintenanceWindowIdJSONBody -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where1 struct { - And []interface{} `json:"and"` -} +// CreateSloOpJSONRequestBody defines body for CreateSloOp for application/json ContentType. +type CreateSloOpJSONRequestBody = SLOsCreateSloRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where2 struct { - Or []interface{} `json:"or"` -} +// BulkDeleteOpJSONRequestBody defines body for BulkDeleteOp for application/json ContentType. +type BulkDeleteOpJSONRequestBody = SLOsBulkDeleteRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where3 struct { - Not interface{} `json:"not"` -} +// DeleteRollupDataOpJSONRequestBody defines body for DeleteRollupDataOp for application/json ContentType. +type DeleteRollupDataOpJSONRequestBody = SLOsBulkPurgeRollupRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where4 struct { - Never map[string]interface{} `json:"never"` -} +// DeleteSloInstancesOpJSONRequestBody defines body for DeleteSloInstancesOp for application/json ContentType. +type DeleteSloInstancesOpJSONRequestBody = SLOsDeleteSloInstancesRequest -// PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps07Where5 struct { - Always map[string]interface{} `json:"always"` -} +// UpdateSloOpJSONRequestBody defines body for UpdateSloOp for application/json ContentType. +type UpdateSloOpJSONRequestBody = SLOsUpdateSloRequest -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_7_Where struct { - union json.RawMessage +// Getter for additional properties for PostActionsConnectorIdExecuteJSONBody_Params. Returns the specified +// element and whether it was found +func (a PostActionsConnectorIdExecuteJSONBody_Params) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type `json:"type"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` +// Setter for additional properties for PostActionsConnectorIdExecuteJSONBody_Params +func (a *PostActionsConnectorIdExecuteJSONBody_Params) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Type string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where0 struct { - union json.RawMessage +// Getter for additional properties for PostAlertingRuleIdJSONBody_Params. Returns the specified +// element and whether it was found +func (a PostAlertingRuleIdJSONBody_Params) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` +// Setter for additional properties for PostAlertingRuleIdJSONBody_Params +func (a *PostAlertingRuleIdJSONBody_Params) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage +// Getter for additional properties for SyntheticsBrowserMonitorFields. Returns the specified +// element and whether it was found +func (a SyntheticsBrowserMonitorFields) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage +// Setter for additional properties for SyntheticsBrowserMonitorFields +func (a *SyntheticsBrowserMonitorFields) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} +// Override default JSON handling for SyntheticsBrowserMonitorFields to handle AdditionalProperties +func (a *SyntheticsBrowserMonitorFields) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt0 = string + if raw, found := object["alert"]; found { + err = json.Unmarshal(raw, &a.Alert) + if err != nil { + return fmt.Errorf("error reading 'alert': %w", err) + } + delete(object, "alert") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt1 = float32 + if raw, found := object["enabled"]; found { + err = json.Unmarshal(raw, &a.Enabled) + if err != nil { + return fmt.Errorf("error reading 'enabled': %w", err) + } + delete(object, "enabled") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gt2 = bool + if raw, found := object["ignore_https_errors"]; found { + err = json.Unmarshal(raw, &a.IgnoreHttpsErrors) + if err != nil { + return fmt.Errorf("error reading 'ignore_https_errors': %w", err) + } + delete(object, "ignore_https_errors") + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} + if raw, found := object["inline_script"]; found { + err = json.Unmarshal(raw, &a.InlineScript) + if err != nil { + return fmt.Errorf("error reading 'inline_script': %w", err) + } + delete(object, "inline_script") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte0 = string + if raw, found := object["labels"]; found { + err = json.Unmarshal(raw, &a.Labels) + if err != nil { + return fmt.Errorf("error reading 'labels': %w", err) + } + delete(object, "labels") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte1 = float32 + if raw, found := object["locations"]; found { + err = json.Unmarshal(raw, &a.Locations) + if err != nil { + return fmt.Errorf("error reading 'locations': %w", err) + } + delete(object, "locations") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Gte2 = bool + if raw, found := object["name"]; found { + err = json.Unmarshal(raw, &a.Name) + if err != nil { + return fmt.Errorf("error reading 'name': %w", err) + } + delete(object, "name") + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} + if raw, found := object["namespace"]; found { + err = json.Unmarshal(raw, &a.Namespace) + if err != nil { + return fmt.Errorf("error reading 'namespace': %w", err) + } + delete(object, "namespace") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt0 = string + if raw, found := object["params"]; found { + err = json.Unmarshal(raw, &a.Params) + if err != nil { + return fmt.Errorf("error reading 'params': %w", err) + } + delete(object, "params") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt1 = float32 + if raw, found := object["playwright_options"]; found { + err = json.Unmarshal(raw, &a.PlaywrightOptions) + if err != nil { + return fmt.Errorf("error reading 'playwright_options': %w", err) + } + delete(object, "playwright_options") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lt2 = bool + if raw, found := object["private_locations"]; found { + err = json.Unmarshal(raw, &a.PrivateLocations) + if err != nil { + return fmt.Errorf("error reading 'private_locations': %w", err) + } + delete(object, "private_locations") + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} + if raw, found := object["retest_on_failure"]; found { + err = json.Unmarshal(raw, &a.RetestOnFailure) + if err != nil { + return fmt.Errorf("error reading 'retest_on_failure': %w", err) + } + delete(object, "retest_on_failure") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte0 = string + if raw, found := object["schedule"]; found { + err = json.Unmarshal(raw, &a.Schedule) + if err != nil { + return fmt.Errorf("error reading 'schedule': %w", err) + } + delete(object, "schedule") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte1 = float32 + if raw, found := object["screenshots"]; found { + err = json.Unmarshal(raw, &a.Screenshots) + if err != nil { + return fmt.Errorf("error reading 'screenshots': %w", err) + } + delete(object, "screenshots") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Lte2 = bool + if raw, found := object["service.name"]; found { + err = json.Unmarshal(raw, &a.ServiceName) + if err != nil { + return fmt.Errorf("error reading 'service.name': %w", err) + } + delete(object, "service.name") + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} + if raw, found := object["synthetics_args"]; found { + err = json.Unmarshal(raw, &a.SyntheticsArgs) + if err != nil { + return fmt.Errorf("error reading 'synthetics_args': %w", err) + } + delete(object, "synthetics_args") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq0 = string + if raw, found := object["tags"]; found { + err = json.Unmarshal(raw, &a.Tags) + if err != nil { + return fmt.Errorf("error reading 'tags': %w", err) + } + delete(object, "tags") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq1 = float32 + if raw, found := object["timeout"]; found { + err = json.Unmarshal(raw, &a.Timeout) + if err != nil { + return fmt.Errorf("error reading 'timeout': %w", err) + } + delete(object, "timeout") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00Neq2 = bool + if raw, found := object["type"]; found { + err = json.Unmarshal(raw, &a.Type) + if err != nil { + return fmt.Errorf("error reading 'type': %w", err) + } + delete(object, "type") + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} +// Override default JSON handling for SyntheticsBrowserMonitorFields to handle AdditionalProperties +func (a SyntheticsBrowserMonitorFields) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte0 = string + if a.Alert != nil { + object["alert"], err = json.Marshal(a.Alert) + if err != nil { + return nil, fmt.Errorf("error marshaling 'alert': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte1 = float32 + if a.Enabled != nil { + object["enabled"], err = json.Marshal(a.Enabled) + if err != nil { + return nil, fmt.Errorf("error marshaling 'enabled': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeGte2 = bool + if a.IgnoreHttpsErrors != nil { + object["ignore_https_errors"], err = json.Marshal(a.IgnoreHttpsErrors) + if err != nil { + return nil, fmt.Errorf("error marshaling 'ignore_https_errors': %w", err) + } + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} + object["inline_script"], err = json.Marshal(a.InlineScript) + if err != nil { + return nil, fmt.Errorf("error marshaling 'inline_script': %w", err) + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt0 = string + if a.Labels != nil { + object["labels"], err = json.Marshal(a.Labels) + if err != nil { + return nil, fmt.Errorf("error marshaling 'labels': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt1 = float32 + if a.Locations != nil { + object["locations"], err = json.Marshal(a.Locations) + if err != nil { + return nil, fmt.Errorf("error marshaling 'locations': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLt2 = bool + object["name"], err = json.Marshal(a.Name) + if err != nil { + return nil, fmt.Errorf("error marshaling 'name': %w", err) + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} + if a.Namespace != nil { + object["namespace"], err = json.Marshal(a.Namespace) + if err != nil { + return nil, fmt.Errorf("error marshaling 'namespace': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte0 = string + if a.Params != nil { + object["params"], err = json.Marshal(a.Params) + if err != nil { + return nil, fmt.Errorf("error marshaling 'params': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte1 = float32 + if a.PlaywrightOptions != nil { + object["playwright_options"], err = json.Marshal(a.PlaywrightOptions) + if err != nil { + return nil, fmt.Errorf("error marshaling 'playwright_options': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00RangeLte2 = bool + if a.PrivateLocations != nil { + object["private_locations"], err = json.Marshal(a.PrivateLocations) + if err != nil { + return nil, fmt.Errorf("error marshaling 'private_locations': %w", err) + } + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} + if a.RetestOnFailure != nil { + object["retest_on_failure"], err = json.Marshal(a.RetestOnFailure) + if err != nil { + return nil, fmt.Errorf("error marshaling 'retest_on_failure': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith0 = string + if a.Schedule != nil { + object["schedule"], err = json.Marshal(a.Schedule) + if err != nil { + return nil, fmt.Errorf("error marshaling 'schedule': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith1 = float32 + if a.Screenshots != nil { + object["screenshots"], err = json.Marshal(a.Screenshots) + if err != nil { + return nil, fmt.Errorf("error marshaling 'screenshots': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where00StartsWith2 = bool + if a.ServiceName != nil { + object["service.name"], err = json.Marshal(a.ServiceName) + if err != nil { + return nil, fmt.Errorf("error marshaling 'service.name': %w", err) + } + } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} + if a.SyntheticsArgs != nil { + object["synthetics_args"], err = json.Marshal(a.SyntheticsArgs) + if err != nil { + return nil, fmt.Errorf("error marshaling 'synthetics_args': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} + if a.Tags != nil { + object["tags"], err = json.Marshal(a.Tags) + if err != nil { + return nil, fmt.Errorf("error marshaling 'tags': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} + if a.Timeout != nil { + object["timeout"], err = json.Marshal(a.Timeout) + if err != nil { + return nil, fmt.Errorf("error marshaling 'timeout': %w", err) + } + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} + object["type"], err = json.Marshal(a.Type) + if err != nil { + return nil, fmt.Errorf("error marshaling 'type': %w", err) + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where3 struct { - Not interface{} `json:"not"` + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` +// Getter for additional properties for SyntheticsGetPrivateLocation. Returns the specified +// element and whether it was found +func (a SyntheticsGetPrivateLocation) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` +// Setter for additional properties for SyntheticsGetPrivateLocation +func (a *SyntheticsGetPrivateLocation) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value } -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_8_Where struct { - union json.RawMessage -} +// Override default JSON handling for SyntheticsGetPrivateLocation to handle AdditionalProperties +func (a *SyntheticsGetPrivateLocation) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09 struct { - Action PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Action string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where0 struct { - union json.RawMessage -} + if raw, found := object["agentPolicyId"]; found { + err = json.Unmarshal(raw, &a.AgentPolicyId) + if err != nil { + return fmt.Errorf("error reading 'agentPolicyId': %w", err) + } + delete(object, "agentPolicyId") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00 struct { - Contains *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} + if raw, found := object["geo"]; found { + err = json.Unmarshal(raw, &a.Geo) + if err != nil { + return fmt.Errorf("error reading 'geo': %w", err) + } + delete(object, "geo") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains0 = string + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains1 = float32 + if raw, found := object["isInvalid"]; found { + err = json.Unmarshal(raw, &a.IsInvalid) + if err != nil { + return fmt.Errorf("error reading 'isInvalid': %w", err) + } + delete(object, "isInvalid") + } -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestProcessingSteps1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { - Steps []interface{} `json:"steps"` - } `json:"where"` -} - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Processing_Steps_Item struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01 struct { - Dashboards []string `json:"dashboards"` - Queries []struct { - Feature *struct { - Filter PutStreamsNameJSONBody_0_1_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"queries"` - Rules []string `json:"rules"` - Stream struct { - Ingest struct { - Lifecycle PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - } `json:"ingest"` - Name interface{} `json:"name,omitempty"` - } `json:"stream"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Queries_Feature_Filter struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps00Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_0_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps01Action `json:"action"` - AppendSeparator *string `json:"append_separator,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Pattern string `json:"pattern"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps01Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_1_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps02Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - Formats []string `json:"formats"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` - OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` - To *string `json:"to,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps02Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_2_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps03Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_3_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Value interface{} `json:"value,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps04Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_4_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps05Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_5_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps06 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps06 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps06Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps07Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_7_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type `json:"type"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Type string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09 struct { - Action PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Action string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00 struct { - Contains *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestProcessingSteps1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { - Steps []interface{} `json:"steps"` - } `json:"where"` -} - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Processing_Steps_Item struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1 struct { - Dashboards []string `json:"dashboards"` - Queries []struct { - Feature *struct { - Filter PutStreamsNameJSONBody_1_Queries_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"queries"` - Rules []string `json:"rules"` - Stream struct { - Group struct { - Members []string `json:"members"` - Metadata map[string]string `json:"metadata"` - Tags []string `json:"tags"` - } `json:"group"` - Name interface{} `json:"name,omitempty"` - } `json:"stream"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00 struct { - Contains *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Contains2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00EndsWith2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Eq2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Gte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Lte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00Neq2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeGte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLt2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00RangeLte2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith0 = string - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter00StartsWith2 = bool - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter3 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter4 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameJSONBody1QueriesFeatureFilter5 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1QueriesFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameJSONBody_1_Queries_Feature_Filter defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_1_Queries_Feature_Filter struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody struct { - Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` - Stream struct { - Name string `json:"name"` - } `json:"stream"` - Where PostStreamsNameForkJSONBody_Where `json:"where"` -} - -// PostStreamsNameForkJSONBodyStatus defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyStatus string - -// PostStreamsNameForkJSONBodyWhere0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere0 struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00 struct { - Contains *PostStreamsNameForkJSONBody_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameForkJSONBody_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameForkJSONBody_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameForkJSONBody_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameForkJSONBody_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameForkJSONBody_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameForkJSONBody_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameForkJSONBody_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameForkJSONBody_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameForkJSONBody_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameForkJSONBody_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameForkJSONBody_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameForkJSONBody_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameForkJSONBodyWhere00Contains0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Contains0 = string - -// PostStreamsNameForkJSONBodyWhere00Contains1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Contains1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Contains2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Contains2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Contains defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00EndsWith0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00EndsWith0 = string - -// PostStreamsNameForkJSONBodyWhere00EndsWith1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00EndsWith1 = float32 - -// PostStreamsNameForkJSONBodyWhere00EndsWith2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00EndsWith2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_EndsWith defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Eq0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Eq0 = string - -// PostStreamsNameForkJSONBodyWhere00Eq1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Eq1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Eq2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Eq2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Eq defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Gt0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gt0 = string - -// PostStreamsNameForkJSONBodyWhere00Gt1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gt1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Gt2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gt2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Gt defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Gte0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gte0 = string - -// PostStreamsNameForkJSONBodyWhere00Gte1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gte1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Gte2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Gte2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Gte defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Lt0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lt0 = string - -// PostStreamsNameForkJSONBodyWhere00Lt1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lt1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Lt2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lt2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Lt defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Lte0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lte0 = string - -// PostStreamsNameForkJSONBodyWhere00Lte1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lte1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Lte2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Lte2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Lte defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00Neq0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Neq0 = string - -// PostStreamsNameForkJSONBodyWhere00Neq1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Neq1 = float32 - -// PostStreamsNameForkJSONBodyWhere00Neq2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00Neq2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Neq defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00RangeGt0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGt0 = string - -// PostStreamsNameForkJSONBodyWhere00RangeGt1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGt1 = float32 - -// PostStreamsNameForkJSONBodyWhere00RangeGt2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGt2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Range_Gt defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00RangeGte0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGte0 = string - -// PostStreamsNameForkJSONBodyWhere00RangeGte1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGte1 = float32 - -// PostStreamsNameForkJSONBodyWhere00RangeGte2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeGte2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Range_Gte defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00RangeLt0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLt0 = string - -// PostStreamsNameForkJSONBodyWhere00RangeLt1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLt1 = float32 - -// PostStreamsNameForkJSONBodyWhere00RangeLt2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLt2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Range_Lt defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00RangeLte0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLte0 = string - -// PostStreamsNameForkJSONBodyWhere00RangeLte1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLte1 = float32 - -// PostStreamsNameForkJSONBodyWhere00RangeLte2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00RangeLte2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_Range_Lte defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere00StartsWith0 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00StartsWith0 = string - -// PostStreamsNameForkJSONBodyWhere00StartsWith1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00StartsWith1 = float32 - -// PostStreamsNameForkJSONBodyWhere00StartsWith2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere00StartsWith2 = bool - -// PostStreamsNameForkJSONBody_Where_0_0_StartsWith defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameForkJSONBodyWhere01 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameForkJSONBodyWhere1 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameForkJSONBodyWhere2 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameForkJSONBodyWhere3 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameForkJSONBodyWhere4 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameForkJSONBodyWhere5 defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyWhere5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameForkJSONBody_Where defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody_Where struct { - union json.RawMessage -} - -// GetStreamsNameGroupJSONBody defines parameters for GetStreamsNameGroup. -type GetStreamsNameGroupJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameGroupJSONBody0 defines parameters for GetStreamsNameGroup. -type GetStreamsNameGroupJSONBody0 = map[string]interface{} - -// GetStreamsNameGroupJSONBody1 defines parameters for GetStreamsNameGroup. -type GetStreamsNameGroupJSONBody1 = interface{} - -// GetStreamsNameGroupJSONBody2 defines parameters for GetStreamsNameGroup. -type GetStreamsNameGroupJSONBody2 = interface{} - -// PutStreamsNameGroupJSONBody defines parameters for PutStreamsNameGroup. -type PutStreamsNameGroupJSONBody struct { - Group struct { - Members []string `json:"members"` - Metadata map[string]string `json:"metadata"` - Tags []string `json:"tags"` - } `json:"group"` -} - -// GetStreamsNameIngestJSONBody defines parameters for GetStreamsNameIngest. -type GetStreamsNameIngestJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameIngestJSONBody0 defines parameters for GetStreamsNameIngest. -type GetStreamsNameIngestJSONBody0 = map[string]interface{} - -// GetStreamsNameIngestJSONBody1 defines parameters for GetStreamsNameIngest. -type GetStreamsNameIngestJSONBody1 = interface{} - -// GetStreamsNameIngestJSONBody2 defines parameters for GetStreamsNameIngest. -type GetStreamsNameIngestJSONBody2 = interface{} - -// PutStreamsNameIngestJSONBody defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody struct { - Ingest PutStreamsNameIngestJSONBody_Ingest `json:"ingest"` -} - -// PutStreamsNameIngestJSONBodyIngest0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0 struct { - Lifecycle PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - Wired struct { - Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` - Routing []struct { - Destination string `json:"destination"` - Status *PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus `json:"status,omitempty"` - Where PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where `json:"where"` - } `json:"routing"` - } `json:"wired"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps00Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_0_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Action `json:"action"` - AppendSeparator *string `json:"append_separator,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Pattern string `json:"pattern"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps01Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_1_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - Formats []string `json:"formats"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` - OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` - To *string `json:"to,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps02Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_2_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps03Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_3_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Value interface{} `json:"value,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps04Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_4_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps05Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_5_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps06Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps07Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_7_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type `json:"type"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Type string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09 struct { - Action PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Action string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0ProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { - Steps []interface{} `json:"steps"` - } `json:"where"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Processing_Steps_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields00 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredFields01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields01 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredFields02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields02 = bool - -// PutStreamsNameIngestJSONBodyIngest0WiredFields03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields03 = interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields04 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields04 = interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields1 = []PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item - -// PutStreamsNameIngestJSONBodyIngest0WiredFields10 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields10 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredFields11 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields11 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredFields12 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields12 = bool - -// PutStreamsNameIngestJSONBodyIngest0WiredFields13 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields13 = interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields14 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields14 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingWhere5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Routing_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1 struct { - Classic struct { - FieldOverrides *map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties `json:"field_overrides,omitempty"` - } `json:"classic"` - Lifecycle PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 = string - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 = bool - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 = interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides04 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides04 = interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 = []PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 = string - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 = bool - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 = interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides14 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides14 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - PatternDefinitions *map[string]string `json:"pattern_definitions,omitempty"` - Patterns []string `json:"patterns"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps00Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_0_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Action `json:"action"` - AppendSeparator *string `json:"append_separator,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Pattern string `json:"pattern"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps01Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_1_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - Formats []string `json:"formats"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Locale *string `json:"locale,omitempty"` - OutputFormat *string `json:"output_format,omitempty"` - Timezone *string `json:"timezone,omitempty"` - To *string `json:"to,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps02Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_2_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps03Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_3_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action `json:"action"` - CopyFrom *string `json:"copy_from,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - Override *bool `json:"override,omitempty"` - To string `json:"to"` - Value interface{} `json:"value,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps04Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_4_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action `json:"action"` - AllowDuplicates *bool `json:"allow_duplicates,omitempty"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - To string `json:"to"` - Value []interface{} `json:"value"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps05Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_5_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps06Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps07Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_7_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - From string `json:"from"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - IgnoreMissing *bool `json:"ignore_missing,omitempty"` - To *string `json:"to,omitempty"` - Type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type `json:"type"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Type string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps08Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_8_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09 struct { - Action PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action `json:"action"` - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Description *string `json:"description,omitempty"` - IgnoreFailure *bool `json:"ignore_failure,omitempty"` - OnFailure *[]map[string]interface{} `json:"on_failure,omitempty"` - Processors []struct { - Append interface{} `json:"append"` - Attachment interface{} `json:"attachment"` - Bytes interface{} `json:"bytes"` - Circle interface{} `json:"circle"` - CommunityId interface{} `json:"community_id"` - Convert interface{} `json:"convert"` - Csv interface{} `json:"csv"` - Date interface{} `json:"date"` - DateIndexName interface{} `json:"date_index_name"` - Dissect interface{} `json:"dissect"` - DotExpander interface{} `json:"dot_expander"` - Drop interface{} `json:"drop"` - Enrich interface{} `json:"enrich"` - Fail interface{} `json:"fail"` - Fingerprint interface{} `json:"fingerprint"` - Foreach interface{} `json:"foreach"` - GeoGrid interface{} `json:"geo_grid"` - Geoip interface{} `json:"geoip"` - Grok interface{} `json:"grok"` - Gsub interface{} `json:"gsub"` - HtmlStrip interface{} `json:"html_strip"` - Inference interface{} `json:"inference"` - IpLocation interface{} `json:"ip_location"` - Join interface{} `json:"join"` - Json interface{} `json:"json"` - Kv interface{} `json:"kv"` - Lowercase interface{} `json:"lowercase"` - NetworkDirection interface{} `json:"network_direction"` - Pipeline interface{} `json:"pipeline"` - Redact interface{} `json:"redact"` - RegisteredDomain interface{} `json:"registered_domain"` - Remove interface{} `json:"remove"` - Rename interface{} `json:"rename"` - Reroute interface{} `json:"reroute"` - Script interface{} `json:"script"` - Set interface{} `json:"set"` - SetSecurityUser interface{} `json:"set_security_user"` - Sort interface{} `json:"sort"` - Split interface{} `json:"split"` - Terminate interface{} `json:"terminate"` - Trim interface{} `json:"trim"` - Uppercase interface{} `json:"uppercase"` - UriParts interface{} `json:"uri_parts"` - Urldecode interface{} `json:"urldecode"` - UserAgent interface{} `json:"user_agent"` - } `json:"processors"` - Tag *string `json:"tag,omitempty"` - Where *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where `json:"where,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Action string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00 struct { - Contains *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Contains2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00EndsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Eq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Gte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Lte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00Neq2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeGte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLt2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00RangeLte2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith0 = string - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith1 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where00StartsWith2 = bool - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps09Where5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_0_9_Where struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ProcessingSteps1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Where struct { - Steps []interface{} `json:"steps"` - } `json:"where"` -} - -// PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Processing_Steps_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest struct { - union json.RawMessage -} - -// PostStreamsNameContentExportJSONBody defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBody struct { - Description string `json:"description"` - Include PostStreamsNameContentExportJSONBody_Include `json:"include"` - Name string `json:"name"` - Version string `json:"version"` -} - -// PostStreamsNameContentExportJSONBodyInclude0 defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBodyInclude0 struct { - Objects struct { - All map[string]interface{} `json:"all"` - } `json:"objects"` -} - -// PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBodyInclude1 struct { - Objects struct { - Mappings bool `json:"mappings"` - Queries []struct { - Id string `json:"id"` - } `json:"queries"` - Routing []struct { - Destination string `json:"destination"` - } `json:"routing"` - } `json:"objects"` -} - -// PostStreamsNameContentExportJSONBody_Include defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBody_Include struct { - union json.RawMessage -} - -// PostStreamsNameContentImportMultipartBody defines parameters for PostStreamsNameContentImport. -type PostStreamsNameContentImportMultipartBody struct { - Content interface{} `json:"content"` - Include string `json:"include"` -} - -// GetStreamsNameDashboardsJSONBody defines parameters for GetStreamsNameDashboards. -type GetStreamsNameDashboardsJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameDashboardsJSONBody0 defines parameters for GetStreamsNameDashboards. -type GetStreamsNameDashboardsJSONBody0 = map[string]interface{} - -// GetStreamsNameDashboardsJSONBody1 defines parameters for GetStreamsNameDashboards. -type GetStreamsNameDashboardsJSONBody1 = interface{} - -// GetStreamsNameDashboardsJSONBody2 defines parameters for GetStreamsNameDashboards. -type GetStreamsNameDashboardsJSONBody2 = interface{} - -// PostStreamsNameDashboardsBulkJSONBody defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBody struct { - Operations []PostStreamsNameDashboardsBulkJSONBody_Operations_Item `json:"operations"` -} - -// PostStreamsNameDashboardsBulkJSONBodyOperations0 defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBodyOperations0 struct { - Index struct { - Id string `json:"id"` - } `json:"index"` -} - -// PostStreamsNameDashboardsBulkJSONBodyOperations1 defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBodyOperations1 struct { - Delete struct { - Id string `json:"id"` - } `json:"delete"` -} - -// PostStreamsNameDashboardsBulkJSONBody_Operations_Item defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBody_Operations_Item struct { - union json.RawMessage -} - -// DeleteStreamsNameDashboardsDashboardidJSONBody defines parameters for DeleteStreamsNameDashboardsDashboardid. -type DeleteStreamsNameDashboardsDashboardidJSONBody struct { - union json.RawMessage -} - -// DeleteStreamsNameDashboardsDashboardidJSONBody0 defines parameters for DeleteStreamsNameDashboardsDashboardid. -type DeleteStreamsNameDashboardsDashboardidJSONBody0 = map[string]interface{} - -// DeleteStreamsNameDashboardsDashboardidJSONBody1 defines parameters for DeleteStreamsNameDashboardsDashboardid. -type DeleteStreamsNameDashboardsDashboardidJSONBody1 = interface{} - -// DeleteStreamsNameDashboardsDashboardidJSONBody2 defines parameters for DeleteStreamsNameDashboardsDashboardid. -type DeleteStreamsNameDashboardsDashboardidJSONBody2 = interface{} - -// PutStreamsNameDashboardsDashboardidJSONBody defines parameters for PutStreamsNameDashboardsDashboardid. -type PutStreamsNameDashboardsDashboardidJSONBody struct { - union json.RawMessage -} - -// PutStreamsNameDashboardsDashboardidJSONBody0 defines parameters for PutStreamsNameDashboardsDashboardid. -type PutStreamsNameDashboardsDashboardidJSONBody0 = map[string]interface{} - -// PutStreamsNameDashboardsDashboardidJSONBody1 defines parameters for PutStreamsNameDashboardsDashboardid. -type PutStreamsNameDashboardsDashboardidJSONBody1 = interface{} - -// PutStreamsNameDashboardsDashboardidJSONBody2 defines parameters for PutStreamsNameDashboardsDashboardid. -type PutStreamsNameDashboardsDashboardidJSONBody2 = interface{} - -// GetStreamsNameQueriesJSONBody defines parameters for GetStreamsNameQueries. -type GetStreamsNameQueriesJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameQueriesJSONBody0 defines parameters for GetStreamsNameQueries. -type GetStreamsNameQueriesJSONBody0 = map[string]interface{} - -// GetStreamsNameQueriesJSONBody1 defines parameters for GetStreamsNameQueries. -type GetStreamsNameQueriesJSONBody1 = interface{} - -// GetStreamsNameQueriesJSONBody2 defines parameters for GetStreamsNameQueries. -type GetStreamsNameQueriesJSONBody2 = interface{} - -// PostStreamsNameQueriesBulkJSONBody defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody struct { - Operations []PostStreamsNameQueriesBulkJSONBody_Operations_Item `json:"operations"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { - Index struct { - Feature *struct { - Filter PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"index"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter0 struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00 struct { - Contains *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Contains2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00EndsWith2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Eq2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Gte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Lte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00Neq2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeGte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLt2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00RangeLte2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith0 = string - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter00StartsWith2 = bool - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0IndexFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_0_Index_Feature_Filter struct { - union json.RawMessage -} - -// PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { - Delete struct { - Id string `json:"id"` - } `json:"delete"` -} - -// PostStreamsNameQueriesBulkJSONBody_Operations_Item defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_Item struct { - union json.RawMessage -} - -// DeleteStreamsNameQueriesQueryidJSONBody defines parameters for DeleteStreamsNameQueriesQueryid. -type DeleteStreamsNameQueriesQueryidJSONBody struct { - union json.RawMessage -} - -// DeleteStreamsNameQueriesQueryidJSONBody0 defines parameters for DeleteStreamsNameQueriesQueryid. -type DeleteStreamsNameQueriesQueryidJSONBody0 = map[string]interface{} - -// DeleteStreamsNameQueriesQueryidJSONBody1 defines parameters for DeleteStreamsNameQueriesQueryid. -type DeleteStreamsNameQueriesQueryidJSONBody1 = interface{} - -// DeleteStreamsNameQueriesQueryidJSONBody2 defines parameters for DeleteStreamsNameQueriesQueryid. -type DeleteStreamsNameQueriesQueryidJSONBody2 = interface{} - -// PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody struct { - Feature *struct { - Filter PutStreamsNameQueriesQueryidJSONBody_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter0 struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00 struct { - Contains *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Contains2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00EndsWith2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Eq2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Gte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Lte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00Neq2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeGte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLt2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00RangeLte2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith0 = string - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith1 = float32 - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter00StartsWith2 = bool - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBodyFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PutStreamsNameQueriesQueryidJSONBody_Feature_Filter defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody_Feature_Filter struct { - union json.RawMessage -} - -// GetStreamsNameRulesJSONBody defines parameters for GetStreamsNameRules. -type GetStreamsNameRulesJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameRulesJSONBody0 defines parameters for GetStreamsNameRules. -type GetStreamsNameRulesJSONBody0 = map[string]interface{} - -// GetStreamsNameRulesJSONBody1 defines parameters for GetStreamsNameRules. -type GetStreamsNameRulesJSONBody1 = interface{} - -// GetStreamsNameRulesJSONBody2 defines parameters for GetStreamsNameRules. -type GetStreamsNameRulesJSONBody2 = interface{} - -// DeleteStreamsNameRulesRuleidJSONBody defines parameters for DeleteStreamsNameRulesRuleid. -type DeleteStreamsNameRulesRuleidJSONBody struct { - union json.RawMessage -} - -// DeleteStreamsNameRulesRuleidJSONBody0 defines parameters for DeleteStreamsNameRulesRuleid. -type DeleteStreamsNameRulesRuleidJSONBody0 = map[string]interface{} - -// DeleteStreamsNameRulesRuleidJSONBody1 defines parameters for DeleteStreamsNameRulesRuleid. -type DeleteStreamsNameRulesRuleidJSONBody1 = interface{} - -// DeleteStreamsNameRulesRuleidJSONBody2 defines parameters for DeleteStreamsNameRulesRuleid. -type DeleteStreamsNameRulesRuleidJSONBody2 = interface{} - -// PutStreamsNameRulesRuleidJSONBody defines parameters for PutStreamsNameRulesRuleid. -type PutStreamsNameRulesRuleidJSONBody struct { - union json.RawMessage -} - -// PutStreamsNameRulesRuleidJSONBody0 defines parameters for PutStreamsNameRulesRuleid. -type PutStreamsNameRulesRuleidJSONBody0 = map[string]interface{} - -// PutStreamsNameRulesRuleidJSONBody1 defines parameters for PutStreamsNameRulesRuleid. -type PutStreamsNameRulesRuleidJSONBody1 = interface{} - -// PutStreamsNameRulesRuleidJSONBody2 defines parameters for PutStreamsNameRulesRuleid. -type PutStreamsNameRulesRuleidJSONBody2 = interface{} - -// GetStreamsNameSignificantEventsJSONBody defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsJSONBody struct { - union json.RawMessage -} - -// GetStreamsNameSignificantEventsParams defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsParams struct { - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` - BucketSize string `form:"bucketSize" json:"bucketSize"` -} - -// GetStreamsNameSignificantEventsJSONBody0 defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsJSONBody0 = map[string]interface{} - -// GetStreamsNameSignificantEventsJSONBody1 defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsJSONBody1 = interface{} - -// GetStreamsNameSignificantEventsJSONBody2 defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsJSONBody2 = interface{} - -// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody struct { - Feature *struct { - Description string `json:"description"` - Filter PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` -} - -// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateParams struct { - ConnectorId string `form:"connectorId" json:"connectorId"` - CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter0 struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00 struct { - Contains *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Contains2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00EndsWith2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Eq2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Gte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Lte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00Neq2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeGte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLt2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00RangeLte2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith0 = string - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter00StartsWith2 = bool - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBodyFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody_Feature_Filter struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody struct { - Query struct { - Feature *struct { - Filter PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - } `json:"query"` -} - -// PostStreamsNameSignificantEventsPreviewParams defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewParams struct { - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` - BucketSize string `form:"bucketSize" json:"bucketSize"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter0 struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00 struct { - Contains *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains `json:"contains,omitempty"` - EndsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith `json:"endsWith,omitempty"` - Eq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq `json:"eq,omitempty"` - Field string `json:"field"` - Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte `json:"lte,omitempty"` - Neq *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt `json:"gt,omitempty"` - Gte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte `json:"gte,omitempty"` - Lt *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt `json:"lt,omitempty"` - Lte *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith `json:"startsWith,omitempty"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Contains2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Contains struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00EndsWith2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_EndsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Eq2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Eq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Gte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Lte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00Neq2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Neq struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeGte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Gte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLt2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lt struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00RangeLte2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_Range_Lte struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith0 = string - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith1 = float32 - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter00StartsWith2 = bool - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter_0_0_StartsWith struct { - union json.RawMessage -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter01 struct { - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter1 struct { - And []interface{} `json:"and"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter2 struct { - Or []interface{} `json:"or"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter3 struct { - Not interface{} `json:"not"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter4 struct { - Never map[string]interface{} `json:"never"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBodyQueryFeatureFilter5 struct { - Always map[string]interface{} `json:"always"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody_Query_Feature_Filter struct { - union json.RawMessage -} - -// GetSyntheticMonitorsParams defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParams struct { - // Filter Additional filtering criteria. - Filter *string `form:"filter,omitempty" json:"filter,omitempty"` - - // Locations The locations to filter by. - Locations *struct { - union json.RawMessage - } `form:"locations,omitempty" json:"locations,omitempty"` - - // MonitorTypes The monitor types to filter. - MonitorTypes *struct { - union json.RawMessage - } `form:"monitorTypes,omitempty" json:"monitorTypes,omitempty"` - - // Page The page number for paginated results. - Page *int `form:"page,omitempty" json:"page,omitempty"` - - // PerPage The number of items to return per page. - PerPage *int `form:"per_page,omitempty" json:"per_page,omitempty"` - - // Projects The projects to filter by. - Projects *struct { - union json.RawMessage - } `form:"projects,omitempty" json:"projects,omitempty"` - - // Query A free-text query string. - Query *string `form:"query,omitempty" json:"query,omitempty"` - - // Schedules The schedules to filter by. - Schedules *struct { - union json.RawMessage - } `form:"schedules,omitempty" json:"schedules,omitempty"` - - // SortField The field to sort the results by. - SortField *GetSyntheticMonitorsParamsSortField `form:"sortField,omitempty" json:"sortField,omitempty"` - - // SortOrder The sort order. - SortOrder *GetSyntheticMonitorsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"` - - // Status The status to filter by. - Status *struct { - union json.RawMessage - } `form:"status,omitempty" json:"status,omitempty"` - - // Tags Tags to filter monitors. - Tags *struct { - union json.RawMessage - } `form:"tags,omitempty" json:"tags,omitempty"` - - // UseLogicalAndFor Specifies whether to apply logical AND filtering for specific fields. Accepts either a string with values "tags" or "locations" or an array containing both. - UseLogicalAndFor *[]GetSyntheticMonitorsParamsUseLogicalAndFor `form:"useLogicalAndFor,omitempty" json:"useLogicalAndFor,omitempty"` -} - -// GetSyntheticMonitorsParamsLocations0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsLocations0 = string - -// GetSyntheticMonitorsParamsLocations1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsLocations1 = []interface{} - -// GetSyntheticMonitorsParamsMonitorTypes0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsMonitorTypes0 string - -// GetSyntheticMonitorsParamsMonitorTypes1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsMonitorTypes1 = []interface{} - -// GetSyntheticMonitorsParamsProjects0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsProjects0 = string - -// GetSyntheticMonitorsParamsProjects1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsProjects1 = []interface{} - -// GetSyntheticMonitorsParamsSchedules0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsSchedules0 = []interface{} - -// GetSyntheticMonitorsParamsSchedules1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsSchedules1 = string - -// GetSyntheticMonitorsParamsSortField defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsSortField string - -// GetSyntheticMonitorsParamsSortOrder defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsSortOrder string - -// GetSyntheticMonitorsParamsStatus0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsStatus0 = []interface{} - -// GetSyntheticMonitorsParamsStatus1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsStatus1 = string - -// GetSyntheticMonitorsParamsTags0 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsTags0 = string - -// GetSyntheticMonitorsParamsTags1 defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsTags1 = []interface{} - -// GetSyntheticMonitorsParamsUseLogicalAndFor defines parameters for GetSyntheticMonitors. -type GetSyntheticMonitorsParamsUseLogicalAndFor string - -// PostSyntheticMonitorsJSONBody defines parameters for PostSyntheticMonitors. -type PostSyntheticMonitorsJSONBody struct { - union json.RawMessage -} - -// DeleteSyntheticMonitorsJSONBody defines parameters for DeleteSyntheticMonitors. -type DeleteSyntheticMonitorsJSONBody struct { - // Ids An array of monitor IDs to delete. - Ids []string `json:"ids"` -} - -// PutSyntheticMonitorJSONBody defines parameters for PutSyntheticMonitor. -type PutSyntheticMonitorJSONBody struct { - union json.RawMessage -} - -// PostParametersJSONBody defines parameters for PostParameters. -type PostParametersJSONBody struct { - union json.RawMessage -} - -// PostParametersJSONBody0 defines parameters for PostParameters. -type PostParametersJSONBody0 = []SyntheticsParameterRequest - -// DeleteParametersJSONBody defines parameters for DeleteParameters. -type DeleteParametersJSONBody struct { - // Ids An array of parameter IDs to delete. - Ids *[]string `json:"ids,omitempty"` -} - -// PutParameterJSONBody defines parameters for PutParameter. -type PutParameterJSONBody struct { - // Description The updated description of the parameter. - Description *string `json:"description,omitempty"` - - // Key The key of the parameter. - Key *string `json:"key,omitempty"` - - // Tags An array of updated tags to categorize the parameter. - Tags *[]string `json:"tags,omitempty"` - - // Value The updated value associated with the parameter. - Value *string `json:"value,omitempty"` -} - -// PostPrivateLocationJSONBody defines parameters for PostPrivateLocation. -type PostPrivateLocationJSONBody struct { - // AgentPolicyId The ID of the agent policy associated with the private location. - AgentPolicyId string `json:"agentPolicyId"` - - // Geo Geographic coordinates (WGS84) for the location. - Geo *struct { - // Lat The latitude of the location. - Lat float32 `json:"lat"` - - // Lon The longitude of the location. - Lon float32 `json:"lon"` - } `json:"geo,omitempty"` - - // Label A label for the private location. - Label string `json:"label"` - - // Spaces An array of space IDs where the private location is available. If it is not provided, the private location is available in all spaces. - Spaces *[]string `json:"spaces,omitempty"` - - // Tags An array of tags to categorize the private location. - Tags *[]string `json:"tags,omitempty"` -} - -// PutPrivateLocationJSONBody defines parameters for PutPrivateLocation. -type PutPrivateLocationJSONBody struct { - // Label A new label for the private location. Must be at least 1 character long. - Label string `json:"label"` -} - -// DeleteTimelinesJSONBody defines parameters for DeleteTimelines. -type DeleteTimelinesJSONBody struct { - // SavedObjectIds The list of IDs of the Timelines or Timeline templates to delete - SavedObjectIds []string `json:"savedObjectIds"` - - // SearchIds Saved search IDs that should be deleted alongside the timelines - SearchIds *[]string `json:"searchIds,omitempty"` -} - -// GetTimelineParams defines parameters for GetTimeline. -type GetTimelineParams struct { - // TemplateTimelineId The `savedObjectId` of the template timeline to retrieve - TemplateTimelineId *string `form:"template_timeline_id,omitempty" json:"template_timeline_id,omitempty"` - - // Id The `savedObjectId` of the Timeline to retrieve. - Id *string `form:"id,omitempty" json:"id,omitempty"` -} - -// PatchTimelineJSONBody defines parameters for PatchTimeline. -type PatchTimelineJSONBody struct { - Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` - - // TimelineId The `savedObjectId` of the Timeline or Timeline template that you’re updating. - TimelineId *string `json:"timelineId,omitempty"` - - // Version The version of the Timeline or Timeline template that you’re updating. - Version *string `json:"version,omitempty"` -} - -// CreateTimelinesJSONBody defines parameters for CreateTimelines. -type CreateTimelinesJSONBody struct { - // Status The status of the Timeline. - Status *SecurityTimelineAPITimelineStatus `json:"status,omitempty"` - - // TemplateTimelineId A unique identifier for the Timeline template. - TemplateTimelineId *string `json:"templateTimelineId,omitempty"` - - // TemplateTimelineVersion Timeline template version number. - TemplateTimelineVersion *float32 `json:"templateTimelineVersion,omitempty"` - Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` - - // TimelineId A unique identifier for the Timeline. - TimelineId *string `json:"timelineId,omitempty"` - - // TimelineType The type of Timeline. - TimelineType *SecurityTimelineAPITimelineType `json:"timelineType,omitempty"` - Version *string `json:"version,omitempty"` -} - -// CopyTimelineJSONBody defines parameters for CopyTimeline. -type CopyTimelineJSONBody struct { - Timeline SecurityTimelineAPISavedTimeline `json:"timeline"` - TimelineIdToCopy string `json:"timelineIdToCopy"` -} - -// GetDraftTimelinesParams defines parameters for GetDraftTimelines. -type GetDraftTimelinesParams struct { - TimelineType SecurityTimelineAPITimelineType `form:"timelineType" json:"timelineType"` -} - -// CleanDraftTimelinesJSONBody defines parameters for CleanDraftTimelines. -type CleanDraftTimelinesJSONBody struct { - // TimelineType The type of Timeline. - TimelineType SecurityTimelineAPITimelineType `json:"timelineType"` -} - -// ExportTimelinesJSONBody defines parameters for ExportTimelines. -type ExportTimelinesJSONBody struct { - Ids *[]string `json:"ids,omitempty"` -} - -// ExportTimelinesParams defines parameters for ExportTimelines. -type ExportTimelinesParams struct { - // FileName The name of the file to export - FileName string `form:"file_name" json:"file_name"` -} - -// PersistFavoriteRouteJSONBody defines parameters for PersistFavoriteRoute. -type PersistFavoriteRouteJSONBody struct { - TemplateTimelineId *string `json:"templateTimelineId,omitempty"` - TemplateTimelineVersion *float32 `json:"templateTimelineVersion,omitempty"` - TimelineId *string `json:"timelineId,omitempty"` - - // TimelineType The type of Timeline. - TimelineType SecurityTimelineAPITimelineType `json:"timelineType"` -} - -// ImportTimelinesJSONBody defines parameters for ImportTimelines. -type ImportTimelinesJSONBody struct { - File interface{} `json:"file"` - - // IsImmutable Whether the Timeline should be immutable - IsImmutable *ImportTimelinesJSONBodyIsImmutable `json:"isImmutable,omitempty"` -} - -// ImportTimelinesJSONBodyIsImmutable defines parameters for ImportTimelines. -type ImportTimelinesJSONBodyIsImmutable string - -// InstallPrepackedTimelinesJSONBody defines parameters for InstallPrepackedTimelines. -type InstallPrepackedTimelinesJSONBody struct { - PrepackagedTimelines []SecurityTimelineAPITimelineSavedToReturnObject `json:"prepackagedTimelines"` - TimelinesToInstall []SecurityTimelineAPIImportTimelines `json:"timelinesToInstall"` - TimelinesToUpdate []SecurityTimelineAPIImportTimelines `json:"timelinesToUpdate"` -} - -// ResolveTimelineParams defines parameters for ResolveTimeline. -type ResolveTimelineParams struct { - // TemplateTimelineId The ID of the template timeline to resolve - TemplateTimelineId *string `form:"template_timeline_id,omitempty" json:"template_timeline_id,omitempty"` - - // Id The ID of the timeline to resolve - Id *string `form:"id,omitempty" json:"id,omitempty"` -} - -// GetTimelinesParams defines parameters for GetTimelines. -type GetTimelinesParams struct { - // OnlyUserFavorite If true, only timelines that are marked as favorites by the user are returned. - OnlyUserFavorite *GetTimelinesParamsOnlyUserFavorite `form:"only_user_favorite,omitempty" json:"only_user_favorite,omitempty"` - TimelineType *SecurityTimelineAPITimelineType `form:"timeline_type,omitempty" json:"timeline_type,omitempty"` - SortField *SecurityTimelineAPISortFieldTimeline `form:"sort_field,omitempty" json:"sort_field,omitempty"` - - // SortOrder Whether to sort the results `ascending` or `descending` - SortOrder *GetTimelinesParamsSortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"` - - // PageSize How many results should returned at once - PageSize *string `form:"page_size,omitempty" json:"page_size,omitempty"` - - // PageIndex How many pages should be skipped - PageIndex *string `form:"page_index,omitempty" json:"page_index,omitempty"` - - // Search Allows to search for timelines by their title - Search *string `form:"search,omitempty" json:"search,omitempty"` - Status *SecurityTimelineAPITimelineStatus `form:"status,omitempty" json:"status,omitempty"` -} - -// GetTimelinesParamsOnlyUserFavorite defines parameters for GetTimelines. -type GetTimelinesParamsOnlyUserFavorite string - -// GetTimelinesParamsSortOrder defines parameters for GetTimelines. -type GetTimelinesParamsSortOrder string - -// PutUptimeSettingsJSONBody defines parameters for PutUptimeSettings. -type PutUptimeSettingsJSONBody struct { - // CertAgeThreshold The number of days after a certificate is created to trigger an alert. - CertAgeThreshold *float32 `json:"certAgeThreshold,omitempty"` - - // CertExpirationThreshold The number of days before a certificate expires to trigger an alert. - CertExpirationThreshold *float32 `json:"certExpirationThreshold,omitempty"` - - // DefaultConnectors A list of connector IDs to be used as default connectors for new alerts. - DefaultConnectors *[]interface{} `json:"defaultConnectors,omitempty"` - - // DefaultEmail The default email configuration for new alerts. - DefaultEmail *struct { - Bcc *[]string `json:"bcc,omitempty"` - Cc *[]string `json:"cc,omitempty"` - To *[]string `json:"to,omitempty"` - } `json:"defaultEmail,omitempty"` - - // HeartbeatIndices An index pattern string to be used within the Uptime app and alerts to query Heartbeat data. - HeartbeatIndices *string `json:"heartbeatIndices,omitempty"` -} - -// PostActionsConnectorIdJSONBody defines parameters for PostActionsConnectorId. -type PostActionsConnectorIdJSONBody struct { - // Config The connector configuration details. - Config *CreateConnectorConfig `json:"config,omitempty"` - - // ConnectorTypeId The type of connector. - ConnectorTypeId string `json:"connector_type_id"` - - // Name The display name for the connector. - Name string `json:"name"` - Secrets *CreateConnectorSecrets `json:"secrets,omitempty"` -} - -// PutActionsConnectorIdJSONBody defines parameters for PutActionsConnectorId. -type PutActionsConnectorIdJSONBody struct { - // Config The connector configuration details. - Config *UpdateConnectorConfig `json:"config,omitempty"` - - // Name The display name for the connector. - Name string `json:"name"` - Secrets *UpdateConnectorSecrets `json:"secrets,omitempty"` -} - -// PostMaintenanceWindowJSONBody defines parameters for PostMaintenanceWindow. -type PostMaintenanceWindowJSONBody struct { - // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - Enabled *bool `json:"enabled,omitempty"` - Schedule struct { - Custom struct { - // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. - Duration string `json:"duration"` - Recurring *struct { - // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. - End *string `json:"end,omitempty"` - - // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. - Every *string `json:"every,omitempty"` - - // Occurrences The total number of recurrences of the schedule. - Occurrences *float32 `json:"occurrences,omitempty"` - - // OnMonth The specific months for a recurring schedule. Valid values are 1-12. - OnMonth *[]float32 `json:"onMonth,omitempty"` - - // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. - OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` - - // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - OnWeekDay *[]string `json:"onWeekDay,omitempty"` - } `json:"recurring,omitempty"` - - // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. - Start string `json:"start"` - - // Timezone The timezone of the schedule. The default timezone is UTC. - Timezone *string `json:"timezone,omitempty"` - } `json:"custom"` - } `json:"schedule"` - Scope *struct { - Alerting struct { - Query struct { - // Kql A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. - Kql string `json:"kql"` - } `json:"query"` - } `json:"alerting"` - } `json:"scope,omitempty"` - - // Title The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. - Title string `json:"title"` -} - -// PatchMaintenanceWindowIdJSONBody defines parameters for PatchMaintenanceWindowId. -type PatchMaintenanceWindowIdJSONBody struct { - // Enabled Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - Enabled *bool `json:"enabled,omitempty"` - Schedule *struct { - Custom struct { - // Duration The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`. - Duration string `json:"duration"` - Recurring *struct { - // End The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`. - End *string `json:"end,omitempty"` - - // Every The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`. - Every *string `json:"every,omitempty"` - - // Occurrences The total number of recurrences of the schedule. - Occurrences *float32 `json:"occurrences,omitempty"` - - // OnMonth The specific months for a recurring schedule. Valid values are 1-12. - OnMonth *[]float32 `json:"onMonth,omitempty"` - - // OnMonthDay The specific days of the month for a recurring schedule. Valid values are 1-31. - OnMonthDay *[]float32 `json:"onMonthDay,omitempty"` - - // OnWeekDay The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - OnWeekDay *[]string `json:"onWeekDay,omitempty"` - } `json:"recurring,omitempty"` - - // Start The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`. - Start string `json:"start"` - - // Timezone The timezone of the schedule. The default timezone is UTC. - Timezone *string `json:"timezone,omitempty"` - } `json:"custom"` - } `json:"schedule,omitempty"` - Scope *struct { - Alerting struct { - Query struct { - // Kql A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. - Kql string `json:"kql"` - } `json:"query"` - } `json:"alerting"` - } `json:"scope,omitempty"` - - // Title The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. - Title *string `json:"title,omitempty"` -} - -// FindSlosOpParams defines parameters for FindSlosOp. -type FindSlosOpParams struct { - // KqlQuery A valid kql query to filter the SLO with - KqlQuery *string `form:"kqlQuery,omitempty" json:"kqlQuery,omitempty"` - - // Size The page size to use for cursor-based pagination, must be greater or equal than 1 - Size *int `form:"size,omitempty" json:"size,omitempty"` - - // SearchAfter The cursor to use for fetching the results from, when using a cursor-base pagination. - SearchAfter *[]string `form:"searchAfter,omitempty" json:"searchAfter,omitempty"` - - // Page The page to use for pagination, must be greater or equal than 1 - Page *int `form:"page,omitempty" json:"page,omitempty"` - - // PerPage Number of SLOs returned by page - PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"` - - // SortBy Sort by field - SortBy *FindSlosOpParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"` - - // SortDirection Sort order - SortDirection *FindSlosOpParamsSortDirection `form:"sortDirection,omitempty" json:"sortDirection,omitempty"` - - // HideStale Hide stale SLOs from the list as defined by stale SLO threshold in SLO settings - HideStale *bool `form:"hideStale,omitempty" json:"hideStale,omitempty"` -} - -// FindSlosOpParamsSortBy defines parameters for FindSlosOp. -type FindSlosOpParamsSortBy string - -// FindSlosOpParamsSortDirection defines parameters for FindSlosOp. -type FindSlosOpParamsSortDirection string - -// GetSloOpParams defines parameters for GetSloOp. -type GetSloOpParams struct { - // InstanceId the specific instanceId used by the summary calculation - InstanceId *string `form:"instanceId,omitempty" json:"instanceId,omitempty"` -} - -// GetDefinitionsOpParams defines parameters for GetDefinitionsOp. -type GetDefinitionsOpParams struct { - // IncludeOutdatedOnly Indicates if the API returns only outdated SLO or all SLO definitions - IncludeOutdatedOnly *bool `form:"includeOutdatedOnly,omitempty" json:"includeOutdatedOnly,omitempty"` - - // IncludeHealth Indicates if the API returns SLO health data with definitions - IncludeHealth *bool `form:"includeHealth,omitempty" json:"includeHealth,omitempty"` - - // Tags Filters the SLOs by tag - Tags *string `form:"tags,omitempty" json:"tags,omitempty"` - - // Search Filters the SLOs by name - Search *string `form:"search,omitempty" json:"search,omitempty"` - - // Page The page to use for pagination, must be greater or equal than 1 - Page *float32 `form:"page,omitempty" json:"page,omitempty"` - - // PerPage Number of SLOs returned by page - PerPage *int `form:"perPage,omitempty" json:"perPage,omitempty"` -} - -// PostActionsConnectorIdExecuteJSONRequestBody defines body for PostActionsConnectorIdExecute for application/json ContentType. -type PostActionsConnectorIdExecuteJSONRequestBody PostActionsConnectorIdExecuteJSONBody - -// PostAgentBuilderA2aAgentidJSONRequestBody defines body for PostAgentBuilderA2aAgentid for application/json ContentType. -type PostAgentBuilderA2aAgentidJSONRequestBody = PostAgentBuilderA2aAgentidJSONBody - -// PostAgentBuilderAgentsJSONRequestBody defines body for PostAgentBuilderAgents for application/json ContentType. -type PostAgentBuilderAgentsJSONRequestBody PostAgentBuilderAgentsJSONBody - -// PutAgentBuilderAgentsIdJSONRequestBody defines body for PutAgentBuilderAgentsId for application/json ContentType. -type PutAgentBuilderAgentsIdJSONRequestBody PutAgentBuilderAgentsIdJSONBody - -// PostAgentBuilderConverseJSONRequestBody defines body for PostAgentBuilderConverse for application/json ContentType. -type PostAgentBuilderConverseJSONRequestBody PostAgentBuilderConverseJSONBody - -// PostAgentBuilderConverseAsyncJSONRequestBody defines body for PostAgentBuilderConverseAsync for application/json ContentType. -type PostAgentBuilderConverseAsyncJSONRequestBody PostAgentBuilderConverseAsyncJSONBody - -// PostAgentBuilderMcpJSONRequestBody defines body for PostAgentBuilderMcp for application/json ContentType. -type PostAgentBuilderMcpJSONRequestBody = PostAgentBuilderMcpJSONBody - -// PostAgentBuilderToolsJSONRequestBody defines body for PostAgentBuilderTools for application/json ContentType. -type PostAgentBuilderToolsJSONRequestBody PostAgentBuilderToolsJSONBody - -// PostAgentBuilderToolsExecuteJSONRequestBody defines body for PostAgentBuilderToolsExecute for application/json ContentType. -type PostAgentBuilderToolsExecuteJSONRequestBody PostAgentBuilderToolsExecuteJSONBody - -// PutAgentBuilderToolsToolidJSONRequestBody defines body for PutAgentBuilderToolsToolid for application/json ContentType. -type PutAgentBuilderToolsToolidJSONRequestBody PutAgentBuilderToolsToolidJSONBody - -// PostAlertingRuleIdJSONRequestBody defines body for PostAlertingRuleId for application/json ContentType. -type PostAlertingRuleIdJSONRequestBody PostAlertingRuleIdJSONBody - -// PutAlertingRuleIdJSONRequestBody defines body for PutAlertingRuleId for application/json ContentType. -type PutAlertingRuleIdJSONRequestBody PutAlertingRuleIdJSONBody - -// PostAlertingRuleIdDisableJSONRequestBody defines body for PostAlertingRuleIdDisable for application/json ContentType. -type PostAlertingRuleIdDisableJSONRequestBody PostAlertingRuleIdDisableJSONBody - -// PostAlertingRuleIdSnoozeScheduleJSONRequestBody defines body for PostAlertingRuleIdSnoozeSchedule for application/json ContentType. -type PostAlertingRuleIdSnoozeScheduleJSONRequestBody PostAlertingRuleIdSnoozeScheduleJSONBody - -// CreateAgentKeyJSONRequestBody defines body for CreateAgentKey for application/json ContentType. -type CreateAgentKeyJSONRequestBody = APMUIAgentKeysObject - -// SaveApmServerSchemaJSONRequestBody defines body for SaveApmServerSchema for application/json ContentType. -type SaveApmServerSchemaJSONRequestBody SaveApmServerSchemaJSONBody - -// CreateAnnotationJSONRequestBody defines body for CreateAnnotation for application/json ContentType. -type CreateAnnotationJSONRequestBody = APMUICreateAnnotationObject - -// DeleteAgentConfigurationJSONRequestBody defines body for DeleteAgentConfiguration for application/json ContentType. -type DeleteAgentConfigurationJSONRequestBody = APMUIDeleteServiceObject - -// CreateUpdateAgentConfigurationJSONRequestBody defines body for CreateUpdateAgentConfiguration for application/json ContentType. -type CreateUpdateAgentConfigurationJSONRequestBody = APMUIAgentConfigurationIntakeObject - -// SearchSingleConfigurationJSONRequestBody defines body for SearchSingleConfiguration for application/json ContentType. -type SearchSingleConfigurationJSONRequestBody = APMUISearchAgentConfigurationObject - -// UploadSourceMapMultipartRequestBody defines body for UploadSourceMap for multipart/form-data ContentType. -type UploadSourceMapMultipartRequestBody = APMUIUploadSourceMapObject - -// CreateAssetCriticalityRecordJSONRequestBody defines body for CreateAssetCriticalityRecord for application/json ContentType. -type CreateAssetCriticalityRecordJSONRequestBody CreateAssetCriticalityRecordJSONBody - -// BulkUpsertAssetCriticalityRecordsJSONRequestBody defines body for BulkUpsertAssetCriticalityRecords for application/json ContentType. -type BulkUpsertAssetCriticalityRecordsJSONRequestBody BulkUpsertAssetCriticalityRecordsJSONBody - -// PostAttackDiscoveryBulkJSONRequestBody defines body for PostAttackDiscoveryBulk for application/json ContentType. -type PostAttackDiscoveryBulkJSONRequestBody PostAttackDiscoveryBulkJSONBody - -// PostAttackDiscoveryGenerateJSONRequestBody defines body for PostAttackDiscoveryGenerate for application/json ContentType. -type PostAttackDiscoveryGenerateJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryGenerationConfig - -// CreateAttackDiscoverySchedulesJSONRequestBody defines body for CreateAttackDiscoverySchedules for application/json ContentType. -type CreateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleCreateProps - -// UpdateAttackDiscoverySchedulesJSONRequestBody defines body for UpdateAttackDiscoverySchedules for application/json ContentType. -type UpdateAttackDiscoverySchedulesJSONRequestBody = SecurityAttackDiscoveryAPIAttackDiscoveryApiScheduleUpdateProps - -// UpdateCaseDefaultSpaceJSONRequestBody defines body for UpdateCaseDefaultSpace for application/json ContentType. -type UpdateCaseDefaultSpaceJSONRequestBody = CasesUpdateCaseRequest - -// CreateCaseDefaultSpaceJSONRequestBody defines body for CreateCaseDefaultSpace for application/json ContentType. -type CreateCaseDefaultSpaceJSONRequestBody = CasesCreateCaseRequest - -// SetCaseConfigurationDefaultSpaceJSONRequestBody defines body for SetCaseConfigurationDefaultSpace for application/json ContentType. -type SetCaseConfigurationDefaultSpaceJSONRequestBody = CasesSetCaseConfigurationRequest - -// UpdateCaseConfigurationDefaultSpaceJSONRequestBody defines body for UpdateCaseConfigurationDefaultSpace for application/json ContentType. -type UpdateCaseConfigurationDefaultSpaceJSONRequestBody = CasesUpdateCaseConfigurationRequest - -// UpdateCaseCommentDefaultSpaceJSONRequestBody defines body for UpdateCaseCommentDefaultSpace for application/json ContentType. -type UpdateCaseCommentDefaultSpaceJSONRequestBody = CasesUpdateCaseCommentRequest - -// AddCaseCommentDefaultSpaceJSONRequestBody defines body for AddCaseCommentDefaultSpace for application/json ContentType. -type AddCaseCommentDefaultSpaceJSONRequestBody = CasesAddCaseCommentRequest - -// PushCaseDefaultSpaceJSONRequestBody defines body for PushCaseDefaultSpace for application/json ContentType. -type PushCaseDefaultSpaceJSONRequestBody = PushCaseDefaultSpaceJSONBody - -// AddCaseFileDefaultSpaceMultipartRequestBody defines body for AddCaseFileDefaultSpace for multipart/form-data ContentType. -type AddCaseFileDefaultSpaceMultipartRequestBody = CasesAddCaseFileRequest - -// UpdateFieldsMetadataDefaultJSONRequestBody defines body for UpdateFieldsMetadataDefault for application/json ContentType. -type UpdateFieldsMetadataDefaultJSONRequestBody UpdateFieldsMetadataDefaultJSONBody - -// CreateRuntimeFieldDefaultJSONRequestBody defines body for CreateRuntimeFieldDefault for application/json ContentType. -type CreateRuntimeFieldDefaultJSONRequestBody CreateRuntimeFieldDefaultJSONBody - -// CreateUpdateRuntimeFieldDefaultJSONRequestBody defines body for CreateUpdateRuntimeFieldDefault for application/json ContentType. -type CreateUpdateRuntimeFieldDefaultJSONRequestBody CreateUpdateRuntimeFieldDefaultJSONBody - -// UpdateRuntimeFieldDefaultJSONRequestBody defines body for UpdateRuntimeFieldDefault for application/json ContentType. -type UpdateRuntimeFieldDefaultJSONRequestBody UpdateRuntimeFieldDefaultJSONBody - -// SetDefaultDatailViewDefaultJSONRequestBody defines body for SetDefaultDatailViewDefault for application/json ContentType. -type SetDefaultDatailViewDefaultJSONRequestBody SetDefaultDatailViewDefaultJSONBody - -// SwapDataViewsDefaultJSONRequestBody defines body for SwapDataViewsDefault for application/json ContentType. -type SwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject - -// PreviewSwapDataViewsDefaultJSONRequestBody defines body for PreviewSwapDataViewsDefault for application/json ContentType. -type PreviewSwapDataViewsDefaultJSONRequestBody = DataViewsSwapDataViewRequestObject - -// PatchRuleJSONRequestBody defines body for PatchRule for application/json ContentType. -type PatchRuleJSONRequestBody = SecurityDetectionsAPIRulePatchProps - -// CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType. -type CreateRuleJSONRequestBody = SecurityDetectionsAPIRuleCreateProps - -// UpdateRuleJSONRequestBody defines body for UpdateRule for application/json ContentType. -type UpdateRuleJSONRequestBody = SecurityDetectionsAPIRuleUpdateProps - -// PerformRulesBulkActionJSONRequestBody defines body for PerformRulesBulkAction for application/json ContentType. -type PerformRulesBulkActionJSONRequestBody PerformRulesBulkActionJSONBody - -// ExportRulesJSONRequestBody defines body for ExportRules for application/json ContentType. -type ExportRulesJSONRequestBody ExportRulesJSONBody - -// ImportRulesMultipartRequestBody defines body for ImportRules for multipart/form-data ContentType. -type ImportRulesMultipartRequestBody ImportRulesMultipartBody - -// RulePreviewJSONRequestBody defines body for RulePreview for application/json ContentType. -type RulePreviewJSONRequestBody RulePreviewJSONBody - -// CreateRuleExceptionListItemsJSONRequestBody defines body for CreateRuleExceptionListItems for application/json ContentType. -type CreateRuleExceptionListItemsJSONRequestBody CreateRuleExceptionListItemsJSONBody - -// SetAlertAssigneesJSONRequestBody defines body for SetAlertAssignees for application/json ContentType. -type SetAlertAssigneesJSONRequestBody SetAlertAssigneesJSONBody - -// FinalizeAlertsMigrationJSONRequestBody defines body for FinalizeAlertsMigration for application/json ContentType. -type FinalizeAlertsMigrationJSONRequestBody FinalizeAlertsMigrationJSONBody - -// AlertsMigrationCleanupJSONRequestBody defines body for AlertsMigrationCleanup for application/json ContentType. -type AlertsMigrationCleanupJSONRequestBody AlertsMigrationCleanupJSONBody - -// CreateAlertsMigrationJSONRequestBody defines body for CreateAlertsMigration for application/json ContentType. -type CreateAlertsMigrationJSONRequestBody CreateAlertsMigrationJSONBody - -// SearchAlertsJSONRequestBody defines body for SearchAlerts for application/json ContentType. -type SearchAlertsJSONRequestBody SearchAlertsJSONBody - -// SetAlertsStatusJSONRequestBody defines body for SetAlertsStatus for application/json ContentType. -type SetAlertsStatusJSONRequestBody SetAlertsStatusJSONBody - -// SetAlertTagsJSONRequestBody defines body for SetAlertTags for application/json ContentType. -type SetAlertTagsJSONRequestBody SetAlertTagsJSONBody - -// CancelActionJSONRequestBody defines body for CancelAction for application/json ContentType. -type CancelActionJSONRequestBody = SecurityEndpointManagementAPICancelRouteRequestBody - -// EndpointExecuteActionJSONRequestBody defines body for EndpointExecuteAction for application/json ContentType. -type EndpointExecuteActionJSONRequestBody = SecurityEndpointManagementAPIExecuteRouteRequestBody - -// EndpointGetFileActionJSONRequestBody defines body for EndpointGetFileAction for application/json ContentType. -type EndpointGetFileActionJSONRequestBody = SecurityEndpointManagementAPIGetFileRouteRequestBody - -// EndpointIsolateActionJSONRequestBody defines body for EndpointIsolateAction for application/json ContentType. -type EndpointIsolateActionJSONRequestBody EndpointIsolateActionJSONBody - -// EndpointKillProcessActionJSONRequestBody defines body for EndpointKillProcessAction for application/json ContentType. -type EndpointKillProcessActionJSONRequestBody = SecurityEndpointManagementAPIKillProcessRouteRequestBody - -// EndpointGetProcessesActionJSONRequestBody defines body for EndpointGetProcessesAction for application/json ContentType. -type EndpointGetProcessesActionJSONRequestBody = SecurityEndpointManagementAPIGetProcessesRouteRequestBody - -// RunScriptActionJSONRequestBody defines body for RunScriptAction for application/json ContentType. -type RunScriptActionJSONRequestBody = SecurityEndpointManagementAPIRunScriptRouteRequestBody - -// EndpointScanActionJSONRequestBody defines body for EndpointScanAction for application/json ContentType. -type EndpointScanActionJSONRequestBody = SecurityEndpointManagementAPIScanRouteRequestBody - -// EndpointSuspendProcessActionJSONRequestBody defines body for EndpointSuspendProcessAction for application/json ContentType. -type EndpointSuspendProcessActionJSONRequestBody = SecurityEndpointManagementAPISuspendProcessRouteRequestBody - -// EndpointUnisolateActionJSONRequestBody defines body for EndpointUnisolateAction for application/json ContentType. -type EndpointUnisolateActionJSONRequestBody EndpointUnisolateActionJSONBody - -// EndpointUploadActionMultipartRequestBody defines body for EndpointUploadAction for multipart/form-data ContentType. -type EndpointUploadActionMultipartRequestBody = SecurityEndpointManagementAPIUploadRouteRequestBody - -// CreateUpdateProtectionUpdatesNoteJSONRequestBody defines body for CreateUpdateProtectionUpdatesNote for application/json ContentType. -type CreateUpdateProtectionUpdatesNoteJSONRequestBody CreateUpdateProtectionUpdatesNoteJSONBody - -// CreateEndpointListItemJSONRequestBody defines body for CreateEndpointListItem for application/json ContentType. -type CreateEndpointListItemJSONRequestBody CreateEndpointListItemJSONBody - -// UpdateEndpointListItemJSONRequestBody defines body for UpdateEndpointListItem for application/json ContentType. -type UpdateEndpointListItemJSONRequestBody UpdateEndpointListItemJSONBody - -// CreatePrivMonUserJSONRequestBody defines body for CreatePrivMonUser for application/json ContentType. -type CreatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIUserName - -// PrivmonBulkUploadUsersCSVMultipartRequestBody defines body for PrivmonBulkUploadUsersCSV for multipart/form-data ContentType. -type PrivmonBulkUploadUsersCSVMultipartRequestBody PrivmonBulkUploadUsersCSVMultipartBody - -// UpdatePrivMonUserJSONRequestBody defines body for UpdatePrivMonUser for application/json ContentType. -type UpdatePrivMonUserJSONRequestBody = SecurityEntityAnalyticsAPIMonitoredUserUpdateDoc - -// InitEntityStoreJSONRequestBody defines body for InitEntityStore for application/json ContentType. -type InitEntityStoreJSONRequestBody InitEntityStoreJSONBody - -// InitEntityEngineJSONRequestBody defines body for InitEntityEngine for application/json ContentType. -type InitEntityEngineJSONRequestBody InitEntityEngineJSONBody - -// UpsertEntitiesBulkJSONRequestBody defines body for UpsertEntitiesBulk for application/json ContentType. -type UpsertEntitiesBulkJSONRequestBody = SecurityEntityAnalyticsAPIEntitiesContainer - -// DeleteSingleEntityJSONRequestBody defines body for DeleteSingleEntity for application/json ContentType. -type DeleteSingleEntityJSONRequestBody DeleteSingleEntityJSONBody - -// UpsertEntityJSONRequestBody defines body for UpsertEntity for application/json ContentType. -type UpsertEntityJSONRequestBody = SecurityEntityAnalyticsAPIEntity - -// CreateExceptionListJSONRequestBody defines body for CreateExceptionList for application/json ContentType. -type CreateExceptionListJSONRequestBody CreateExceptionListJSONBody - -// UpdateExceptionListJSONRequestBody defines body for UpdateExceptionList for application/json ContentType. -type UpdateExceptionListJSONRequestBody UpdateExceptionListJSONBody - -// ImportExceptionListMultipartRequestBody defines body for ImportExceptionList for multipart/form-data ContentType. -type ImportExceptionListMultipartRequestBody ImportExceptionListMultipartBody - -// CreateExceptionListItemJSONRequestBody defines body for CreateExceptionListItem for application/json ContentType. -type CreateExceptionListItemJSONRequestBody CreateExceptionListItemJSONBody - -// UpdateExceptionListItemJSONRequestBody defines body for UpdateExceptionListItem for application/json ContentType. -type UpdateExceptionListItemJSONRequestBody UpdateExceptionListItemJSONBody - -// CreateSharedExceptionListJSONRequestBody defines body for CreateSharedExceptionList for application/json ContentType. -type CreateSharedExceptionListJSONRequestBody CreateSharedExceptionListJSONBody - -// PostFleetAgentDownloadSourcesJSONRequestBody defines body for PostFleetAgentDownloadSources for application/json ContentType. -type PostFleetAgentDownloadSourcesJSONRequestBody PostFleetAgentDownloadSourcesJSONBody - -// PutFleetAgentDownloadSourcesSourceidJSONRequestBody defines body for PutFleetAgentDownloadSourcesSourceid for application/json ContentType. -type PutFleetAgentDownloadSourcesSourceidJSONRequestBody PutFleetAgentDownloadSourcesSourceidJSONBody - -// PostFleetAgentPoliciesJSONRequestBody defines body for PostFleetAgentPolicies for application/json ContentType. -type PostFleetAgentPoliciesJSONRequestBody PostFleetAgentPoliciesJSONBody - -// PostFleetAgentPoliciesBulkGetJSONRequestBody defines body for PostFleetAgentPoliciesBulkGet for application/json ContentType. -type PostFleetAgentPoliciesBulkGetJSONRequestBody PostFleetAgentPoliciesBulkGetJSONBody - -// PostFleetAgentPoliciesDeleteJSONRequestBody defines body for PostFleetAgentPoliciesDelete for application/json ContentType. -type PostFleetAgentPoliciesDeleteJSONRequestBody PostFleetAgentPoliciesDeleteJSONBody - -// PostFleetAgentPoliciesOutputsJSONRequestBody defines body for PostFleetAgentPoliciesOutputs for application/json ContentType. -type PostFleetAgentPoliciesOutputsJSONRequestBody PostFleetAgentPoliciesOutputsJSONBody - -// PutFleetAgentPoliciesAgentpolicyidJSONRequestBody defines body for PutFleetAgentPoliciesAgentpolicyid for application/json ContentType. -type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody PutFleetAgentPoliciesAgentpolicyidJSONBody - -// PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody defines body for PostFleetAgentPoliciesAgentpolicyidCopy for application/json ContentType. -type PostFleetAgentPoliciesAgentpolicyidCopyJSONRequestBody PostFleetAgentPoliciesAgentpolicyidCopyJSONBody - -// PostFleetAgentlessPoliciesJSONRequestBody defines body for PostFleetAgentlessPolicies for application/json ContentType. -type PostFleetAgentlessPoliciesJSONRequestBody PostFleetAgentlessPoliciesJSONBody - -// PostFleetAgentsJSONRequestBody defines body for PostFleetAgents for application/json ContentType. -type PostFleetAgentsJSONRequestBody PostFleetAgentsJSONBody - -// PostFleetAgentsBulkMigrateJSONRequestBody defines body for PostFleetAgentsBulkMigrate for application/json ContentType. -type PostFleetAgentsBulkMigrateJSONRequestBody PostFleetAgentsBulkMigrateJSONBody - -// PostFleetAgentsBulkReassignJSONRequestBody defines body for PostFleetAgentsBulkReassign for application/json ContentType. -type PostFleetAgentsBulkReassignJSONRequestBody PostFleetAgentsBulkReassignJSONBody - -// PostFleetAgentsBulkRequestDiagnosticsJSONRequestBody defines body for PostFleetAgentsBulkRequestDiagnostics for application/json ContentType. -type PostFleetAgentsBulkRequestDiagnosticsJSONRequestBody PostFleetAgentsBulkRequestDiagnosticsJSONBody - -// PostFleetAgentsBulkUnenrollJSONRequestBody defines body for PostFleetAgentsBulkUnenroll for application/json ContentType. -type PostFleetAgentsBulkUnenrollJSONRequestBody PostFleetAgentsBulkUnenrollJSONBody - -// PostFleetAgentsBulkUpdateAgentTagsJSONRequestBody defines body for PostFleetAgentsBulkUpdateAgentTags for application/json ContentType. -type PostFleetAgentsBulkUpdateAgentTagsJSONRequestBody PostFleetAgentsBulkUpdateAgentTagsJSONBody - -// PostFleetAgentsBulkUpgradeJSONRequestBody defines body for PostFleetAgentsBulkUpgrade for application/json ContentType. -type PostFleetAgentsBulkUpgradeJSONRequestBody PostFleetAgentsBulkUpgradeJSONBody - -// PutFleetAgentsAgentidJSONRequestBody defines body for PutFleetAgentsAgentid for application/json ContentType. -type PutFleetAgentsAgentidJSONRequestBody PutFleetAgentsAgentidJSONBody - -// PostFleetAgentsAgentidActionsJSONRequestBody defines body for PostFleetAgentsAgentidActions for application/json ContentType. -type PostFleetAgentsAgentidActionsJSONRequestBody PostFleetAgentsAgentidActionsJSONBody - -// PostFleetAgentsAgentidMigrateJSONRequestBody defines body for PostFleetAgentsAgentidMigrate for application/json ContentType. -type PostFleetAgentsAgentidMigrateJSONRequestBody PostFleetAgentsAgentidMigrateJSONBody - -// PostFleetAgentsAgentidReassignJSONRequestBody defines body for PostFleetAgentsAgentidReassign for application/json ContentType. -type PostFleetAgentsAgentidReassignJSONRequestBody PostFleetAgentsAgentidReassignJSONBody - -// PostFleetAgentsAgentidRequestDiagnosticsJSONRequestBody defines body for PostFleetAgentsAgentidRequestDiagnostics for application/json ContentType. -type PostFleetAgentsAgentidRequestDiagnosticsJSONRequestBody PostFleetAgentsAgentidRequestDiagnosticsJSONBody - -// PostFleetAgentsAgentidUnenrollJSONRequestBody defines body for PostFleetAgentsAgentidUnenroll for application/json ContentType. -type PostFleetAgentsAgentidUnenrollJSONRequestBody PostFleetAgentsAgentidUnenrollJSONBody - -// PostFleetAgentsAgentidUpgradeJSONRequestBody defines body for PostFleetAgentsAgentidUpgrade for application/json ContentType. -type PostFleetAgentsAgentidUpgradeJSONRequestBody PostFleetAgentsAgentidUpgradeJSONBody - -// PostFleetCloudConnectorsJSONRequestBody defines body for PostFleetCloudConnectors for application/json ContentType. -type PostFleetCloudConnectorsJSONRequestBody PostFleetCloudConnectorsJSONBody - -// PutFleetCloudConnectorsCloudconnectoridJSONRequestBody defines body for PutFleetCloudConnectorsCloudconnectorid for application/json ContentType. -type PutFleetCloudConnectorsCloudconnectoridJSONRequestBody PutFleetCloudConnectorsCloudconnectoridJSONBody - -// PostFleetEnrollmentApiKeysJSONRequestBody defines body for PostFleetEnrollmentApiKeys for application/json ContentType. -type PostFleetEnrollmentApiKeysJSONRequestBody PostFleetEnrollmentApiKeysJSONBody - -// PostFleetEpmBulkAssetsJSONRequestBody defines body for PostFleetEpmBulkAssets for application/json ContentType. -type PostFleetEpmBulkAssetsJSONRequestBody PostFleetEpmBulkAssetsJSONBody - -// PostFleetEpmCustomIntegrationsJSONRequestBody defines body for PostFleetEpmCustomIntegrations for application/json ContentType. -type PostFleetEpmCustomIntegrationsJSONRequestBody PostFleetEpmCustomIntegrationsJSONBody - -// PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody defines body for PutFleetEpmCustomIntegrationsPkgname for application/json ContentType. -type PutFleetEpmCustomIntegrationsPkgnameJSONRequestBody PutFleetEpmCustomIntegrationsPkgnameJSONBody - -// PostFleetEpmPackagesBulkJSONRequestBody defines body for PostFleetEpmPackagesBulk for application/json ContentType. -type PostFleetEpmPackagesBulkJSONRequestBody PostFleetEpmPackagesBulkJSONBody - -// PostFleetEpmPackagesBulkRollbackJSONRequestBody defines body for PostFleetEpmPackagesBulkRollback for application/json ContentType. -type PostFleetEpmPackagesBulkRollbackJSONRequestBody PostFleetEpmPackagesBulkRollbackJSONBody - -// PostFleetEpmPackagesBulkUninstallJSONRequestBody defines body for PostFleetEpmPackagesBulkUninstall for application/json ContentType. -type PostFleetEpmPackagesBulkUninstallJSONRequestBody PostFleetEpmPackagesBulkUninstallJSONBody - -// PostFleetEpmPackagesBulkUpgradeJSONRequestBody defines body for PostFleetEpmPackagesBulkUpgrade for application/json ContentType. -type PostFleetEpmPackagesBulkUpgradeJSONRequestBody PostFleetEpmPackagesBulkUpgradeJSONBody - -// PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversion for application/json ContentType. -type PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionJSONBody - -// PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody defines body for PutFleetEpmPackagesPkgnamePkgversion for application/json ContentType. -type PutFleetEpmPackagesPkgnamePkgversionJSONRequestBody PutFleetEpmPackagesPkgnamePkgversionJSONBody - -// PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionKibanaAssets for application/json ContentType. -type PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionKibanaAssetsJSONBody - -// PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionRuleAssets for application/json ContentType. -type PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionRuleAssetsJSONBody - -// PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorize for application/json ContentType. -type PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionTransformsAuthorizeJSONBody - -// PostFleetFleetServerHostsJSONRequestBody defines body for PostFleetFleetServerHosts for application/json ContentType. -type PostFleetFleetServerHostsJSONRequestBody PostFleetFleetServerHostsJSONBody - -// PutFleetFleetServerHostsItemidJSONRequestBody defines body for PutFleetFleetServerHostsItemid for application/json ContentType. -type PutFleetFleetServerHostsItemidJSONRequestBody PutFleetFleetServerHostsItemidJSONBody - -// PostFleetHealthCheckJSONRequestBody defines body for PostFleetHealthCheck for application/json ContentType. -type PostFleetHealthCheckJSONRequestBody PostFleetHealthCheckJSONBody - -// PostFleetOutputsJSONRequestBody defines body for PostFleetOutputs for application/json ContentType. -type PostFleetOutputsJSONRequestBody = NewOutputUnion - -// PutFleetOutputsOutputidJSONRequestBody defines body for PutFleetOutputsOutputid for application/json ContentType. -type PutFleetOutputsOutputidJSONRequestBody = UpdateOutputUnion - -// PostFleetPackagePoliciesJSONRequestBody defines body for PostFleetPackagePolicies for application/json ContentType. -type PostFleetPackagePoliciesJSONRequestBody = PackagePolicyRequest - -// PostFleetPackagePoliciesBulkGetJSONRequestBody defines body for PostFleetPackagePoliciesBulkGet for application/json ContentType. -type PostFleetPackagePoliciesBulkGetJSONRequestBody PostFleetPackagePoliciesBulkGetJSONBody - -// PostFleetPackagePoliciesDeleteJSONRequestBody defines body for PostFleetPackagePoliciesDelete for application/json ContentType. -type PostFleetPackagePoliciesDeleteJSONRequestBody PostFleetPackagePoliciesDeleteJSONBody - -// PostFleetPackagePoliciesUpgradeJSONRequestBody defines body for PostFleetPackagePoliciesUpgrade for application/json ContentType. -type PostFleetPackagePoliciesUpgradeJSONRequestBody PostFleetPackagePoliciesUpgradeJSONBody - -// PostFleetPackagePoliciesUpgradeDryrunJSONRequestBody defines body for PostFleetPackagePoliciesUpgradeDryrun for application/json ContentType. -type PostFleetPackagePoliciesUpgradeDryrunJSONRequestBody PostFleetPackagePoliciesUpgradeDryrunJSONBody - -// PutFleetPackagePoliciesPackagepolicyidJSONRequestBody defines body for PutFleetPackagePoliciesPackagepolicyid for application/json ContentType. -type PutFleetPackagePoliciesPackagepolicyidJSONRequestBody = PackagePolicyRequest - -// PostFleetProxiesJSONRequestBody defines body for PostFleetProxies for application/json ContentType. -type PostFleetProxiesJSONRequestBody PostFleetProxiesJSONBody - -// PutFleetProxiesItemidJSONRequestBody defines body for PutFleetProxiesItemid for application/json ContentType. -type PutFleetProxiesItemidJSONRequestBody PutFleetProxiesItemidJSONBody - -// PostFleetServiceTokensJSONRequestBody defines body for PostFleetServiceTokens for application/json ContentType. -type PostFleetServiceTokensJSONRequestBody PostFleetServiceTokensJSONBody - -// PutFleetSettingsJSONRequestBody defines body for PutFleetSettings for application/json ContentType. -type PutFleetSettingsJSONRequestBody PutFleetSettingsJSONBody - -// PutFleetSpaceSettingsJSONRequestBody defines body for PutFleetSpaceSettings for application/json ContentType. -type PutFleetSpaceSettingsJSONRequestBody PutFleetSpaceSettingsJSONBody - -// PatchListJSONRequestBody defines body for PatchList for application/json ContentType. -type PatchListJSONRequestBody PatchListJSONBody - -// CreateListJSONRequestBody defines body for CreateList for application/json ContentType. -type CreateListJSONRequestBody CreateListJSONBody - -// UpdateListJSONRequestBody defines body for UpdateList for application/json ContentType. -type UpdateListJSONRequestBody UpdateListJSONBody - -// PatchListItemJSONRequestBody defines body for PatchListItem for application/json ContentType. -type PatchListItemJSONRequestBody PatchListItemJSONBody - -// CreateListItemJSONRequestBody defines body for CreateListItem for application/json ContentType. -type CreateListItemJSONRequestBody CreateListItemJSONBody - -// UpdateListItemJSONRequestBody defines body for UpdateListItem for application/json ContentType. -type UpdateListItemJSONRequestBody UpdateListItemJSONBody - -// ImportListItemsMultipartRequestBody defines body for ImportListItems for multipart/form-data ContentType. -type ImportListItemsMultipartRequestBody ImportListItemsMultipartBody - -// PutLogstashPipelineJSONRequestBody defines body for PutLogstashPipeline for application/json ContentType. -type PutLogstashPipelineJSONRequestBody PutLogstashPipelineJSONBody - -// DeleteNoteJSONRequestBody defines body for DeleteNote for application/json ContentType. -type DeleteNoteJSONRequestBody DeleteNoteJSONBody - -// PersistNoteRouteJSONRequestBody defines body for PersistNoteRoute for application/json ContentType. -type PersistNoteRouteJSONRequestBody PersistNoteRouteJSONBody - -// ObservabilityAiAssistantChatCompleteJSONRequestBody defines body for ObservabilityAiAssistantChatComplete for application/json ContentType. -type ObservabilityAiAssistantChatCompleteJSONRequestBody ObservabilityAiAssistantChatCompleteJSONBody - -// OsqueryCreateLiveQueryJSONRequestBody defines body for OsqueryCreateLiveQuery for application/json ContentType. -type OsqueryCreateLiveQueryJSONRequestBody = SecurityOsqueryAPICreateLiveQueryRequestBody - -// OsqueryCreatePacksJSONRequestBody defines body for OsqueryCreatePacks for application/json ContentType. -type OsqueryCreatePacksJSONRequestBody = SecurityOsqueryAPICreatePacksRequestBody - -// OsqueryUpdatePacksJSONRequestBody defines body for OsqueryUpdatePacks for application/json ContentType. -type OsqueryUpdatePacksJSONRequestBody = SecurityOsqueryAPIUpdatePacksRequestBody - -// OsqueryCreateSavedQueryJSONRequestBody defines body for OsqueryCreateSavedQuery for application/json ContentType. -type OsqueryCreateSavedQueryJSONRequestBody = SecurityOsqueryAPICreateSavedQueryRequestBody - -// OsqueryUpdateSavedQueryJSONRequestBody defines body for OsqueryUpdateSavedQuery for application/json ContentType. -type OsqueryUpdateSavedQueryJSONRequestBody = SecurityOsqueryAPIUpdateSavedQueryRequestBody - -// PersistPinnedEventRouteJSONRequestBody defines body for PersistPinnedEventRoute for application/json ContentType. -type PersistPinnedEventRouteJSONRequestBody PersistPinnedEventRouteJSONBody - -// ConfigureRiskEngineSavedObjectJSONRequestBody defines body for ConfigureRiskEngineSavedObject for application/json ContentType. -type ConfigureRiskEngineSavedObjectJSONRequestBody ConfigureRiskEngineSavedObjectJSONBody - -// ScheduleRiskEngineNowJSONRequestBody defines body for ScheduleRiskEngineNow for application/json ContentType. -type ScheduleRiskEngineNowJSONRequestBody ScheduleRiskEngineNowJSONBody - -// BulkCreateSavedObjectsJSONRequestBody defines body for BulkCreateSavedObjects for application/json ContentType. -type BulkCreateSavedObjectsJSONRequestBody = BulkCreateSavedObjectsJSONBody - -// BulkDeleteSavedObjectsJSONRequestBody defines body for BulkDeleteSavedObjects for application/json ContentType. -type BulkDeleteSavedObjectsJSONRequestBody = BulkDeleteSavedObjectsJSONBody - -// BulkGetSavedObjectsJSONRequestBody defines body for BulkGetSavedObjects for application/json ContentType. -type BulkGetSavedObjectsJSONRequestBody = BulkGetSavedObjectsJSONBody - -// BulkResolveSavedObjectsJSONRequestBody defines body for BulkResolveSavedObjects for application/json ContentType. -type BulkResolveSavedObjectsJSONRequestBody = BulkResolveSavedObjectsJSONBody - -// BulkUpdateSavedObjectsJSONRequestBody defines body for BulkUpdateSavedObjects for application/json ContentType. -type BulkUpdateSavedObjectsJSONRequestBody = BulkUpdateSavedObjectsJSONBody - -// PostSavedObjectsExportJSONRequestBody defines body for PostSavedObjectsExport for application/json ContentType. -type PostSavedObjectsExportJSONRequestBody PostSavedObjectsExportJSONBody - -// PostSavedObjectsImportMultipartRequestBody defines body for PostSavedObjectsImport for multipart/form-data ContentType. -type PostSavedObjectsImportMultipartRequestBody PostSavedObjectsImportMultipartBody - -// ResolveImportErrorsMultipartRequestBody defines body for ResolveImportErrors for multipart/form-data ContentType. -type ResolveImportErrorsMultipartRequestBody ResolveImportErrorsMultipartBody - -// CreateSavedObjectJSONRequestBody defines body for CreateSavedObject for application/json ContentType. -type CreateSavedObjectJSONRequestBody CreateSavedObjectJSONBody - -// CreateSavedObjectIdJSONRequestBody defines body for CreateSavedObjectId for application/json ContentType. -type CreateSavedObjectIdJSONRequestBody CreateSavedObjectIdJSONBody - -// UpdateSavedObjectJSONRequestBody defines body for UpdateSavedObject for application/json ContentType. -type UpdateSavedObjectJSONRequestBody = UpdateSavedObjectJSONBody - -// PostSecurityRoleQueryJSONRequestBody defines body for PostSecurityRoleQuery for application/json ContentType. -type PostSecurityRoleQueryJSONRequestBody PostSecurityRoleQueryJSONBody - -// PutSecurityRoleNameJSONRequestBody defines body for PutSecurityRoleName for application/json ContentType. -type PutSecurityRoleNameJSONRequestBody PutSecurityRoleNameJSONBody - -// PostSecurityRolesJSONRequestBody defines body for PostSecurityRoles for application/json ContentType. -type PostSecurityRolesJSONRequestBody PostSecurityRolesJSONBody - -// PostSecuritySessionInvalidateJSONRequestBody defines body for PostSecuritySessionInvalidate for application/json ContentType. -type PostSecuritySessionInvalidateJSONRequestBody PostSecuritySessionInvalidateJSONBody - -// PerformAnonymizationFieldsBulkActionJSONRequestBody defines body for PerformAnonymizationFieldsBulkAction for application/json ContentType. -type PerformAnonymizationFieldsBulkActionJSONRequestBody PerformAnonymizationFieldsBulkActionJSONBody - -// ChatCompleteJSONRequestBody defines body for ChatComplete for application/json ContentType. -type ChatCompleteJSONRequestBody = SecurityAIAssistantAPIChatCompleteProps - -// DeleteAllConversationsJSONRequestBody defines body for DeleteAllConversations for application/json ContentType. -type DeleteAllConversationsJSONRequestBody DeleteAllConversationsJSONBody - -// CreateConversationJSONRequestBody defines body for CreateConversation for application/json ContentType. -type CreateConversationJSONRequestBody = SecurityAIAssistantAPIConversationCreateProps - -// UpdateConversationJSONRequestBody defines body for UpdateConversation for application/json ContentType. -type UpdateConversationJSONRequestBody = SecurityAIAssistantAPIConversationUpdateProps - -// CreateKnowledgeBaseEntryJSONRequestBody defines body for CreateKnowledgeBaseEntry for application/json ContentType. -type CreateKnowledgeBaseEntryJSONRequestBody = SecurityAIAssistantAPIKnowledgeBaseEntryCreateProps - -// PerformKnowledgeBaseEntryBulkActionJSONRequestBody defines body for PerformKnowledgeBaseEntryBulkAction for application/json ContentType. -type PerformKnowledgeBaseEntryBulkActionJSONRequestBody PerformKnowledgeBaseEntryBulkActionJSONBody - -// UpdateKnowledgeBaseEntryJSONRequestBody defines body for UpdateKnowledgeBaseEntry for application/json ContentType. -type UpdateKnowledgeBaseEntryJSONRequestBody = SecurityAIAssistantAPIKnowledgeBaseEntryUpdateRouteProps - -// PerformPromptsBulkActionJSONRequestBody defines body for PerformPromptsBulkAction for application/json ContentType. -type PerformPromptsBulkActionJSONRequestBody PerformPromptsBulkActionJSONBody - -// PostUrlJSONRequestBody defines body for PostUrl for application/json ContentType. -type PostUrlJSONRequestBody PostUrlJSONBody - -// PostSpacesCopySavedObjectsJSONRequestBody defines body for PostSpacesCopySavedObjects for application/json ContentType. -type PostSpacesCopySavedObjectsJSONRequestBody PostSpacesCopySavedObjectsJSONBody - -// PostSpacesDisableLegacyUrlAliasesJSONRequestBody defines body for PostSpacesDisableLegacyUrlAliases for application/json ContentType. -type PostSpacesDisableLegacyUrlAliasesJSONRequestBody PostSpacesDisableLegacyUrlAliasesJSONBody - -// PostSpacesGetShareableReferencesJSONRequestBody defines body for PostSpacesGetShareableReferences for application/json ContentType. -type PostSpacesGetShareableReferencesJSONRequestBody PostSpacesGetShareableReferencesJSONBody - -// PostSpacesResolveCopySavedObjectsErrorsJSONRequestBody defines body for PostSpacesResolveCopySavedObjectsErrors for application/json ContentType. -type PostSpacesResolveCopySavedObjectsErrorsJSONRequestBody PostSpacesResolveCopySavedObjectsErrorsJSONBody - -// PostSpacesUpdateObjectsSpacesJSONRequestBody defines body for PostSpacesUpdateObjectsSpaces for application/json ContentType. -type PostSpacesUpdateObjectsSpacesJSONRequestBody PostSpacesUpdateObjectsSpacesJSONBody - -// PostSpacesSpaceJSONRequestBody defines body for PostSpacesSpace for application/json ContentType. -type PostSpacesSpaceJSONRequestBody PostSpacesSpaceJSONBody - -// PutSpacesSpaceIdJSONRequestBody defines body for PutSpacesSpaceId for application/json ContentType. -type PutSpacesSpaceIdJSONRequestBody PutSpacesSpaceIdJSONBody - -// GetStreamsJSONRequestBody defines body for GetStreams for application/json ContentType. -type GetStreamsJSONRequestBody GetStreamsJSONBody - -// PostStreamsDisableJSONRequestBody defines body for PostStreamsDisable for application/json ContentType. -type PostStreamsDisableJSONRequestBody PostStreamsDisableJSONBody - -// PostStreamsEnableJSONRequestBody defines body for PostStreamsEnable for application/json ContentType. -type PostStreamsEnableJSONRequestBody PostStreamsEnableJSONBody - -// PostStreamsResyncJSONRequestBody defines body for PostStreamsResync for application/json ContentType. -type PostStreamsResyncJSONRequestBody PostStreamsResyncJSONBody - -// DeleteStreamsNameJSONRequestBody defines body for DeleteStreamsName for application/json ContentType. -type DeleteStreamsNameJSONRequestBody DeleteStreamsNameJSONBody - -// GetStreamsNameJSONRequestBody defines body for GetStreamsName for application/json ContentType. -type GetStreamsNameJSONRequestBody GetStreamsNameJSONBody - -// PutStreamsNameJSONRequestBody defines body for PutStreamsName for application/json ContentType. -type PutStreamsNameJSONRequestBody PutStreamsNameJSONBody - -// PostStreamsNameForkJSONRequestBody defines body for PostStreamsNameFork for application/json ContentType. -type PostStreamsNameForkJSONRequestBody PostStreamsNameForkJSONBody - -// GetStreamsNameGroupJSONRequestBody defines body for GetStreamsNameGroup for application/json ContentType. -type GetStreamsNameGroupJSONRequestBody GetStreamsNameGroupJSONBody - -// PutStreamsNameGroupJSONRequestBody defines body for PutStreamsNameGroup for application/json ContentType. -type PutStreamsNameGroupJSONRequestBody PutStreamsNameGroupJSONBody - -// GetStreamsNameIngestJSONRequestBody defines body for GetStreamsNameIngest for application/json ContentType. -type GetStreamsNameIngestJSONRequestBody GetStreamsNameIngestJSONBody - -// PutStreamsNameIngestJSONRequestBody defines body for PutStreamsNameIngest for application/json ContentType. -type PutStreamsNameIngestJSONRequestBody PutStreamsNameIngestJSONBody - -// PostStreamsNameContentExportJSONRequestBody defines body for PostStreamsNameContentExport for application/json ContentType. -type PostStreamsNameContentExportJSONRequestBody PostStreamsNameContentExportJSONBody - -// PostStreamsNameContentImportMultipartRequestBody defines body for PostStreamsNameContentImport for multipart/form-data ContentType. -type PostStreamsNameContentImportMultipartRequestBody PostStreamsNameContentImportMultipartBody - -// GetStreamsNameDashboardsJSONRequestBody defines body for GetStreamsNameDashboards for application/json ContentType. -type GetStreamsNameDashboardsJSONRequestBody GetStreamsNameDashboardsJSONBody - -// PostStreamsNameDashboardsBulkJSONRequestBody defines body for PostStreamsNameDashboardsBulk for application/json ContentType. -type PostStreamsNameDashboardsBulkJSONRequestBody PostStreamsNameDashboardsBulkJSONBody - -// DeleteStreamsNameDashboardsDashboardidJSONRequestBody defines body for DeleteStreamsNameDashboardsDashboardid for application/json ContentType. -type DeleteStreamsNameDashboardsDashboardidJSONRequestBody DeleteStreamsNameDashboardsDashboardidJSONBody - -// PutStreamsNameDashboardsDashboardidJSONRequestBody defines body for PutStreamsNameDashboardsDashboardid for application/json ContentType. -type PutStreamsNameDashboardsDashboardidJSONRequestBody PutStreamsNameDashboardsDashboardidJSONBody - -// GetStreamsNameQueriesJSONRequestBody defines body for GetStreamsNameQueries for application/json ContentType. -type GetStreamsNameQueriesJSONRequestBody GetStreamsNameQueriesJSONBody - -// PostStreamsNameQueriesBulkJSONRequestBody defines body for PostStreamsNameQueriesBulk for application/json ContentType. -type PostStreamsNameQueriesBulkJSONRequestBody PostStreamsNameQueriesBulkJSONBody - -// DeleteStreamsNameQueriesQueryidJSONRequestBody defines body for DeleteStreamsNameQueriesQueryid for application/json ContentType. -type DeleteStreamsNameQueriesQueryidJSONRequestBody DeleteStreamsNameQueriesQueryidJSONBody - -// PutStreamsNameQueriesQueryidJSONRequestBody defines body for PutStreamsNameQueriesQueryid for application/json ContentType. -type PutStreamsNameQueriesQueryidJSONRequestBody PutStreamsNameQueriesQueryidJSONBody - -// GetStreamsNameRulesJSONRequestBody defines body for GetStreamsNameRules for application/json ContentType. -type GetStreamsNameRulesJSONRequestBody GetStreamsNameRulesJSONBody - -// DeleteStreamsNameRulesRuleidJSONRequestBody defines body for DeleteStreamsNameRulesRuleid for application/json ContentType. -type DeleteStreamsNameRulesRuleidJSONRequestBody DeleteStreamsNameRulesRuleidJSONBody - -// PutStreamsNameRulesRuleidJSONRequestBody defines body for PutStreamsNameRulesRuleid for application/json ContentType. -type PutStreamsNameRulesRuleidJSONRequestBody PutStreamsNameRulesRuleidJSONBody - -// GetStreamsNameSignificantEventsJSONRequestBody defines body for GetStreamsNameSignificantEvents for application/json ContentType. -type GetStreamsNameSignificantEventsJSONRequestBody GetStreamsNameSignificantEventsJSONBody - -// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. -type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody - -// PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. -type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody - -// PostSyntheticMonitorsJSONRequestBody defines body for PostSyntheticMonitors for application/json ContentType. -type PostSyntheticMonitorsJSONRequestBody PostSyntheticMonitorsJSONBody - -// DeleteSyntheticMonitorsJSONRequestBody defines body for DeleteSyntheticMonitors for application/json ContentType. -type DeleteSyntheticMonitorsJSONRequestBody DeleteSyntheticMonitorsJSONBody - -// PutSyntheticMonitorJSONRequestBody defines body for PutSyntheticMonitor for application/json ContentType. -type PutSyntheticMonitorJSONRequestBody PutSyntheticMonitorJSONBody - -// PostParametersJSONRequestBody defines body for PostParameters for application/json ContentType. -type PostParametersJSONRequestBody PostParametersJSONBody - -// DeleteParametersJSONRequestBody defines body for DeleteParameters for application/json ContentType. -type DeleteParametersJSONRequestBody DeleteParametersJSONBody - -// PutParameterJSONRequestBody defines body for PutParameter for application/json ContentType. -type PutParameterJSONRequestBody PutParameterJSONBody - -// PostPrivateLocationJSONRequestBody defines body for PostPrivateLocation for application/json ContentType. -type PostPrivateLocationJSONRequestBody PostPrivateLocationJSONBody - -// PutPrivateLocationJSONRequestBody defines body for PutPrivateLocation for application/json ContentType. -type PutPrivateLocationJSONRequestBody PutPrivateLocationJSONBody - -// DeleteTimelinesJSONRequestBody defines body for DeleteTimelines for application/json ContentType. -type DeleteTimelinesJSONRequestBody DeleteTimelinesJSONBody - -// PatchTimelineJSONRequestBody defines body for PatchTimeline for application/json ContentType. -type PatchTimelineJSONRequestBody PatchTimelineJSONBody - -// CreateTimelinesJSONRequestBody defines body for CreateTimelines for application/json ContentType. -type CreateTimelinesJSONRequestBody CreateTimelinesJSONBody - -// CopyTimelineJSONRequestBody defines body for CopyTimeline for application/json ContentType. -type CopyTimelineJSONRequestBody CopyTimelineJSONBody - -// CleanDraftTimelinesJSONRequestBody defines body for CleanDraftTimelines for application/json ContentType. -type CleanDraftTimelinesJSONRequestBody CleanDraftTimelinesJSONBody - -// ExportTimelinesJSONRequestBody defines body for ExportTimelines for application/json ContentType. -type ExportTimelinesJSONRequestBody ExportTimelinesJSONBody - -// PersistFavoriteRouteJSONRequestBody defines body for PersistFavoriteRoute for application/json ContentType. -type PersistFavoriteRouteJSONRequestBody PersistFavoriteRouteJSONBody - -// ImportTimelinesJSONRequestBody defines body for ImportTimelines for application/json ContentType. -type ImportTimelinesJSONRequestBody ImportTimelinesJSONBody - -// InstallPrepackedTimelinesJSONRequestBody defines body for InstallPrepackedTimelines for application/json ContentType. -type InstallPrepackedTimelinesJSONRequestBody InstallPrepackedTimelinesJSONBody - -// PutUptimeSettingsJSONRequestBody defines body for PutUptimeSettings for application/json ContentType. -type PutUptimeSettingsJSONRequestBody PutUptimeSettingsJSONBody - -// PostActionsConnectorIdJSONRequestBody defines body for PostActionsConnectorId for application/json ContentType. -type PostActionsConnectorIdJSONRequestBody PostActionsConnectorIdJSONBody - -// PutActionsConnectorIdJSONRequestBody defines body for PutActionsConnectorId for application/json ContentType. -type PutActionsConnectorIdJSONRequestBody PutActionsConnectorIdJSONBody - -// CreateDataViewDefaultwJSONRequestBody defines body for CreateDataViewDefaultw for application/json ContentType. -type CreateDataViewDefaultwJSONRequestBody = DataViewsCreateDataViewRequestObject - -// UpdateDataViewDefaultJSONRequestBody defines body for UpdateDataViewDefault for application/json ContentType. -type UpdateDataViewDefaultJSONRequestBody = DataViewsUpdateDataViewRequestObject - -// PostMaintenanceWindowJSONRequestBody defines body for PostMaintenanceWindow for application/json ContentType. -type PostMaintenanceWindowJSONRequestBody PostMaintenanceWindowJSONBody - -// PatchMaintenanceWindowIdJSONRequestBody defines body for PatchMaintenanceWindowId for application/json ContentType. -type PatchMaintenanceWindowIdJSONRequestBody PatchMaintenanceWindowIdJSONBody - -// CreateSloOpJSONRequestBody defines body for CreateSloOp for application/json ContentType. -type CreateSloOpJSONRequestBody = SLOsCreateSloRequest - -// BulkDeleteOpJSONRequestBody defines body for BulkDeleteOp for application/json ContentType. -type BulkDeleteOpJSONRequestBody = SLOsBulkDeleteRequest - -// DeleteRollupDataOpJSONRequestBody defines body for DeleteRollupDataOp for application/json ContentType. -type DeleteRollupDataOpJSONRequestBody = SLOsBulkPurgeRollupRequest - -// DeleteSloInstancesOpJSONRequestBody defines body for DeleteSloInstancesOp for application/json ContentType. -type DeleteSloInstancesOpJSONRequestBody = SLOsDeleteSloInstancesRequest - -// UpdateSloOpJSONRequestBody defines body for UpdateSloOp for application/json ContentType. -type UpdateSloOpJSONRequestBody = SLOsUpdateSloRequest - -// Getter for additional properties for PostActionsConnectorIdExecuteJSONBody_Params. Returns the specified -// element and whether it was found -func (a PostActionsConnectorIdExecuteJSONBody_Params) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return -} - -// Setter for additional properties for PostActionsConnectorIdExecuteJSONBody_Params -func (a *PostActionsConnectorIdExecuteJSONBody_Params) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value -} - -// Getter for additional properties for PostAlertingRuleIdJSONBody_Params. Returns the specified -// element and whether it was found -func (a PostAlertingRuleIdJSONBody_Params) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return -} - -// Setter for additional properties for PostAlertingRuleIdJSONBody_Params -func (a *PostAlertingRuleIdJSONBody_Params) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value -} - -// Getter for additional properties for SyntheticsBrowserMonitorFields. Returns the specified -// element and whether it was found -func (a SyntheticsBrowserMonitorFields) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return -} - -// Setter for additional properties for SyntheticsBrowserMonitorFields -func (a *SyntheticsBrowserMonitorFields) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value -} - -// Override default JSON handling for SyntheticsBrowserMonitorFields to handle AdditionalProperties -func (a *SyntheticsBrowserMonitorFields) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) - if err != nil { - return err - } - - if raw, found := object["alert"]; found { - err = json.Unmarshal(raw, &a.Alert) - if err != nil { - return fmt.Errorf("error reading 'alert': %w", err) - } - delete(object, "alert") - } - - if raw, found := object["enabled"]; found { - err = json.Unmarshal(raw, &a.Enabled) - if err != nil { - return fmt.Errorf("error reading 'enabled': %w", err) - } - delete(object, "enabled") - } - - if raw, found := object["ignore_https_errors"]; found { - err = json.Unmarshal(raw, &a.IgnoreHttpsErrors) - if err != nil { - return fmt.Errorf("error reading 'ignore_https_errors': %w", err) - } - delete(object, "ignore_https_errors") - } - - if raw, found := object["inline_script"]; found { - err = json.Unmarshal(raw, &a.InlineScript) - if err != nil { - return fmt.Errorf("error reading 'inline_script': %w", err) - } - delete(object, "inline_script") - } - - if raw, found := object["labels"]; found { - err = json.Unmarshal(raw, &a.Labels) - if err != nil { - return fmt.Errorf("error reading 'labels': %w", err) - } - delete(object, "labels") - } - - if raw, found := object["locations"]; found { - err = json.Unmarshal(raw, &a.Locations) - if err != nil { - return fmt.Errorf("error reading 'locations': %w", err) - } - delete(object, "locations") - } - - if raw, found := object["name"]; found { - err = json.Unmarshal(raw, &a.Name) - if err != nil { - return fmt.Errorf("error reading 'name': %w", err) - } - delete(object, "name") - } - - if raw, found := object["namespace"]; found { - err = json.Unmarshal(raw, &a.Namespace) - if err != nil { - return fmt.Errorf("error reading 'namespace': %w", err) - } - delete(object, "namespace") - } - - if raw, found := object["params"]; found { - err = json.Unmarshal(raw, &a.Params) - if err != nil { - return fmt.Errorf("error reading 'params': %w", err) - } - delete(object, "params") - } - - if raw, found := object["playwright_options"]; found { - err = json.Unmarshal(raw, &a.PlaywrightOptions) - if err != nil { - return fmt.Errorf("error reading 'playwright_options': %w", err) - } - delete(object, "playwright_options") - } - - if raw, found := object["private_locations"]; found { - err = json.Unmarshal(raw, &a.PrivateLocations) - if err != nil { - return fmt.Errorf("error reading 'private_locations': %w", err) - } - delete(object, "private_locations") - } - - if raw, found := object["retest_on_failure"]; found { - err = json.Unmarshal(raw, &a.RetestOnFailure) - if err != nil { - return fmt.Errorf("error reading 'retest_on_failure': %w", err) - } - delete(object, "retest_on_failure") - } - - if raw, found := object["schedule"]; found { - err = json.Unmarshal(raw, &a.Schedule) - if err != nil { - return fmt.Errorf("error reading 'schedule': %w", err) - } - delete(object, "schedule") - } - - if raw, found := object["screenshots"]; found { - err = json.Unmarshal(raw, &a.Screenshots) - if err != nil { - return fmt.Errorf("error reading 'screenshots': %w", err) - } - delete(object, "screenshots") - } - - if raw, found := object["service.name"]; found { - err = json.Unmarshal(raw, &a.ServiceName) - if err != nil { - return fmt.Errorf("error reading 'service.name': %w", err) - } - delete(object, "service.name") - } - - if raw, found := object["synthetics_args"]; found { - err = json.Unmarshal(raw, &a.SyntheticsArgs) - if err != nil { - return fmt.Errorf("error reading 'synthetics_args': %w", err) - } - delete(object, "synthetics_args") - } - - if raw, found := object["tags"]; found { - err = json.Unmarshal(raw, &a.Tags) - if err != nil { - return fmt.Errorf("error reading 'tags': %w", err) - } - delete(object, "tags") - } - - if raw, found := object["timeout"]; found { - err = json.Unmarshal(raw, &a.Timeout) - if err != nil { - return fmt.Errorf("error reading 'timeout': %w", err) - } - delete(object, "timeout") - } - - if raw, found := object["type"]; found { - err = json.Unmarshal(raw, &a.Type) - if err != nil { - return fmt.Errorf("error reading 'type': %w", err) - } - delete(object, "type") - } - - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } - } - return nil -} - -// Override default JSON handling for SyntheticsBrowserMonitorFields to handle AdditionalProperties -func (a SyntheticsBrowserMonitorFields) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) - - if a.Alert != nil { - object["alert"], err = json.Marshal(a.Alert) - if err != nil { - return nil, fmt.Errorf("error marshaling 'alert': %w", err) - } - } - - if a.Enabled != nil { - object["enabled"], err = json.Marshal(a.Enabled) - if err != nil { - return nil, fmt.Errorf("error marshaling 'enabled': %w", err) - } - } - - if a.IgnoreHttpsErrors != nil { - object["ignore_https_errors"], err = json.Marshal(a.IgnoreHttpsErrors) - if err != nil { - return nil, fmt.Errorf("error marshaling 'ignore_https_errors': %w", err) - } - } - - object["inline_script"], err = json.Marshal(a.InlineScript) - if err != nil { - return nil, fmt.Errorf("error marshaling 'inline_script': %w", err) - } - - if a.Labels != nil { - object["labels"], err = json.Marshal(a.Labels) - if err != nil { - return nil, fmt.Errorf("error marshaling 'labels': %w", err) - } - } - - if a.Locations != nil { - object["locations"], err = json.Marshal(a.Locations) - if err != nil { - return nil, fmt.Errorf("error marshaling 'locations': %w", err) - } - } - - object["name"], err = json.Marshal(a.Name) - if err != nil { - return nil, fmt.Errorf("error marshaling 'name': %w", err) - } - - if a.Namespace != nil { - object["namespace"], err = json.Marshal(a.Namespace) - if err != nil { - return nil, fmt.Errorf("error marshaling 'namespace': %w", err) - } - } - - if a.Params != nil { - object["params"], err = json.Marshal(a.Params) - if err != nil { - return nil, fmt.Errorf("error marshaling 'params': %w", err) - } - } - - if a.PlaywrightOptions != nil { - object["playwright_options"], err = json.Marshal(a.PlaywrightOptions) - if err != nil { - return nil, fmt.Errorf("error marshaling 'playwright_options': %w", err) - } - } - - if a.PrivateLocations != nil { - object["private_locations"], err = json.Marshal(a.PrivateLocations) - if err != nil { - return nil, fmt.Errorf("error marshaling 'private_locations': %w", err) - } - } - - if a.RetestOnFailure != nil { - object["retest_on_failure"], err = json.Marshal(a.RetestOnFailure) - if err != nil { - return nil, fmt.Errorf("error marshaling 'retest_on_failure': %w", err) - } - } - - if a.Schedule != nil { - object["schedule"], err = json.Marshal(a.Schedule) - if err != nil { - return nil, fmt.Errorf("error marshaling 'schedule': %w", err) - } - } - - if a.Screenshots != nil { - object["screenshots"], err = json.Marshal(a.Screenshots) - if err != nil { - return nil, fmt.Errorf("error marshaling 'screenshots': %w", err) - } - } - - if a.ServiceName != nil { - object["service.name"], err = json.Marshal(a.ServiceName) - if err != nil { - return nil, fmt.Errorf("error marshaling 'service.name': %w", err) - } - } - - if a.SyntheticsArgs != nil { - object["synthetics_args"], err = json.Marshal(a.SyntheticsArgs) - if err != nil { - return nil, fmt.Errorf("error marshaling 'synthetics_args': %w", err) - } - } - - if a.Tags != nil { - object["tags"], err = json.Marshal(a.Tags) - if err != nil { - return nil, fmt.Errorf("error marshaling 'tags': %w", err) - } - } - - if a.Timeout != nil { - object["timeout"], err = json.Marshal(a.Timeout) - if err != nil { - return nil, fmt.Errorf("error marshaling 'timeout': %w", err) - } - } - - object["type"], err = json.Marshal(a.Type) - if err != nil { - return nil, fmt.Errorf("error marshaling 'type': %w", err) - } - - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) -} - -// Getter for additional properties for SyntheticsGetPrivateLocation. Returns the specified -// element and whether it was found -func (a SyntheticsGetPrivateLocation) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return -} - -// Setter for additional properties for SyntheticsGetPrivateLocation -func (a *SyntheticsGetPrivateLocation) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value -} - -// Override default JSON handling for SyntheticsGetPrivateLocation to handle AdditionalProperties -func (a *SyntheticsGetPrivateLocation) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) - if err != nil { - return err - } - - if raw, found := object["agentPolicyId"]; found { - err = json.Unmarshal(raw, &a.AgentPolicyId) - if err != nil { - return fmt.Errorf("error reading 'agentPolicyId': %w", err) - } - delete(object, "agentPolicyId") - } - - if raw, found := object["geo"]; found { - err = json.Unmarshal(raw, &a.Geo) - if err != nil { - return fmt.Errorf("error reading 'geo': %w", err) - } - delete(object, "geo") - } - - if raw, found := object["id"]; found { - err = json.Unmarshal(raw, &a.Id) - if err != nil { - return fmt.Errorf("error reading 'id': %w", err) - } - delete(object, "id") - } - - if raw, found := object["isInvalid"]; found { - err = json.Unmarshal(raw, &a.IsInvalid) - if err != nil { - return fmt.Errorf("error reading 'isInvalid': %w", err) - } - delete(object, "isInvalid") - } - - if raw, found := object["label"]; found { - err = json.Unmarshal(raw, &a.Label) - if err != nil { - return fmt.Errorf("error reading 'label': %w", err) - } - delete(object, "label") - } + if raw, found := object["label"]; found { + err = json.Unmarshal(raw, &a.Label) + if err != nil { + return fmt.Errorf("error reading 'label': %w", err) + } + delete(object, "label") + } if raw, found := object["namespace"]; found { err = json.Unmarshal(raw, &a.Namespace) @@ -54641,42 +42527,975 @@ func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Feature a.AdditionalProperties[fieldName] = fieldVal } } - return nil -} + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.DocValueOnlyNumeric != nil { + object["doc_value_only_numeric"], err = json.Marshal(a.DocValueOnlyNumeric) + if err != nil { + return nil, fmt.Errorf("error marshaling 'doc_value_only_numeric': %w", err) + } + } + + if a.DocValueOnlyOther != nil { + object["doc_value_only_other"], err = json.Marshal(a.DocValueOnlyOther) + if err != nil { + return nil, fmt.Errorf("error marshaling 'doc_value_only_other': %w", err) + } + } + + if a.SyntheticSource != nil { + object["synthetic_source"], err = json.Marshal(a.SyntheticSource) + if err != nil { + return nil, fmt.Errorf("error marshaling 'synthetic_source': %w", err) + } + } + + if a.Tsdb != nil { + object["tsdb"], err = json.Marshal(a.Tsdb) + if err != nil { + return nil, fmt.Errorf("error marshaling 'tsdb': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item +func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["data_stream"]; found { + err = json.Unmarshal(raw, &a.DataStream) + if err != nil { + return fmt.Errorf("error reading 'data_stream': %w", err) + } + delete(object, "data_stream") + } + + if raw, found := object["features"]; found { + err = json.Unmarshal(raw, &a.Features) + if err != nil { + return fmt.Errorf("error reading 'features': %w", err) + } + delete(object, "features") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + object["data_stream"], err = json.Marshal(a.DataStream) + if err != nil { + return nil, fmt.Errorf("error marshaling 'data_stream': %w", err) + } + + object["features"], err = json.Marshal(a.Features) + if err != nil { + return nil, fmt.Errorf("error marshaling 'features': %w", err) + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_InstalledEs_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item +func (a *PackageListItem_InstallationInfo_InstalledEs_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_InstalledEs_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["type"]; found { + err = json.Unmarshal(raw, &a.Type) + if err != nil { + return fmt.Errorf("error reading 'type': %w", err) + } + delete(object, "type") + } + + if raw, found := object["version"]; found { + err = json.Unmarshal(raw, &a.Version) + if err != nil { + return fmt.Errorf("error reading 'version': %w", err) + } + delete(object, "version") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_InstalledEs_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + + object["type"], err = json.Marshal(a.Type) + if err != nil { + return nil, fmt.Errorf("error marshaling 'type': %w", err) + } + + if a.Version != nil { + object["version"], err = json.Marshal(a.Version) + if err != nil { + return nil, fmt.Errorf("error marshaling 'version': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_InstalledKibana_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item +func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["deferred"]; found { + err = json.Unmarshal(raw, &a.Deferred) + if err != nil { + return fmt.Errorf("error reading 'deferred': %w", err) + } + delete(object, "deferred") + } + + if raw, found := object["id"]; found { + err = json.Unmarshal(raw, &a.Id) + if err != nil { + return fmt.Errorf("error reading 'id': %w", err) + } + delete(object, "id") + } + + if raw, found := object["originId"]; found { + err = json.Unmarshal(raw, &a.OriginId) + if err != nil { + return fmt.Errorf("error reading 'originId': %w", err) + } + delete(object, "originId") + } + + if raw, found := object["type"]; found { + err = json.Unmarshal(raw, &a.Type) + if err != nil { + return fmt.Errorf("error reading 'type': %w", err) + } + delete(object, "type") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Deferred != nil { + object["deferred"], err = json.Marshal(a.Deferred) + if err != nil { + return nil, fmt.Errorf("error marshaling 'deferred': %w", err) + } + } + + object["id"], err = json.Marshal(a.Id) + if err != nil { + return nil, fmt.Errorf("error marshaling 'id': %w", err) + } + + if a.OriginId != nil { + object["originId"], err = json.Marshal(a.OriginId) + if err != nil { + return nil, fmt.Errorf("error marshaling 'originId': %w", err) + } + } + + object["type"], err = json.Marshal(a.Type) + if err != nil { + return nil, fmt.Errorf("error marshaling 'type': %w", err) + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_LatestExecutedState) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState +func (a *PackageListItem_InstallationInfo_LatestExecutedState) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_LatestExecutedState) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["error"]; found { + err = json.Unmarshal(raw, &a.Error) + if err != nil { + return fmt.Errorf("error reading 'error': %w", err) + } + delete(object, "error") + } + + if raw, found := object["name"]; found { + err = json.Unmarshal(raw, &a.Name) + if err != nil { + return fmt.Errorf("error reading 'name': %w", err) + } + delete(object, "name") + } + + if raw, found := object["started_at"]; found { + err = json.Unmarshal(raw, &a.StartedAt) + if err != nil { + return fmt.Errorf("error reading 'started_at': %w", err) + } + delete(object, "started_at") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_LatestExecutedState) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.Error != nil { + object["error"], err = json.Marshal(a.Error) + if err != nil { + return nil, fmt.Errorf("error marshaling 'error': %w", err) + } + } + + if a.Name != nil { + object["name"], err = json.Marshal(a.Name) + if err != nil { + return nil, fmt.Errorf("error marshaling 'name': %w", err) + } + } + + if a.StartedAt != nil { + object["started_at"], err = json.Marshal(a.StartedAt) + if err != nil { + return nil, fmt.Errorf("error marshaling 'started_at': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error +func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["message"]; found { + err = json.Unmarshal(raw, &a.Message) + if err != nil { + return fmt.Errorf("error reading 'message': %w", err) + } + delete(object, "message") + } + + if raw, found := object["name"]; found { + err = json.Unmarshal(raw, &a.Name) + if err != nil { + return fmt.Errorf("error reading 'name': %w", err) + } + delete(object, "name") + } + + if raw, found := object["stack"]; found { + err = json.Unmarshal(raw, &a.Stack) + if err != nil { + return fmt.Errorf("error reading 'stack': %w", err) + } + delete(object, "stack") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + object["message"], err = json.Marshal(a.Message) + if err != nil { + return nil, fmt.Errorf("error marshaling 'message': %w", err) + } + + object["name"], err = json.Marshal(a.Name) + if err != nil { + return nil, fmt.Errorf("error marshaling 'name': %w", err) + } + + if a.Stack != nil { + object["stack"], err = json.Marshal(a.Stack) + if err != nil { + return nil, fmt.Errorf("error marshaling 'stack': %w", err) + } + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item +func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["created_at"]; found { + err = json.Unmarshal(raw, &a.CreatedAt) + if err != nil { + return fmt.Errorf("error reading 'created_at': %w", err) + } + delete(object, "created_at") + } + + if raw, found := object["error"]; found { + err = json.Unmarshal(raw, &a.Error) + if err != nil { + return fmt.Errorf("error reading 'error': %w", err) + } + delete(object, "error") + } + + if raw, found := object["target_version"]; found { + err = json.Unmarshal(raw, &a.TargetVersion) + if err != nil { + return fmt.Errorf("error reading 'target_version': %w", err) + } + delete(object, "target_version") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties +func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + object["created_at"], err = json.Marshal(a.CreatedAt) + if err != nil { + return nil, fmt.Errorf("error marshaling 'created_at': %w", err) + } + + object["error"], err = json.Marshal(a.Error) + if err != nil { + return nil, fmt.Errorf("error marshaling 'error': %w", err) + } + + object["target_version"], err = json.Marshal(a.TargetVersion) + if err != nil { + return nil, fmt.Errorf("error marshaling 'target_version': %w", err) + } + + for fieldName, field := range a.AdditionalProperties { + object[fieldName], err = json.Marshal(field) + if err != nil { + return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) + } + } + return json.Marshal(object) +} + +// Getter for additional properties for PackageListItem_InstallationInfo. Returns the specified +// element and whether it was found +func (a PackageListItem_InstallationInfo) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for PackageListItem_InstallationInfo +func (a *PackageListItem_InstallationInfo) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties +func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { + object := make(map[string]json.RawMessage) + err := json.Unmarshal(b, &object) + if err != nil { + return err + } + + if raw, found := object["additional_spaces_installed_kibana"]; found { + err = json.Unmarshal(raw, &a.AdditionalSpacesInstalledKibana) + if err != nil { + return fmt.Errorf("error reading 'additional_spaces_installed_kibana': %w", err) + } + delete(object, "additional_spaces_installed_kibana") + } + + if raw, found := object["created_at"]; found { + err = json.Unmarshal(raw, &a.CreatedAt) + if err != nil { + return fmt.Errorf("error reading 'created_at': %w", err) + } + delete(object, "created_at") + } + + if raw, found := object["experimental_data_stream_features"]; found { + err = json.Unmarshal(raw, &a.ExperimentalDataStreamFeatures) + if err != nil { + return fmt.Errorf("error reading 'experimental_data_stream_features': %w", err) + } + delete(object, "experimental_data_stream_features") + } + + if raw, found := object["install_format_schema_version"]; found { + err = json.Unmarshal(raw, &a.InstallFormatSchemaVersion) + if err != nil { + return fmt.Errorf("error reading 'install_format_schema_version': %w", err) + } + delete(object, "install_format_schema_version") + } + + if raw, found := object["install_source"]; found { + err = json.Unmarshal(raw, &a.InstallSource) + if err != nil { + return fmt.Errorf("error reading 'install_source': %w", err) + } + delete(object, "install_source") + } + + if raw, found := object["install_status"]; found { + err = json.Unmarshal(raw, &a.InstallStatus) + if err != nil { + return fmt.Errorf("error reading 'install_status': %w", err) + } + delete(object, "install_status") + } + + if raw, found := object["installed_es"]; found { + err = json.Unmarshal(raw, &a.InstalledEs) + if err != nil { + return fmt.Errorf("error reading 'installed_es': %w", err) + } + delete(object, "installed_es") + } + + if raw, found := object["installed_kibana"]; found { + err = json.Unmarshal(raw, &a.InstalledKibana) + if err != nil { + return fmt.Errorf("error reading 'installed_kibana': %w", err) + } + delete(object, "installed_kibana") + } + + if raw, found := object["installed_kibana_space_id"]; found { + err = json.Unmarshal(raw, &a.InstalledKibanaSpaceId) + if err != nil { + return fmt.Errorf("error reading 'installed_kibana_space_id': %w", err) + } + delete(object, "installed_kibana_space_id") + } + + if raw, found := object["is_rollback_ttl_expired"]; found { + err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) + if err != nil { + return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) + } + delete(object, "is_rollback_ttl_expired") + } + + if raw, found := object["latest_executed_state"]; found { + err = json.Unmarshal(raw, &a.LatestExecutedState) + if err != nil { + return fmt.Errorf("error reading 'latest_executed_state': %w", err) + } + delete(object, "latest_executed_state") + } + + if raw, found := object["latest_install_failed_attempts"]; found { + err = json.Unmarshal(raw, &a.LatestInstallFailedAttempts) + if err != nil { + return fmt.Errorf("error reading 'latest_install_failed_attempts': %w", err) + } + delete(object, "latest_install_failed_attempts") + } + + if raw, found := object["name"]; found { + err = json.Unmarshal(raw, &a.Name) + if err != nil { + return fmt.Errorf("error reading 'name': %w", err) + } + delete(object, "name") + } + + if raw, found := object["namespaces"]; found { + err = json.Unmarshal(raw, &a.Namespaces) + if err != nil { + return fmt.Errorf("error reading 'namespaces': %w", err) + } + delete(object, "namespaces") + } + + if raw, found := object["previous_version"]; found { + err = json.Unmarshal(raw, &a.PreviousVersion) + if err != nil { + return fmt.Errorf("error reading 'previous_version': %w", err) + } + delete(object, "previous_version") + } + + if raw, found := object["rolled_back"]; found { + err = json.Unmarshal(raw, &a.RolledBack) + if err != nil { + return fmt.Errorf("error reading 'rolled_back': %w", err) + } + delete(object, "rolled_back") + } + + if raw, found := object["type"]; found { + err = json.Unmarshal(raw, &a.Type) + if err != nil { + return fmt.Errorf("error reading 'type': %w", err) + } + delete(object, "type") + } + + if raw, found := object["updated_at"]; found { + err = json.Unmarshal(raw, &a.UpdatedAt) + if err != nil { + return fmt.Errorf("error reading 'updated_at': %w", err) + } + delete(object, "updated_at") + } + + if raw, found := object["verification_key_id"]; found { + err = json.Unmarshal(raw, &a.VerificationKeyId) + if err != nil { + return fmt.Errorf("error reading 'verification_key_id': %w", err) + } + delete(object, "verification_key_id") + } + + if raw, found := object["verification_status"]; found { + err = json.Unmarshal(raw, &a.VerificationStatus) + if err != nil { + return fmt.Errorf("error reading 'verification_status': %w", err) + } + delete(object, "verification_status") + } + + if raw, found := object["version"]; found { + err = json.Unmarshal(raw, &a.Version) + if err != nil { + return fmt.Errorf("error reading 'version': %w", err) + } + delete(object, "version") + } + + if len(object) != 0 { + a.AdditionalProperties = make(map[string]interface{}) + for fieldName, fieldBuf := range object { + var fieldVal interface{} + err := json.Unmarshal(fieldBuf, &fieldVal) + if err != nil { + return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) + } + a.AdditionalProperties[fieldName] = fieldVal + } + } + return nil +} + +// Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties +func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { + var err error + object := make(map[string]json.RawMessage) + + if a.AdditionalSpacesInstalledKibana != nil { + object["additional_spaces_installed_kibana"], err = json.Marshal(a.AdditionalSpacesInstalledKibana) + if err != nil { + return nil, fmt.Errorf("error marshaling 'additional_spaces_installed_kibana': %w", err) + } + } + + if a.CreatedAt != nil { + object["created_at"], err = json.Marshal(a.CreatedAt) + if err != nil { + return nil, fmt.Errorf("error marshaling 'created_at': %w", err) + } + } + + if a.ExperimentalDataStreamFeatures != nil { + object["experimental_data_stream_features"], err = json.Marshal(a.ExperimentalDataStreamFeatures) + if err != nil { + return nil, fmt.Errorf("error marshaling 'experimental_data_stream_features': %w", err) + } + } + + if a.InstallFormatSchemaVersion != nil { + object["install_format_schema_version"], err = json.Marshal(a.InstallFormatSchemaVersion) + if err != nil { + return nil, fmt.Errorf("error marshaling 'install_format_schema_version': %w", err) + } + } + + object["install_source"], err = json.Marshal(a.InstallSource) + if err != nil { + return nil, fmt.Errorf("error marshaling 'install_source': %w", err) + } + + object["install_status"], err = json.Marshal(a.InstallStatus) + if err != nil { + return nil, fmt.Errorf("error marshaling 'install_status': %w", err) + } + + object["installed_es"], err = json.Marshal(a.InstalledEs) + if err != nil { + return nil, fmt.Errorf("error marshaling 'installed_es': %w", err) + } + + object["installed_kibana"], err = json.Marshal(a.InstalledKibana) + if err != nil { + return nil, fmt.Errorf("error marshaling 'installed_kibana': %w", err) + } + + if a.InstalledKibanaSpaceId != nil { + object["installed_kibana_space_id"], err = json.Marshal(a.InstalledKibanaSpaceId) + if err != nil { + return nil, fmt.Errorf("error marshaling 'installed_kibana_space_id': %w", err) + } + } + + if a.IsRollbackTtlExpired != nil { + object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) + if err != nil { + return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) + } + } + + if a.LatestExecutedState != nil { + object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) + if err != nil { + return nil, fmt.Errorf("error marshaling 'latest_executed_state': %w", err) + } + } + + if a.LatestInstallFailedAttempts != nil { + object["latest_install_failed_attempts"], err = json.Marshal(a.LatestInstallFailedAttempts) + if err != nil { + return nil, fmt.Errorf("error marshaling 'latest_install_failed_attempts': %w", err) + } + } + + object["name"], err = json.Marshal(a.Name) + if err != nil { + return nil, fmt.Errorf("error marshaling 'name': %w", err) + } -// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) + if a.Namespaces != nil { + object["namespaces"], err = json.Marshal(a.Namespaces) + if err != nil { + return nil, fmt.Errorf("error marshaling 'namespaces': %w", err) + } + } - if a.DocValueOnlyNumeric != nil { - object["doc_value_only_numeric"], err = json.Marshal(a.DocValueOnlyNumeric) + if a.PreviousVersion != nil { + object["previous_version"], err = json.Marshal(a.PreviousVersion) if err != nil { - return nil, fmt.Errorf("error marshaling 'doc_value_only_numeric': %w", err) + return nil, fmt.Errorf("error marshaling 'previous_version': %w", err) } } - if a.DocValueOnlyOther != nil { - object["doc_value_only_other"], err = json.Marshal(a.DocValueOnlyOther) + if a.RolledBack != nil { + object["rolled_back"], err = json.Marshal(a.RolledBack) if err != nil { - return nil, fmt.Errorf("error marshaling 'doc_value_only_other': %w", err) + return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) } } - if a.SyntheticSource != nil { - object["synthetic_source"], err = json.Marshal(a.SyntheticSource) + object["type"], err = json.Marshal(a.Type) + if err != nil { + return nil, fmt.Errorf("error marshaling 'type': %w", err) + } + + if a.UpdatedAt != nil { + object["updated_at"], err = json.Marshal(a.UpdatedAt) if err != nil { - return nil, fmt.Errorf("error marshaling 'synthetic_source': %w", err) + return nil, fmt.Errorf("error marshaling 'updated_at': %w", err) } } - if a.Tsdb != nil { - object["tsdb"], err = json.Marshal(a.Tsdb) + if a.VerificationKeyId != nil { + object["verification_key_id"], err = json.Marshal(a.VerificationKeyId) if err != nil { - return nil, fmt.Errorf("error marshaling 'tsdb': %w", err) + return nil, fmt.Errorf("error marshaling 'verification_key_id': %w", err) } } + object["verification_status"], err = json.Marshal(a.VerificationStatus) + if err != nil { + return nil, fmt.Errorf("error marshaling 'verification_status': %w", err) + } + + object["version"], err = json.Marshal(a.Version) + if err != nil { + return nil, fmt.Errorf("error marshaling 'version': %w", err) + } + for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -54686,45 +43505,45 @@ func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features return json.Marshal(object) } -// Getter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item. Returns the specified +// Getter for additional properties for PackageListItem_Owner. Returns the specified // element and whether it was found -func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get(fieldName string) (value interface{}, found bool) { +func (a PackageListItem_Owner) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item -func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Set(fieldName string, value interface{}) { +// Setter for additional properties for PackageListItem_Owner +func (a *PackageListItem_Owner) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties +func (a *PackageListItem_Owner) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if raw, found := object["data_stream"]; found { - err = json.Unmarshal(raw, &a.DataStream) + if raw, found := object["github"]; found { + err = json.Unmarshal(raw, &a.Github) if err != nil { - return fmt.Errorf("error reading 'data_stream': %w", err) + return fmt.Errorf("error reading 'github': %w", err) } - delete(object, "data_stream") + delete(object, "github") } - if raw, found := object["features"]; found { - err = json.Unmarshal(raw, &a.Features) + if raw, found := object["type"]; found { + err = json.Unmarshal(raw, &a.Type) if err != nil { - return fmt.Errorf("error reading 'features': %w", err) + return fmt.Errorf("error reading 'type': %w", err) } - delete(object, "features") + delete(object, "type") } if len(object) != 0 { @@ -54741,19 +43560,23 @@ func (a *PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) U return nil } -// Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties +func (a PackageListItem_Owner) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - object["data_stream"], err = json.Marshal(a.DataStream) - if err != nil { - return nil, fmt.Errorf("error marshaling 'data_stream': %w", err) + if a.Github != nil { + object["github"], err = json.Marshal(a.Github) + if err != nil { + return nil, fmt.Errorf("error marshaling 'github': %w", err) + } } - object["features"], err = json.Marshal(a.Features) - if err != nil { - return nil, fmt.Errorf("error marshaling 'features': %w", err) + if a.Type != nil { + object["type"], err = json.Marshal(a.Type) + if err != nil { + return nil, fmt.Errorf("error marshaling 'type': %w", err) + } } for fieldName, field := range a.AdditionalProperties { @@ -54765,61 +43588,37 @@ func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Ma return json.Marshal(object) } -// Getter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item. Returns the specified +// Getter for additional properties for PackageListItem_Source. Returns the specified // element and whether it was found -func (a PackageListItem_InstallationInfo_InstalledEs_Item) Get(fieldName string) (value interface{}, found bool) { +func (a PackageListItem_Source) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item -func (a *PackageListItem_InstallationInfo_InstalledEs_Item) Set(fieldName string, value interface{}) { +// Setter for additional properties for PackageListItem_Source +func (a *PackageListItem_Source) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_InstalledEs_Item) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PackageListItem_Source to handle AdditionalProperties +func (a *PackageListItem_Source) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - - if raw, found := object["id"]; found { - err = json.Unmarshal(raw, &a.Id) - if err != nil { - return fmt.Errorf("error reading 'id': %w", err) - } - delete(object, "id") - } - - if raw, found := object["type"]; found { - err = json.Unmarshal(raw, &a.Type) - if err != nil { - return fmt.Errorf("error reading 'type': %w", err) - } - delete(object, "type") - } - - if raw, found := object["version"]; found { - err = json.Unmarshal(raw, &a.Version) + if raw, found := object["license"]; found { + err = json.Unmarshal(raw, &a.License) if err != nil { - return fmt.Errorf("error reading 'version': %w", err) + return fmt.Errorf("error reading 'license': %w", err) } - delete(object, "version") + delete(object, "license") } if len(object) != 0 { @@ -54836,33 +43635,14 @@ func (a *PackageListItem_InstallationInfo_InstalledEs_Item) UnmarshalJSON(b []by return nil } -// Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_InstalledEs_Item) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PackageListItem_Source to handle AdditionalProperties +func (a PackageListItem_Source) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - - object["id"], err = json.Marshal(a.Id) - if err != nil { - return nil, fmt.Errorf("error marshaling 'id': %w", err) - } - - object["type"], err = json.Marshal(a.Type) + object["license"], err = json.Marshal(a.License) if err != nil { - return nil, fmt.Errorf("error marshaling 'type': %w", err) - } - - if a.Version != nil { - object["version"], err = json.Marshal(a.Version) - if err != nil { - return nil, fmt.Errorf("error marshaling 'version': %w", err) - } + return nil, fmt.Errorf("error marshaling 'license': %w", err) } for fieldName, field := range a.AdditionalProperties { @@ -54874,61 +43654,37 @@ func (a PackageListItem_InstallationInfo_InstalledEs_Item) MarshalJSON() ([]byte return json.Marshal(object) } -// Getter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item. Returns the specified +// Getter for additional properties for PackagePolicy_Elasticsearch_Privileges. Returns the specified // element and whether it was found -func (a PackageListItem_InstallationInfo_InstalledKibana_Item) Get(fieldName string) (value interface{}, found bool) { +func (a PackagePolicy_Elasticsearch_Privileges) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item -func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) Set(fieldName string, value interface{}) { +// Setter for additional properties for PackagePolicy_Elasticsearch_Privileges +func (a *PackagePolicy_Elasticsearch_Privileges) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties +func (a *PackagePolicy_Elasticsearch_Privileges) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if raw, found := object["deferred"]; found { - err = json.Unmarshal(raw, &a.Deferred) - if err != nil { - return fmt.Errorf("error reading 'deferred': %w", err) - } - delete(object, "deferred") - } - - if raw, found := object["id"]; found { - err = json.Unmarshal(raw, &a.Id) - if err != nil { - return fmt.Errorf("error reading 'id': %w", err) - } - delete(object, "id") - } - - if raw, found := object["originId"]; found { - err = json.Unmarshal(raw, &a.OriginId) - if err != nil { - return fmt.Errorf("error reading 'originId': %w", err) - } - delete(object, "originId") - } - - if raw, found := object["type"]; found { - err = json.Unmarshal(raw, &a.Type) + if raw, found := object["cluster"]; found { + err = json.Unmarshal(raw, &a.Cluster) if err != nil { - return fmt.Errorf("error reading 'type': %w", err) + return fmt.Errorf("error reading 'cluster': %w", err) } - delete(object, "type") + delete(object, "cluster") } if len(object) != 0 { @@ -54945,35 +43701,18 @@ func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON(b return nil } -// Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties +func (a PackagePolicy_Elasticsearch_Privileges) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Deferred != nil { - object["deferred"], err = json.Marshal(a.Deferred) - if err != nil { - return nil, fmt.Errorf("error marshaling 'deferred': %w", err) - } - } - - object["id"], err = json.Marshal(a.Id) - if err != nil { - return nil, fmt.Errorf("error marshaling 'id': %w", err) - } - - if a.OriginId != nil { - object["originId"], err = json.Marshal(a.OriginId) + if a.Cluster != nil { + object["cluster"], err = json.Marshal(a.Cluster) if err != nil { - return nil, fmt.Errorf("error marshaling 'originId': %w", err) + return nil, fmt.Errorf("error marshaling 'cluster': %w", err) } } - object["type"], err = json.Marshal(a.Type) - if err != nil { - return nil, fmt.Errorf("error marshaling 'type': %w", err) - } - for fieldName, field := range a.AdditionalProperties { object[fieldName], err = json.Marshal(field) if err != nil { @@ -54983,53 +43722,37 @@ func (a PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON() ([] return json.Marshal(object) } -// Getter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState. Returns the specified +// Getter for additional properties for PackagePolicy_Elasticsearch. Returns the specified // element and whether it was found -func (a PackageListItem_InstallationInfo_LatestExecutedState) Get(fieldName string) (value interface{}, found bool) { +func (a PackagePolicy_Elasticsearch) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState -func (a *PackageListItem_InstallationInfo_LatestExecutedState) Set(fieldName string, value interface{}) { +// Setter for additional properties for PackagePolicy_Elasticsearch +func (a *PackagePolicy_Elasticsearch) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_LatestExecutedState) UnmarshalJSON(b []byte) error { +// Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties +func (a *PackagePolicy_Elasticsearch) UnmarshalJSON(b []byte) error { object := make(map[string]json.RawMessage) err := json.Unmarshal(b, &object) if err != nil { return err } - if raw, found := object["error"]; found { - err = json.Unmarshal(raw, &a.Error) - if err != nil { - return fmt.Errorf("error reading 'error': %w", err) - } - delete(object, "error") - } - - if raw, found := object["name"]; found { - err = json.Unmarshal(raw, &a.Name) - if err != nil { - return fmt.Errorf("error reading 'name': %w", err) - } - delete(object, "name") - } - - if raw, found := object["started_at"]; found { - err = json.Unmarshal(raw, &a.StartedAt) + if raw, found := object["privileges"]; found { + err = json.Unmarshal(raw, &a.Privileges) if err != nil { - return fmt.Errorf("error reading 'started_at': %w", err) + return fmt.Errorf("error reading 'privileges': %w", err) } - delete(object, "started_at") + delete(object, "privileges") } if len(object) != 0 { @@ -55046,29 +43769,15 @@ func (a *PackageListItem_InstallationInfo_LatestExecutedState) UnmarshalJSON(b [ return nil } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_LatestExecutedState) MarshalJSON() ([]byte, error) { +// Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties +func (a PackagePolicy_Elasticsearch) MarshalJSON() ([]byte, error) { var err error object := make(map[string]json.RawMessage) - if a.Error != nil { - object["error"], err = json.Marshal(a.Error) - if err != nil { - return nil, fmt.Errorf("error marshaling 'error': %w", err) - } - } - - if a.Name != nil { - object["name"], err = json.Marshal(a.Name) - if err != nil { - return nil, fmt.Errorf("error marshaling 'name': %w", err) - } - } - - if a.StartedAt != nil { - object["started_at"], err = json.Marshal(a.StartedAt) + if a.Privileges != nil { + object["privileges"], err = json.Marshal(a.Privileges) if err != nil { - return nil, fmt.Errorf("error marshaling 'started_at': %w", err) + return nil, fmt.Errorf("error marshaling 'privileges': %w", err) } } @@ -55081,881 +43790,1364 @@ func (a PackageListItem_InstallationInfo_LatestExecutedState) MarshalJSON() ([]b return json.Marshal(object) } -// Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error. Returns the specified +// Getter for additional properties for UpdateConnectorConfig. Returns the specified // element and whether it was found -func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Get(fieldName string) (value interface{}, found bool) { +func (a UpdateConnectorConfig) Get(fieldName string) (value interface{}, found bool) { if a.AdditionalProperties != nil { value, found = a.AdditionalProperties[fieldName] } return } -// Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error -func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Set(fieldName string, value interface{}) { +// Setter for additional properties for UpdateConnectorConfig +func (a *UpdateConnectorConfig) Set(fieldName string, value interface{}) { if a.AdditionalProperties == nil { a.AdditionalProperties = make(map[string]interface{}) } a.AdditionalProperties[fieldName] = value } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// Getter for additional properties for UpdateConnectorSecrets. Returns the specified +// element and whether it was found +func (a UpdateConnectorSecrets) Get(fieldName string) (value interface{}, found bool) { + if a.AdditionalProperties != nil { + value, found = a.AdditionalProperties[fieldName] + } + return +} + +// Setter for additional properties for UpdateConnectorSecrets +func (a *UpdateConnectorSecrets) Set(fieldName string, value interface{}) { + if a.AdditionalProperties == nil { + a.AdditionalProperties = make(map[string]interface{}) + } + a.AdditionalProperties[fieldName] = value +} + +// AsCasesAddAlertCommentRequestProperties returns the union data inside the CasesAddCaseCommentRequest as a CasesAddAlertCommentRequestProperties +func (t CasesAddCaseCommentRequest) AsCasesAddAlertCommentRequestProperties() (CasesAddAlertCommentRequestProperties, error) { + var body CasesAddAlertCommentRequestProperties + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAddAlertCommentRequestProperties overwrites any union data inside the CasesAddCaseCommentRequest as the provided CasesAddAlertCommentRequestProperties +func (t *CasesAddCaseCommentRequest) FromCasesAddAlertCommentRequestProperties(v CasesAddAlertCommentRequestProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAddAlertCommentRequestProperties performs a merge with any union data inside the CasesAddCaseCommentRequest, using the provided CasesAddAlertCommentRequestProperties +func (t *CasesAddCaseCommentRequest) MergeCasesAddAlertCommentRequestProperties(v CasesAddAlertCommentRequestProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["message"]; found { - err = json.Unmarshal(raw, &a.Message) - if err != nil { - return fmt.Errorf("error reading 'message': %w", err) - } - delete(object, "message") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesAddUserCommentRequestProperties returns the union data inside the CasesAddCaseCommentRequest as a CasesAddUserCommentRequestProperties +func (t CasesAddCaseCommentRequest) AsCasesAddUserCommentRequestProperties() (CasesAddUserCommentRequestProperties, error) { + var body CasesAddUserCommentRequestProperties + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAddUserCommentRequestProperties overwrites any union data inside the CasesAddCaseCommentRequest as the provided CasesAddUserCommentRequestProperties +func (t *CasesAddCaseCommentRequest) FromCasesAddUserCommentRequestProperties(v CasesAddUserCommentRequestProperties) error { + v.Type = "user" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAddUserCommentRequestProperties performs a merge with any union data inside the CasesAddCaseCommentRequest, using the provided CasesAddUserCommentRequestProperties +func (t *CasesAddCaseCommentRequest) MergeCasesAddUserCommentRequestProperties(v CasesAddUserCommentRequestProperties) error { + v.Type = "user" + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["name"]; found { - err = json.Unmarshal(raw, &a.Name) - if err != nil { - return fmt.Errorf("error reading 'name': %w", err) - } - delete(object, "name") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesAddCaseCommentRequest) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"type"` } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} - if raw, found := object["stack"]; found { - err = json.Unmarshal(raw, &a.Stack) - if err != nil { - return fmt.Errorf("error reading 'stack': %w", err) - } - delete(object, "stack") +func (t CasesAddCaseCommentRequest) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "alert": + return t.AsCasesAddAlertCommentRequestProperties() + case "user": + return t.AsCasesAddUserCommentRequestProperties() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) } +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } +func (t CasesAddCaseCommentRequest) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesAddCaseCommentRequest) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesAlertIdentifiers0 returns the union data inside the CasesAlertIdentifiers as a CasesAlertIdentifiers0 +func (t CasesAlertIdentifiers) AsCasesAlertIdentifiers0() (CasesAlertIdentifiers0, error) { + var body CasesAlertIdentifiers0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAlertIdentifiers0 overwrites any union data inside the CasesAlertIdentifiers as the provided CasesAlertIdentifiers0 +func (t *CasesAlertIdentifiers) FromCasesAlertIdentifiers0(v CasesAlertIdentifiers0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAlertIdentifiers0 performs a merge with any union data inside the CasesAlertIdentifiers, using the provided CasesAlertIdentifiers0 +func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers0(v CasesAlertIdentifiers0) error { + b, err := json.Marshal(v) + if err != nil { + return err } - return nil + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +// AsCasesAlertIdentifiers1 returns the union data inside the CasesAlertIdentifiers as a CasesAlertIdentifiers1 +func (t CasesAlertIdentifiers) AsCasesAlertIdentifiers1() (CasesAlertIdentifiers1, error) { + var body CasesAlertIdentifiers1 + err := json.Unmarshal(t.union, &body) + return body, err +} - object["message"], err = json.Marshal(a.Message) +// FromCasesAlertIdentifiers1 overwrites any union data inside the CasesAlertIdentifiers as the provided CasesAlertIdentifiers1 +func (t *CasesAlertIdentifiers) FromCasesAlertIdentifiers1(v CasesAlertIdentifiers1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAlertIdentifiers1 performs a merge with any union data inside the CasesAlertIdentifiers, using the provided CasesAlertIdentifiers1 +func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers1(v CasesAlertIdentifiers1) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'message': %w", err) + return err } - object["name"], err = json.Marshal(a.Name) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesAlertIdentifiers) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesAlertIdentifiers) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesAlertIndices0 returns the union data inside the CasesAlertIndices as a CasesAlertIndices0 +func (t CasesAlertIndices) AsCasesAlertIndices0() (CasesAlertIndices0, error) { + var body CasesAlertIndices0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAlertIndices0 overwrites any union data inside the CasesAlertIndices as the provided CasesAlertIndices0 +func (t *CasesAlertIndices) FromCasesAlertIndices0(v CasesAlertIndices0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAlertIndices0 performs a merge with any union data inside the CasesAlertIndices, using the provided CasesAlertIndices0 +func (t *CasesAlertIndices) MergeCasesAlertIndices0(v CasesAlertIndices0) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'name': %w", err) + return err } - if a.Stack != nil { - object["stack"], err = json.Marshal(a.Stack) - if err != nil { - return nil, fmt.Errorf("error marshaling 'stack': %w", err) - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesAlertIndices1 returns the union data inside the CasesAlertIndices as a CasesAlertIndices1 +func (t CasesAlertIndices) AsCasesAlertIndices1() (CasesAlertIndices1, error) { + var body CasesAlertIndices1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAlertIndices1 overwrites any union data inside the CasesAlertIndices as the provided CasesAlertIndices1 +func (t *CasesAlertIndices) FromCasesAlertIndices1(v CasesAlertIndices1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAlertIndices1 performs a merge with any union data inside the CasesAlertIndices, using the provided CasesAlertIndices1 +func (t *CasesAlertIndices) MergeCasesAlertIndices1(v CasesAlertIndices1) error { + b, err := json.Marshal(v) + if err != nil { + return err } - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesAlertIndices) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesAlertIndices) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesAlertCommentResponseProperties returns the union data inside the CasesCaseResponseProperties_Comments_Item as a CasesAlertCommentResponseProperties +func (t CasesCaseResponseProperties_Comments_Item) AsCasesAlertCommentResponseProperties() (CasesAlertCommentResponseProperties, error) { + var body CasesAlertCommentResponseProperties + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesAlertCommentResponseProperties overwrites any union data inside the CasesCaseResponseProperties_Comments_Item as the provided CasesAlertCommentResponseProperties +func (t *CasesCaseResponseProperties_Comments_Item) FromCasesAlertCommentResponseProperties(v CasesAlertCommentResponseProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesAlertCommentResponseProperties performs a merge with any union data inside the CasesCaseResponseProperties_Comments_Item, using the provided CasesAlertCommentResponseProperties +func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesAlertCommentResponseProperties(v CasesAlertCommentResponseProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) + if err != nil { + return err } - return json.Marshal(object) + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item. Returns the specified -// element and whether it was found -func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] +// AsCasesUserCommentResponseProperties returns the union data inside the CasesCaseResponseProperties_Comments_Item as a CasesUserCommentResponseProperties +func (t CasesCaseResponseProperties_Comments_Item) AsCasesUserCommentResponseProperties() (CasesUserCommentResponseProperties, error) { + var body CasesUserCommentResponseProperties + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesUserCommentResponseProperties overwrites any union data inside the CasesCaseResponseProperties_Comments_Item as the provided CasesUserCommentResponseProperties +func (t *CasesCaseResponseProperties_Comments_Item) FromCasesUserCommentResponseProperties(v CasesUserCommentResponseProperties) error { + v.Type = "user" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesUserCommentResponseProperties performs a merge with any union data inside the CasesCaseResponseProperties_Comments_Item, using the provided CasesUserCommentResponseProperties +func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesUserCommentResponseProperties(v CasesUserCommentResponseProperties) error { + v.Type = "user" + b, err := json.Marshal(v) + if err != nil { + return err } - return + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item -func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) +func (t CasesCaseResponseProperties_Comments_Item) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"type"` } - a.AdditionalProperties[fieldName] = value + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +func (t CasesCaseResponseProperties_Comments_Item) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "alert": + return t.AsCasesAlertCommentResponseProperties() + case "user": + return t.AsCasesUserCommentResponseProperties() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) + } +} + +func (t CasesCaseResponseProperties_Comments_Item) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesCaseResponseProperties_Comments_Item) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesConnectorPropertiesNone returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesNone +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { + var body CasesConnectorPropertiesNone + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesNone +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + v.Type = ".none" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesNone +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + v.Type = ".none" + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["created_at"]; found { - err = json.Unmarshal(raw, &a.CreatedAt) - if err != nil { - return fmt.Errorf("error reading 'created_at': %w", err) - } - delete(object, "created_at") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesCasesWebhook +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { + var body CasesConnectorPropertiesCasesWebhook + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + v.Type = ".cases-webhook" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + v.Type = ".cases-webhook" + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["error"]; found { - err = json.Unmarshal(raw, &a.Error) - if err != nil { - return fmt.Errorf("error reading 'error': %w", err) - } - delete(object, "error") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesJira returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesJira +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { + var body CasesConnectorPropertiesJira + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesJira +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { + v.Type = ".jira" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesJira +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { + v.Type = ".jira" + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["target_version"]; found { - err = json.Unmarshal(raw, &a.TargetVersion) - if err != nil { - return fmt.Errorf("error reading 'target_version': %w", err) - } - delete(object, "target_version") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesResilient returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesResilient +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { + var body CasesConnectorPropertiesResilient + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesResilient +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { + v.Type = ".resilient" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesResilient +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { + v.Type = ".resilient" + b, err := json.Marshal(v) + if err != nil { + return err } - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesServicenow +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { + var body CasesConnectorPropertiesServicenow + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesServicenow +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + v.Type = ".servicenow" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesServicenow +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + v.Type = ".servicenow" + b, err := json.Marshal(v) + if err != nil { + return err } - return nil + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties -func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesServicenowSir +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { + var body CasesConnectorPropertiesServicenowSir + err := json.Unmarshal(t.union, &body) + return body, err +} - object["created_at"], err = json.Marshal(a.CreatedAt) +// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesServicenowSir +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { + v.Type = ".servicenow-sir" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesServicenowSir +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { + v.Type = ".servicenow-sir" + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'created_at': %w", err) + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesSwimlane +func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { + var body CasesConnectorPropertiesSwimlane + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesSwimlane +func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { + v.Type = ".swimlane" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesSwimlane +func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { + v.Type = ".swimlane" + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesCaseResponseProperties_Connector) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"type"` + } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} + +func (t CasesCaseResponseProperties_Connector) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case ".cases-webhook": + return t.AsCasesConnectorPropertiesCasesWebhook() + case ".jira": + return t.AsCasesConnectorPropertiesJira() + case ".none": + return t.AsCasesConnectorPropertiesNone() + case ".resilient": + return t.AsCasesConnectorPropertiesResilient() + case ".servicenow": + return t.AsCasesConnectorPropertiesServicenow() + case ".servicenow-sir": + return t.AsCasesConnectorPropertiesServicenowSir() + case ".swimlane": + return t.AsCasesConnectorPropertiesSwimlane() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) + } +} + +func (t CasesCaseResponseProperties_Connector) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesCaseResponseProperties_Connector) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesCaseResponsePropertiesCustomFieldsValue0 returns the union data inside the CasesCaseResponseProperties_CustomFields_Value as a CasesCaseResponsePropertiesCustomFieldsValue0 +func (t CasesCaseResponseProperties_CustomFields_Value) AsCasesCaseResponsePropertiesCustomFieldsValue0() (CasesCaseResponsePropertiesCustomFieldsValue0, error) { + var body CasesCaseResponsePropertiesCustomFieldsValue0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesCaseResponsePropertiesCustomFieldsValue0 overwrites any union data inside the CasesCaseResponseProperties_CustomFields_Value as the provided CasesCaseResponsePropertiesCustomFieldsValue0 +func (t *CasesCaseResponseProperties_CustomFields_Value) FromCasesCaseResponsePropertiesCustomFieldsValue0(v CasesCaseResponsePropertiesCustomFieldsValue0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesCaseResponsePropertiesCustomFieldsValue0 performs a merge with any union data inside the CasesCaseResponseProperties_CustomFields_Value, using the provided CasesCaseResponsePropertiesCustomFieldsValue0 +func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponsePropertiesCustomFieldsValue0(v CasesCaseResponsePropertiesCustomFieldsValue0) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesCaseResponsePropertiesCustomFieldsValue1 returns the union data inside the CasesCaseResponseProperties_CustomFields_Value as a CasesCaseResponsePropertiesCustomFieldsValue1 +func (t CasesCaseResponseProperties_CustomFields_Value) AsCasesCaseResponsePropertiesCustomFieldsValue1() (CasesCaseResponsePropertiesCustomFieldsValue1, error) { + var body CasesCaseResponsePropertiesCustomFieldsValue1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesCaseResponsePropertiesCustomFieldsValue1 overwrites any union data inside the CasesCaseResponseProperties_CustomFields_Value as the provided CasesCaseResponsePropertiesCustomFieldsValue1 +func (t *CasesCaseResponseProperties_CustomFields_Value) FromCasesCaseResponsePropertiesCustomFieldsValue1(v CasesCaseResponsePropertiesCustomFieldsValue1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesCaseResponsePropertiesCustomFieldsValue1 performs a merge with any union data inside the CasesCaseResponseProperties_CustomFields_Value, using the provided CasesCaseResponsePropertiesCustomFieldsValue1 +func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponsePropertiesCustomFieldsValue1(v CasesCaseResponsePropertiesCustomFieldsValue1) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesCaseResponseProperties_CustomFields_Value) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *CasesCaseResponseProperties_CustomFields_Value) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsCasesConnectorPropertiesNone returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesNone +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { + var body CasesConnectorPropertiesNone + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesNone +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesNone +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + b, err := json.Marshal(v) + if err != nil { + return err } - object["error"], err = json.Marshal(a.Error) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesCasesWebhook +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { + var body CasesConnectorPropertiesCasesWebhook + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'error': %w", err) + return err } - object["target_version"], err = json.Marshal(a.TargetVersion) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesConnectorPropertiesJira returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesJira +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { + var body CasesConnectorPropertiesJira + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesJira +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesJira +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'target_version': %w", err) + return err } - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Getter for additional properties for PackageListItem_InstallationInfo. Returns the specified -// element and whether it was found -func (a PackageListItem_InstallationInfo) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return +// AsCasesConnectorPropertiesResilient returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesResilient +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { + var body CasesConnectorPropertiesResilient + err := json.Unmarshal(t.union, &body) + return body, err } -// Setter for additional properties for PackageListItem_InstallationInfo -func (a *PackageListItem_InstallationInfo) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value +// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesResilient +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties -func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesResilient +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["additional_spaces_installed_kibana"]; found { - err = json.Unmarshal(raw, &a.AdditionalSpacesInstalledKibana) - if err != nil { - return fmt.Errorf("error reading 'additional_spaces_installed_kibana': %w", err) - } - delete(object, "additional_spaces_installed_kibana") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["created_at"]; found { - err = json.Unmarshal(raw, &a.CreatedAt) - if err != nil { - return fmt.Errorf("error reading 'created_at': %w", err) - } - delete(object, "created_at") - } +// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesServicenow +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { + var body CasesConnectorPropertiesServicenow + err := json.Unmarshal(t.union, &body) + return body, err +} - if raw, found := object["experimental_data_stream_features"]; found { - err = json.Unmarshal(raw, &a.ExperimentalDataStreamFeatures) - if err != nil { - return fmt.Errorf("error reading 'experimental_data_stream_features': %w", err) - } - delete(object, "experimental_data_stream_features") - } +// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesServicenow +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if raw, found := object["install_format_schema_version"]; found { - err = json.Unmarshal(raw, &a.InstallFormatSchemaVersion) - if err != nil { - return fmt.Errorf("error reading 'install_format_schema_version': %w", err) - } - delete(object, "install_format_schema_version") +// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesServicenow +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["install_source"]; found { - err = json.Unmarshal(raw, &a.InstallSource) - if err != nil { - return fmt.Errorf("error reading 'install_source': %w", err) - } - delete(object, "install_source") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["install_status"]; found { - err = json.Unmarshal(raw, &a.InstallStatus) - if err != nil { - return fmt.Errorf("error reading 'install_status': %w", err) - } - delete(object, "install_status") - } +// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesServicenowSir +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { + var body CasesConnectorPropertiesServicenowSir + err := json.Unmarshal(t.union, &body) + return body, err +} - if raw, found := object["installed_es"]; found { - err = json.Unmarshal(raw, &a.InstalledEs) - if err != nil { - return fmt.Errorf("error reading 'installed_es': %w", err) - } - delete(object, "installed_es") - } +// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesServicenowSir +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if raw, found := object["installed_kibana"]; found { - err = json.Unmarshal(raw, &a.InstalledKibana) - if err != nil { - return fmt.Errorf("error reading 'installed_kibana': %w", err) - } - delete(object, "installed_kibana") +// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesServicenowSir +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["installed_kibana_space_id"]; found { - err = json.Unmarshal(raw, &a.InstalledKibanaSpaceId) - if err != nil { - return fmt.Errorf("error reading 'installed_kibana_space_id': %w", err) - } - delete(object, "installed_kibana_space_id") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["is_rollback_ttl_expired"]; found { - err = json.Unmarshal(raw, &a.IsRollbackTtlExpired) - if err != nil { - return fmt.Errorf("error reading 'is_rollback_ttl_expired': %w", err) - } - delete(object, "is_rollback_ttl_expired") - } +// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesSwimlane +func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { + var body CasesConnectorPropertiesSwimlane + err := json.Unmarshal(t.union, &body) + return body, err +} - if raw, found := object["latest_executed_state"]; found { - err = json.Unmarshal(raw, &a.LatestExecutedState) - if err != nil { - return fmt.Errorf("error reading 'latest_executed_state': %w", err) - } - delete(object, "latest_executed_state") - } +// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesSwimlane +func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if raw, found := object["latest_install_failed_attempts"]; found { - err = json.Unmarshal(raw, &a.LatestInstallFailedAttempts) - if err != nil { - return fmt.Errorf("error reading 'latest_install_failed_attempts': %w", err) - } - delete(object, "latest_install_failed_attempts") +// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesSwimlane +func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["name"]; found { - err = json.Unmarshal(raw, &a.Name) - if err != nil { - return fmt.Errorf("error reading 'name': %w", err) - } - delete(object, "name") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["namespaces"]; found { - err = json.Unmarshal(raw, &a.Namespaces) - if err != nil { - return fmt.Errorf("error reading 'namespaces': %w", err) - } - delete(object, "namespaces") - } +func (t CasesCreateCaseRequest_Connector) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - if raw, found := object["previous_version"]; found { - err = json.Unmarshal(raw, &a.PreviousVersion) - if err != nil { - return fmt.Errorf("error reading 'previous_version': %w", err) - } - delete(object, "previous_version") - } +func (t *CasesCreateCaseRequest_Connector) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - if raw, found := object["rolled_back"]; found { - err = json.Unmarshal(raw, &a.RolledBack) - if err != nil { - return fmt.Errorf("error reading 'rolled_back': %w", err) - } - delete(object, "rolled_back") - } +// AsCasesCreateCaseRequestCustomFieldsValue0 returns the union data inside the CasesCreateCaseRequest_CustomFields_Value as a CasesCreateCaseRequestCustomFieldsValue0 +func (t CasesCreateCaseRequest_CustomFields_Value) AsCasesCreateCaseRequestCustomFieldsValue0() (CasesCreateCaseRequestCustomFieldsValue0, error) { + var body CasesCreateCaseRequestCustomFieldsValue0 + err := json.Unmarshal(t.union, &body) + return body, err +} - if raw, found := object["type"]; found { - err = json.Unmarshal(raw, &a.Type) - if err != nil { - return fmt.Errorf("error reading 'type': %w", err) - } - delete(object, "type") - } +// FromCasesCreateCaseRequestCustomFieldsValue0 overwrites any union data inside the CasesCreateCaseRequest_CustomFields_Value as the provided CasesCreateCaseRequestCustomFieldsValue0 +func (t *CasesCreateCaseRequest_CustomFields_Value) FromCasesCreateCaseRequestCustomFieldsValue0(v CasesCreateCaseRequestCustomFieldsValue0) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if raw, found := object["updated_at"]; found { - err = json.Unmarshal(raw, &a.UpdatedAt) - if err != nil { - return fmt.Errorf("error reading 'updated_at': %w", err) - } - delete(object, "updated_at") +// MergeCasesCreateCaseRequestCustomFieldsValue0 performs a merge with any union data inside the CasesCreateCaseRequest_CustomFields_Value, using the provided CasesCreateCaseRequestCustomFieldsValue0 +func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestCustomFieldsValue0(v CasesCreateCaseRequestCustomFieldsValue0) error { + b, err := json.Marshal(v) + if err != nil { + return err } - if raw, found := object["verification_key_id"]; found { - err = json.Unmarshal(raw, &a.VerificationKeyId) - if err != nil { - return fmt.Errorf("error reading 'verification_key_id': %w", err) - } - delete(object, "verification_key_id") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["verification_status"]; found { - err = json.Unmarshal(raw, &a.VerificationStatus) - if err != nil { - return fmt.Errorf("error reading 'verification_status': %w", err) - } - delete(object, "verification_status") - } +// AsCasesCreateCaseRequestCustomFieldsValue1 returns the union data inside the CasesCreateCaseRequest_CustomFields_Value as a CasesCreateCaseRequestCustomFieldsValue1 +func (t CasesCreateCaseRequest_CustomFields_Value) AsCasesCreateCaseRequestCustomFieldsValue1() (CasesCreateCaseRequestCustomFieldsValue1, error) { + var body CasesCreateCaseRequestCustomFieldsValue1 + err := json.Unmarshal(t.union, &body) + return body, err +} - if raw, found := object["version"]; found { - err = json.Unmarshal(raw, &a.Version) - if err != nil { - return fmt.Errorf("error reading 'version': %w", err) - } - delete(object, "version") - } +// FromCasesCreateCaseRequestCustomFieldsValue1 overwrites any union data inside the CasesCreateCaseRequest_CustomFields_Value as the provided CasesCreateCaseRequestCustomFieldsValue1 +func (t *CasesCreateCaseRequest_CustomFields_Value) FromCasesCreateCaseRequestCustomFieldsValue1(v CasesCreateCaseRequestCustomFieldsValue1) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } +// MergeCasesCreateCaseRequestCustomFieldsValue1 performs a merge with any union data inside the CasesCreateCaseRequest_CustomFields_Value, using the provided CasesCreateCaseRequestCustomFieldsValue1 +func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestCustomFieldsValue1(v CasesCreateCaseRequestCustomFieldsValue1) error { + b, err := json.Marshal(v) + if err != nil { + return err } - return nil -} -// Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties -func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if a.AdditionalSpacesInstalledKibana != nil { - object["additional_spaces_installed_kibana"], err = json.Marshal(a.AdditionalSpacesInstalledKibana) - if err != nil { - return nil, fmt.Errorf("error marshaling 'additional_spaces_installed_kibana': %w", err) - } - } +func (t CasesCreateCaseRequest_CustomFields_Value) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - if a.CreatedAt != nil { - object["created_at"], err = json.Marshal(a.CreatedAt) - if err != nil { - return nil, fmt.Errorf("error marshaling 'created_at': %w", err) - } - } +func (t *CasesCreateCaseRequest_CustomFields_Value) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - if a.ExperimentalDataStreamFeatures != nil { - object["experimental_data_stream_features"], err = json.Marshal(a.ExperimentalDataStreamFeatures) - if err != nil { - return nil, fmt.Errorf("error marshaling 'experimental_data_stream_features': %w", err) - } - } +// AsCasesPayloadAlertCommentCommentAlertId0 returns the union data inside the CasesPayloadAlertComment_Comment_AlertId as a CasesPayloadAlertCommentCommentAlertId0 +func (t CasesPayloadAlertComment_Comment_AlertId) AsCasesPayloadAlertCommentCommentAlertId0() (CasesPayloadAlertCommentCommentAlertId0, error) { + var body CasesPayloadAlertCommentCommentAlertId0 + err := json.Unmarshal(t.union, &body) + return body, err +} - if a.InstallFormatSchemaVersion != nil { - object["install_format_schema_version"], err = json.Marshal(a.InstallFormatSchemaVersion) - if err != nil { - return nil, fmt.Errorf("error marshaling 'install_format_schema_version': %w", err) - } - } +// FromCasesPayloadAlertCommentCommentAlertId0 overwrites any union data inside the CasesPayloadAlertComment_Comment_AlertId as the provided CasesPayloadAlertCommentCommentAlertId0 +func (t *CasesPayloadAlertComment_Comment_AlertId) FromCasesPayloadAlertCommentCommentAlertId0(v CasesPayloadAlertCommentCommentAlertId0) error { + b, err := json.Marshal(v) + t.union = b + return err +} - object["install_source"], err = json.Marshal(a.InstallSource) +// MergeCasesPayloadAlertCommentCommentAlertId0 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_AlertId, using the provided CasesPayloadAlertCommentCommentAlertId0 +func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertCommentCommentAlertId0(v CasesPayloadAlertCommentCommentAlertId0) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'install_source': %w", err) + return err } - object["install_status"], err = json.Marshal(a.InstallStatus) - if err != nil { - return nil, fmt.Errorf("error marshaling 'install_status': %w", err) - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - object["installed_es"], err = json.Marshal(a.InstalledEs) - if err != nil { - return nil, fmt.Errorf("error marshaling 'installed_es': %w", err) - } +// AsCasesPayloadAlertCommentCommentAlertId1 returns the union data inside the CasesPayloadAlertComment_Comment_AlertId as a CasesPayloadAlertCommentCommentAlertId1 +func (t CasesPayloadAlertComment_Comment_AlertId) AsCasesPayloadAlertCommentCommentAlertId1() (CasesPayloadAlertCommentCommentAlertId1, error) { + var body CasesPayloadAlertCommentCommentAlertId1 + err := json.Unmarshal(t.union, &body) + return body, err +} - object["installed_kibana"], err = json.Marshal(a.InstalledKibana) +// FromCasesPayloadAlertCommentCommentAlertId1 overwrites any union data inside the CasesPayloadAlertComment_Comment_AlertId as the provided CasesPayloadAlertCommentCommentAlertId1 +func (t *CasesPayloadAlertComment_Comment_AlertId) FromCasesPayloadAlertCommentCommentAlertId1(v CasesPayloadAlertCommentCommentAlertId1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesPayloadAlertCommentCommentAlertId1 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_AlertId, using the provided CasesPayloadAlertCommentCommentAlertId1 +func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertCommentCommentAlertId1(v CasesPayloadAlertCommentCommentAlertId1) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'installed_kibana': %w", err) + return err } - if a.InstalledKibanaSpaceId != nil { - object["installed_kibana_space_id"], err = json.Marshal(a.InstalledKibanaSpaceId) - if err != nil { - return nil, fmt.Errorf("error marshaling 'installed_kibana_space_id': %w", err) - } - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if a.IsRollbackTtlExpired != nil { - object["is_rollback_ttl_expired"], err = json.Marshal(a.IsRollbackTtlExpired) - if err != nil { - return nil, fmt.Errorf("error marshaling 'is_rollback_ttl_expired': %w", err) - } - } +func (t CasesPayloadAlertComment_Comment_AlertId) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - if a.LatestExecutedState != nil { - object["latest_executed_state"], err = json.Marshal(a.LatestExecutedState) - if err != nil { - return nil, fmt.Errorf("error marshaling 'latest_executed_state': %w", err) - } - } +func (t *CasesPayloadAlertComment_Comment_AlertId) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - if a.LatestInstallFailedAttempts != nil { - object["latest_install_failed_attempts"], err = json.Marshal(a.LatestInstallFailedAttempts) - if err != nil { - return nil, fmt.Errorf("error marshaling 'latest_install_failed_attempts': %w", err) - } - } +// AsCasesPayloadAlertCommentCommentIndex0 returns the union data inside the CasesPayloadAlertComment_Comment_Index as a CasesPayloadAlertCommentCommentIndex0 +func (t CasesPayloadAlertComment_Comment_Index) AsCasesPayloadAlertCommentCommentIndex0() (CasesPayloadAlertCommentCommentIndex0, error) { + var body CasesPayloadAlertCommentCommentIndex0 + err := json.Unmarshal(t.union, &body) + return body, err +} - object["name"], err = json.Marshal(a.Name) +// FromCasesPayloadAlertCommentCommentIndex0 overwrites any union data inside the CasesPayloadAlertComment_Comment_Index as the provided CasesPayloadAlertCommentCommentIndex0 +func (t *CasesPayloadAlertComment_Comment_Index) FromCasesPayloadAlertCommentCommentIndex0(v CasesPayloadAlertCommentCommentIndex0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesPayloadAlertCommentCommentIndex0 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_Index, using the provided CasesPayloadAlertCommentCommentIndex0 +func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCommentIndex0(v CasesPayloadAlertCommentCommentIndex0) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'name': %w", err) + return err } - if a.Namespaces != nil { - object["namespaces"], err = json.Marshal(a.Namespaces) - if err != nil { - return nil, fmt.Errorf("error marshaling 'namespaces': %w", err) - } - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if a.PreviousVersion != nil { - object["previous_version"], err = json.Marshal(a.PreviousVersion) - if err != nil { - return nil, fmt.Errorf("error marshaling 'previous_version': %w", err) - } - } +// AsCasesPayloadAlertCommentCommentIndex1 returns the union data inside the CasesPayloadAlertComment_Comment_Index as a CasesPayloadAlertCommentCommentIndex1 +func (t CasesPayloadAlertComment_Comment_Index) AsCasesPayloadAlertCommentCommentIndex1() (CasesPayloadAlertCommentCommentIndex1, error) { + var body CasesPayloadAlertCommentCommentIndex1 + err := json.Unmarshal(t.union, &body) + return body, err +} - if a.RolledBack != nil { - object["rolled_back"], err = json.Marshal(a.RolledBack) - if err != nil { - return nil, fmt.Errorf("error marshaling 'rolled_back': %w", err) - } - } +// FromCasesPayloadAlertCommentCommentIndex1 overwrites any union data inside the CasesPayloadAlertComment_Comment_Index as the provided CasesPayloadAlertCommentCommentIndex1 +func (t *CasesPayloadAlertComment_Comment_Index) FromCasesPayloadAlertCommentCommentIndex1(v CasesPayloadAlertCommentCommentIndex1) error { + b, err := json.Marshal(v) + t.union = b + return err +} - object["type"], err = json.Marshal(a.Type) +// MergeCasesPayloadAlertCommentCommentIndex1 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_Index, using the provided CasesPayloadAlertCommentCommentIndex1 +func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCommentIndex1(v CasesPayloadAlertCommentCommentIndex1) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'type': %w", err) + return err } - if a.UpdatedAt != nil { - object["updated_at"], err = json.Marshal(a.UpdatedAt) - if err != nil { - return nil, fmt.Errorf("error marshaling 'updated_at': %w", err) - } - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if a.VerificationKeyId != nil { - object["verification_key_id"], err = json.Marshal(a.VerificationKeyId) - if err != nil { - return nil, fmt.Errorf("error marshaling 'verification_key_id': %w", err) - } - } +func (t CasesPayloadAlertComment_Comment_Index) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - object["verification_status"], err = json.Marshal(a.VerificationStatus) - if err != nil { - return nil, fmt.Errorf("error marshaling 'verification_status': %w", err) - } +func (t *CasesPayloadAlertComment_Comment_Index) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - object["version"], err = json.Marshal(a.Version) +// AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 returns the union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as a CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0() (CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0, error) { + var body CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 overwrites any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 performs a merge with any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0) error { + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'version': %w", err) + return err } - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Getter for additional properties for PackageListItem_Owner. Returns the specified -// element and whether it was found -func (a PackageListItem_Owner) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return +// AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 returns the union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as a CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1() (CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1, error) { + var body CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 + err := json.Unmarshal(t.union, &body) + return body, err } -// Setter for additional properties for PackageListItem_Owner -func (a *PackageListItem_Owner) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value +// FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 overwrites any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties -func (a *PackageListItem_Owner) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 performs a merge with any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1) error { + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["github"]; found { - err = json.Unmarshal(raw, &a.Github) - if err != nil { - return fmt.Errorf("error reading 'github': %w", err) - } - delete(object, "github") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if raw, found := object["type"]; found { - err = json.Unmarshal(raw, &a.Type) - if err != nil { - return fmt.Errorf("error reading 'type': %w", err) - } - delete(object, "type") - } +func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } - } - return nil +func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err } -// Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties -func (a PackageListItem_Owner) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +// AsCasesTemplatesCaseFieldsCustomFieldsValue0 returns the union data inside the CasesTemplates_CaseFields_CustomFields_Value as a CasesTemplatesCaseFieldsCustomFieldsValue0 +func (t CasesTemplates_CaseFields_CustomFields_Value) AsCasesTemplatesCaseFieldsCustomFieldsValue0() (CasesTemplatesCaseFieldsCustomFieldsValue0, error) { + var body CasesTemplatesCaseFieldsCustomFieldsValue0 + err := json.Unmarshal(t.union, &body) + return body, err +} - if a.Github != nil { - object["github"], err = json.Marshal(a.Github) - if err != nil { - return nil, fmt.Errorf("error marshaling 'github': %w", err) - } - } +// FromCasesTemplatesCaseFieldsCustomFieldsValue0 overwrites any union data inside the CasesTemplates_CaseFields_CustomFields_Value as the provided CasesTemplatesCaseFieldsCustomFieldsValue0 +func (t *CasesTemplates_CaseFields_CustomFields_Value) FromCasesTemplatesCaseFieldsCustomFieldsValue0(v CasesTemplatesCaseFieldsCustomFieldsValue0) error { + b, err := json.Marshal(v) + t.union = b + return err +} - if a.Type != nil { - object["type"], err = json.Marshal(a.Type) - if err != nil { - return nil, fmt.Errorf("error marshaling 'type': %w", err) - } +// MergeCasesTemplatesCaseFieldsCustomFieldsValue0 performs a merge with any union data inside the CasesTemplates_CaseFields_CustomFields_Value, using the provided CasesTemplatesCaseFieldsCustomFieldsValue0 +func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFieldsCustomFieldsValue0(v CasesTemplatesCaseFieldsCustomFieldsValue0) error { + b, err := json.Marshal(v) + if err != nil { + return err } - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Getter for additional properties for PackageListItem_Source. Returns the specified -// element and whether it was found -func (a PackageListItem_Source) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return +// AsCasesTemplatesCaseFieldsCustomFieldsValue1 returns the union data inside the CasesTemplates_CaseFields_CustomFields_Value as a CasesTemplatesCaseFieldsCustomFieldsValue1 +func (t CasesTemplates_CaseFields_CustomFields_Value) AsCasesTemplatesCaseFieldsCustomFieldsValue1() (CasesTemplatesCaseFieldsCustomFieldsValue1, error) { + var body CasesTemplatesCaseFieldsCustomFieldsValue1 + err := json.Unmarshal(t.union, &body) + return body, err } -// Setter for additional properties for PackageListItem_Source -func (a *PackageListItem_Source) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value +// FromCasesTemplatesCaseFieldsCustomFieldsValue1 overwrites any union data inside the CasesTemplates_CaseFields_CustomFields_Value as the provided CasesTemplatesCaseFieldsCustomFieldsValue1 +func (t *CasesTemplates_CaseFields_CustomFields_Value) FromCasesTemplatesCaseFieldsCustomFieldsValue1(v CasesTemplatesCaseFieldsCustomFieldsValue1) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Override default JSON handling for PackageListItem_Source to handle AdditionalProperties -func (a *PackageListItem_Source) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// MergeCasesTemplatesCaseFieldsCustomFieldsValue1 performs a merge with any union data inside the CasesTemplates_CaseFields_CustomFields_Value, using the provided CasesTemplatesCaseFieldsCustomFieldsValue1 +func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFieldsCustomFieldsValue1(v CasesTemplatesCaseFieldsCustomFieldsValue1) error { + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["license"]; found { - err = json.Unmarshal(raw, &a.License) - if err != nil { - return fmt.Errorf("error reading 'license': %w", err) - } - delete(object, "license") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } - } - return nil +func (t CasesTemplates_CaseFields_CustomFields_Value) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err } -// Override default JSON handling for PackageListItem_Source to handle AdditionalProperties -func (a PackageListItem_Source) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +func (t *CasesTemplates_CaseFields_CustomFields_Value) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - object["license"], err = json.Marshal(a.License) +// AsCasesUpdateAlertCommentRequestProperties returns the union data inside the CasesUpdateCaseCommentRequest as a CasesUpdateAlertCommentRequestProperties +func (t CasesUpdateCaseCommentRequest) AsCasesUpdateAlertCommentRequestProperties() (CasesUpdateAlertCommentRequestProperties, error) { + var body CasesUpdateAlertCommentRequestProperties + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesUpdateAlertCommentRequestProperties overwrites any union data inside the CasesUpdateCaseCommentRequest as the provided CasesUpdateAlertCommentRequestProperties +func (t *CasesUpdateCaseCommentRequest) FromCasesUpdateAlertCommentRequestProperties(v CasesUpdateAlertCommentRequestProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesUpdateAlertCommentRequestProperties performs a merge with any union data inside the CasesUpdateCaseCommentRequest, using the provided CasesUpdateAlertCommentRequestProperties +func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateAlertCommentRequestProperties(v CasesUpdateAlertCommentRequestProperties) error { + v.Type = "alert" + b, err := json.Marshal(v) if err != nil { - return nil, fmt.Errorf("error marshaling 'license': %w", err) + return err } - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Getter for additional properties for PackagePolicy_Elasticsearch_Privileges. Returns the specified -// element and whether it was found -func (a PackagePolicy_Elasticsearch_Privileges) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return +// AsCasesUpdateUserCommentRequestProperties returns the union data inside the CasesUpdateCaseCommentRequest as a CasesUpdateUserCommentRequestProperties +func (t CasesUpdateCaseCommentRequest) AsCasesUpdateUserCommentRequestProperties() (CasesUpdateUserCommentRequestProperties, error) { + var body CasesUpdateUserCommentRequestProperties + err := json.Unmarshal(t.union, &body) + return body, err } -// Setter for additional properties for PackagePolicy_Elasticsearch_Privileges -func (a *PackagePolicy_Elasticsearch_Privileges) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value +// FromCasesUpdateUserCommentRequestProperties overwrites any union data inside the CasesUpdateCaseCommentRequest as the provided CasesUpdateUserCommentRequestProperties +func (t *CasesUpdateCaseCommentRequest) FromCasesUpdateUserCommentRequestProperties(v CasesUpdateUserCommentRequestProperties) error { + v.Type = "user" + b, err := json.Marshal(v) + t.union = b + return err } -// Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties -func (a *PackagePolicy_Elasticsearch_Privileges) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// MergeCasesUpdateUserCommentRequestProperties performs a merge with any union data inside the CasesUpdateCaseCommentRequest, using the provided CasesUpdateUserCommentRequestProperties +func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateUserCommentRequestProperties(v CasesUpdateUserCommentRequestProperties) error { + v.Type = "user" + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["cluster"]; found { - err = json.Unmarshal(raw, &a.Cluster) - if err != nil { - return fmt.Errorf("error reading 'cluster': %w", err) - } - delete(object, "cluster") + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t CasesUpdateCaseCommentRequest) Discriminator() (string, error) { + var discriminator struct { + Discriminator string `json:"type"` } + err := json.Unmarshal(t.union, &discriminator) + return discriminator.Discriminator, err +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } +func (t CasesUpdateCaseCommentRequest) ValueByDiscriminator() (interface{}, error) { + discriminator, err := t.Discriminator() + if err != nil { + return nil, err + } + switch discriminator { + case "alert": + return t.AsCasesUpdateAlertCommentRequestProperties() + case "user": + return t.AsCasesUpdateUserCommentRequestProperties() + default: + return nil, errors.New("unknown discriminator value: " + discriminator) } - return nil } -// Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties -func (a PackagePolicy_Elasticsearch_Privileges) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +func (t CasesUpdateCaseCommentRequest) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} - if a.Cluster != nil { - object["cluster"], err = json.Marshal(a.Cluster) - if err != nil { - return nil, fmt.Errorf("error marshaling 'cluster': %w", err) - } - } +func (t *CasesUpdateCaseCommentRequest) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) +// AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 returns the union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as a CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0() (CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0, error) { + var body CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 + err := json.Unmarshal(t.union, &body) + return body, err } -// Getter for additional properties for PackagePolicy_Elasticsearch. Returns the specified -// element and whether it was found -func (a PackagePolicy_Elasticsearch) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] - } - return +// FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 overwrites any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Setter for additional properties for PackagePolicy_Elasticsearch -func (a *PackagePolicy_Elasticsearch) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) +// MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 performs a merge with any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 +func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0) error { + b, err := json.Marshal(v) + if err != nil { + return err } - a.AdditionalProperties[fieldName] = value + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties -func (a *PackagePolicy_Elasticsearch) UnmarshalJSON(b []byte) error { - object := make(map[string]json.RawMessage) - err := json.Unmarshal(b, &object) +// AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 returns the union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as a CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1() (CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1, error) { + var body CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 overwrites any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 performs a merge with any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 +func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1) error { + b, err := json.Marshal(v) if err != nil { return err } - if raw, found := object["privileges"]; found { - err = json.Unmarshal(raw, &a.Privileges) - if err != nil { - return fmt.Errorf("error reading 'privileges': %w", err) - } - delete(object, "privileges") - } + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} - if len(object) != 0 { - a.AdditionalProperties = make(map[string]interface{}) - for fieldName, fieldBuf := range object { - var fieldVal interface{} - err := json.Unmarshal(fieldBuf, &fieldVal) - if err != nil { - return fmt.Errorf("error unmarshaling field %s: %w", fieldName, err) - } - a.AdditionalProperties[fieldName] = fieldVal - } - } - return nil +func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err } -// Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties -func (a PackagePolicy_Elasticsearch) MarshalJSON() ([]byte, error) { - var err error - object := make(map[string]json.RawMessage) +func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} - if a.Privileges != nil { - object["privileges"], err = json.Marshal(a.Privileges) - if err != nil { - return nil, fmt.Errorf("error marshaling 'privileges': %w", err) - } - } +// AsCasesConnectorPropertiesNone returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesNone +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { + var body CasesConnectorPropertiesNone + err := json.Unmarshal(t.union, &body) + return body, err +} - for fieldName, field := range a.AdditionalProperties { - object[fieldName], err = json.Marshal(field) - if err != nil { - return nil, fmt.Errorf("error marshaling '%s': %w", fieldName, err) - } - } - return json.Marshal(object) +// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesNone +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Getter for additional properties for UpdateConnectorConfig. Returns the specified -// element and whether it was found -func (a UpdateConnectorConfig) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] +// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesNone +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { + b, err := json.Marshal(v) + if err != nil { + return err } - return + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// Setter for additional properties for UpdateConnectorConfig -func (a *UpdateConnectorConfig) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value +// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesCasesWebhook +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { + var body CasesConnectorPropertiesCasesWebhook + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + b, err := json.Marshal(v) + t.union = b + return err } -// Getter for additional properties for UpdateConnectorSecrets. Returns the specified -// element and whether it was found -func (a UpdateConnectorSecrets) Get(fieldName string) (value interface{}, found bool) { - if a.AdditionalProperties != nil { - value, found = a.AdditionalProperties[fieldName] +// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesCasesWebhook +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { + b, err := json.Marshal(v) + if err != nil { + return err } - return -} -// Setter for additional properties for UpdateConnectorSecrets -func (a *UpdateConnectorSecrets) Set(fieldName string, value interface{}) { - if a.AdditionalProperties == nil { - a.AdditionalProperties = make(map[string]interface{}) - } - a.AdditionalProperties[fieldName] = value + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -// AsCasesAddAlertCommentRequestProperties returns the union data inside the CasesAddCaseCommentRequest as a CasesAddAlertCommentRequestProperties -func (t CasesAddCaseCommentRequest) AsCasesAddAlertCommentRequestProperties() (CasesAddAlertCommentRequestProperties, error) { - var body CasesAddAlertCommentRequestProperties +// AsCasesConnectorPropertiesJira returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesJira +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { + var body CasesConnectorPropertiesJira err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAddAlertCommentRequestProperties overwrites any union data inside the CasesAddCaseCommentRequest as the provided CasesAddAlertCommentRequestProperties -func (t *CasesAddCaseCommentRequest) FromCasesAddAlertCommentRequestProperties(v CasesAddAlertCommentRequestProperties) error { - v.Type = "alert" +// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesJira +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAddAlertCommentRequestProperties performs a merge with any union data inside the CasesAddCaseCommentRequest, using the provided CasesAddAlertCommentRequestProperties -func (t *CasesAddCaseCommentRequest) MergeCasesAddAlertCommentRequestProperties(v CasesAddAlertCommentRequestProperties) error { - v.Type = "alert" +// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesJira +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { b, err := json.Marshal(v) if err != nil { return err @@ -55966,24 +45158,22 @@ func (t *CasesAddCaseCommentRequest) MergeCasesAddAlertCommentRequestProperties( return err } -// AsCasesAddUserCommentRequestProperties returns the union data inside the CasesAddCaseCommentRequest as a CasesAddUserCommentRequestProperties -func (t CasesAddCaseCommentRequest) AsCasesAddUserCommentRequestProperties() (CasesAddUserCommentRequestProperties, error) { - var body CasesAddUserCommentRequestProperties +// AsCasesConnectorPropertiesResilient returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesResilient +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { + var body CasesConnectorPropertiesResilient err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAddUserCommentRequestProperties overwrites any union data inside the CasesAddCaseCommentRequest as the provided CasesAddUserCommentRequestProperties -func (t *CasesAddCaseCommentRequest) FromCasesAddUserCommentRequestProperties(v CasesAddUserCommentRequestProperties) error { - v.Type = "user" +// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesResilient +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAddUserCommentRequestProperties performs a merge with any union data inside the CasesAddCaseCommentRequest, using the provided CasesAddUserCommentRequestProperties -func (t *CasesAddCaseCommentRequest) MergeCasesAddUserCommentRequestProperties(v CasesAddUserCommentRequestProperties) error { - v.Type = "user" +// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesResilient +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { b, err := json.Marshal(v) if err != nil { return err @@ -55994,55 +45184,48 @@ func (t *CasesAddCaseCommentRequest) MergeCasesAddUserCommentRequestProperties(v return err } -func (t CasesAddCaseCommentRequest) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"type"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err +// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesServicenow +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { + var body CasesConnectorPropertiesServicenow + err := json.Unmarshal(t.union, &body) + return body, err } -func (t CasesAddCaseCommentRequest) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() - if err != nil { - return nil, err - } - switch discriminator { - case "alert": - return t.AsCasesAddAlertCommentRequestProperties() - case "user": - return t.AsCasesAddUserCommentRequestProperties() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) - } +// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesServicenow +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + b, err := json.Marshal(v) + t.union = b + return err } -func (t CasesAddCaseCommentRequest) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} +// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesServicenow +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { + b, err := json.Marshal(v) + if err != nil { + return err + } -func (t *CasesAddCaseCommentRequest) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged return err } -// AsCasesAlertIdentifiers0 returns the union data inside the CasesAlertIdentifiers as a CasesAlertIdentifiers0 -func (t CasesAlertIdentifiers) AsCasesAlertIdentifiers0() (CasesAlertIdentifiers0, error) { - var body CasesAlertIdentifiers0 +// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesServicenowSir +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { + var body CasesConnectorPropertiesServicenowSir err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAlertIdentifiers0 overwrites any union data inside the CasesAlertIdentifiers as the provided CasesAlertIdentifiers0 -func (t *CasesAlertIdentifiers) FromCasesAlertIdentifiers0(v CasesAlertIdentifiers0) error { +// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesServicenowSir +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAlertIdentifiers0 performs a merge with any union data inside the CasesAlertIdentifiers, using the provided CasesAlertIdentifiers0 -func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers0(v CasesAlertIdentifiers0) error { +// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesServicenowSir +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { b, err := json.Marshal(v) if err != nil { return err @@ -56053,22 +45236,22 @@ func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers0(v CasesAlertIdentifi return err } -// AsCasesAlertIdentifiers1 returns the union data inside the CasesAlertIdentifiers as a CasesAlertIdentifiers1 -func (t CasesAlertIdentifiers) AsCasesAlertIdentifiers1() (CasesAlertIdentifiers1, error) { - var body CasesAlertIdentifiers1 +// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesSwimlane +func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { + var body CasesConnectorPropertiesSwimlane err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAlertIdentifiers1 overwrites any union data inside the CasesAlertIdentifiers as the provided CasesAlertIdentifiers1 -func (t *CasesAlertIdentifiers) FromCasesAlertIdentifiers1(v CasesAlertIdentifiers1) error { +// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesSwimlane +func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAlertIdentifiers1 performs a merge with any union data inside the CasesAlertIdentifiers, using the provided CasesAlertIdentifiers1 -func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers1(v CasesAlertIdentifiers1) error { +// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesSwimlane +func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { b, err := json.Marshal(v) if err != nil { return err @@ -56079,32 +45262,32 @@ func (t *CasesAlertIdentifiers) MergeCasesAlertIdentifiers1(v CasesAlertIdentifi return err } -func (t CasesAlertIdentifiers) MarshalJSON() ([]byte, error) { +func (t CasesUpdateCaseRequest_Cases_Connector) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesAlertIdentifiers) UnmarshalJSON(b []byte) error { +func (t *CasesUpdateCaseRequest_Cases_Connector) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesAlertIndices0 returns the union data inside the CasesAlertIndices as a CasesAlertIndices0 -func (t CasesAlertIndices) AsCasesAlertIndices0() (CasesAlertIndices0, error) { - var body CasesAlertIndices0 +// AsCasesUpdateCaseRequestCasesCustomFieldsValue0 returns the union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as a CasesUpdateCaseRequestCasesCustomFieldsValue0 +func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) AsCasesUpdateCaseRequestCasesCustomFieldsValue0() (CasesUpdateCaseRequestCasesCustomFieldsValue0, error) { + var body CasesUpdateCaseRequestCasesCustomFieldsValue0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAlertIndices0 overwrites any union data inside the CasesAlertIndices as the provided CasesAlertIndices0 -func (t *CasesAlertIndices) FromCasesAlertIndices0(v CasesAlertIndices0) error { +// FromCasesUpdateCaseRequestCasesCustomFieldsValue0 overwrites any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as the provided CasesUpdateCaseRequestCasesCustomFieldsValue0 +func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) FromCasesUpdateCaseRequestCasesCustomFieldsValue0(v CasesUpdateCaseRequestCasesCustomFieldsValue0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAlertIndices0 performs a merge with any union data inside the CasesAlertIndices, using the provided CasesAlertIndices0 -func (t *CasesAlertIndices) MergeCasesAlertIndices0(v CasesAlertIndices0) error { +// MergeCasesUpdateCaseRequestCasesCustomFieldsValue0 performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value, using the provided CasesUpdateCaseRequestCasesCustomFieldsValue0 +func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRequestCasesCustomFieldsValue0(v CasesUpdateCaseRequestCasesCustomFieldsValue0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56115,22 +45298,22 @@ func (t *CasesAlertIndices) MergeCasesAlertIndices0(v CasesAlertIndices0) error return err } -// AsCasesAlertIndices1 returns the union data inside the CasesAlertIndices as a CasesAlertIndices1 -func (t CasesAlertIndices) AsCasesAlertIndices1() (CasesAlertIndices1, error) { - var body CasesAlertIndices1 +// AsCasesUpdateCaseRequestCasesCustomFieldsValue1 returns the union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as a CasesUpdateCaseRequestCasesCustomFieldsValue1 +func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) AsCasesUpdateCaseRequestCasesCustomFieldsValue1() (CasesUpdateCaseRequestCasesCustomFieldsValue1, error) { + var body CasesUpdateCaseRequestCasesCustomFieldsValue1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAlertIndices1 overwrites any union data inside the CasesAlertIndices as the provided CasesAlertIndices1 -func (t *CasesAlertIndices) FromCasesAlertIndices1(v CasesAlertIndices1) error { +// FromCasesUpdateCaseRequestCasesCustomFieldsValue1 overwrites any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as the provided CasesUpdateCaseRequestCasesCustomFieldsValue1 +func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) FromCasesUpdateCaseRequestCasesCustomFieldsValue1(v CasesUpdateCaseRequestCasesCustomFieldsValue1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAlertIndices1 performs a merge with any union data inside the CasesAlertIndices, using the provided CasesAlertIndices1 -func (t *CasesAlertIndices) MergeCasesAlertIndices1(v CasesAlertIndices1) error { +// MergeCasesUpdateCaseRequestCasesCustomFieldsValue1 performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value, using the provided CasesUpdateCaseRequestCasesCustomFieldsValue1 +func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRequestCasesCustomFieldsValue1(v CasesUpdateCaseRequestCasesCustomFieldsValue1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56141,34 +45324,32 @@ func (t *CasesAlertIndices) MergeCasesAlertIndices1(v CasesAlertIndices1) error return err } -func (t CasesAlertIndices) MarshalJSON() ([]byte, error) { +func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesAlertIndices) UnmarshalJSON(b []byte) error { +func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesAlertCommentResponseProperties returns the union data inside the CasesCaseResponseProperties_Comments_Item as a CasesAlertCommentResponseProperties -func (t CasesCaseResponseProperties_Comments_Item) AsCasesAlertCommentResponseProperties() (CasesAlertCommentResponseProperties, error) { - var body CasesAlertCommentResponseProperties +// AsCasesPayloadAlertComment returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadAlertComment +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadAlertComment() (CasesPayloadAlertComment, error) { + var body CasesPayloadAlertComment err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesAlertCommentResponseProperties overwrites any union data inside the CasesCaseResponseProperties_Comments_Item as the provided CasesAlertCommentResponseProperties -func (t *CasesCaseResponseProperties_Comments_Item) FromCasesAlertCommentResponseProperties(v CasesAlertCommentResponseProperties) error { - v.Type = "alert" +// FromCasesPayloadAlertComment overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadAlertComment +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadAlertComment(v CasesPayloadAlertComment) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesAlertCommentResponseProperties performs a merge with any union data inside the CasesCaseResponseProperties_Comments_Item, using the provided CasesAlertCommentResponseProperties -func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesAlertCommentResponseProperties(v CasesAlertCommentResponseProperties) error { - v.Type = "alert" +// MergeCasesPayloadAlertComment performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadAlertComment +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAlertComment(v CasesPayloadAlertComment) error { b, err := json.Marshal(v) if err != nil { return err @@ -56179,24 +45360,22 @@ func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesAlertCommentRespon return err } -// AsCasesUserCommentResponseProperties returns the union data inside the CasesCaseResponseProperties_Comments_Item as a CasesUserCommentResponseProperties -func (t CasesCaseResponseProperties_Comments_Item) AsCasesUserCommentResponseProperties() (CasesUserCommentResponseProperties, error) { - var body CasesUserCommentResponseProperties +// AsCasesPayloadAssignees returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadAssignees +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadAssignees() (CasesPayloadAssignees, error) { + var body CasesPayloadAssignees err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUserCommentResponseProperties overwrites any union data inside the CasesCaseResponseProperties_Comments_Item as the provided CasesUserCommentResponseProperties -func (t *CasesCaseResponseProperties_Comments_Item) FromCasesUserCommentResponseProperties(v CasesUserCommentResponseProperties) error { - v.Type = "user" +// FromCasesPayloadAssignees overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadAssignees +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadAssignees(v CasesPayloadAssignees) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUserCommentResponseProperties performs a merge with any union data inside the CasesCaseResponseProperties_Comments_Item, using the provided CasesUserCommentResponseProperties -func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesUserCommentResponseProperties(v CasesUserCommentResponseProperties) error { - v.Type = "user" +// MergeCasesPayloadAssignees performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadAssignees +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAssignees(v CasesPayloadAssignees) error { b, err := json.Marshal(v) if err != nil { return err @@ -56207,57 +45386,74 @@ func (t *CasesCaseResponseProperties_Comments_Item) MergeCasesUserCommentRespons return err } -func (t CasesCaseResponseProperties_Comments_Item) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"type"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err +// AsCasesPayloadConnector returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadConnector +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadConnector() (CasesPayloadConnector, error) { + var body CasesPayloadConnector + err := json.Unmarshal(t.union, &body) + return body, err } -func (t CasesCaseResponseProperties_Comments_Item) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() +// FromCasesPayloadConnector overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadConnector +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadConnector(v CasesPayloadConnector) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesPayloadConnector performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadConnector +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadConnector(v CasesPayloadConnector) error { + b, err := json.Marshal(v) if err != nil { - return nil, err - } - switch discriminator { - case "alert": - return t.AsCasesAlertCommentResponseProperties() - case "user": - return t.AsCasesUserCommentResponseProperties() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) + return err } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -func (t CasesCaseResponseProperties_Comments_Item) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err +// AsCasesPayloadCreateCase returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadCreateCase +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadCreateCase() (CasesPayloadCreateCase, error) { + var body CasesPayloadCreateCase + err := json.Unmarshal(t.union, &body) + return body, err } -func (t *CasesCaseResponseProperties_Comments_Item) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) +// FromCasesPayloadCreateCase overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadCreateCase +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadCreateCase(v CasesPayloadCreateCase) error { + b, err := json.Marshal(v) + t.union = b return err } -// AsCasesConnectorPropertiesNone returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesNone -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { - var body CasesConnectorPropertiesNone +// MergeCasesPayloadCreateCase performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadCreateCase +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadCreateCase(v CasesPayloadCreateCase) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesPayloadDelete returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadDelete +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadDelete() (CasesPayloadDelete, error) { + var body CasesPayloadDelete err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesNone -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { - v.Type = ".none" +// FromCasesPayloadDelete overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadDelete +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadDelete(v CasesPayloadDelete) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesNone -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { - v.Type = ".none" +// MergeCasesPayloadDelete performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadDelete +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDelete(v CasesPayloadDelete) error { b, err := json.Marshal(v) if err != nil { return err @@ -56268,24 +45464,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesNon return err } -// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesCasesWebhook -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { - var body CasesConnectorPropertiesCasesWebhook +// AsCasesPayloadDescription returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadDescription +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadDescription() (CasesPayloadDescription, error) { + var body CasesPayloadDescription err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { - v.Type = ".cases-webhook" +// FromCasesPayloadDescription overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadDescription +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadDescription(v CasesPayloadDescription) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { - v.Type = ".cases-webhook" +// MergeCasesPayloadDescription performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadDescription +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDescription(v CasesPayloadDescription) error { b, err := json.Marshal(v) if err != nil { return err @@ -56296,24 +45490,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesCas return err } -// AsCasesConnectorPropertiesJira returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesJira -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { - var body CasesConnectorPropertiesJira +// AsCasesPayloadPushed returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadPushed +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadPushed() (CasesPayloadPushed, error) { + var body CasesPayloadPushed err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesJira -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { - v.Type = ".jira" +// FromCasesPayloadPushed overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadPushed +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadPushed(v CasesPayloadPushed) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesJira -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { - v.Type = ".jira" +// MergeCasesPayloadPushed performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadPushed +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadPushed(v CasesPayloadPushed) error { b, err := json.Marshal(v) if err != nil { return err @@ -56324,24 +45516,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesJir return err } -// AsCasesConnectorPropertiesResilient returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesResilient -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { - var body CasesConnectorPropertiesResilient +// AsCasesPayloadSettings returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadSettings +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadSettings() (CasesPayloadSettings, error) { + var body CasesPayloadSettings err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesResilient -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { - v.Type = ".resilient" +// FromCasesPayloadSettings overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadSettings +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadSettings(v CasesPayloadSettings) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesResilient -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { - v.Type = ".resilient" +// MergeCasesPayloadSettings performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadSettings +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSettings(v CasesPayloadSettings) error { b, err := json.Marshal(v) if err != nil { return err @@ -56352,24 +45542,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesRes return err } -// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesServicenow -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { - var body CasesConnectorPropertiesServicenow +// AsCasesPayloadSeverity returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadSeverity +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadSeverity() (CasesPayloadSeverity, error) { + var body CasesPayloadSeverity err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesServicenow -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { - v.Type = ".servicenow" +// FromCasesPayloadSeverity overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadSeverity +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadSeverity(v CasesPayloadSeverity) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesServicenow -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { - v.Type = ".servicenow" +// MergeCasesPayloadSeverity performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadSeverity +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSeverity(v CasesPayloadSeverity) error { b, err := json.Marshal(v) if err != nil { return err @@ -56380,24 +45568,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesSer return err } -// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesServicenowSir -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { - var body CasesConnectorPropertiesServicenowSir +// AsCasesPayloadStatus returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadStatus +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadStatus() (CasesPayloadStatus, error) { + var body CasesPayloadStatus err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesServicenowSir -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { - v.Type = ".servicenow-sir" +// FromCasesPayloadStatus overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadStatus +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadStatus(v CasesPayloadStatus) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesServicenowSir -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { - v.Type = ".servicenow-sir" +// MergeCasesPayloadStatus performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadStatus +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadStatus(v CasesPayloadStatus) error { b, err := json.Marshal(v) if err != nil { return err @@ -56408,24 +45594,22 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesSer return err } -// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesCaseResponseProperties_Connector as a CasesConnectorPropertiesSwimlane -func (t CasesCaseResponseProperties_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { - var body CasesConnectorPropertiesSwimlane +// AsCasesPayloadTags returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadTags +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadTags() (CasesPayloadTags, error) { + var body CasesPayloadTags err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesCaseResponseProperties_Connector as the provided CasesConnectorPropertiesSwimlane -func (t *CasesCaseResponseProperties_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { - v.Type = ".swimlane" +// FromCasesPayloadTags overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadTags +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadTags(v CasesPayloadTags) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesCaseResponseProperties_Connector, using the provided CasesConnectorPropertiesSwimlane -func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { - v.Type = ".swimlane" +// MergeCasesPayloadTags performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadTags +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTags(v CasesPayloadTags) error { b, err := json.Marshal(v) if err != nil { return err @@ -56436,65 +45620,84 @@ func (t *CasesCaseResponseProperties_Connector) MergeCasesConnectorPropertiesSwi return err } -func (t CasesCaseResponseProperties_Connector) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"type"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err +// AsCasesPayloadTitle returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadTitle +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadTitle() (CasesPayloadTitle, error) { + var body CasesPayloadTitle + err := json.Unmarshal(t.union, &body) + return body, err } -func (t CasesCaseResponseProperties_Connector) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() +// FromCasesPayloadTitle overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadTitle +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadTitle(v CasesPayloadTitle) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesPayloadTitle performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadTitle +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTitle(v CasesPayloadTitle) error { + b, err := json.Marshal(v) if err != nil { - return nil, err + return err } - switch discriminator { - case ".cases-webhook": - return t.AsCasesConnectorPropertiesCasesWebhook() - case ".jira": - return t.AsCasesConnectorPropertiesJira() - case ".none": - return t.AsCasesConnectorPropertiesNone() - case ".resilient": - return t.AsCasesConnectorPropertiesResilient() - case ".servicenow": - return t.AsCasesConnectorPropertiesServicenow() - case ".servicenow-sir": - return t.AsCasesConnectorPropertiesServicenowSir() - case ".swimlane": - return t.AsCasesConnectorPropertiesSwimlane() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +// AsCasesPayloadUserComment returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadUserComment +func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadUserComment() (CasesPayloadUserComment, error) { + var body CasesPayloadUserComment + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromCasesPayloadUserComment overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadUserComment +func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadUserComment(v CasesPayloadUserComment) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeCasesPayloadUserComment performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadUserComment +func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadUserComment(v CasesPayloadUserComment) error { + b, err := json.Marshal(v) + if err != nil { + return err } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -func (t CasesCaseResponseProperties_Connector) MarshalJSON() ([]byte, error) { +func (t CasesUserActionsFindResponseProperties_Payload) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesCaseResponseProperties_Connector) UnmarshalJSON(b []byte) error { +func (t *CasesUserActionsFindResponseProperties_Payload) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesCaseResponsePropertiesCustomFieldsValue0 returns the union data inside the CasesCaseResponseProperties_CustomFields_Value as a CasesCaseResponsePropertiesCustomFieldsValue0 -func (t CasesCaseResponseProperties_CustomFields_Value) AsCasesCaseResponsePropertiesCustomFieldsValue0() (CasesCaseResponsePropertiesCustomFieldsValue0, error) { - var body CasesCaseResponsePropertiesCustomFieldsValue0 +// AsDataViewsSwapDataViewRequestObjectForId0 returns the union data inside the DataViewsSwapDataViewRequestObject_ForId as a DataViewsSwapDataViewRequestObjectForId0 +func (t DataViewsSwapDataViewRequestObject_ForId) AsDataViewsSwapDataViewRequestObjectForId0() (DataViewsSwapDataViewRequestObjectForId0, error) { + var body DataViewsSwapDataViewRequestObjectForId0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesCaseResponsePropertiesCustomFieldsValue0 overwrites any union data inside the CasesCaseResponseProperties_CustomFields_Value as the provided CasesCaseResponsePropertiesCustomFieldsValue0 -func (t *CasesCaseResponseProperties_CustomFields_Value) FromCasesCaseResponsePropertiesCustomFieldsValue0(v CasesCaseResponsePropertiesCustomFieldsValue0) error { +// FromDataViewsSwapDataViewRequestObjectForId0 overwrites any union data inside the DataViewsSwapDataViewRequestObject_ForId as the provided DataViewsSwapDataViewRequestObjectForId0 +func (t *DataViewsSwapDataViewRequestObject_ForId) FromDataViewsSwapDataViewRequestObjectForId0(v DataViewsSwapDataViewRequestObjectForId0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesCaseResponsePropertiesCustomFieldsValue0 performs a merge with any union data inside the CasesCaseResponseProperties_CustomFields_Value, using the provided CasesCaseResponsePropertiesCustomFieldsValue0 -func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponsePropertiesCustomFieldsValue0(v CasesCaseResponsePropertiesCustomFieldsValue0) error { +// MergeDataViewsSwapDataViewRequestObjectForId0 performs a merge with any union data inside the DataViewsSwapDataViewRequestObject_ForId, using the provided DataViewsSwapDataViewRequestObjectForId0 +func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewRequestObjectForId0(v DataViewsSwapDataViewRequestObjectForId0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56505,22 +45708,22 @@ func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponseP return err } -// AsCasesCaseResponsePropertiesCustomFieldsValue1 returns the union data inside the CasesCaseResponseProperties_CustomFields_Value as a CasesCaseResponsePropertiesCustomFieldsValue1 -func (t CasesCaseResponseProperties_CustomFields_Value) AsCasesCaseResponsePropertiesCustomFieldsValue1() (CasesCaseResponsePropertiesCustomFieldsValue1, error) { - var body CasesCaseResponsePropertiesCustomFieldsValue1 +// AsDataViewsSwapDataViewRequestObjectForId1 returns the union data inside the DataViewsSwapDataViewRequestObject_ForId as a DataViewsSwapDataViewRequestObjectForId1 +func (t DataViewsSwapDataViewRequestObject_ForId) AsDataViewsSwapDataViewRequestObjectForId1() (DataViewsSwapDataViewRequestObjectForId1, error) { + var body DataViewsSwapDataViewRequestObjectForId1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesCaseResponsePropertiesCustomFieldsValue1 overwrites any union data inside the CasesCaseResponseProperties_CustomFields_Value as the provided CasesCaseResponsePropertiesCustomFieldsValue1 -func (t *CasesCaseResponseProperties_CustomFields_Value) FromCasesCaseResponsePropertiesCustomFieldsValue1(v CasesCaseResponsePropertiesCustomFieldsValue1) error { +// FromDataViewsSwapDataViewRequestObjectForId1 overwrites any union data inside the DataViewsSwapDataViewRequestObject_ForId as the provided DataViewsSwapDataViewRequestObjectForId1 +func (t *DataViewsSwapDataViewRequestObject_ForId) FromDataViewsSwapDataViewRequestObjectForId1(v DataViewsSwapDataViewRequestObjectForId1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesCaseResponsePropertiesCustomFieldsValue1 performs a merge with any union data inside the CasesCaseResponseProperties_CustomFields_Value, using the provided CasesCaseResponsePropertiesCustomFieldsValue1 -func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponsePropertiesCustomFieldsValue1(v CasesCaseResponsePropertiesCustomFieldsValue1) error { +// MergeDataViewsSwapDataViewRequestObjectForId1 performs a merge with any union data inside the DataViewsSwapDataViewRequestObject_ForId, using the provided DataViewsSwapDataViewRequestObjectForId1 +func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewRequestObjectForId1(v DataViewsSwapDataViewRequestObjectForId1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56531,32 +45734,32 @@ func (t *CasesCaseResponseProperties_CustomFields_Value) MergeCasesCaseResponseP return err } -func (t CasesCaseResponseProperties_CustomFields_Value) MarshalJSON() ([]byte, error) { +func (t DataViewsSwapDataViewRequestObject_ForId) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesCaseResponseProperties_CustomFields_Value) UnmarshalJSON(b []byte) error { +func (t *DataViewsSwapDataViewRequestObject_ForId) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesConnectorPropertiesNone returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesNone -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { - var body CasesConnectorPropertiesNone +// AsKibanaHTTPAPIsStreamlangCondition0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition0 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition0() (KibanaHTTPAPIsStreamlangCondition0, error) { + var body KibanaHTTPAPIsStreamlangCondition0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesNone -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { +// FromKibanaHTTPAPIsStreamlangCondition0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition0 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition0(v KibanaHTTPAPIsStreamlangCondition0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesNone -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { +// MergeKibanaHTTPAPIsStreamlangCondition0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition0 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition0(v KibanaHTTPAPIsStreamlangCondition0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56567,22 +45770,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesNone(v C return err } -// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesCasesWebhook -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { - var body CasesConnectorPropertiesCasesWebhook +// AsKibanaHTTPAPIsStreamlangCondition1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition1 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition1() (KibanaHTTPAPIsStreamlangCondition1, error) { + var body KibanaHTTPAPIsStreamlangCondition1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { +// FromKibanaHTTPAPIsStreamlangCondition1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition1 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition1(v KibanaHTTPAPIsStreamlangCondition1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { +// MergeKibanaHTTPAPIsStreamlangCondition1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition1 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition1(v KibanaHTTPAPIsStreamlangCondition1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56593,22 +45796,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesCasesWeb return err } -// AsCasesConnectorPropertiesJira returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesJira -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { - var body CasesConnectorPropertiesJira +// AsKibanaHTTPAPIsStreamlangCondition2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition2 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition2() (KibanaHTTPAPIsStreamlangCondition2, error) { + var body KibanaHTTPAPIsStreamlangCondition2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesJira -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { +// FromKibanaHTTPAPIsStreamlangCondition2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition2 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition2(v KibanaHTTPAPIsStreamlangCondition2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesJira -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { +// MergeKibanaHTTPAPIsStreamlangCondition2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition2 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition2(v KibanaHTTPAPIsStreamlangCondition2) error { b, err := json.Marshal(v) if err != nil { return err @@ -56619,22 +45822,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesJira(v C return err } -// AsCasesConnectorPropertiesResilient returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesResilient -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { - var body CasesConnectorPropertiesResilient +// AsKibanaHTTPAPIsStreamlangCondition3 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition3 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition3() (KibanaHTTPAPIsStreamlangCondition3, error) { + var body KibanaHTTPAPIsStreamlangCondition3 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesResilient -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { +// FromKibanaHTTPAPIsStreamlangCondition3 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition3 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition3(v KibanaHTTPAPIsStreamlangCondition3) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesResilient -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { +// MergeKibanaHTTPAPIsStreamlangCondition3 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition3 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition3(v KibanaHTTPAPIsStreamlangCondition3) error { b, err := json.Marshal(v) if err != nil { return err @@ -56645,22 +45848,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesResilien return err } -// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesServicenow -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { - var body CasesConnectorPropertiesServicenow +// AsKibanaHTTPAPIsStreamlangCondition4 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition4 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition4() (KibanaHTTPAPIsStreamlangCondition4, error) { + var body KibanaHTTPAPIsStreamlangCondition4 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesServicenow -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { +// FromKibanaHTTPAPIsStreamlangCondition4 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition4 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition4(v KibanaHTTPAPIsStreamlangCondition4) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesServicenow -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { +// MergeKibanaHTTPAPIsStreamlangCondition4 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition4 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition4(v KibanaHTTPAPIsStreamlangCondition4) error { b, err := json.Marshal(v) if err != nil { return err @@ -56671,22 +45874,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicen return err } -// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesServicenowSir -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { - var body CasesConnectorPropertiesServicenowSir +// AsKibanaHTTPAPIsStreamlangCondition5 returns the union data inside the KibanaHTTPAPIsStreamlangCondition as a KibanaHTTPAPIsStreamlangCondition5 +func (t KibanaHTTPAPIsStreamlangCondition) AsKibanaHTTPAPIsStreamlangCondition5() (KibanaHTTPAPIsStreamlangCondition5, error) { + var body KibanaHTTPAPIsStreamlangCondition5 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesServicenowSir -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { +// FromKibanaHTTPAPIsStreamlangCondition5 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition as the provided KibanaHTTPAPIsStreamlangCondition5 +func (t *KibanaHTTPAPIsStreamlangCondition) FromKibanaHTTPAPIsStreamlangCondition5(v KibanaHTTPAPIsStreamlangCondition5) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesServicenowSir -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { +// MergeKibanaHTTPAPIsStreamlangCondition5 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition, using the provided KibanaHTTPAPIsStreamlangCondition5 +func (t *KibanaHTTPAPIsStreamlangCondition) MergeKibanaHTTPAPIsStreamlangCondition5(v KibanaHTTPAPIsStreamlangCondition5) error { b, err := json.Marshal(v) if err != nil { return err @@ -56697,22 +45900,32 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesServicen return err } -// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesCreateCaseRequest_Connector as a CasesConnectorPropertiesSwimlane -func (t CasesCreateCaseRequest_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { - var body CasesConnectorPropertiesSwimlane +func (t KibanaHTTPAPIsStreamlangCondition) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0Contains0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as a KibanaHTTPAPIsStreamlangCondition0Contains0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Contains) AsKibanaHTTPAPIsStreamlangCondition0Contains0() (KibanaHTTPAPIsStreamlangCondition0Contains0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Contains0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesCreateCaseRequest_Connector as the provided CasesConnectorPropertiesSwimlane -func (t *CasesCreateCaseRequest_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { +// FromKibanaHTTPAPIsStreamlangCondition0Contains0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as the provided KibanaHTTPAPIsStreamlangCondition0Contains0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) FromKibanaHTTPAPIsStreamlangCondition0Contains0(v KibanaHTTPAPIsStreamlangCondition0Contains0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesCreateCaseRequest_Connector, using the provided CasesConnectorPropertiesSwimlane -func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Contains0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains, using the provided KibanaHTTPAPIsStreamlangCondition0Contains0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) MergeKibanaHTTPAPIsStreamlangCondition0Contains0(v KibanaHTTPAPIsStreamlangCondition0Contains0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56723,32 +45936,22 @@ func (t *CasesCreateCaseRequest_Connector) MergeCasesConnectorPropertiesSwimlane return err } -func (t CasesCreateCaseRequest_Connector) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *CasesCreateCaseRequest_Connector) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsCasesCreateCaseRequestCustomFieldsValue0 returns the union data inside the CasesCreateCaseRequest_CustomFields_Value as a CasesCreateCaseRequestCustomFieldsValue0 -func (t CasesCreateCaseRequest_CustomFields_Value) AsCasesCreateCaseRequestCustomFieldsValue0() (CasesCreateCaseRequestCustomFieldsValue0, error) { - var body CasesCreateCaseRequestCustomFieldsValue0 +// AsKibanaHTTPAPIsStreamlangCondition0Contains1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as a KibanaHTTPAPIsStreamlangCondition0Contains1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Contains) AsKibanaHTTPAPIsStreamlangCondition0Contains1() (KibanaHTTPAPIsStreamlangCondition0Contains1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Contains1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesCreateCaseRequestCustomFieldsValue0 overwrites any union data inside the CasesCreateCaseRequest_CustomFields_Value as the provided CasesCreateCaseRequestCustomFieldsValue0 -func (t *CasesCreateCaseRequest_CustomFields_Value) FromCasesCreateCaseRequestCustomFieldsValue0(v CasesCreateCaseRequestCustomFieldsValue0) error { +// FromKibanaHTTPAPIsStreamlangCondition0Contains1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as the provided KibanaHTTPAPIsStreamlangCondition0Contains1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) FromKibanaHTTPAPIsStreamlangCondition0Contains1(v KibanaHTTPAPIsStreamlangCondition0Contains1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesCreateCaseRequestCustomFieldsValue0 performs a merge with any union data inside the CasesCreateCaseRequest_CustomFields_Value, using the provided CasesCreateCaseRequestCustomFieldsValue0 -func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestCustomFieldsValue0(v CasesCreateCaseRequestCustomFieldsValue0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Contains1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains, using the provided KibanaHTTPAPIsStreamlangCondition0Contains1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) MergeKibanaHTTPAPIsStreamlangCondition0Contains1(v KibanaHTTPAPIsStreamlangCondition0Contains1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56759,22 +45962,22 @@ func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestC return err } -// AsCasesCreateCaseRequestCustomFieldsValue1 returns the union data inside the CasesCreateCaseRequest_CustomFields_Value as a CasesCreateCaseRequestCustomFieldsValue1 -func (t CasesCreateCaseRequest_CustomFields_Value) AsCasesCreateCaseRequestCustomFieldsValue1() (CasesCreateCaseRequestCustomFieldsValue1, error) { - var body CasesCreateCaseRequestCustomFieldsValue1 +// AsKibanaHTTPAPIsStreamlangCondition0Contains2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as a KibanaHTTPAPIsStreamlangCondition0Contains2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Contains) AsKibanaHTTPAPIsStreamlangCondition0Contains2() (KibanaHTTPAPIsStreamlangCondition0Contains2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Contains2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesCreateCaseRequestCustomFieldsValue1 overwrites any union data inside the CasesCreateCaseRequest_CustomFields_Value as the provided CasesCreateCaseRequestCustomFieldsValue1 -func (t *CasesCreateCaseRequest_CustomFields_Value) FromCasesCreateCaseRequestCustomFieldsValue1(v CasesCreateCaseRequestCustomFieldsValue1) error { +// FromKibanaHTTPAPIsStreamlangCondition0Contains2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains as the provided KibanaHTTPAPIsStreamlangCondition0Contains2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) FromKibanaHTTPAPIsStreamlangCondition0Contains2(v KibanaHTTPAPIsStreamlangCondition0Contains2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesCreateCaseRequestCustomFieldsValue1 performs a merge with any union data inside the CasesCreateCaseRequest_CustomFields_Value, using the provided CasesCreateCaseRequestCustomFieldsValue1 -func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestCustomFieldsValue1(v CasesCreateCaseRequestCustomFieldsValue1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Contains2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Contains, using the provided KibanaHTTPAPIsStreamlangCondition0Contains2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) MergeKibanaHTTPAPIsStreamlangCondition0Contains2(v KibanaHTTPAPIsStreamlangCondition0Contains2) error { b, err := json.Marshal(v) if err != nil { return err @@ -56785,32 +45988,32 @@ func (t *CasesCreateCaseRequest_CustomFields_Value) MergeCasesCreateCaseRequestC return err } -func (t CasesCreateCaseRequest_CustomFields_Value) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangCondition_0_Contains) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesCreateCaseRequest_CustomFields_Value) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_Contains) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesPayloadAlertCommentCommentAlertId0 returns the union data inside the CasesPayloadAlertComment_Comment_AlertId as a CasesPayloadAlertCommentCommentAlertId0 -func (t CasesPayloadAlertComment_Comment_AlertId) AsCasesPayloadAlertCommentCommentAlertId0() (CasesPayloadAlertCommentCommentAlertId0, error) { - var body CasesPayloadAlertCommentCommentAlertId0 +// AsKibanaHTTPAPIsStreamlangCondition0EndsWith0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as a KibanaHTTPAPIsStreamlangCondition0EndsWith0 +func (t KibanaHTTPAPIsStreamlangCondition_0_EndsWith) AsKibanaHTTPAPIsStreamlangCondition0EndsWith0() (KibanaHTTPAPIsStreamlangCondition0EndsWith0, error) { + var body KibanaHTTPAPIsStreamlangCondition0EndsWith0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAlertCommentCommentAlertId0 overwrites any union data inside the CasesPayloadAlertComment_Comment_AlertId as the provided CasesPayloadAlertCommentCommentAlertId0 -func (t *CasesPayloadAlertComment_Comment_AlertId) FromCasesPayloadAlertCommentCommentAlertId0(v CasesPayloadAlertCommentCommentAlertId0) error { +// FromKibanaHTTPAPIsStreamlangCondition0EndsWith0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as the provided KibanaHTTPAPIsStreamlangCondition0EndsWith0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) FromKibanaHTTPAPIsStreamlangCondition0EndsWith0(v KibanaHTTPAPIsStreamlangCondition0EndsWith0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAlertCommentCommentAlertId0 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_AlertId, using the provided CasesPayloadAlertCommentCommentAlertId0 -func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertCommentCommentAlertId0(v CasesPayloadAlertCommentCommentAlertId0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0EndsWith0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith, using the provided KibanaHTTPAPIsStreamlangCondition0EndsWith0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) MergeKibanaHTTPAPIsStreamlangCondition0EndsWith0(v KibanaHTTPAPIsStreamlangCondition0EndsWith0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56821,22 +46024,22 @@ func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertComment return err } -// AsCasesPayloadAlertCommentCommentAlertId1 returns the union data inside the CasesPayloadAlertComment_Comment_AlertId as a CasesPayloadAlertCommentCommentAlertId1 -func (t CasesPayloadAlertComment_Comment_AlertId) AsCasesPayloadAlertCommentCommentAlertId1() (CasesPayloadAlertCommentCommentAlertId1, error) { - var body CasesPayloadAlertCommentCommentAlertId1 +// AsKibanaHTTPAPIsStreamlangCondition0EndsWith1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as a KibanaHTTPAPIsStreamlangCondition0EndsWith1 +func (t KibanaHTTPAPIsStreamlangCondition_0_EndsWith) AsKibanaHTTPAPIsStreamlangCondition0EndsWith1() (KibanaHTTPAPIsStreamlangCondition0EndsWith1, error) { + var body KibanaHTTPAPIsStreamlangCondition0EndsWith1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAlertCommentCommentAlertId1 overwrites any union data inside the CasesPayloadAlertComment_Comment_AlertId as the provided CasesPayloadAlertCommentCommentAlertId1 -func (t *CasesPayloadAlertComment_Comment_AlertId) FromCasesPayloadAlertCommentCommentAlertId1(v CasesPayloadAlertCommentCommentAlertId1) error { +// FromKibanaHTTPAPIsStreamlangCondition0EndsWith1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as the provided KibanaHTTPAPIsStreamlangCondition0EndsWith1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) FromKibanaHTTPAPIsStreamlangCondition0EndsWith1(v KibanaHTTPAPIsStreamlangCondition0EndsWith1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAlertCommentCommentAlertId1 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_AlertId, using the provided CasesPayloadAlertCommentCommentAlertId1 -func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertCommentCommentAlertId1(v CasesPayloadAlertCommentCommentAlertId1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0EndsWith1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith, using the provided KibanaHTTPAPIsStreamlangCondition0EndsWith1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) MergeKibanaHTTPAPIsStreamlangCondition0EndsWith1(v KibanaHTTPAPIsStreamlangCondition0EndsWith1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56847,32 +46050,22 @@ func (t *CasesPayloadAlertComment_Comment_AlertId) MergeCasesPayloadAlertComment return err } -func (t CasesPayloadAlertComment_Comment_AlertId) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *CasesPayloadAlertComment_Comment_AlertId) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsCasesPayloadAlertCommentCommentIndex0 returns the union data inside the CasesPayloadAlertComment_Comment_Index as a CasesPayloadAlertCommentCommentIndex0 -func (t CasesPayloadAlertComment_Comment_Index) AsCasesPayloadAlertCommentCommentIndex0() (CasesPayloadAlertCommentCommentIndex0, error) { - var body CasesPayloadAlertCommentCommentIndex0 +// AsKibanaHTTPAPIsStreamlangCondition0EndsWith2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as a KibanaHTTPAPIsStreamlangCondition0EndsWith2 +func (t KibanaHTTPAPIsStreamlangCondition_0_EndsWith) AsKibanaHTTPAPIsStreamlangCondition0EndsWith2() (KibanaHTTPAPIsStreamlangCondition0EndsWith2, error) { + var body KibanaHTTPAPIsStreamlangCondition0EndsWith2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAlertCommentCommentIndex0 overwrites any union data inside the CasesPayloadAlertComment_Comment_Index as the provided CasesPayloadAlertCommentCommentIndex0 -func (t *CasesPayloadAlertComment_Comment_Index) FromCasesPayloadAlertCommentCommentIndex0(v CasesPayloadAlertCommentCommentIndex0) error { +// FromKibanaHTTPAPIsStreamlangCondition0EndsWith2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith as the provided KibanaHTTPAPIsStreamlangCondition0EndsWith2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) FromKibanaHTTPAPIsStreamlangCondition0EndsWith2(v KibanaHTTPAPIsStreamlangCondition0EndsWith2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAlertCommentCommentIndex0 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_Index, using the provided CasesPayloadAlertCommentCommentIndex0 -func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCommentIndex0(v CasesPayloadAlertCommentCommentIndex0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0EndsWith2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_EndsWith, using the provided KibanaHTTPAPIsStreamlangCondition0EndsWith2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) MergeKibanaHTTPAPIsStreamlangCondition0EndsWith2(v KibanaHTTPAPIsStreamlangCondition0EndsWith2) error { b, err := json.Marshal(v) if err != nil { return err @@ -56883,22 +46076,32 @@ func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCo return err } -// AsCasesPayloadAlertCommentCommentIndex1 returns the union data inside the CasesPayloadAlertComment_Comment_Index as a CasesPayloadAlertCommentCommentIndex1 -func (t CasesPayloadAlertComment_Comment_Index) AsCasesPayloadAlertCommentCommentIndex1() (CasesPayloadAlertCommentCommentIndex1, error) { - var body CasesPayloadAlertCommentCommentIndex1 +func (t KibanaHTTPAPIsStreamlangCondition_0_EndsWith) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_EndsWith) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0Eq0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as a KibanaHTTPAPIsStreamlangCondition0Eq0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Eq) AsKibanaHTTPAPIsStreamlangCondition0Eq0() (KibanaHTTPAPIsStreamlangCondition0Eq0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Eq0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAlertCommentCommentIndex1 overwrites any union data inside the CasesPayloadAlertComment_Comment_Index as the provided CasesPayloadAlertCommentCommentIndex1 -func (t *CasesPayloadAlertComment_Comment_Index) FromCasesPayloadAlertCommentCommentIndex1(v CasesPayloadAlertCommentCommentIndex1) error { +// FromKibanaHTTPAPIsStreamlangCondition0Eq0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as the provided KibanaHTTPAPIsStreamlangCondition0Eq0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) FromKibanaHTTPAPIsStreamlangCondition0Eq0(v KibanaHTTPAPIsStreamlangCondition0Eq0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAlertCommentCommentIndex1 performs a merge with any union data inside the CasesPayloadAlertComment_Comment_Index, using the provided CasesPayloadAlertCommentCommentIndex1 -func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCommentIndex1(v CasesPayloadAlertCommentCommentIndex1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Eq0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq, using the provided KibanaHTTPAPIsStreamlangCondition0Eq0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) MergeKibanaHTTPAPIsStreamlangCondition0Eq0(v KibanaHTTPAPIsStreamlangCondition0Eq0) error { b, err := json.Marshal(v) if err != nil { return err @@ -56909,32 +46112,22 @@ func (t *CasesPayloadAlertComment_Comment_Index) MergeCasesPayloadAlertCommentCo return err } -func (t CasesPayloadAlertComment_Comment_Index) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *CasesPayloadAlertComment_Comment_Index) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 returns the union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as a CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0() (CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0, error) { - var body CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 +// AsKibanaHTTPAPIsStreamlangCondition0Eq1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as a KibanaHTTPAPIsStreamlangCondition0Eq1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Eq) AsKibanaHTTPAPIsStreamlangCondition0Eq1() (KibanaHTTPAPIsStreamlangCondition0Eq1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Eq1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 overwrites any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0) error { +// FromKibanaHTTPAPIsStreamlangCondition0Eq1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as the provided KibanaHTTPAPIsStreamlangCondition0Eq1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) FromKibanaHTTPAPIsStreamlangCondition0Eq1(v KibanaHTTPAPIsStreamlangCondition0Eq1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 performs a merge with any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Eq1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq, using the provided KibanaHTTPAPIsStreamlangCondition0Eq1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) MergeKibanaHTTPAPIsStreamlangCondition0Eq1(v KibanaHTTPAPIsStreamlangCondition0Eq1) error { b, err := json.Marshal(v) if err != nil { return err @@ -56945,22 +46138,22 @@ func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesS return err } -// AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 returns the union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as a CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1() (CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1, error) { - var body CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 +// AsKibanaHTTPAPIsStreamlangCondition0Eq2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as a KibanaHTTPAPIsStreamlangCondition0Eq2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Eq) AsKibanaHTTPAPIsStreamlangCondition0Eq2() (KibanaHTTPAPIsStreamlangCondition0Eq2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Eq2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 overwrites any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1) error { +// FromKibanaHTTPAPIsStreamlangCondition0Eq2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq as the provided KibanaHTTPAPIsStreamlangCondition0Eq2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) FromKibanaHTTPAPIsStreamlangCondition0Eq2(v KibanaHTTPAPIsStreamlangCondition0Eq2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 performs a merge with any union data inside the CasesSetCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesSetCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesSetCaseConfigurationRequestCustomFieldsDefaultValue1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Eq2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Eq, using the provided KibanaHTTPAPIsStreamlangCondition0Eq2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) MergeKibanaHTTPAPIsStreamlangCondition0Eq2(v KibanaHTTPAPIsStreamlangCondition0Eq2) error { b, err := json.Marshal(v) if err != nil { return err @@ -56971,32 +46164,32 @@ func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesS return err } -func (t CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangCondition_0_Eq) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesSetCaseConfigurationRequest_CustomFields_DefaultValue) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_Eq) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesTemplatesCaseFieldsCustomFieldsValue0 returns the union data inside the CasesTemplates_CaseFields_CustomFields_Value as a CasesTemplatesCaseFieldsCustomFieldsValue0 -func (t CasesTemplates_CaseFields_CustomFields_Value) AsCasesTemplatesCaseFieldsCustomFieldsValue0() (CasesTemplatesCaseFieldsCustomFieldsValue0, error) { - var body CasesTemplatesCaseFieldsCustomFieldsValue0 +// AsKibanaHTTPAPIsStreamlangCondition0Gt0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as a KibanaHTTPAPIsStreamlangCondition0Gt0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gt) AsKibanaHTTPAPIsStreamlangCondition0Gt0() (KibanaHTTPAPIsStreamlangCondition0Gt0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gt0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesTemplatesCaseFieldsCustomFieldsValue0 overwrites any union data inside the CasesTemplates_CaseFields_CustomFields_Value as the provided CasesTemplatesCaseFieldsCustomFieldsValue0 -func (t *CasesTemplates_CaseFields_CustomFields_Value) FromCasesTemplatesCaseFieldsCustomFieldsValue0(v CasesTemplatesCaseFieldsCustomFieldsValue0) error { +// FromKibanaHTTPAPIsStreamlangCondition0Gt0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as the provided KibanaHTTPAPIsStreamlangCondition0Gt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) FromKibanaHTTPAPIsStreamlangCondition0Gt0(v KibanaHTTPAPIsStreamlangCondition0Gt0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesTemplatesCaseFieldsCustomFieldsValue0 performs a merge with any union data inside the CasesTemplates_CaseFields_CustomFields_Value, using the provided CasesTemplatesCaseFieldsCustomFieldsValue0 -func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFieldsCustomFieldsValue0(v CasesTemplatesCaseFieldsCustomFieldsValue0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Gt0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0Gt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) MergeKibanaHTTPAPIsStreamlangCondition0Gt0(v KibanaHTTPAPIsStreamlangCondition0Gt0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57007,22 +46200,22 @@ func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFi return err } -// AsCasesTemplatesCaseFieldsCustomFieldsValue1 returns the union data inside the CasesTemplates_CaseFields_CustomFields_Value as a CasesTemplatesCaseFieldsCustomFieldsValue1 -func (t CasesTemplates_CaseFields_CustomFields_Value) AsCasesTemplatesCaseFieldsCustomFieldsValue1() (CasesTemplatesCaseFieldsCustomFieldsValue1, error) { - var body CasesTemplatesCaseFieldsCustomFieldsValue1 +// AsKibanaHTTPAPIsStreamlangCondition0Gt1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as a KibanaHTTPAPIsStreamlangCondition0Gt1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gt) AsKibanaHTTPAPIsStreamlangCondition0Gt1() (KibanaHTTPAPIsStreamlangCondition0Gt1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gt1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesTemplatesCaseFieldsCustomFieldsValue1 overwrites any union data inside the CasesTemplates_CaseFields_CustomFields_Value as the provided CasesTemplatesCaseFieldsCustomFieldsValue1 -func (t *CasesTemplates_CaseFields_CustomFields_Value) FromCasesTemplatesCaseFieldsCustomFieldsValue1(v CasesTemplatesCaseFieldsCustomFieldsValue1) error { +// FromKibanaHTTPAPIsStreamlangCondition0Gt1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as the provided KibanaHTTPAPIsStreamlangCondition0Gt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) FromKibanaHTTPAPIsStreamlangCondition0Gt1(v KibanaHTTPAPIsStreamlangCondition0Gt1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesTemplatesCaseFieldsCustomFieldsValue1 performs a merge with any union data inside the CasesTemplates_CaseFields_CustomFields_Value, using the provided CasesTemplatesCaseFieldsCustomFieldsValue1 -func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFieldsCustomFieldsValue1(v CasesTemplatesCaseFieldsCustomFieldsValue1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Gt1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0Gt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) MergeKibanaHTTPAPIsStreamlangCondition0Gt1(v KibanaHTTPAPIsStreamlangCondition0Gt1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57033,34 +46226,58 @@ func (t *CasesTemplates_CaseFields_CustomFields_Value) MergeCasesTemplatesCaseFi return err } -func (t CasesTemplates_CaseFields_CustomFields_Value) MarshalJSON() ([]byte, error) { +// AsKibanaHTTPAPIsStreamlangCondition0Gt2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as a KibanaHTTPAPIsStreamlangCondition0Gt2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gt) AsKibanaHTTPAPIsStreamlangCondition0Gt2() (KibanaHTTPAPIsStreamlangCondition0Gt2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gt2 + err := json.Unmarshal(t.union, &body) + return body, err +} + +// FromKibanaHTTPAPIsStreamlangCondition0Gt2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt as the provided KibanaHTTPAPIsStreamlangCondition0Gt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) FromKibanaHTTPAPIsStreamlangCondition0Gt2(v KibanaHTTPAPIsStreamlangCondition0Gt2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeKibanaHTTPAPIsStreamlangCondition0Gt2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0Gt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) MergeKibanaHTTPAPIsStreamlangCondition0Gt2(v KibanaHTTPAPIsStreamlangCondition0Gt2) error { + b, err := json.Marshal(v) + if err != nil { + return err + } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err +} + +func (t KibanaHTTPAPIsStreamlangCondition_0_Gt) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesTemplates_CaseFields_CustomFields_Value) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gt) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesUpdateAlertCommentRequestProperties returns the union data inside the CasesUpdateCaseCommentRequest as a CasesUpdateAlertCommentRequestProperties -func (t CasesUpdateCaseCommentRequest) AsCasesUpdateAlertCommentRequestProperties() (CasesUpdateAlertCommentRequestProperties, error) { - var body CasesUpdateAlertCommentRequestProperties +// AsKibanaHTTPAPIsStreamlangCondition0Gte0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as a KibanaHTTPAPIsStreamlangCondition0Gte0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gte) AsKibanaHTTPAPIsStreamlangCondition0Gte0() (KibanaHTTPAPIsStreamlangCondition0Gte0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gte0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateAlertCommentRequestProperties overwrites any union data inside the CasesUpdateCaseCommentRequest as the provided CasesUpdateAlertCommentRequestProperties -func (t *CasesUpdateCaseCommentRequest) FromCasesUpdateAlertCommentRequestProperties(v CasesUpdateAlertCommentRequestProperties) error { - v.Type = "alert" +// FromKibanaHTTPAPIsStreamlangCondition0Gte0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as the provided KibanaHTTPAPIsStreamlangCondition0Gte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) FromKibanaHTTPAPIsStreamlangCondition0Gte0(v KibanaHTTPAPIsStreamlangCondition0Gte0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateAlertCommentRequestProperties performs a merge with any union data inside the CasesUpdateCaseCommentRequest, using the provided CasesUpdateAlertCommentRequestProperties -func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateAlertCommentRequestProperties(v CasesUpdateAlertCommentRequestProperties) error { - v.Type = "alert" +// MergeKibanaHTTPAPIsStreamlangCondition0Gte0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0Gte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) MergeKibanaHTTPAPIsStreamlangCondition0Gte0(v KibanaHTTPAPIsStreamlangCondition0Gte0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57071,24 +46288,22 @@ func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateAlertCommentRequestPrope return err } -// AsCasesUpdateUserCommentRequestProperties returns the union data inside the CasesUpdateCaseCommentRequest as a CasesUpdateUserCommentRequestProperties -func (t CasesUpdateCaseCommentRequest) AsCasesUpdateUserCommentRequestProperties() (CasesUpdateUserCommentRequestProperties, error) { - var body CasesUpdateUserCommentRequestProperties +// AsKibanaHTTPAPIsStreamlangCondition0Gte1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as a KibanaHTTPAPIsStreamlangCondition0Gte1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gte) AsKibanaHTTPAPIsStreamlangCondition0Gte1() (KibanaHTTPAPIsStreamlangCondition0Gte1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gte1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateUserCommentRequestProperties overwrites any union data inside the CasesUpdateCaseCommentRequest as the provided CasesUpdateUserCommentRequestProperties -func (t *CasesUpdateCaseCommentRequest) FromCasesUpdateUserCommentRequestProperties(v CasesUpdateUserCommentRequestProperties) error { - v.Type = "user" +// FromKibanaHTTPAPIsStreamlangCondition0Gte1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as the provided KibanaHTTPAPIsStreamlangCondition0Gte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) FromKibanaHTTPAPIsStreamlangCondition0Gte1(v KibanaHTTPAPIsStreamlangCondition0Gte1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateUserCommentRequestProperties performs a merge with any union data inside the CasesUpdateCaseCommentRequest, using the provided CasesUpdateUserCommentRequestProperties -func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateUserCommentRequestProperties(v CasesUpdateUserCommentRequestProperties) error { - v.Type = "user" +// MergeKibanaHTTPAPIsStreamlangCondition0Gte1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0Gte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) MergeKibanaHTTPAPIsStreamlangCondition0Gte1(v KibanaHTTPAPIsStreamlangCondition0Gte1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57099,55 +46314,58 @@ func (t *CasesUpdateCaseCommentRequest) MergeCasesUpdateUserCommentRequestProper return err } -func (t CasesUpdateCaseCommentRequest) Discriminator() (string, error) { - var discriminator struct { - Discriminator string `json:"type"` - } - err := json.Unmarshal(t.union, &discriminator) - return discriminator.Discriminator, err +// AsKibanaHTTPAPIsStreamlangCondition0Gte2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as a KibanaHTTPAPIsStreamlangCondition0Gte2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Gte) AsKibanaHTTPAPIsStreamlangCondition0Gte2() (KibanaHTTPAPIsStreamlangCondition0Gte2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Gte2 + err := json.Unmarshal(t.union, &body) + return body, err } -func (t CasesUpdateCaseCommentRequest) ValueByDiscriminator() (interface{}, error) { - discriminator, err := t.Discriminator() +// FromKibanaHTTPAPIsStreamlangCondition0Gte2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte as the provided KibanaHTTPAPIsStreamlangCondition0Gte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) FromKibanaHTTPAPIsStreamlangCondition0Gte2(v KibanaHTTPAPIsStreamlangCondition0Gte2) error { + b, err := json.Marshal(v) + t.union = b + return err +} + +// MergeKibanaHTTPAPIsStreamlangCondition0Gte2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0Gte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) MergeKibanaHTTPAPIsStreamlangCondition0Gte2(v KibanaHTTPAPIsStreamlangCondition0Gte2) error { + b, err := json.Marshal(v) if err != nil { - return nil, err - } - switch discriminator { - case "alert": - return t.AsCasesUpdateAlertCommentRequestProperties() - case "user": - return t.AsCasesUpdateUserCommentRequestProperties() - default: - return nil, errors.New("unknown discriminator value: " + discriminator) + return err } + + merged, err := runtime.JSONMerge(t.union, b) + t.union = merged + return err } -func (t CasesUpdateCaseCommentRequest) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangCondition_0_Gte) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesUpdateCaseCommentRequest) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_Gte) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 returns the union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as a CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0() (CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0, error) { - var body CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 +// AsKibanaHTTPAPIsStreamlangCondition0Lt0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as a KibanaHTTPAPIsStreamlangCondition0Lt0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lt) AsKibanaHTTPAPIsStreamlangCondition0Lt0() (KibanaHTTPAPIsStreamlangCondition0Lt0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lt0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 overwrites any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lt0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as the provided KibanaHTTPAPIsStreamlangCondition0Lt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) FromKibanaHTTPAPIsStreamlangCondition0Lt0(v KibanaHTTPAPIsStreamlangCondition0Lt0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 performs a merge with any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0 -func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lt0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0Lt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) MergeKibanaHTTPAPIsStreamlangCondition0Lt0(v KibanaHTTPAPIsStreamlangCondition0Lt0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57158,22 +46376,22 @@ func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCas return err } -// AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 returns the union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as a CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) AsCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1() (CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1, error) { - var body CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 +// AsKibanaHTTPAPIsStreamlangCondition0Lt1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as a KibanaHTTPAPIsStreamlangCondition0Lt1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lt) AsKibanaHTTPAPIsStreamlangCondition0Lt1() (KibanaHTTPAPIsStreamlangCondition0Lt1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lt1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 overwrites any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue as the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) FromCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lt1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as the provided KibanaHTTPAPIsStreamlangCondition0Lt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) FromKibanaHTTPAPIsStreamlangCondition0Lt1(v KibanaHTTPAPIsStreamlangCondition0Lt1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 performs a merge with any union data inside the CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue, using the provided CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1 -func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1(v CasesUpdateCaseConfigurationRequestCustomFieldsDefaultValue1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lt1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0Lt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) MergeKibanaHTTPAPIsStreamlangCondition0Lt1(v KibanaHTTPAPIsStreamlangCondition0Lt1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57184,32 +46402,22 @@ func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MergeCas return err } -func (t CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *CasesUpdateCaseConfigurationRequest_CustomFields_DefaultValue) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsCasesConnectorPropertiesNone returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesNone -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesNone() (CasesConnectorPropertiesNone, error) { - var body CasesConnectorPropertiesNone +// AsKibanaHTTPAPIsStreamlangCondition0Lt2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as a KibanaHTTPAPIsStreamlangCondition0Lt2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lt) AsKibanaHTTPAPIsStreamlangCondition0Lt2() (KibanaHTTPAPIsStreamlangCondition0Lt2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lt2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesNone overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesNone -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lt2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt as the provided KibanaHTTPAPIsStreamlangCondition0Lt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) FromKibanaHTTPAPIsStreamlangCondition0Lt2(v KibanaHTTPAPIsStreamlangCondition0Lt2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesNone performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesNone -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesNone(v CasesConnectorPropertiesNone) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lt2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0Lt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) MergeKibanaHTTPAPIsStreamlangCondition0Lt2(v KibanaHTTPAPIsStreamlangCondition0Lt2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57220,22 +46428,32 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesNo return err } -// AsCasesConnectorPropertiesCasesWebhook returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesCasesWebhook -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesCasesWebhook() (CasesConnectorPropertiesCasesWebhook, error) { - var body CasesConnectorPropertiesCasesWebhook +func (t KibanaHTTPAPIsStreamlangCondition_0_Lt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0Lte0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as a KibanaHTTPAPIsStreamlangCondition0Lte0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lte) AsKibanaHTTPAPIsStreamlangCondition0Lte0() (KibanaHTTPAPIsStreamlangCondition0Lte0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lte0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesCasesWebhook overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lte0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as the provided KibanaHTTPAPIsStreamlangCondition0Lte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) FromKibanaHTTPAPIsStreamlangCondition0Lte0(v KibanaHTTPAPIsStreamlangCondition0Lte0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesCasesWebhook performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesCasesWebhook -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesCasesWebhook(v CasesConnectorPropertiesCasesWebhook) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lte0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0Lte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) MergeKibanaHTTPAPIsStreamlangCondition0Lte0(v KibanaHTTPAPIsStreamlangCondition0Lte0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57246,22 +46464,22 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesCa return err } -// AsCasesConnectorPropertiesJira returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesJira -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesJira() (CasesConnectorPropertiesJira, error) { - var body CasesConnectorPropertiesJira +// AsKibanaHTTPAPIsStreamlangCondition0Lte1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as a KibanaHTTPAPIsStreamlangCondition0Lte1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lte) AsKibanaHTTPAPIsStreamlangCondition0Lte1() (KibanaHTTPAPIsStreamlangCondition0Lte1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lte1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesJira overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesJira -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lte1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as the provided KibanaHTTPAPIsStreamlangCondition0Lte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) FromKibanaHTTPAPIsStreamlangCondition0Lte1(v KibanaHTTPAPIsStreamlangCondition0Lte1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesJira performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesJira -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesJira(v CasesConnectorPropertiesJira) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lte1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0Lte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) MergeKibanaHTTPAPIsStreamlangCondition0Lte1(v KibanaHTTPAPIsStreamlangCondition0Lte1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57272,22 +46490,22 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesJi return err } -// AsCasesConnectorPropertiesResilient returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesResilient -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesResilient() (CasesConnectorPropertiesResilient, error) { - var body CasesConnectorPropertiesResilient +// AsKibanaHTTPAPIsStreamlangCondition0Lte2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as a KibanaHTTPAPIsStreamlangCondition0Lte2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Lte) AsKibanaHTTPAPIsStreamlangCondition0Lte2() (KibanaHTTPAPIsStreamlangCondition0Lte2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Lte2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesResilient overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesResilient -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { +// FromKibanaHTTPAPIsStreamlangCondition0Lte2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte as the provided KibanaHTTPAPIsStreamlangCondition0Lte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) FromKibanaHTTPAPIsStreamlangCondition0Lte2(v KibanaHTTPAPIsStreamlangCondition0Lte2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesResilient performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesResilient -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesResilient(v CasesConnectorPropertiesResilient) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Lte2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0Lte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) MergeKibanaHTTPAPIsStreamlangCondition0Lte2(v KibanaHTTPAPIsStreamlangCondition0Lte2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57298,22 +46516,32 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesRe return err } -// AsCasesConnectorPropertiesServicenow returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesServicenow -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesServicenow() (CasesConnectorPropertiesServicenow, error) { - var body CasesConnectorPropertiesServicenow +func (t KibanaHTTPAPIsStreamlangCondition_0_Lte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Lte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0Neq0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as a KibanaHTTPAPIsStreamlangCondition0Neq0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Neq) AsKibanaHTTPAPIsStreamlangCondition0Neq0() (KibanaHTTPAPIsStreamlangCondition0Neq0, error) { + var body KibanaHTTPAPIsStreamlangCondition0Neq0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenow overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesServicenow -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { +// FromKibanaHTTPAPIsStreamlangCondition0Neq0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as the provided KibanaHTTPAPIsStreamlangCondition0Neq0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) FromKibanaHTTPAPIsStreamlangCondition0Neq0(v KibanaHTTPAPIsStreamlangCondition0Neq0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenow performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesServicenow -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesServicenow(v CasesConnectorPropertiesServicenow) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Neq0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq, using the provided KibanaHTTPAPIsStreamlangCondition0Neq0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) MergeKibanaHTTPAPIsStreamlangCondition0Neq0(v KibanaHTTPAPIsStreamlangCondition0Neq0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57324,22 +46552,22 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesSe return err } -// AsCasesConnectorPropertiesServicenowSir returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesServicenowSir -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesServicenowSir() (CasesConnectorPropertiesServicenowSir, error) { - var body CasesConnectorPropertiesServicenowSir +// AsKibanaHTTPAPIsStreamlangCondition0Neq1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as a KibanaHTTPAPIsStreamlangCondition0Neq1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Neq) AsKibanaHTTPAPIsStreamlangCondition0Neq1() (KibanaHTTPAPIsStreamlangCondition0Neq1, error) { + var body KibanaHTTPAPIsStreamlangCondition0Neq1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesServicenowSir overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesServicenowSir -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { +// FromKibanaHTTPAPIsStreamlangCondition0Neq1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as the provided KibanaHTTPAPIsStreamlangCondition0Neq1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) FromKibanaHTTPAPIsStreamlangCondition0Neq1(v KibanaHTTPAPIsStreamlangCondition0Neq1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesServicenowSir performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesServicenowSir -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesServicenowSir(v CasesConnectorPropertiesServicenowSir) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Neq1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq, using the provided KibanaHTTPAPIsStreamlangCondition0Neq1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) MergeKibanaHTTPAPIsStreamlangCondition0Neq1(v KibanaHTTPAPIsStreamlangCondition0Neq1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57350,22 +46578,22 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesSe return err } -// AsCasesConnectorPropertiesSwimlane returns the union data inside the CasesUpdateCaseRequest_Cases_Connector as a CasesConnectorPropertiesSwimlane -func (t CasesUpdateCaseRequest_Cases_Connector) AsCasesConnectorPropertiesSwimlane() (CasesConnectorPropertiesSwimlane, error) { - var body CasesConnectorPropertiesSwimlane +// AsKibanaHTTPAPIsStreamlangCondition0Neq2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as a KibanaHTTPAPIsStreamlangCondition0Neq2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Neq) AsKibanaHTTPAPIsStreamlangCondition0Neq2() (KibanaHTTPAPIsStreamlangCondition0Neq2, error) { + var body KibanaHTTPAPIsStreamlangCondition0Neq2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesConnectorPropertiesSwimlane overwrites any union data inside the CasesUpdateCaseRequest_Cases_Connector as the provided CasesConnectorPropertiesSwimlane -func (t *CasesUpdateCaseRequest_Cases_Connector) FromCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { +// FromKibanaHTTPAPIsStreamlangCondition0Neq2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq as the provided KibanaHTTPAPIsStreamlangCondition0Neq2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) FromKibanaHTTPAPIsStreamlangCondition0Neq2(v KibanaHTTPAPIsStreamlangCondition0Neq2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesConnectorPropertiesSwimlane performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_Connector, using the provided CasesConnectorPropertiesSwimlane -func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesSwimlane(v CasesConnectorPropertiesSwimlane) error { +// MergeKibanaHTTPAPIsStreamlangCondition0Neq2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Neq, using the provided KibanaHTTPAPIsStreamlangCondition0Neq2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) MergeKibanaHTTPAPIsStreamlangCondition0Neq2(v KibanaHTTPAPIsStreamlangCondition0Neq2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57376,32 +46604,32 @@ func (t *CasesUpdateCaseRequest_Cases_Connector) MergeCasesConnectorPropertiesSw return err } -func (t CasesUpdateCaseRequest_Cases_Connector) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangCondition_0_Neq) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesUpdateCaseRequest_Cases_Connector) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_Neq) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsCasesUpdateCaseRequestCasesCustomFieldsValue0 returns the union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as a CasesUpdateCaseRequestCasesCustomFieldsValue0 -func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) AsCasesUpdateCaseRequestCasesCustomFieldsValue0() (CasesUpdateCaseRequestCasesCustomFieldsValue0, error) { - var body CasesUpdateCaseRequestCasesCustomFieldsValue0 +// AsKibanaHTTPAPIsStreamlangCondition0RangeGt0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as a KibanaHTTPAPIsStreamlangCondition0RangeGt0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) AsKibanaHTTPAPIsStreamlangCondition0RangeGt0() (KibanaHTTPAPIsStreamlangCondition0RangeGt0, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGt0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateCaseRequestCasesCustomFieldsValue0 overwrites any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as the provided CasesUpdateCaseRequestCasesCustomFieldsValue0 -func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) FromCasesUpdateCaseRequestCasesCustomFieldsValue0(v CasesUpdateCaseRequestCasesCustomFieldsValue0) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGt0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as the provided KibanaHTTPAPIsStreamlangCondition0RangeGt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) FromKibanaHTTPAPIsStreamlangCondition0RangeGt0(v KibanaHTTPAPIsStreamlangCondition0RangeGt0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateCaseRequestCasesCustomFieldsValue0 performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value, using the provided CasesUpdateCaseRequestCasesCustomFieldsValue0 -func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRequestCasesCustomFieldsValue0(v CasesUpdateCaseRequestCasesCustomFieldsValue0) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGt0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) MergeKibanaHTTPAPIsStreamlangCondition0RangeGt0(v KibanaHTTPAPIsStreamlangCondition0RangeGt0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57412,22 +46640,22 @@ func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRe return err } -// AsCasesUpdateCaseRequestCasesCustomFieldsValue1 returns the union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as a CasesUpdateCaseRequestCasesCustomFieldsValue1 -func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) AsCasesUpdateCaseRequestCasesCustomFieldsValue1() (CasesUpdateCaseRequestCasesCustomFieldsValue1, error) { - var body CasesUpdateCaseRequestCasesCustomFieldsValue1 +// AsKibanaHTTPAPIsStreamlangCondition0RangeGt1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as a KibanaHTTPAPIsStreamlangCondition0RangeGt1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) AsKibanaHTTPAPIsStreamlangCondition0RangeGt1() (KibanaHTTPAPIsStreamlangCondition0RangeGt1, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGt1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesUpdateCaseRequestCasesCustomFieldsValue1 overwrites any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value as the provided CasesUpdateCaseRequestCasesCustomFieldsValue1 -func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) FromCasesUpdateCaseRequestCasesCustomFieldsValue1(v CasesUpdateCaseRequestCasesCustomFieldsValue1) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGt1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as the provided KibanaHTTPAPIsStreamlangCondition0RangeGt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) FromKibanaHTTPAPIsStreamlangCondition0RangeGt1(v KibanaHTTPAPIsStreamlangCondition0RangeGt1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesUpdateCaseRequestCasesCustomFieldsValue1 performs a merge with any union data inside the CasesUpdateCaseRequest_Cases_CustomFields_Value, using the provided CasesUpdateCaseRequestCasesCustomFieldsValue1 -func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRequestCasesCustomFieldsValue1(v CasesUpdateCaseRequestCasesCustomFieldsValue1) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGt1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) MergeKibanaHTTPAPIsStreamlangCondition0RangeGt1(v KibanaHTTPAPIsStreamlangCondition0RangeGt1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57438,32 +46666,22 @@ func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) MergeCasesUpdateCaseRe return err } -func (t CasesUpdateCaseRequest_Cases_CustomFields_Value) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *CasesUpdateCaseRequest_Cases_CustomFields_Value) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsCasesPayloadAlertComment returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadAlertComment -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadAlertComment() (CasesPayloadAlertComment, error) { - var body CasesPayloadAlertComment +// AsKibanaHTTPAPIsStreamlangCondition0RangeGt2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as a KibanaHTTPAPIsStreamlangCondition0RangeGt2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) AsKibanaHTTPAPIsStreamlangCondition0RangeGt2() (KibanaHTTPAPIsStreamlangCondition0RangeGt2, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGt2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAlertComment overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadAlertComment -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadAlertComment(v CasesPayloadAlertComment) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGt2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt as the provided KibanaHTTPAPIsStreamlangCondition0RangeGt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) FromKibanaHTTPAPIsStreamlangCondition0RangeGt2(v KibanaHTTPAPIsStreamlangCondition0RangeGt2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAlertComment performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadAlertComment -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAlertComment(v CasesPayloadAlertComment) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGt2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) MergeKibanaHTTPAPIsStreamlangCondition0RangeGt2(v KibanaHTTPAPIsStreamlangCondition0RangeGt2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57474,22 +46692,32 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAlertC return err } -// AsCasesPayloadAssignees returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadAssignees -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadAssignees() (CasesPayloadAssignees, error) { - var body CasesPayloadAssignees +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0RangeGte0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as a KibanaHTTPAPIsStreamlangCondition0RangeGte0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) AsKibanaHTTPAPIsStreamlangCondition0RangeGte0() (KibanaHTTPAPIsStreamlangCondition0RangeGte0, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGte0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadAssignees overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadAssignees -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadAssignees(v CasesPayloadAssignees) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGte0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as the provided KibanaHTTPAPIsStreamlangCondition0RangeGte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) FromKibanaHTTPAPIsStreamlangCondition0RangeGte0(v KibanaHTTPAPIsStreamlangCondition0RangeGte0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadAssignees performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadAssignees -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAssignees(v CasesPayloadAssignees) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGte0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) MergeKibanaHTTPAPIsStreamlangCondition0RangeGte0(v KibanaHTTPAPIsStreamlangCondition0RangeGte0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57500,22 +46728,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadAssign return err } -// AsCasesPayloadConnector returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadConnector -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadConnector() (CasesPayloadConnector, error) { - var body CasesPayloadConnector +// AsKibanaHTTPAPIsStreamlangCondition0RangeGte1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as a KibanaHTTPAPIsStreamlangCondition0RangeGte1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) AsKibanaHTTPAPIsStreamlangCondition0RangeGte1() (KibanaHTTPAPIsStreamlangCondition0RangeGte1, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGte1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadConnector overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadConnector -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadConnector(v CasesPayloadConnector) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGte1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as the provided KibanaHTTPAPIsStreamlangCondition0RangeGte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) FromKibanaHTTPAPIsStreamlangCondition0RangeGte1(v KibanaHTTPAPIsStreamlangCondition0RangeGte1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadConnector performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadConnector -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadConnector(v CasesPayloadConnector) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGte1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) MergeKibanaHTTPAPIsStreamlangCondition0RangeGte1(v KibanaHTTPAPIsStreamlangCondition0RangeGte1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57526,22 +46754,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadConnec return err } -// AsCasesPayloadCreateCase returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadCreateCase -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadCreateCase() (CasesPayloadCreateCase, error) { - var body CasesPayloadCreateCase +// AsKibanaHTTPAPIsStreamlangCondition0RangeGte2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as a KibanaHTTPAPIsStreamlangCondition0RangeGte2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) AsKibanaHTTPAPIsStreamlangCondition0RangeGte2() (KibanaHTTPAPIsStreamlangCondition0RangeGte2, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeGte2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadCreateCase overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadCreateCase -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadCreateCase(v CasesPayloadCreateCase) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeGte2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte as the provided KibanaHTTPAPIsStreamlangCondition0RangeGte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) FromKibanaHTTPAPIsStreamlangCondition0RangeGte2(v KibanaHTTPAPIsStreamlangCondition0RangeGte2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadCreateCase performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadCreateCase -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadCreateCase(v CasesPayloadCreateCase) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeGte2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Gte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeGte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) MergeKibanaHTTPAPIsStreamlangCondition0RangeGte2(v KibanaHTTPAPIsStreamlangCondition0RangeGte2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57552,22 +46780,32 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadCreate return err } -// AsCasesPayloadDelete returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadDelete -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadDelete() (CasesPayloadDelete, error) { - var body CasesPayloadDelete +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Gte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0RangeLt0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as a KibanaHTTPAPIsStreamlangCondition0RangeLt0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) AsKibanaHTTPAPIsStreamlangCondition0RangeLt0() (KibanaHTTPAPIsStreamlangCondition0RangeLt0, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLt0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadDelete overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadDelete -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadDelete(v CasesPayloadDelete) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLt0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as the provided KibanaHTTPAPIsStreamlangCondition0RangeLt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) FromKibanaHTTPAPIsStreamlangCondition0RangeLt0(v KibanaHTTPAPIsStreamlangCondition0RangeLt0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadDelete performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadDelete -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDelete(v CasesPayloadDelete) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLt0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLt0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) MergeKibanaHTTPAPIsStreamlangCondition0RangeLt0(v KibanaHTTPAPIsStreamlangCondition0RangeLt0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57578,22 +46816,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDelete return err } -// AsCasesPayloadDescription returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadDescription -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadDescription() (CasesPayloadDescription, error) { - var body CasesPayloadDescription +// AsKibanaHTTPAPIsStreamlangCondition0RangeLt1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as a KibanaHTTPAPIsStreamlangCondition0RangeLt1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) AsKibanaHTTPAPIsStreamlangCondition0RangeLt1() (KibanaHTTPAPIsStreamlangCondition0RangeLt1, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLt1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadDescription overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadDescription -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadDescription(v CasesPayloadDescription) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLt1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as the provided KibanaHTTPAPIsStreamlangCondition0RangeLt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) FromKibanaHTTPAPIsStreamlangCondition0RangeLt1(v KibanaHTTPAPIsStreamlangCondition0RangeLt1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadDescription performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadDescription -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDescription(v CasesPayloadDescription) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLt1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLt1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) MergeKibanaHTTPAPIsStreamlangCondition0RangeLt1(v KibanaHTTPAPIsStreamlangCondition0RangeLt1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57604,22 +46842,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadDescri return err } -// AsCasesPayloadPushed returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadPushed -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadPushed() (CasesPayloadPushed, error) { - var body CasesPayloadPushed +// AsKibanaHTTPAPIsStreamlangCondition0RangeLt2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as a KibanaHTTPAPIsStreamlangCondition0RangeLt2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) AsKibanaHTTPAPIsStreamlangCondition0RangeLt2() (KibanaHTTPAPIsStreamlangCondition0RangeLt2, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLt2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadPushed overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadPushed -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadPushed(v CasesPayloadPushed) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLt2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt as the provided KibanaHTTPAPIsStreamlangCondition0RangeLt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) FromKibanaHTTPAPIsStreamlangCondition0RangeLt2(v KibanaHTTPAPIsStreamlangCondition0RangeLt2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadPushed performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadPushed -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadPushed(v CasesPayloadPushed) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLt2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lt, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLt2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) MergeKibanaHTTPAPIsStreamlangCondition0RangeLt2(v KibanaHTTPAPIsStreamlangCondition0RangeLt2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57630,22 +46868,32 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadPushed return err } -// AsCasesPayloadSettings returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadSettings -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadSettings() (CasesPayloadSettings, error) { - var body CasesPayloadSettings +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lt) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0RangeLte0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as a KibanaHTTPAPIsStreamlangCondition0RangeLte0 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) AsKibanaHTTPAPIsStreamlangCondition0RangeLte0() (KibanaHTTPAPIsStreamlangCondition0RangeLte0, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLte0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadSettings overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadSettings -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadSettings(v CasesPayloadSettings) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLte0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as the provided KibanaHTTPAPIsStreamlangCondition0RangeLte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) FromKibanaHTTPAPIsStreamlangCondition0RangeLte0(v KibanaHTTPAPIsStreamlangCondition0RangeLte0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadSettings performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadSettings -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSettings(v CasesPayloadSettings) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLte0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLte0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) MergeKibanaHTTPAPIsStreamlangCondition0RangeLte0(v KibanaHTTPAPIsStreamlangCondition0RangeLte0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57656,22 +46904,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSettin return err } -// AsCasesPayloadSeverity returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadSeverity -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadSeverity() (CasesPayloadSeverity, error) { - var body CasesPayloadSeverity +// AsKibanaHTTPAPIsStreamlangCondition0RangeLte1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as a KibanaHTTPAPIsStreamlangCondition0RangeLte1 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) AsKibanaHTTPAPIsStreamlangCondition0RangeLte1() (KibanaHTTPAPIsStreamlangCondition0RangeLte1, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLte1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadSeverity overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadSeverity -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadSeverity(v CasesPayloadSeverity) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLte1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as the provided KibanaHTTPAPIsStreamlangCondition0RangeLte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) FromKibanaHTTPAPIsStreamlangCondition0RangeLte1(v KibanaHTTPAPIsStreamlangCondition0RangeLte1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadSeverity performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadSeverity -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSeverity(v CasesPayloadSeverity) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLte1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLte1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) MergeKibanaHTTPAPIsStreamlangCondition0RangeLte1(v KibanaHTTPAPIsStreamlangCondition0RangeLte1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57682,22 +46930,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadSeveri return err } -// AsCasesPayloadStatus returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadStatus -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadStatus() (CasesPayloadStatus, error) { - var body CasesPayloadStatus +// AsKibanaHTTPAPIsStreamlangCondition0RangeLte2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as a KibanaHTTPAPIsStreamlangCondition0RangeLte2 +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) AsKibanaHTTPAPIsStreamlangCondition0RangeLte2() (KibanaHTTPAPIsStreamlangCondition0RangeLte2, error) { + var body KibanaHTTPAPIsStreamlangCondition0RangeLte2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadStatus overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadStatus -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadStatus(v CasesPayloadStatus) error { +// FromKibanaHTTPAPIsStreamlangCondition0RangeLte2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte as the provided KibanaHTTPAPIsStreamlangCondition0RangeLte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) FromKibanaHTTPAPIsStreamlangCondition0RangeLte2(v KibanaHTTPAPIsStreamlangCondition0RangeLte2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadStatus performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadStatus -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadStatus(v CasesPayloadStatus) error { +// MergeKibanaHTTPAPIsStreamlangCondition0RangeLte2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_Range_Lte, using the provided KibanaHTTPAPIsStreamlangCondition0RangeLte2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) MergeKibanaHTTPAPIsStreamlangCondition0RangeLte2(v KibanaHTTPAPIsStreamlangCondition0RangeLte2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57708,22 +46956,32 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadStatus return err } -// AsCasesPayloadTags returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadTags -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadTags() (CasesPayloadTags, error) { - var body CasesPayloadTags +func (t KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) MarshalJSON() ([]byte, error) { + b, err := t.union.MarshalJSON() + return b, err +} + +func (t *KibanaHTTPAPIsStreamlangCondition_0_Range_Lte) UnmarshalJSON(b []byte) error { + err := t.union.UnmarshalJSON(b) + return err +} + +// AsKibanaHTTPAPIsStreamlangCondition0StartsWith0 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as a KibanaHTTPAPIsStreamlangCondition0StartsWith0 +func (t KibanaHTTPAPIsStreamlangCondition_0_StartsWith) AsKibanaHTTPAPIsStreamlangCondition0StartsWith0() (KibanaHTTPAPIsStreamlangCondition0StartsWith0, error) { + var body KibanaHTTPAPIsStreamlangCondition0StartsWith0 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadTags overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadTags -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadTags(v CasesPayloadTags) error { +// FromKibanaHTTPAPIsStreamlangCondition0StartsWith0 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as the provided KibanaHTTPAPIsStreamlangCondition0StartsWith0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) FromKibanaHTTPAPIsStreamlangCondition0StartsWith0(v KibanaHTTPAPIsStreamlangCondition0StartsWith0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadTags performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadTags -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTags(v CasesPayloadTags) error { +// MergeKibanaHTTPAPIsStreamlangCondition0StartsWith0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith, using the provided KibanaHTTPAPIsStreamlangCondition0StartsWith0 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) MergeKibanaHTTPAPIsStreamlangCondition0StartsWith0(v KibanaHTTPAPIsStreamlangCondition0StartsWith0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57734,22 +46992,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTags(v return err } -// AsCasesPayloadTitle returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadTitle -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadTitle() (CasesPayloadTitle, error) { - var body CasesPayloadTitle +// AsKibanaHTTPAPIsStreamlangCondition0StartsWith1 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as a KibanaHTTPAPIsStreamlangCondition0StartsWith1 +func (t KibanaHTTPAPIsStreamlangCondition_0_StartsWith) AsKibanaHTTPAPIsStreamlangCondition0StartsWith1() (KibanaHTTPAPIsStreamlangCondition0StartsWith1, error) { + var body KibanaHTTPAPIsStreamlangCondition0StartsWith1 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadTitle overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadTitle -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadTitle(v CasesPayloadTitle) error { +// FromKibanaHTTPAPIsStreamlangCondition0StartsWith1 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as the provided KibanaHTTPAPIsStreamlangCondition0StartsWith1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) FromKibanaHTTPAPIsStreamlangCondition0StartsWith1(v KibanaHTTPAPIsStreamlangCondition0StartsWith1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadTitle performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadTitle -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTitle(v CasesPayloadTitle) error { +// MergeKibanaHTTPAPIsStreamlangCondition0StartsWith1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith, using the provided KibanaHTTPAPIsStreamlangCondition0StartsWith1 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) MergeKibanaHTTPAPIsStreamlangCondition0StartsWith1(v KibanaHTTPAPIsStreamlangCondition0StartsWith1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57760,22 +47018,22 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadTitle( return err } -// AsCasesPayloadUserComment returns the union data inside the CasesUserActionsFindResponseProperties_Payload as a CasesPayloadUserComment -func (t CasesUserActionsFindResponseProperties_Payload) AsCasesPayloadUserComment() (CasesPayloadUserComment, error) { - var body CasesPayloadUserComment +// AsKibanaHTTPAPIsStreamlangCondition0StartsWith2 returns the union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as a KibanaHTTPAPIsStreamlangCondition0StartsWith2 +func (t KibanaHTTPAPIsStreamlangCondition_0_StartsWith) AsKibanaHTTPAPIsStreamlangCondition0StartsWith2() (KibanaHTTPAPIsStreamlangCondition0StartsWith2, error) { + var body KibanaHTTPAPIsStreamlangCondition0StartsWith2 err := json.Unmarshal(t.union, &body) return body, err } -// FromCasesPayloadUserComment overwrites any union data inside the CasesUserActionsFindResponseProperties_Payload as the provided CasesPayloadUserComment -func (t *CasesUserActionsFindResponseProperties_Payload) FromCasesPayloadUserComment(v CasesPayloadUserComment) error { +// FromKibanaHTTPAPIsStreamlangCondition0StartsWith2 overwrites any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith as the provided KibanaHTTPAPIsStreamlangCondition0StartsWith2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) FromKibanaHTTPAPIsStreamlangCondition0StartsWith2(v KibanaHTTPAPIsStreamlangCondition0StartsWith2) error { b, err := json.Marshal(v) t.union = b return err } -// MergeCasesPayloadUserComment performs a merge with any union data inside the CasesUserActionsFindResponseProperties_Payload, using the provided CasesPayloadUserComment -func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadUserComment(v CasesPayloadUserComment) error { +// MergeKibanaHTTPAPIsStreamlangCondition0StartsWith2 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangCondition_0_StartsWith, using the provided KibanaHTTPAPIsStreamlangCondition0StartsWith2 +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) MergeKibanaHTTPAPIsStreamlangCondition0StartsWith2(v KibanaHTTPAPIsStreamlangCondition0StartsWith2) error { b, err := json.Marshal(v) if err != nil { return err @@ -57786,32 +47044,32 @@ func (t *CasesUserActionsFindResponseProperties_Payload) MergeCasesPayloadUserCo return err } -func (t CasesUserActionsFindResponseProperties_Payload) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangCondition_0_StartsWith) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *CasesUserActionsFindResponseProperties_Payload) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangCondition_0_StartsWith) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } -// AsDataViewsSwapDataViewRequestObjectForId0 returns the union data inside the DataViewsSwapDataViewRequestObject_ForId as a DataViewsSwapDataViewRequestObjectForId0 -func (t DataViewsSwapDataViewRequestObject_ForId) AsDataViewsSwapDataViewRequestObjectForId0() (DataViewsSwapDataViewRequestObjectForId0, error) { - var body DataViewsSwapDataViewRequestObjectForId0 +// AsKibanaHTTPAPIsStreamlangStep0 returns the union data inside the KibanaHTTPAPIsStreamlangStep as a KibanaHTTPAPIsStreamlangStep0 +func (t KibanaHTTPAPIsStreamlangStep) AsKibanaHTTPAPIsStreamlangStep0() (KibanaHTTPAPIsStreamlangStep0, error) { + var body KibanaHTTPAPIsStreamlangStep0 err := json.Unmarshal(t.union, &body) return body, err } -// FromDataViewsSwapDataViewRequestObjectForId0 overwrites any union data inside the DataViewsSwapDataViewRequestObject_ForId as the provided DataViewsSwapDataViewRequestObjectForId0 -func (t *DataViewsSwapDataViewRequestObject_ForId) FromDataViewsSwapDataViewRequestObjectForId0(v DataViewsSwapDataViewRequestObjectForId0) error { +// FromKibanaHTTPAPIsStreamlangStep0 overwrites any union data inside the KibanaHTTPAPIsStreamlangStep as the provided KibanaHTTPAPIsStreamlangStep0 +func (t *KibanaHTTPAPIsStreamlangStep) FromKibanaHTTPAPIsStreamlangStep0(v KibanaHTTPAPIsStreamlangStep0) error { b, err := json.Marshal(v) t.union = b return err } -// MergeDataViewsSwapDataViewRequestObjectForId0 performs a merge with any union data inside the DataViewsSwapDataViewRequestObject_ForId, using the provided DataViewsSwapDataViewRequestObjectForId0 -func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewRequestObjectForId0(v DataViewsSwapDataViewRequestObjectForId0) error { +// MergeKibanaHTTPAPIsStreamlangStep0 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangStep, using the provided KibanaHTTPAPIsStreamlangStep0 +func (t *KibanaHTTPAPIsStreamlangStep) MergeKibanaHTTPAPIsStreamlangStep0(v KibanaHTTPAPIsStreamlangStep0) error { b, err := json.Marshal(v) if err != nil { return err @@ -57822,22 +47080,22 @@ func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewReq return err } -// AsDataViewsSwapDataViewRequestObjectForId1 returns the union data inside the DataViewsSwapDataViewRequestObject_ForId as a DataViewsSwapDataViewRequestObjectForId1 -func (t DataViewsSwapDataViewRequestObject_ForId) AsDataViewsSwapDataViewRequestObjectForId1() (DataViewsSwapDataViewRequestObjectForId1, error) { - var body DataViewsSwapDataViewRequestObjectForId1 +// AsKibanaHTTPAPIsStreamlangStep1 returns the union data inside the KibanaHTTPAPIsStreamlangStep as a KibanaHTTPAPIsStreamlangStep1 +func (t KibanaHTTPAPIsStreamlangStep) AsKibanaHTTPAPIsStreamlangStep1() (KibanaHTTPAPIsStreamlangStep1, error) { + var body KibanaHTTPAPIsStreamlangStep1 err := json.Unmarshal(t.union, &body) return body, err } -// FromDataViewsSwapDataViewRequestObjectForId1 overwrites any union data inside the DataViewsSwapDataViewRequestObject_ForId as the provided DataViewsSwapDataViewRequestObjectForId1 -func (t *DataViewsSwapDataViewRequestObject_ForId) FromDataViewsSwapDataViewRequestObjectForId1(v DataViewsSwapDataViewRequestObjectForId1) error { +// FromKibanaHTTPAPIsStreamlangStep1 overwrites any union data inside the KibanaHTTPAPIsStreamlangStep as the provided KibanaHTTPAPIsStreamlangStep1 +func (t *KibanaHTTPAPIsStreamlangStep) FromKibanaHTTPAPIsStreamlangStep1(v KibanaHTTPAPIsStreamlangStep1) error { b, err := json.Marshal(v) t.union = b return err } -// MergeDataViewsSwapDataViewRequestObjectForId1 performs a merge with any union data inside the DataViewsSwapDataViewRequestObject_ForId, using the provided DataViewsSwapDataViewRequestObjectForId1 -func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewRequestObjectForId1(v DataViewsSwapDataViewRequestObjectForId1) error { +// MergeKibanaHTTPAPIsStreamlangStep1 performs a merge with any union data inside the KibanaHTTPAPIsStreamlangStep, using the provided KibanaHTTPAPIsStreamlangStep1 +func (t *KibanaHTTPAPIsStreamlangStep) MergeKibanaHTTPAPIsStreamlangStep1(v KibanaHTTPAPIsStreamlangStep1) error { b, err := json.Marshal(v) if err != nil { return err @@ -57848,12 +47106,12 @@ func (t *DataViewsSwapDataViewRequestObject_ForId) MergeDataViewsSwapDataViewReq return err } -func (t DataViewsSwapDataViewRequestObject_ForId) MarshalJSON() ([]byte, error) { +func (t KibanaHTTPAPIsStreamlangStep) MarshalJSON() ([]byte, error) { b, err := t.union.MarshalJSON() return b, err } -func (t *DataViewsSwapDataViewRequestObject_ForId) UnmarshalJSON(b []byte) error { +func (t *KibanaHTTPAPIsStreamlangStep) UnmarshalJSON(b []byte) error { err := t.union.UnmarshalJSON(b) return err } @@ -58405,7 +47663,7 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) AsSLO // FromSLOsTimesliceMetricBasicMetricWithField overwrites any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item as the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) FromSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "cardinality" + v.Aggregation = "last_value" b, err := json.Marshal(v) t.union = b return err @@ -58413,7 +47671,7 @@ func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) From // MergeSLOsTimesliceMetricBasicMetricWithField performs a merge with any union data inside the SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item, using the provided SLOsTimesliceMetricBasicMetricWithField func (t *SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) MergeSLOsTimesliceMetricBasicMetricWithField(v SLOsTimesliceMetricBasicMetricWithField) error { - v.Aggregation = "cardinality" + v.Aggregation = "last_value" b, err := json.Marshal(v) if err != nil { return err @@ -58494,10 +47752,10 @@ func (t SLOsIndicatorPropertiesTimesliceMetric_Params_Metric_Metrics_Item) Value return nil, err } switch discriminator { - case "cardinality": - return t.AsSLOsTimesliceMetricBasicMetricWithField() case "doc_count": return t.AsSLOsTimesliceMetricDocCountMetric() + case "last_value": + return t.AsSLOsTimesliceMetricBasicMetricWithField() case "percentile": return t.AsSLOsTimesliceMetricPercentileMetric() default: @@ -73213,14 +62471,6 @@ type ClientInterface interface { // GetFleetAgentStatusData request GetFleetAgentStatusData(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostFleetAgentlessPoliciesWithBody request with any body - PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteFleetAgentlessPoliciesPolicyid request - DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetFleetAgents request GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74037,35 +63287,23 @@ type ClientInterface interface { // GetStatus request GetStatus(ctx context.Context, params *GetStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsWithBody request with any body - GetStreamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreams(ctx context.Context, body GetStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsDisableWithBody request with any body - PostStreamsDisableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsDisable(ctx context.Context, body PostStreamsDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreams request + GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostStreamsEnableWithBody request with any body - PostStreamsEnableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostStreamsDisable request + PostStreamsDisable(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - PostStreamsEnable(ctx context.Context, body PostStreamsEnableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostStreamsEnable request + PostStreamsEnable(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - // PostStreamsResyncWithBody request with any body - PostStreamsResyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PostStreamsResync request + PostStreamsResync(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - PostStreamsResync(ctx context.Context, body PostStreamsResyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteStreamsName request + DeleteStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteStreamsNameWithBody request with any body - DeleteStreamsNameWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - DeleteStreamsName(ctx context.Context, name string, body DeleteStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameWithBody request with any body - GetStreamsNameWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsName(ctx context.Context, name string, body GetStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsName request + GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutStreamsNameWithBody request with any body PutStreamsNameWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74077,20 +63315,16 @@ type ClientInterface interface { PostStreamsNameFork(ctx context.Context, name string, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameGroupWithBody request with any body - GetStreamsNameGroupWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameGroup(ctx context.Context, name string, body GetStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameGroup request + GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutStreamsNameGroupWithBody request with any body PutStreamsNameGroupWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutStreamsNameGroup(ctx context.Context, name string, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameIngestWithBody request with any body - GetStreamsNameIngestWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameIngest(ctx context.Context, name string, body GetStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameIngest request + GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutStreamsNameIngestWithBody request with any body PutStreamsNameIngestWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -74105,65 +63339,47 @@ type ClientInterface interface { // PostStreamsNameContentImportWithBody request with any body PostStreamsNameContentImportWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameDashboardsWithBody request with any body - GetStreamsNameDashboardsWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameDashboards(ctx context.Context, name string, body GetStreamsNameDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameDashboards request + GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStreamsNameDashboardsBulkWithBody request with any body PostStreamsNameDashboardsBulkWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostStreamsNameDashboardsBulk(ctx context.Context, name string, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteStreamsNameDashboardsDashboardidWithBody request with any body - DeleteStreamsNameDashboardsDashboardidWithBody(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, body DeleteStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameDashboardsDashboardidWithBody request with any body - PutStreamsNameDashboardsDashboardidWithBody(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteStreamsNameDashboardsDashboardid request + DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*http.Response, error) - PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, body PutStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // PutStreamsNameDashboardsDashboardid request + PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameQueriesWithBody request with any body - GetStreamsNameQueriesWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameQueries(ctx context.Context, name string, body GetStreamsNameQueriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameQueries request + GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStreamsNameQueriesBulkWithBody request with any body PostStreamsNameQueriesBulkWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostStreamsNameQueriesBulk(ctx context.Context, name string, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // DeleteStreamsNameQueriesQueryidWithBody request with any body - DeleteStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, body DeleteStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteStreamsNameQueriesQueryid request + DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutStreamsNameQueriesQueryidWithBody request with any body PutStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - // GetStreamsNameRulesWithBody request with any body - GetStreamsNameRulesWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameRules(ctx context.Context, name string, body GetStreamsNameRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteStreamsNameRulesRuleidWithBody request with any body - DeleteStreamsNameRulesRuleidWithBody(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameRules request + GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, body DeleteStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // DeleteStreamsNameRulesRuleid request + DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error) - // PutStreamsNameRulesRuleidWithBody request with any body - PutStreamsNameRulesRuleidWithBody(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) + // PutStreamsNameRulesRuleid request + PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error) - PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, body PutStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameSignificantEventsWithBody request with any body - GetStreamsNameSignificantEventsWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) + // GetStreamsNameSignificantEvents request + GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // PostStreamsNameSignificantEventsGenerateWithBody request with any body PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) @@ -78068,42 +67284,6 @@ func (c *Client) GetFleetAgentStatusData(ctx context.Context, params *GetFleetAg return c.Client.Do(req) } -func (c *Client) PostFleetAgentlessPoliciesWithBody(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentlessPoliciesRequestWithBody(c.Server, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostFleetAgentlessPolicies(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostFleetAgentlessPoliciesRequest(c.Server, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteFleetAgentlessPoliciesPolicyid(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteFleetAgentlessPoliciesPolicyidRequest(c.Server, policyId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - func (c *Client) GetFleetAgents(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetFleetAgentsRequest(c.Server, params) if err != nil { @@ -81740,8 +70920,8 @@ func (c *Client) GetStatus(ctx context.Context, params *GetStatusParams, reqEdit return c.Client.Do(req) } -func (c *Client) GetStreamsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsRequestWithBody(c.Server, contentType, body) +func (c *Client) GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsRequest(c.Server) if err != nil { return nil, err } @@ -81752,8 +70932,8 @@ func (c *Client) GetStreamsWithBody(ctx context.Context, contentType string, bod return c.Client.Do(req) } -func (c *Client) GetStreams(ctx context.Context, body GetStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsRequest(c.Server, body) +func (c *Client) PostStreamsDisable(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsDisableRequest(c.Server) if err != nil { return nil, err } @@ -81764,8 +70944,8 @@ func (c *Client) GetStreams(ctx context.Context, body GetStreamsJSONRequestBody, return c.Client.Do(req) } -func (c *Client) PostStreamsDisableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsDisableRequestWithBody(c.Server, contentType, body) +func (c *Client) PostStreamsEnable(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsEnableRequest(c.Server) if err != nil { return nil, err } @@ -81776,8 +70956,8 @@ func (c *Client) PostStreamsDisableWithBody(ctx context.Context, contentType str return c.Client.Do(req) } -func (c *Client) PostStreamsDisable(ctx context.Context, body PostStreamsDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsDisableRequest(c.Server, body) +func (c *Client) PostStreamsResync(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPostStreamsResyncRequest(c.Server) if err != nil { return nil, err } @@ -81788,8 +70968,8 @@ func (c *Client) PostStreamsDisable(ctx context.Context, body PostStreamsDisable return c.Client.Do(req) } -func (c *Client) PostStreamsEnableWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsEnableRequestWithBody(c.Server, contentType, body) +func (c *Client) DeleteStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameRequest(c.Server, name) if err != nil { return nil, err } @@ -81800,80 +70980,8 @@ func (c *Client) PostStreamsEnableWithBody(ctx context.Context, contentType stri return c.Client.Do(req) } -func (c *Client) PostStreamsEnable(ctx context.Context, body PostStreamsEnableJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsEnableRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsResyncWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsResyncRequestWithBody(c.Server, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsResync(ctx context.Context, body PostStreamsResyncJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsResyncRequest(c.Server, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsName(ctx context.Context, name string, body DeleteStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRequest(c.Server, name, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsName(ctx context.Context, name string, body GetStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRequest(c.Server, name, body) +func (c *Client) GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameRequest(c.Server, name) if err != nil { return nil, err } @@ -81932,20 +71040,8 @@ func (c *Client) PostStreamsNameFork(ctx context.Context, name string, body Post return c.Client.Do(req) } -func (c *Client) GetStreamsNameGroupWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameGroupRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameGroup(ctx context.Context, name string, body GetStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameGroupRequest(c.Server, name, body) +func (c *Client) GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameGroupRequest(c.Server, name) if err != nil { return nil, err } @@ -81980,20 +71076,8 @@ func (c *Client) PutStreamsNameGroup(ctx context.Context, name string, body PutS return c.Client.Do(req) } -func (c *Client) GetStreamsNameIngestWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameIngestRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameIngest(ctx context.Context, name string, body GetStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameIngestRequest(c.Server, name, body) +func (c *Client) GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameIngestRequest(c.Server, name) if err != nil { return nil, err } @@ -82064,20 +71148,8 @@ func (c *Client) PostStreamsNameContentImportWithBody(ctx context.Context, name return c.Client.Do(req) } -func (c *Client) GetStreamsNameDashboardsWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameDashboardsRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameDashboards(ctx context.Context, name string, body GetStreamsNameDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameDashboardsRequest(c.Server, name, body) +func (c *Client) GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameDashboardsRequest(c.Server, name) if err != nil { return nil, err } @@ -82112,20 +71184,8 @@ func (c *Client) PostStreamsNameDashboardsBulk(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) DeleteStreamsNameDashboardsDashboardidWithBody(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameDashboardsDashboardidRequestWithBody(c.Server, name, dashboardId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, body DeleteStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, body) +func (c *Client) DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId) if err != nil { return nil, err } @@ -82136,8 +71196,8 @@ func (c *Client) DeleteStreamsNameDashboardsDashboardid(ctx context.Context, nam return c.Client.Do(req) } -func (c *Client) PutStreamsNameDashboardsDashboardidWithBody(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameDashboardsDashboardidRequestWithBody(c.Server, name, dashboardId, contentType, body) +func (c *Client) PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId) if err != nil { return nil, err } @@ -82148,32 +71208,8 @@ func (c *Client) PutStreamsNameDashboardsDashboardidWithBody(ctx context.Context return c.Client.Do(req) } -func (c *Client) PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, body PutStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameQueriesWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameQueriesRequestWithBody(c.Server, name, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameQueries(ctx context.Context, name string, body GetStreamsNameQueriesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameQueriesRequest(c.Server, name, body) +func (c *Client) GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameQueriesRequest(c.Server, name) if err != nil { return nil, err } @@ -82208,20 +71244,8 @@ func (c *Client) PostStreamsNameQueriesBulk(ctx context.Context, name string, bo return c.Client.Do(req) } -func (c *Client) DeleteStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameQueriesQueryidRequestWithBody(c.Server, name, queryId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, body DeleteStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameQueriesQueryidRequest(c.Server, name, queryId, body) +func (c *Client) DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameQueriesQueryidRequest(c.Server, name, queryId) if err != nil { return nil, err } @@ -82256,8 +71280,8 @@ func (c *Client) PutStreamsNameQueriesQueryid(ctx context.Context, name string, return c.Client.Do(req) } -func (c *Client) GetStreamsNameRulesWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRulesRequestWithBody(c.Server, name, contentType, body) +func (c *Client) GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameRulesRequest(c.Server, name) if err != nil { return nil, err } @@ -82268,8 +71292,8 @@ func (c *Client) GetStreamsNameRulesWithBody(ctx context.Context, name string, c return c.Client.Do(req) } -func (c *Client) GetStreamsNameRules(ctx context.Context, name string, body GetStreamsNameRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRulesRequest(c.Server, name, body) +func (c *Client) DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewDeleteStreamsNameRulesRuleidRequest(c.Server, name, ruleId) if err != nil { return nil, err } @@ -82280,8 +71304,8 @@ func (c *Client) GetStreamsNameRules(ctx context.Context, name string, body GetS return c.Client.Do(req) } -func (c *Client) DeleteStreamsNameRulesRuleidWithBody(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRulesRuleidRequestWithBody(c.Server, name, ruleId, contentType, body) +func (c *Client) PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewPutStreamsNameRulesRuleidRequest(c.Server, name, ruleId) if err != nil { return nil, err } @@ -82292,56 +71316,8 @@ func (c *Client) DeleteStreamsNameRulesRuleidWithBody(ctx context.Context, name return c.Client.Do(req) } -func (c *Client) DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, body DeleteStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRulesRuleidRequest(c.Server, name, ruleId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameRulesRuleidWithBody(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameRulesRuleidRequestWithBody(c.Server, name, ruleId, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, body PutStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameRulesRuleidRequest(c.Server, name, ruleId, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameSignificantEventsWithBody(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameSignificantEventsRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameSignificantEventsRequest(c.Server, name, params, body) +func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { + req, err := NewGetStreamsNameSignificantEventsRequest(c.Server, name, params) if err != nil { return nil, err } @@ -94959,112 +83935,8 @@ func NewGetFleetAgentStatusRequest(server string, params *GetFleetAgentStatusPar return req, nil } -// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData -func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agent_status/data") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if params.PkgName != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PkgVersion != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if params.PreviewData != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostFleetAgentlessPoliciesRequest calls the generic PostFleetAgentlessPolicies builder with application/json body -func NewPostFleetAgentlessPoliciesRequest(server string, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostFleetAgentlessPoliciesRequestWithBody(server, params, "application/json", bodyReader) -} - -// NewPostFleetAgentlessPoliciesRequestWithBody generates requests for PostFleetAgentlessPolicies with any type of body -func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader) (*http.Request, error) { +// NewGetFleetAgentStatusDataRequest generates requests for GetFleetAgentStatusData +func NewGetFleetAgentStatusDataRequest(server string, params *GetFleetAgentStatusDataParams) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -95072,7 +83944,7 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle return nil, err } - operationPath := fmt.Sprintf("/api/fleet/agentless_policies") + operationPath := fmt.Sprintf("/api/fleet/agent_status/data") if operationPath[0] == '/' { operationPath = "." + operationPath } @@ -95085,9 +83957,21 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle if params != nil { queryValues := queryURL.Query() - if params.Format != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "agentsIds", runtime.ParamLocationQuery, params.AgentsIds); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "format", runtime.ParamLocationQuery, *params.Format); err != nil { + if params.PkgName != nil { + + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgName", runtime.ParamLocationQuery, *params.PkgName); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -95101,51 +83985,25 @@ func NewPostFleetAgentlessPoliciesRequestWithBody(server string, params *PostFle } - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - return req, nil -} - -// NewDeleteFleetAgentlessPoliciesPolicyidRequest generates requests for DeleteFleetAgentlessPoliciesPolicyid -func NewDeleteFleetAgentlessPoliciesPolicyidRequest(server string, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "policyId", runtime.ParamLocationPath, policyId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/fleet/agentless_policies/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } + if params.PkgVersion != nil { - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "pkgVersion", runtime.ParamLocationQuery, *params.PkgVersion); err != nil { + return nil, err + } else if parsed, err := url.ParseQuery(queryFrag); err != nil { + return nil, err + } else { + for k, v := range parsed { + for _, v2 := range v { + queryValues.Add(k, v2) + } + } + } - if params != nil { - queryValues := queryURL.Query() + } - if params.Force != nil { + if params.PreviewData != nil { - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "force", runtime.ParamLocationQuery, *params.Force); err != nil { + if queryFrag, err := runtime.StyleParamWithLocation("form", true, "previewData", runtime.ParamLocationQuery, *params.PreviewData); err != nil { return nil, err } else if parsed, err := url.ParseQuery(queryFrag); err != nil { return nil, err @@ -95162,7 +84020,7 @@ func NewDeleteFleetAgentlessPoliciesPolicyidRequest(server string, policyId stri queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("DELETE", queryURL.String(), nil) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } @@ -96631,22 +85489,6 @@ func NewGetFleetCloudConnectorsRequest(server string, params *GetFleetCloudConne } - if params.Kuery != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "kuery", runtime.ParamLocationQuery, *params.Kuery); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - queryURL.RawQuery = queryValues.Encode() } @@ -106472,19 +95314,8 @@ func NewGetStatusRequest(server string, params *GetStatusParams) (*http.Request, return req, nil } -// NewGetStreamsRequest calls the generic GetStreams builder with application/json body -func NewGetStreamsRequest(server string, body GetStreamsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsRequestWithBody(server, "application/json", bodyReader) -} - -// NewGetStreamsRequestWithBody generates requests for GetStreams with any type of body -func NewGetStreamsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsRequest generates requests for GetStreams +func NewGetStreamsRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -106502,29 +95333,16 @@ func NewGetStreamsRequestWithBody(server string, contentType string, body io.Rea return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPostStreamsDisableRequest calls the generic PostStreamsDisable builder with application/json body -func NewPostStreamsDisableRequest(server string, body PostStreamsDisableJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsDisableRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostStreamsDisableRequestWithBody generates requests for PostStreamsDisable with any type of body -func NewPostStreamsDisableRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostStreamsDisableRequest generates requests for PostStreamsDisable +func NewPostStreamsDisableRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -106542,29 +95360,16 @@ func NewPostStreamsDisableRequestWithBody(server string, contentType string, bod return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPostStreamsEnableRequest calls the generic PostStreamsEnable builder with application/json body -func NewPostStreamsEnableRequest(server string, body PostStreamsEnableJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsEnableRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostStreamsEnableRequestWithBody generates requests for PostStreamsEnable with any type of body -func NewPostStreamsEnableRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostStreamsEnableRequest generates requests for PostStreamsEnable +func NewPostStreamsEnableRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -106582,29 +95387,16 @@ func NewPostStreamsEnableRequestWithBody(server string, contentType string, body return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPostStreamsResyncRequest calls the generic PostStreamsResync builder with application/json body -func NewPostStreamsResyncRequest(server string, body PostStreamsResyncJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsResyncRequestWithBody(server, "application/json", bodyReader) -} - -// NewPostStreamsResyncRequestWithBody generates requests for PostStreamsResync with any type of body -func NewPostStreamsResyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) { +// NewPostStreamsResyncRequest generates requests for PostStreamsResync +func NewPostStreamsResyncRequest(server string) (*http.Request, error) { var err error serverURL, err := url.Parse(server) @@ -106622,29 +95414,16 @@ func NewPostStreamsResyncRequestWithBody(server string, contentType string, body return nil, err } - req, err := http.NewRequest("POST", queryURL.String(), body) + req, err := http.NewRequest("POST", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewDeleteStreamsNameRequest calls the generic DeleteStreamsName builder with application/json body -func NewDeleteStreamsNameRequest(server string, name string, body DeleteStreamsNameJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewDeleteStreamsNameRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewDeleteStreamsNameRequestWithBody generates requests for DeleteStreamsName with any type of body -func NewDeleteStreamsNameRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewDeleteStreamsNameRequest generates requests for DeleteStreamsName +func NewDeleteStreamsNameRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -106669,29 +95448,16 @@ func NewDeleteStreamsNameRequestWithBody(server string, name string, contentType return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewGetStreamsNameRequest calls the generic GetStreamsName builder with application/json body -func NewGetStreamsNameRequest(server string, name string, body GetStreamsNameJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameRequestWithBody generates requests for GetStreamsName with any type of body -func NewGetStreamsNameRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameRequest generates requests for GetStreamsName +func NewGetStreamsNameRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -106716,13 +95482,11 @@ func NewGetStreamsNameRequestWithBody(server string, name string, contentType st return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -106820,19 +95584,8 @@ func NewPostStreamsNameForkRequestWithBody(server string, name string, contentTy return req, nil } -// NewGetStreamsNameGroupRequest calls the generic GetStreamsNameGroup builder with application/json body -func NewGetStreamsNameGroupRequest(server string, name string, body GetStreamsNameGroupJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameGroupRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameGroupRequestWithBody generates requests for GetStreamsNameGroup with any type of body -func NewGetStreamsNameGroupRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameGroupRequest generates requests for GetStreamsNameGroup +func NewGetStreamsNameGroupRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -106857,13 +95610,11 @@ func NewGetStreamsNameGroupRequestWithBody(server string, name string, contentTy return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -106914,19 +95665,8 @@ func NewPutStreamsNameGroupRequestWithBody(server string, name string, contentTy return req, nil } -// NewGetStreamsNameIngestRequest calls the generic GetStreamsNameIngest builder with application/json body -func NewGetStreamsNameIngestRequest(server string, name string, body GetStreamsNameIngestJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameIngestRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameIngestRequestWithBody generates requests for GetStreamsNameIngest with any type of body -func NewGetStreamsNameIngestRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameIngestRequest generates requests for GetStreamsNameIngest +func NewGetStreamsNameIngestRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -106951,13 +95691,11 @@ func NewGetStreamsNameIngestRequestWithBody(server string, name string, contentT return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -107091,19 +95829,8 @@ func NewPostStreamsNameContentImportRequestWithBody(server string, name string, return req, nil } -// NewGetStreamsNameDashboardsRequest calls the generic GetStreamsNameDashboards builder with application/json body -func NewGetStreamsNameDashboardsRequest(server string, name string, body GetStreamsNameDashboardsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameDashboardsRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameDashboardsRequestWithBody generates requests for GetStreamsNameDashboards with any type of body -func NewGetStreamsNameDashboardsRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameDashboardsRequest generates requests for GetStreamsNameDashboards +func NewGetStreamsNameDashboardsRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -107128,13 +95855,11 @@ func NewGetStreamsNameDashboardsRequestWithBody(server string, name string, cont return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -107185,19 +95910,8 @@ func NewPostStreamsNameDashboardsBulkRequestWithBody(server string, name string, return req, nil } -// NewDeleteStreamsNameDashboardsDashboardidRequest calls the generic DeleteStreamsNameDashboardsDashboardid builder with application/json body -func NewDeleteStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, body DeleteStreamsNameDashboardsDashboardidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewDeleteStreamsNameDashboardsDashboardidRequestWithBody(server, name, dashboardId, "application/json", bodyReader) -} - -// NewDeleteStreamsNameDashboardsDashboardidRequestWithBody generates requests for DeleteStreamsNameDashboardsDashboardid with any type of body -func NewDeleteStreamsNameDashboardsDashboardidRequestWithBody(server string, name string, dashboardId string, contentType string, body io.Reader) (*http.Request, error) { +// NewDeleteStreamsNameDashboardsDashboardidRequest generates requests for DeleteStreamsNameDashboardsDashboardid +func NewDeleteStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string) (*http.Request, error) { var err error var pathParam0 string @@ -107229,29 +95943,16 @@ func NewDeleteStreamsNameDashboardsDashboardidRequestWithBody(server string, nam return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPutStreamsNameDashboardsDashboardidRequest calls the generic PutStreamsNameDashboardsDashboardid builder with application/json body -func NewPutStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, body PutStreamsNameDashboardsDashboardidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameDashboardsDashboardidRequestWithBody(server, name, dashboardId, "application/json", bodyReader) -} - -// NewPutStreamsNameDashboardsDashboardidRequestWithBody generates requests for PutStreamsNameDashboardsDashboardid with any type of body -func NewPutStreamsNameDashboardsDashboardidRequestWithBody(server string, name string, dashboardId string, contentType string, body io.Reader) (*http.Request, error) { +// NewPutStreamsNameDashboardsDashboardidRequest generates requests for PutStreamsNameDashboardsDashboardid +func NewPutStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string) (*http.Request, error) { var err error var pathParam0 string @@ -107283,29 +95984,16 @@ func NewPutStreamsNameDashboardsDashboardidRequestWithBody(server string, name s return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("PUT", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewGetStreamsNameQueriesRequest calls the generic GetStreamsNameQueries builder with application/json body -func NewGetStreamsNameQueriesRequest(server string, name string, body GetStreamsNameQueriesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameQueriesRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameQueriesRequestWithBody generates requests for GetStreamsNameQueries with any type of body -func NewGetStreamsNameQueriesRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameQueriesRequest generates requests for GetStreamsNameQueries +func NewGetStreamsNameQueriesRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -107330,13 +96018,11 @@ func NewGetStreamsNameQueriesRequestWithBody(server string, name string, content return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -107387,19 +96073,8 @@ func NewPostStreamsNameQueriesBulkRequestWithBody(server string, name string, co return req, nil } -// NewDeleteStreamsNameQueriesQueryidRequest calls the generic DeleteStreamsNameQueriesQueryid builder with application/json body -func NewDeleteStreamsNameQueriesQueryidRequest(server string, name string, queryId string, body DeleteStreamsNameQueriesQueryidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewDeleteStreamsNameQueriesQueryidRequestWithBody(server, name, queryId, "application/json", bodyReader) -} - -// NewDeleteStreamsNameQueriesQueryidRequestWithBody generates requests for DeleteStreamsNameQueriesQueryid with any type of body -func NewDeleteStreamsNameQueriesQueryidRequestWithBody(server string, name string, queryId string, contentType string, body io.Reader) (*http.Request, error) { +// NewDeleteStreamsNameQueriesQueryidRequest generates requests for DeleteStreamsNameQueriesQueryid +func NewDeleteStreamsNameQueriesQueryidRequest(server string, name string, queryId string) (*http.Request, error) { var err error var pathParam0 string @@ -107431,13 +96106,11 @@ func NewDeleteStreamsNameQueriesQueryidRequestWithBody(server string, name strin return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -107495,19 +96168,8 @@ func NewPutStreamsNameQueriesQueryidRequestWithBody(server string, name string, return req, nil } -// NewGetStreamsNameRulesRequest calls the generic GetStreamsNameRules builder with application/json body -func NewGetStreamsNameRulesRequest(server string, name string, body GetStreamsNameRulesJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameRulesRequestWithBody(server, name, "application/json", bodyReader) -} - -// NewGetStreamsNameRulesRequestWithBody generates requests for GetStreamsNameRules with any type of body -func NewGetStreamsNameRulesRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameRulesRequest generates requests for GetStreamsNameRules +func NewGetStreamsNameRulesRequest(server string, name string) (*http.Request, error) { var err error var pathParam0 string @@ -107532,29 +96194,16 @@ func NewGetStreamsNameRulesRequestWithBody(server string, name string, contentTy return nil, err } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewDeleteStreamsNameRulesRuleidRequest calls the generic DeleteStreamsNameRulesRuleid builder with application/json body -func NewDeleteStreamsNameRulesRuleidRequest(server string, name string, ruleId string, body DeleteStreamsNameRulesRuleidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewDeleteStreamsNameRulesRuleidRequestWithBody(server, name, ruleId, "application/json", bodyReader) -} - -// NewDeleteStreamsNameRulesRuleidRequestWithBody generates requests for DeleteStreamsNameRulesRuleid with any type of body -func NewDeleteStreamsNameRulesRuleidRequestWithBody(server string, name string, ruleId string, contentType string, body io.Reader) (*http.Request, error) { +// NewDeleteStreamsNameRulesRuleidRequest generates requests for DeleteStreamsNameRulesRuleid +func NewDeleteStreamsNameRulesRuleidRequest(server string, name string, ruleId string) (*http.Request, error) { var err error var pathParam0 string @@ -107586,29 +96235,16 @@ func NewDeleteStreamsNameRulesRuleidRequestWithBody(server string, name string, return nil, err } - req, err := http.NewRequest("DELETE", queryURL.String(), body) + req, err := http.NewRequest("DELETE", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewPutStreamsNameRulesRuleidRequest calls the generic PutStreamsNameRulesRuleid builder with application/json body -func NewPutStreamsNameRulesRuleidRequest(server string, name string, ruleId string, body PutStreamsNameRulesRuleidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameRulesRuleidRequestWithBody(server, name, ruleId, "application/json", bodyReader) -} - -// NewPutStreamsNameRulesRuleidRequestWithBody generates requests for PutStreamsNameRulesRuleid with any type of body -func NewPutStreamsNameRulesRuleidRequestWithBody(server string, name string, ruleId string, contentType string, body io.Reader) (*http.Request, error) { +// NewPutStreamsNameRulesRuleidRequest generates requests for PutStreamsNameRulesRuleid +func NewPutStreamsNameRulesRuleidRequest(server string, name string, ruleId string) (*http.Request, error) { var err error var pathParam0 string @@ -107640,29 +96276,16 @@ func NewPutStreamsNameRulesRuleidRequestWithBody(server string, name string, rul return nil, err } - req, err := http.NewRequest("PUT", queryURL.String(), body) + req, err := http.NewRequest("PUT", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } -// NewGetStreamsNameSignificantEventsRequest calls the generic GetStreamsNameSignificantEvents builder with application/json body -func NewGetStreamsNameSignificantEventsRequest(server string, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewGetStreamsNameSignificantEventsRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewGetStreamsNameSignificantEventsRequestWithBody generates requests for GetStreamsNameSignificantEvents with any type of body -func NewGetStreamsNameSignificantEventsRequestWithBody(server string, name string, params *GetStreamsNameSignificantEventsParams, contentType string, body io.Reader) (*http.Request, error) { +// NewGetStreamsNameSignificantEventsRequest generates requests for GetStreamsNameSignificantEvents +func NewGetStreamsNameSignificantEventsRequest(server string, name string, params *GetStreamsNameSignificantEventsParams) (*http.Request, error) { var err error var pathParam0 string @@ -107729,13 +96352,11 @@ func NewGetStreamsNameSignificantEventsRequestWithBody(server string, name strin queryURL.RawQuery = queryValues.Encode() } - req, err := http.NewRequest("GET", queryURL.String(), body) + req, err := http.NewRequest("GET", queryURL.String(), nil) if err != nil { return nil, err } - req.Header.Add("Content-Type", contentType) - return req, nil } @@ -111948,14 +100569,6 @@ type ClientWithResponsesInterface interface { // GetFleetAgentStatusDataWithResponse request GetFleetAgentStatusDataWithResponse(ctx context.Context, params *GetFleetAgentStatusDataParams, reqEditors ...RequestEditorFn) (*GetFleetAgentStatusDataResponse, error) - // PostFleetAgentlessPoliciesWithBodyWithResponse request with any body - PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) - - PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) - - // DeleteFleetAgentlessPoliciesPolicyidWithResponse request - DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) - // GetFleetAgentsWithResponse request GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) @@ -112772,35 +101385,23 @@ type ClientWithResponsesInterface interface { // GetStatusWithResponse request GetStatusWithResponse(ctx context.Context, params *GetStatusParams, reqEditors ...RequestEditorFn) (*GetStatusResponse, error) - // GetStreamsWithBodyWithResponse request with any body - GetStreamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) + // GetStreamsWithResponse request + GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) - GetStreamsWithResponse(ctx context.Context, body GetStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) + // PostStreamsDisableWithResponse request + PostStreamsDisableWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) - // PostStreamsDisableWithBodyWithResponse request with any body - PostStreamsDisableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) + // PostStreamsEnableWithResponse request + PostStreamsEnableWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) - PostStreamsDisableWithResponse(ctx context.Context, body PostStreamsDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) + // PostStreamsResyncWithResponse request + PostStreamsResyncWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) - // PostStreamsEnableWithBodyWithResponse request with any body - PostStreamsEnableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) + // DeleteStreamsNameWithResponse request + DeleteStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) - PostStreamsEnableWithResponse(ctx context.Context, body PostStreamsEnableJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) - - // PostStreamsResyncWithBodyWithResponse request with any body - PostStreamsResyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) - - PostStreamsResyncWithResponse(ctx context.Context, body PostStreamsResyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) - - // DeleteStreamsNameWithBodyWithResponse request with any body - DeleteStreamsNameWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) - - DeleteStreamsNameWithResponse(ctx context.Context, name string, body DeleteStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) - - // GetStreamsNameWithBodyWithResponse request with any body - GetStreamsNameWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) - - GetStreamsNameWithResponse(ctx context.Context, name string, body GetStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) + // GetStreamsNameWithResponse request + GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) // PutStreamsNameWithBodyWithResponse request with any body PutStreamsNameWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) @@ -112812,20 +101413,16 @@ type ClientWithResponsesInterface interface { PostStreamsNameForkWithResponse(ctx context.Context, name string, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) - // GetStreamsNameGroupWithBodyWithResponse request with any body - GetStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) - - GetStreamsNameGroupWithResponse(ctx context.Context, name string, body GetStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) + // GetStreamsNameGroupWithResponse request + GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) // PutStreamsNameGroupWithBodyWithResponse request with any body PutStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) PutStreamsNameGroupWithResponse(ctx context.Context, name string, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) - // GetStreamsNameIngestWithBodyWithResponse request with any body - GetStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) - - GetStreamsNameIngestWithResponse(ctx context.Context, name string, body GetStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) + // GetStreamsNameIngestWithResponse request + GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) // PutStreamsNameIngestWithBodyWithResponse request with any body PutStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) @@ -112840,65 +101437,47 @@ type ClientWithResponsesInterface interface { // PostStreamsNameContentImportWithBodyWithResponse request with any body PostStreamsNameContentImportWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentImportResponse, error) - // GetStreamsNameDashboardsWithBodyWithResponse request with any body - GetStreamsNameDashboardsWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) - - GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, body GetStreamsNameDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) + // GetStreamsNameDashboardsWithResponse request + GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) // PostStreamsNameDashboardsBulkWithBodyWithResponse request with any body PostStreamsNameDashboardsBulkWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) PostStreamsNameDashboardsBulkWithResponse(ctx context.Context, name string, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) - // DeleteStreamsNameDashboardsDashboardidWithBodyWithResponse request with any body - DeleteStreamsNameDashboardsDashboardidWithBodyWithResponse(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) - - DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, body DeleteStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) + // DeleteStreamsNameDashboardsDashboardidWithResponse request + DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) - // PutStreamsNameDashboardsDashboardidWithBodyWithResponse request with any body - PutStreamsNameDashboardsDashboardidWithBodyWithResponse(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) + // PutStreamsNameDashboardsDashboardidWithResponse request + PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) - PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, body PutStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) - - // GetStreamsNameQueriesWithBodyWithResponse request with any body - GetStreamsNameQueriesWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) - - GetStreamsNameQueriesWithResponse(ctx context.Context, name string, body GetStreamsNameQueriesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) + // GetStreamsNameQueriesWithResponse request + GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) // PostStreamsNameQueriesBulkWithBodyWithResponse request with any body PostStreamsNameQueriesBulkWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) PostStreamsNameQueriesBulkWithResponse(ctx context.Context, name string, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) - // DeleteStreamsNameQueriesQueryidWithBodyWithResponse request with any body - DeleteStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) - - DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, body DeleteStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) + // DeleteStreamsNameQueriesQueryidWithResponse request + DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) // PutStreamsNameQueriesQueryidWithBodyWithResponse request with any body PutStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) PutStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) - // GetStreamsNameRulesWithBodyWithResponse request with any body - GetStreamsNameRulesWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) - - GetStreamsNameRulesWithResponse(ctx context.Context, name string, body GetStreamsNameRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) - - // DeleteStreamsNameRulesRuleidWithBodyWithResponse request with any body - DeleteStreamsNameRulesRuleidWithBodyWithResponse(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) + // GetStreamsNameRulesWithResponse request + GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) - DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, body DeleteStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) + // DeleteStreamsNameRulesRuleidWithResponse request + DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) - // PutStreamsNameRulesRuleidWithBodyWithResponse request with any body - PutStreamsNameRulesRuleidWithBodyWithResponse(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) + // PutStreamsNameRulesRuleidWithResponse request + PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) - PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, body PutStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) - - // GetStreamsNameSignificantEventsWithBodyWithResponse request with any body - GetStreamsNameSignificantEventsWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) - - GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) + // GetStreamsNameSignificantEventsWithResponse request + GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) // PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) @@ -120444,15 +109023,11 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -120484,13 +109059,11 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -120500,15 +109073,11 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1 = []struct { SupportsAgentless *bool `json:"supports_agentless"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -120574,19 +109143,19 @@ type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0 = []struct { } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesBulkGet_200_Items_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesBulkGet200ItemsPackagePolicies1Inputs1StreamsVars0 = bool @@ -120976,15 +109545,11 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Description *string `json:"description,omitempty"` Elasticsearch *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -121016,13 +109581,11 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -121032,15 +109595,11 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1 = []struct { SupportsAgentless *bool `json:"supports_agentless"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -121106,19 +109665,19 @@ type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0 = []s } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs0StreamsRelease string type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetAgentPoliciesAgentpolicyidCopy_200_Item_PackagePolicies_1_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetAgentPoliciesAgentpolicyidCopy200ItemPackagePolicies1Inputs1StreamsVars0 = bool @@ -121592,290 +110151,6 @@ func (r GetFleetAgentStatusDataResponse) StatusCode() int { return 0 } -type PostFleetAgentlessPoliciesResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Item The created agentless package policy. - Item struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - - // PolicyId ID of the agent policy which the package policy will be added to. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` - } `json:"item"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - JSON409 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} -type PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges struct { - Cluster *[]string `json:"cluster,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetAgentlessPolicies_200_Item_Elasticsearch struct { - Privileges *PostFleetAgentlessPolicies_200_Item_Elasticsearch_Privileges `json:"privileges,omitempty"` - AdditionalProperties map[string]interface{} `json:"-"` -} -type PostFleetAgentlessPolicies200ItemInputs0 = []struct { - CompiledInput interface{} `json:"compiled_input"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - PolicyTemplate *string `json:"policy_template,omitempty"` - Streams []struct { - CompiledStream interface{} `json:"compiled_stream"` - - // Config Package variable (see integration documentation for more information) - Config *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"config,omitempty"` - DataStream struct { - Dataset string `json:"dataset"` - Elasticsearch *struct { - DynamicDataset *bool `json:"dynamic_dataset,omitempty"` - DynamicNamespace *bool `json:"dynamic_namespace,omitempty"` - Privileges *struct { - Indices *[]string `json:"indices,omitempty"` - } `json:"privileges,omitempty"` - } `json:"elasticsearch,omitempty"` - Type string `json:"type"` - } `json:"data_stream"` - Enabled bool `json:"enabled"` - Id *string `json:"id,omitempty"` - KeepEnabled *bool `json:"keep_enabled,omitempty"` - Release *PostFleetAgentlessPolicies200ItemInputs0StreamsRelease `json:"release,omitempty"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` - } `json:"streams"` - Type string `json:"type"` - - // Vars Package variable (see integration documentation for more information) - Vars *map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` - } `json:"vars,omitempty"` -} -type PostFleetAgentlessPolicies200ItemInputs0StreamsRelease string -type PostFleetAgentlessPolicies200ItemInputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Streams Input streams. Refer to the integration documentation to know which streams are available. - Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). - Enabled *bool `json:"enabled,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` - } `json:"streams,omitempty"` - - // Vars Input/stream level variable. Refer to the integration documentation for more information. - Vars *map[string]*PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` -} -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars0 = bool -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars1 = string -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars2 = float32 -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars3 = []string -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars4 = []float32 -type PostFleetAgentlessPolicies200ItemInputs1StreamsVars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Inputs_1_Streams_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies200ItemInputs1Vars0 = bool -type PostFleetAgentlessPolicies200ItemInputs1Vars1 = string -type PostFleetAgentlessPolicies200ItemInputs1Vars2 = float32 -type PostFleetAgentlessPolicies200ItemInputs1Vars3 = []string -type PostFleetAgentlessPolicies200ItemInputs1Vars4 = []float32 -type PostFleetAgentlessPolicies200ItemInputs1Vars5 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Inputs_1_Vars_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies_200_Item_Inputs struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies200ItemVars0 map[string]struct { - Frozen *bool `json:"frozen,omitempty"` - Type *string `json:"type,omitempty"` - Value interface{} `json:"value"` -} -type PostFleetAgentlessPolicies200ItemVars1 map[string]*PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties -type PostFleetAgentlessPolicies200ItemVars10 = bool -type PostFleetAgentlessPolicies200ItemVars11 = string -type PostFleetAgentlessPolicies200ItemVars12 = float32 -type PostFleetAgentlessPolicies200ItemVars13 = []string -type PostFleetAgentlessPolicies200ItemVars14 = []float32 -type PostFleetAgentlessPolicies200ItemVars15 struct { - Id string `json:"id"` - IsSecretRef bool `json:"isSecretRef"` -} -type PostFleetAgentlessPolicies_200_Item_Vars_1_AdditionalProperties struct { - union json.RawMessage -} -type PostFleetAgentlessPolicies_200_Item_Vars struct { - union json.RawMessage -} - -// Status returns HTTPResponse.Status -func (r PostFleetAgentlessPoliciesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostFleetAgentlessPoliciesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteFleetAgentlessPoliciesPolicyidResponse struct { - Body []byte - HTTPResponse *http.Response - JSON200 *struct { - // Id The ID of the deleted agentless package policy. - Id string `json:"id"` - } - JSON400 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - JSON409 *struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } -} - -// Status returns HTTPResponse.Status -func (r DeleteFleetAgentlessPoliciesPolicyidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteFleetAgentlessPoliciesPolicyidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - type GetFleetAgentsResponse struct { Body []byte HTTPResponse *http.Response @@ -125456,15 +113731,11 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -125496,13 +113767,11 @@ type PostFleetPackagePoliciesBulkGetResponse struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -125512,15 +113781,11 @@ type PostFleetPackagePoliciesBulkGetResponse struct { SupportsAgentless *bool `json:"supports_agentless"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } `json:"items"` } JSON400 *struct { @@ -125598,19 +113863,19 @@ type PostFleetPackagePoliciesBulkGet200ItemsInputs0 = []struct { } type PostFleetPackagePoliciesBulkGet200ItemsInputs0StreamsRelease string type PostFleetPackagePoliciesBulkGet200ItemsInputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesBulkGet_200_Items_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetPackagePoliciesBulkGet200ItemsInputs1StreamsVars0 = bool @@ -125864,12 +114129,10 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { Elasticsearch *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` Id *string `json:"id,omitempty"` + Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -125901,13 +114164,11 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -125917,15 +114178,11 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0 struct { SupportsAgentless *bool `json:"supports_agentless"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } type PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Elasticsearch_Privileges struct { Cluster *[]string `json:"cluster,omitempty"` @@ -125991,19 +114248,19 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0 = []struct { } type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs0StreamsRelease string type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1 map[string]struct { - // Enabled Enable or disable that input. Defaults to `true` (enabled). + // Enabled enable or disable that input, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Streams Input streams. Refer to the integration documentation to know which streams are available. + // Streams Input streams (see integration documentation to know what streams are available) Streams *map[string]struct { - // Enabled Enable or disable that stream. Defaults to `true` (enabled). + // Enabled enable or disable that stream, (default to true) Enabled *bool `json:"enabled,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Streams_Vars_AdditionalProperties `json:"vars,omitempty"` } `json:"streams,omitempty"` - // Vars Input/stream level variable. Refer to the integration documentation for more information. + // Vars Input/stream level variable (see integration documentation for more information) Vars *map[string]*PostFleetPackagePoliciesUpgradeDryrun_200_Diff_0_Inputs_1_Vars_AdditionalProperties `json:"vars,omitempty"` } type PostFleetPackagePoliciesUpgradeDryrun200Diff0Inputs1StreamsVars0 = bool @@ -126130,7 +114387,7 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { IsManaged *bool `json:"is_managed,omitempty"` MissingVars *[]string `json:"missingVars,omitempty"` - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -126162,7 +114419,7 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set PolicyId *string `json:"policy_id"` PolicyIds *[]string `json:"policy_ids,omitempty"` @@ -126185,8 +114442,6 @@ type PostFleetPackagePoliciesUpgradeDryrun200Diff1 struct { Type *string `json:"type,omitempty"` Value interface{} `json:"value"` } `json:"vars,omitempty"` - - // Version Package policy ES version. Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} `json:"-"` } @@ -134792,32 +123047,6 @@ func (c *ClientWithResponses) GetFleetAgentStatusDataWithResponse(ctx context.Co return ParseGetFleetAgentStatusDataResponse(rsp) } -// PostFleetAgentlessPoliciesWithBodyWithResponse request with arbitrary body returning *PostFleetAgentlessPoliciesResponse -func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { - rsp, err := c.PostFleetAgentlessPoliciesWithBody(ctx, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentlessPoliciesResponse(rsp) -} - -func (c *ClientWithResponses) PostFleetAgentlessPoliciesWithResponse(ctx context.Context, params *PostFleetAgentlessPoliciesParams, body PostFleetAgentlessPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentlessPoliciesResponse, error) { - rsp, err := c.PostFleetAgentlessPolicies(ctx, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostFleetAgentlessPoliciesResponse(rsp) -} - -// DeleteFleetAgentlessPoliciesPolicyidWithResponse request returning *DeleteFleetAgentlessPoliciesPolicyidResponse -func (c *ClientWithResponses) DeleteFleetAgentlessPoliciesPolicyidWithResponse(ctx context.Context, policyId string, params *DeleteFleetAgentlessPoliciesPolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { - rsp, err := c.DeleteFleetAgentlessPoliciesPolicyid(ctx, policyId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp) -} - // GetFleetAgentsWithResponse request returning *GetFleetAgentsResponse func (c *ClientWithResponses) GetFleetAgentsWithResponse(ctx context.Context, params *GetFleetAgentsParams, reqEditors ...RequestEditorFn) (*GetFleetAgentsResponse, error) { rsp, err := c.GetFleetAgents(ctx, params, reqEditors...) @@ -137452,102 +125681,54 @@ func (c *ClientWithResponses) GetStatusWithResponse(ctx context.Context, params return ParseGetStatusResponse(rsp) } -// GetStreamsWithBodyWithResponse request with arbitrary body returning *GetStreamsResponse -func (c *ClientWithResponses) GetStreamsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) { - rsp, err := c.GetStreamsWithBody(ctx, contentType, body, reqEditors...) +// GetStreamsWithResponse request returning *GetStreamsResponse +func (c *ClientWithResponses) GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) { + rsp, err := c.GetStreams(ctx, reqEditors...) if err != nil { return nil, err } return ParseGetStreamsResponse(rsp) } -func (c *ClientWithResponses) GetStreamsWithResponse(ctx context.Context, body GetStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) { - rsp, err := c.GetStreams(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsResponse(rsp) -} - -// PostStreamsDisableWithBodyWithResponse request with arbitrary body returning *PostStreamsDisableResponse -func (c *ClientWithResponses) PostStreamsDisableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) { - rsp, err := c.PostStreamsDisableWithBody(ctx, contentType, body, reqEditors...) +// PostStreamsDisableWithResponse request returning *PostStreamsDisableResponse +func (c *ClientWithResponses) PostStreamsDisableWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) { + rsp, err := c.PostStreamsDisable(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostStreamsDisableResponse(rsp) } -func (c *ClientWithResponses) PostStreamsDisableWithResponse(ctx context.Context, body PostStreamsDisableJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) { - rsp, err := c.PostStreamsDisable(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsDisableResponse(rsp) -} - -// PostStreamsEnableWithBodyWithResponse request with arbitrary body returning *PostStreamsEnableResponse -func (c *ClientWithResponses) PostStreamsEnableWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) { - rsp, err := c.PostStreamsEnableWithBody(ctx, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsEnableResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsEnableWithResponse(ctx context.Context, body PostStreamsEnableJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) { - rsp, err := c.PostStreamsEnable(ctx, body, reqEditors...) +// PostStreamsEnableWithResponse request returning *PostStreamsEnableResponse +func (c *ClientWithResponses) PostStreamsEnableWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) { + rsp, err := c.PostStreamsEnable(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostStreamsEnableResponse(rsp) } -// PostStreamsResyncWithBodyWithResponse request with arbitrary body returning *PostStreamsResyncResponse -func (c *ClientWithResponses) PostStreamsResyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) { - rsp, err := c.PostStreamsResyncWithBody(ctx, contentType, body, reqEditors...) +// PostStreamsResyncWithResponse request returning *PostStreamsResyncResponse +func (c *ClientWithResponses) PostStreamsResyncWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) { + rsp, err := c.PostStreamsResync(ctx, reqEditors...) if err != nil { return nil, err } return ParsePostStreamsResyncResponse(rsp) } -func (c *ClientWithResponses) PostStreamsResyncWithResponse(ctx context.Context, body PostStreamsResyncJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) { - rsp, err := c.PostStreamsResync(ctx, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsResyncResponse(rsp) -} - -// DeleteStreamsNameWithBodyWithResponse request with arbitrary body returning *DeleteStreamsNameResponse -func (c *ClientWithResponses) DeleteStreamsNameWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) { - rsp, err := c.DeleteStreamsNameWithBody(ctx, name, contentType, body, reqEditors...) +// DeleteStreamsNameWithResponse request returning *DeleteStreamsNameResponse +func (c *ClientWithResponses) DeleteStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) { + rsp, err := c.DeleteStreamsName(ctx, name, reqEditors...) if err != nil { return nil, err } return ParseDeleteStreamsNameResponse(rsp) } -func (c *ClientWithResponses) DeleteStreamsNameWithResponse(ctx context.Context, name string, body DeleteStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) { - rsp, err := c.DeleteStreamsName(ctx, name, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameResponse(rsp) -} - -// GetStreamsNameWithBodyWithResponse request with arbitrary body returning *GetStreamsNameResponse -func (c *ClientWithResponses) GetStreamsNameWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) { - rsp, err := c.GetStreamsNameWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameWithResponse(ctx context.Context, name string, body GetStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) { - rsp, err := c.GetStreamsName(ctx, name, body, reqEditors...) +// GetStreamsNameWithResponse request returning *GetStreamsNameResponse +func (c *ClientWithResponses) GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) { + rsp, err := c.GetStreamsName(ctx, name, reqEditors...) if err != nil { return nil, err } @@ -137588,17 +125769,9 @@ func (c *ClientWithResponses) PostStreamsNameForkWithResponse(ctx context.Contex return ParsePostStreamsNameForkResponse(rsp) } -// GetStreamsNameGroupWithBodyWithResponse request with arbitrary body returning *GetStreamsNameGroupResponse -func (c *ClientWithResponses) GetStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) { - rsp, err := c.GetStreamsNameGroupWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameGroupResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameGroupWithResponse(ctx context.Context, name string, body GetStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) { - rsp, err := c.GetStreamsNameGroup(ctx, name, body, reqEditors...) +// GetStreamsNameGroupWithResponse request returning *GetStreamsNameGroupResponse +func (c *ClientWithResponses) GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) { + rsp, err := c.GetStreamsNameGroup(ctx, name, reqEditors...) if err != nil { return nil, err } @@ -137622,17 +125795,9 @@ func (c *ClientWithResponses) PutStreamsNameGroupWithResponse(ctx context.Contex return ParsePutStreamsNameGroupResponse(rsp) } -// GetStreamsNameIngestWithBodyWithResponse request with arbitrary body returning *GetStreamsNameIngestResponse -func (c *ClientWithResponses) GetStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) { - rsp, err := c.GetStreamsNameIngestWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameIngestResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameIngestWithResponse(ctx context.Context, name string, body GetStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) { - rsp, err := c.GetStreamsNameIngest(ctx, name, body, reqEditors...) +// GetStreamsNameIngestWithResponse request returning *GetStreamsNameIngestResponse +func (c *ClientWithResponses) GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) { + rsp, err := c.GetStreamsNameIngest(ctx, name, reqEditors...) if err != nil { return nil, err } @@ -137682,17 +125847,9 @@ func (c *ClientWithResponses) PostStreamsNameContentImportWithBodyWithResponse(c return ParsePostStreamsNameContentImportResponse(rsp) } -// GetStreamsNameDashboardsWithBodyWithResponse request with arbitrary body returning *GetStreamsNameDashboardsResponse -func (c *ClientWithResponses) GetStreamsNameDashboardsWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) { - rsp, err := c.GetStreamsNameDashboardsWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameDashboardsResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, body GetStreamsNameDashboardsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) { - rsp, err := c.GetStreamsNameDashboards(ctx, name, body, reqEditors...) +// GetStreamsNameDashboardsWithResponse request returning *GetStreamsNameDashboardsResponse +func (c *ClientWithResponses) GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) { + rsp, err := c.GetStreamsNameDashboards(ctx, name, reqEditors...) if err != nil { return nil, err } @@ -137716,51 +125873,27 @@ func (c *ClientWithResponses) PostStreamsNameDashboardsBulkWithResponse(ctx cont return ParsePostStreamsNameDashboardsBulkResponse(rsp) } -// DeleteStreamsNameDashboardsDashboardidWithBodyWithResponse request with arbitrary body returning *DeleteStreamsNameDashboardsDashboardidResponse -func (c *ClientWithResponses) DeleteStreamsNameDashboardsDashboardidWithBodyWithResponse(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.DeleteStreamsNameDashboardsDashboardidWithBody(ctx, name, dashboardId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp) -} - -func (c *ClientWithResponses) DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, body DeleteStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.DeleteStreamsNameDashboardsDashboardid(ctx, name, dashboardId, body, reqEditors...) +// DeleteStreamsNameDashboardsDashboardidWithResponse request returning *DeleteStreamsNameDashboardsDashboardidResponse +func (c *ClientWithResponses) DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { + rsp, err := c.DeleteStreamsNameDashboardsDashboardid(ctx, name, dashboardId, reqEditors...) if err != nil { return nil, err } return ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp) } -// PutStreamsNameDashboardsDashboardidWithBodyWithResponse request with arbitrary body returning *PutStreamsNameDashboardsDashboardidResponse -func (c *ClientWithResponses) PutStreamsNameDashboardsDashboardidWithBodyWithResponse(ctx context.Context, name string, dashboardId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.PutStreamsNameDashboardsDashboardidWithBody(ctx, name, dashboardId, contentType, body, reqEditors...) +// PutStreamsNameDashboardsDashboardidWithResponse request returning *PutStreamsNameDashboardsDashboardidResponse +func (c *ClientWithResponses) PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) { + rsp, err := c.PutStreamsNameDashboardsDashboardid(ctx, name, dashboardId, reqEditors...) if err != nil { return nil, err } return ParsePutStreamsNameDashboardsDashboardidResponse(rsp) } -func (c *ClientWithResponses) PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, body PutStreamsNameDashboardsDashboardidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.PutStreamsNameDashboardsDashboardid(ctx, name, dashboardId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameDashboardsDashboardidResponse(rsp) -} - -// GetStreamsNameQueriesWithBodyWithResponse request with arbitrary body returning *GetStreamsNameQueriesResponse -func (c *ClientWithResponses) GetStreamsNameQueriesWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) { - rsp, err := c.GetStreamsNameQueriesWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameQueriesResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameQueriesWithResponse(ctx context.Context, name string, body GetStreamsNameQueriesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) { - rsp, err := c.GetStreamsNameQueries(ctx, name, body, reqEditors...) +// GetStreamsNameQueriesWithResponse request returning *GetStreamsNameQueriesResponse +func (c *ClientWithResponses) GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) { + rsp, err := c.GetStreamsNameQueries(ctx, name, reqEditors...) if err != nil { return nil, err } @@ -137784,17 +125917,9 @@ func (c *ClientWithResponses) PostStreamsNameQueriesBulkWithResponse(ctx context return ParsePostStreamsNameQueriesBulkResponse(rsp) } -// DeleteStreamsNameQueriesQueryidWithBodyWithResponse request with arbitrary body returning *DeleteStreamsNameQueriesQueryidResponse -func (c *ClientWithResponses) DeleteStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) { - rsp, err := c.DeleteStreamsNameQueriesQueryidWithBody(ctx, name, queryId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameQueriesQueryidResponse(rsp) -} - -func (c *ClientWithResponses) DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, body DeleteStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) { - rsp, err := c.DeleteStreamsNameQueriesQueryid(ctx, name, queryId, body, reqEditors...) +// DeleteStreamsNameQueriesQueryidWithResponse request returning *DeleteStreamsNameQueriesQueryidResponse +func (c *ClientWithResponses) DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) { + rsp, err := c.DeleteStreamsNameQueriesQueryid(ctx, name, queryId, reqEditors...) if err != nil { return nil, err } @@ -137818,68 +125943,36 @@ func (c *ClientWithResponses) PutStreamsNameQueriesQueryidWithResponse(ctx conte return ParsePutStreamsNameQueriesQueryidResponse(rsp) } -// GetStreamsNameRulesWithBodyWithResponse request with arbitrary body returning *GetStreamsNameRulesResponse -func (c *ClientWithResponses) GetStreamsNameRulesWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) { - rsp, err := c.GetStreamsNameRulesWithBody(ctx, name, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameRulesResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameRulesWithResponse(ctx context.Context, name string, body GetStreamsNameRulesJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) { - rsp, err := c.GetStreamsNameRules(ctx, name, body, reqEditors...) +// GetStreamsNameRulesWithResponse request returning *GetStreamsNameRulesResponse +func (c *ClientWithResponses) GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) { + rsp, err := c.GetStreamsNameRules(ctx, name, reqEditors...) if err != nil { return nil, err } return ParseGetStreamsNameRulesResponse(rsp) } -// DeleteStreamsNameRulesRuleidWithBodyWithResponse request with arbitrary body returning *DeleteStreamsNameRulesRuleidResponse -func (c *ClientWithResponses) DeleteStreamsNameRulesRuleidWithBodyWithResponse(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) { - rsp, err := c.DeleteStreamsNameRulesRuleidWithBody(ctx, name, ruleId, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameRulesRuleidResponse(rsp) -} - -func (c *ClientWithResponses) DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, body DeleteStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) { - rsp, err := c.DeleteStreamsNameRulesRuleid(ctx, name, ruleId, body, reqEditors...) +// DeleteStreamsNameRulesRuleidWithResponse request returning *DeleteStreamsNameRulesRuleidResponse +func (c *ClientWithResponses) DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) { + rsp, err := c.DeleteStreamsNameRulesRuleid(ctx, name, ruleId, reqEditors...) if err != nil { return nil, err } return ParseDeleteStreamsNameRulesRuleidResponse(rsp) } -// PutStreamsNameRulesRuleidWithBodyWithResponse request with arbitrary body returning *PutStreamsNameRulesRuleidResponse -func (c *ClientWithResponses) PutStreamsNameRulesRuleidWithBodyWithResponse(ctx context.Context, name string, ruleId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) { - rsp, err := c.PutStreamsNameRulesRuleidWithBody(ctx, name, ruleId, contentType, body, reqEditors...) +// PutStreamsNameRulesRuleidWithResponse request returning *PutStreamsNameRulesRuleidResponse +func (c *ClientWithResponses) PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) { + rsp, err := c.PutStreamsNameRulesRuleid(ctx, name, ruleId, reqEditors...) if err != nil { return nil, err } return ParsePutStreamsNameRulesRuleidResponse(rsp) } -func (c *ClientWithResponses) PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, body PutStreamsNameRulesRuleidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) { - rsp, err := c.PutStreamsNameRulesRuleid(ctx, name, ruleId, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameRulesRuleidResponse(rsp) -} - -// GetStreamsNameSignificantEventsWithBodyWithResponse request with arbitrary body returning *GetStreamsNameSignificantEventsResponse -func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithBodyWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) { - rsp, err := c.GetStreamsNameSignificantEventsWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameSignificantEventsResponse(rsp) -} - -func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, body GetStreamsNameSignificantEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) { - rsp, err := c.GetStreamsNameSignificantEvents(ctx, name, params, body, reqEditors...) +// GetStreamsNameSignificantEventsWithResponse request returning *GetStreamsNameSignificantEventsResponse +func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) { + rsp, err := c.GetStreamsNameSignificantEvents(ctx, name, params, reqEditors...) if err != nil { return nil, err } @@ -148508,195 +136601,6 @@ func ParseGetFleetAgentStatusDataResponse(rsp *http.Response) (*GetFleetAgentSta return response, nil } -// ParsePostFleetAgentlessPoliciesResponse parses an HTTP response from a PostFleetAgentlessPoliciesWithResponse call -func ParsePostFleetAgentlessPoliciesResponse(rsp *http.Response) (*PostFleetAgentlessPoliciesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostFleetAgentlessPoliciesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Item The created agentless package policy. - Item struct { - // AdditionalDatastreamsPermissions Additional datastream permissions, that will be added to the agent policy. - AdditionalDatastreamsPermissions *[]string `json:"additional_datastreams_permissions"` - Agents *float32 `json:"agents,omitempty"` - - // CloudConnectorId ID of the cloud connector associated with this package policy. - CloudConnectorId *string `json:"cloud_connector_id"` - CreatedAt string `json:"created_at"` - CreatedBy string `json:"created_by"` - - // Description Package policy description - Description *string `json:"description,omitempty"` - Elasticsearch *PostFleetAgentlessPolicies_200_Item_Elasticsearch `json:"elasticsearch,omitempty"` - Enabled bool `json:"enabled"` - - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetAgentlessPolicies_200_Item_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. - Name string `json:"name"` - - // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. - Namespace *string `json:"namespace,omitempty"` - OutputId *string `json:"output_id"` - - // Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - Overrides *struct { - Inputs *map[string]interface{} `json:"inputs,omitempty"` - } `json:"overrides"` - Package *struct { - ExperimentalDataStreamFeatures *[]struct { - DataStream string `json:"data_stream"` - Features struct { - DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"` - DocValueOnlyOther *bool `json:"doc_value_only_other,omitempty"` - SyntheticSource *bool `json:"synthetic_source,omitempty"` - Tsdb *bool `json:"tsdb,omitempty"` - } `json:"features"` - } `json:"experimental_data_stream_features,omitempty"` - FipsCompatible *bool `json:"fips_compatible,omitempty"` - - // Name Package name - Name string `json:"name"` - RequiresRoot *bool `json:"requires_root,omitempty"` - Title *string `json:"title,omitempty"` - - // Version Package version - Version string `json:"version"` - } `json:"package,omitempty"` - - // PolicyId ID of the agent policy which the package policy will be added to. - // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` - SecretReferences *[]struct { - Id string `json:"id"` - } `json:"secret_references,omitempty"` - SpaceIds *[]string `json:"spaceIds,omitempty"` - - // SupportsAgentless Indicates whether the package policy belongs to an agentless agent policy. - SupportsAgentless *bool `json:"supports_agentless"` - - // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetAgentlessPolicies_200_Item_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` - } `json:"item"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - - } - - return response, nil -} - -// ParseDeleteFleetAgentlessPoliciesPolicyidResponse parses an HTTP response from a DeleteFleetAgentlessPoliciesPolicyidWithResponse call -func ParseDeleteFleetAgentlessPoliciesPolicyidResponse(rsp *http.Response) (*DeleteFleetAgentlessPoliciesPolicyidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteFleetAgentlessPoliciesPolicyidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - switch { - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200: - var dest struct { - // Id The ID of the deleted agentless package policy. - Id string `json:"id"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON200 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON400 = &dest - - case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 409: - var dest struct { - Attributes interface{} `json:"attributes"` - Error *string `json:"error,omitempty"` - ErrorType *string `json:"errorType,omitempty"` - Message string `json:"message"` - StatusCode *float32 `json:"statusCode,omitempty"` - } - if err := json.Unmarshal(bodyBytes, &dest); err != nil { - return nil, err - } - response.JSON409 = &dest - - } - - return response, nil -} - // ParseGetFleetAgentsResponse parses an HTTP response from a GetFleetAgentsWithResponse call func ParseGetFleetAgentsResponse(rsp *http.Response) (*GetFleetAgentsResponse, error) { bodyBytes, err := io.ReadAll(rsp.Body) @@ -152745,15 +140649,11 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Description *string `json:"description,omitempty"` Elasticsearch *PostFleetPackagePoliciesBulkGet_200_Items_Elasticsearch `json:"elasticsearch,omitempty"` Enabled bool `json:"enabled"` + Id string `json:"id"` + Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` + IsManaged *bool `json:"is_managed,omitempty"` - // Id Package policy unique identifier. - Id string `json:"id"` - - // Inputs Package policy inputs. - Inputs PostFleetPackagePoliciesBulkGet_200_Items_Inputs `json:"inputs"` - IsManaged *bool `json:"is_managed,omitempty"` - - // Name Unique name for the package policy. + // Name Package policy name (should be unique) Name string `json:"name"` // Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace. @@ -152785,13 +140685,11 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee Version string `json:"version"` } `json:"package,omitempty"` - // PolicyId ID of the agent policy which the package policy will be added to. + // PolicyId Agent policy ID where that package policy will be added // Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set - PolicyId *string `json:"policy_id"` - PolicyIds *[]string `json:"policy_ids,omitempty"` - - // Revision Package policy revision. - Revision float32 `json:"revision"` + PolicyId *string `json:"policy_id"` + PolicyIds *[]string `json:"policy_ids,omitempty"` + Revision float32 `json:"revision"` SecretReferences *[]struct { Id string `json:"id"` } `json:"secret_references,omitempty"` @@ -152801,15 +140699,11 @@ func ParsePostFleetPackagePoliciesBulkGetResponse(rsp *http.Response) (*PostFlee SupportsAgentless *bool `json:"supports_agentless"` // SupportsCloudConnector Indicates whether the package policy supports cloud connectors. - SupportsCloudConnector *bool `json:"supports_cloud_connector"` - UpdatedAt string `json:"updated_at"` - UpdatedBy string `json:"updated_by"` - - // Vars Package level variable. - Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` - - // Version Package policy ES version. - Version *string `json:"version,omitempty"` + SupportsCloudConnector *bool `json:"supports_cloud_connector"` + UpdatedAt string `json:"updated_at"` + UpdatedBy string `json:"updated_by"` + Vars *PostFleetPackagePoliciesBulkGet_200_Items_Vars `json:"vars,omitempty"` + Version *string `json:"version,omitempty"` } `json:"items"` } if err := json.Unmarshal(bodyBytes, &dest); err != nil { diff --git a/generated/kbstreams/Makefile b/generated/kbstreams/Makefile deleted file mode 100644 index 909198fdc..000000000 --- a/generated/kbstreams/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -.DEFAULT_GOAL = help -SHELL := /bin/bash -ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST)))) - -# POC-only Streams client: -# - github_repo/github_ref are intentionally configurable so the POC can track a -# Kibana branch that exposes the Streams APIs and OAS. -github_repo ?= rStelmach/kibana -github_ref ?= c72d4e73064dcabdcdc24ac1cae64c7f594378ed -oas_url := https://raw.githubusercontent.com/$(github_repo)/$(github_ref)/oas_docs/output/kibana.yaml - -.PHONY: all -all: clean download transform generate ## Fetch, filter, and generate the Streams API client - -.PHONY: download -download: oas.yaml ## Download the remote schema - -oas.yaml: - curl -sSfo oas.yaml "$(oas_url)" - -.PHONY: transform -transform: download ## Filter schema down to Streams-only paths - go run $(ROOT_DIR)/transform_schema.go -i ./oas.yaml -o ./oas-streams.yaml - -.PHONY: generate -generate: ## Generate the Streams API client - go tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-config.yaml ./oas-streams.yaml - -.PHONY: clean -clean: ## Remove any downloaded or transformed OAS files - rm -rf oas.yaml oas-streams.yaml - -.PHONY: help -help: ## Show this help - @ awk 'BEGIN {FS = ":.*##"; printf "Usage: make \033[36m\033[0m\n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-10s\033[0m\t%s\n", $$1, $$2 }' $(MAKEFILE_LIST) | column -s$$'\t' -t - - diff --git a/generated/kbstreams/oapi-config.yaml b/generated/kbstreams/oapi-config.yaml deleted file mode 100644 index 30eb378b2..000000000 --- a/generated/kbstreams/oapi-config.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json - -package: kbstreams -output: streams.gen.go -generate: - client: true - models: true diff --git a/generated/kbstreams/oas-streams.yaml b/generated/kbstreams/oas-streams.yaml deleted file mode 100644 index 1601ffa32..000000000 --- a/generated/kbstreams/oas-streams.yaml +++ /dev/null @@ -1,3293 +0,0 @@ -components: - schemas: - StreamlangCondition: - anyOf: - - additionalProperties: false - properties: - contains: - anyOf: - - type: string - - type: number - - type: boolean - endsWith: - anyOf: - - type: string - - type: number - - type: boolean - eq: - anyOf: - - type: string - - type: number - - type: boolean - exists: - type: boolean - field: - minLength: 1 - type: string - gt: - anyOf: - - type: string - - type: number - - type: boolean - gte: - anyOf: - - type: string - - type: number - - type: boolean - lt: - anyOf: - - type: string - - type: number - - type: boolean - lte: - anyOf: - - type: string - - type: number - - type: boolean - neq: - anyOf: - - type: string - - type: number - - type: boolean - range: - additionalProperties: false - properties: - gt: - anyOf: - - type: string - - type: number - - type: boolean - gte: - anyOf: - - type: string - - type: number - - type: boolean - lt: - anyOf: - - type: string - - type: number - - type: boolean - lte: - anyOf: - - type: string - - type: number - - type: boolean - type: object - startsWith: - anyOf: - - type: string - - type: number - - type: boolean - type: - enum: - - filter - type: string - required: - - type - - field - type: object - - additionalProperties: false - properties: - and: - items: - $ref: '#/components/schemas/StreamlangCondition' - type: array - type: - enum: - - and - type: string - required: - - type - - and - type: object - - additionalProperties: false - properties: - or: - items: - $ref: '#/components/schemas/StreamlangCondition' - type: array - type: - enum: - - or - type: string - required: - - type - - or - type: object - - additionalProperties: false - properties: - not: - $ref: '#/components/schemas/StreamlangCondition' - type: - enum: - - not - type: string - required: - - type - - not - type: object - - additionalProperties: false - properties: - never: - additionalProperties: false - properties: {} - type: object - type: - enum: - - never - type: string - required: - - type - - never - type: object - - additionalProperties: false - properties: - always: - additionalProperties: false - properties: {} - type: object - type: - enum: - - always - type: string - required: - - type - - always - type: object - StreamlangStep: - anyOf: - - allOf: - - anyOf: - - additionalProperties: false - properties: - action: - enum: - - grok - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - ignore_missing: - type: boolean - patterns: - items: - minLength: 1 - type: string - minItems: 1 - type: array - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - - patterns - type: object - - additionalProperties: false - properties: - action: - enum: - - dissect - type: string - append_separator: - minLength: 1 - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - ignore_missing: - type: boolean - pattern: - minLength: 1 - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - - pattern - type: object - - additionalProperties: false - properties: - action: - enum: - - date - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - formats: - items: - minLength: 1 - type: string - type: array - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - locale: - minLength: 1 - type: string - output_format: - minLength: 1 - type: string - timezone: - minLength: 1 - type: string - to: - minLength: 1 - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - - formats - type: object - - additionalProperties: false - properties: - action: - enum: - - rename - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - ignore_missing: - type: boolean - override: - type: boolean - to: - minLength: 1 - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - - to - type: object - - additionalProperties: false - properties: - action: - enum: - - set - type: string - copy_from: - minLength: 1 - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - ignore_failure: - type: boolean - override: - type: boolean - to: - minLength: 1 - type: string - value: {} - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - to - type: object - - additionalProperties: false - properties: - action: - enum: - - append - type: string - allow_duplicates: - type: boolean - customIdentifier: - minLength: 1 - type: string - description: - type: string - ignore_failure: - type: boolean - to: - minLength: 1 - type: string - value: - items: {} - minItems: 1 - type: array - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - to - - value - type: object - - additionalProperties: false - properties: - action: - enum: - - remove_by_prefix - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - required: - - action - - from - type: object - - additionalProperties: false - properties: - action: - enum: - - remove - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - ignore_missing: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - type: object - - additionalProperties: false - properties: - action: - enum: - - convert - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - from: - minLength: 1 - type: string - ignore_failure: - type: boolean - ignore_missing: - type: boolean - to: - minLength: 1 - type: string - type: - enum: - - integer - - long - - double - - boolean - - string - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - from - - type - type: object - - additionalProperties: false - properties: - action: - enum: - - manual_ingest_pipeline - type: string - customIdentifier: - minLength: 1 - type: string - description: - type: string - ignore_failure: - type: boolean - on_failure: - items: - additionalProperties: {} - type: object - type: array - processors: - items: - additionalProperties: false - properties: - append: {} - attachment: {} - bytes: {} - circle: {} - community_id: {} - convert: {} - csv: {} - date: {} - date_index_name: {} - dissect: {} - dot_expander: {} - drop: {} - enrich: {} - fail: {} - fingerprint: {} - foreach: {} - geo_grid: {} - geoip: {} - grok: {} - gsub: {} - html_strip: {} - inference: {} - ip_location: {} - join: {} - json: {} - kv: {} - lowercase: {} - network_direction: {} - pipeline: {} - redact: {} - registered_domain: {} - remove: {} - rename: {} - reroute: {} - script: {} - set: {} - set_security_user: {} - sort: {} - split: {} - terminate: {} - trim: {} - uppercase: {} - uri_parts: {} - urldecode: {} - user_agent: {} - required: - - append - - attachment - - bytes - - circle - - community_id - - convert - - csv - - date - - date_index_name - - dissect - - dot_expander - - drop - - enrich - - fail - - fingerprint - - foreach - - ip_location - - geo_grid - - geoip - - grok - - gsub - - html_strip - - inference - - join - - json - - kv - - lowercase - - network_direction - - pipeline - - redact - - registered_domain - - remove - - rename - - reroute - - script - - set - - set_security_user - - sort - - split - - terminate - - trim - - uppercase - - urldecode - - uri_parts - - user_agent - type: object - type: array - tag: - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - action - - processors - type: object - - properties: - kind: - enum: - - processor - type: string - type: object - - additionalProperties: false - properties: - customIdentifier: - type: string - kind: - enum: - - where - type: string - where: - allOf: - - $ref: '#/components/schemas/StreamlangCondition' - - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - required: - - where - type: object - core_status_redactedResponse: - additionalProperties: false - description: A minimal representation of Kibana's operational status. - properties: - status: - additionalProperties: false - properties: - overall: - additionalProperties: false - properties: - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - required: - - level - type: object - required: - - overall - type: object - required: - - status - type: object - core_status_response: - additionalProperties: false - description: Kibana's operational status as well as a detailed breakdown of plugin statuses indication of various loads (like event loop utilization and network traffic) at time of request. - properties: - metrics: - additionalProperties: false - description: Metric groups collected by Kibana. - properties: - collection_interval_in_millis: - description: The interval at which metrics should be collected. - type: number - elasticsearch_client: - additionalProperties: false - description: Current network metrics of Kibana's Elasticsearch client. - properties: - totalActiveSockets: - description: Count of network sockets currently in use. - type: number - totalIdleSockets: - description: Count of network sockets currently idle. - type: number - totalQueuedRequests: - description: Count of requests not yet assigned to sockets. - type: number - required: - - totalActiveSockets - - totalIdleSockets - - totalQueuedRequests - type: object - last_updated: - description: The time metrics were collected. - type: string - required: - - elasticsearch_client - - last_updated - - collection_interval_in_millis - type: object - name: - description: Kibana instance name. - type: string - status: - additionalProperties: false - properties: - core: - additionalProperties: false - description: Statuses of core Kibana services. - properties: - elasticsearch: - additionalProperties: false - properties: - detail: - description: Human readable detail of the service status. - type: string - documentationUrl: - description: A URL to further documentation regarding this service. - type: string - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - meta: - additionalProperties: {} - description: An unstructured set of extra metadata about this service. - type: object - summary: - description: A human readable summary of the service status. - type: string - required: - - level - - summary - - meta - type: object - http: - additionalProperties: false - properties: - detail: - description: Human readable detail of the service status. - type: string - documentationUrl: - description: A URL to further documentation regarding this service. - type: string - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - meta: - additionalProperties: {} - description: An unstructured set of extra metadata about this service. - type: object - summary: - description: A human readable summary of the service status. - type: string - required: - - level - - summary - - meta - type: object - savedObjects: - additionalProperties: false - properties: - detail: - description: Human readable detail of the service status. - type: string - documentationUrl: - description: A URL to further documentation regarding this service. - type: string - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - meta: - additionalProperties: {} - description: An unstructured set of extra metadata about this service. - type: object - summary: - description: A human readable summary of the service status. - type: string - required: - - level - - summary - - meta - type: object - required: - - elasticsearch - - savedObjects - type: object - overall: - additionalProperties: false - properties: - detail: - description: Human readable detail of the service status. - type: string - documentationUrl: - description: A URL to further documentation regarding this service. - type: string - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - meta: - additionalProperties: {} - description: An unstructured set of extra metadata about this service. - type: object - summary: - description: A human readable summary of the service status. - type: string - required: - - level - - summary - - meta - type: object - plugins: - additionalProperties: - additionalProperties: false - properties: - detail: - description: Human readable detail of the service status. - type: string - documentationUrl: - description: A URL to further documentation regarding this service. - type: string - level: - description: Service status levels as human and machine readable values. - enum: - - available - - degraded - - unavailable - - critical - type: string - meta: - additionalProperties: {} - description: An unstructured set of extra metadata about this service. - type: object - summary: - description: A human readable summary of the service status. - type: string - required: - - level - - summary - - meta - type: object - description: A dynamic mapping of plugin ID to plugin status. - type: object - required: - - overall - - core - - plugins - type: object - uuid: - description: Unique, generated Kibana instance UUID. This UUID should persist even if the Kibana process restarts. - type: string - version: - additionalProperties: false - properties: - build_date: - description: The date and time of this build. - type: string - build_flavor: - description: The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the "traditional" flavour, while other flavours are reserved for Elastic-specific use cases. - enum: - - serverless - - traditional - type: string - build_hash: - description: A unique hash value representing the git commit of this Kibana build. - type: string - build_number: - description: A monotonically increasing number, each subsequent build will have a higher number. - type: number - build_snapshot: - description: Whether this build is a snapshot build. - type: boolean - number: - description: A semantic version number. - type: string - required: - - number - - build_hash - - build_number - - build_snapshot - - build_flavor - - build_date - type: object - required: - - name - - uuid - - version - - status - - metrics - type: object - securitySchemes: - apiKeyAuth: - in: header - name: Authorization - type: apiKey - basicAuth: - scheme: basic - type: http -info: - title: Kibana HTTP APIs - version: 0.0.0 -openapi: 3.0.0 -paths: - /api/streams: - get: - description: 'Fetches list of all streams

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams - parameters: [] - responses: {} - summary: Get stream list - tags: - - streams - x-state: Technical Preview - /api/streams/_disable: - post: - description: 'Disables wired streams and deletes all existing stream definitions. The data of wired streams is deleted, but the data of classic streams is preserved.

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-disable - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - responses: {} - summary: Disable streams - tags: - - streams - x-state: Technical Preview - /api/streams/_enable: - post: - description: 'Enables wired streams

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-enable - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - responses: {} - summary: Enable streams - tags: - - streams - x-state: Technical Preview - /api/streams/_resync: - post: - description: 'Resyncs all streams, making sure that Elasticsearch assets are up to date

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-resync - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - responses: {} - summary: Resync streams - tags: - - streams - x-state: Technical Preview - /api/streams/{name}: - delete: - description: 'Deletes a stream definition and the underlying data stream

[Required authorization] Route required privileges: manage_stream.' - operationId: delete-streams-name - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Delete a stream - tags: - - streams - x-state: Technical Preview - get: - description: 'Fetches a stream definition and associated dashboards

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get a stream - tags: - - streams - x-state: Technical Preview - put: - description: 'Creates or updates a stream definition. Classic streams can not be created through this API, only updated

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - anyOf: - - anyOf: - - allOf: - - properties: {} - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - required: - - stream - type: object - - properties: - dashboards: - items: - type: string - type: array - queries: - items: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - type: array - rules: - items: - type: string - type: array - required: - - dashboards - - rules - - queries - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - allOf: - - properties: {} - type: object - - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - - properties: - ingest: - additionalProperties: false - properties: - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - required: - - lifecycle - - processing - - settings - type: object - required: - - ingest - type: object - - properties: - ingest: - additionalProperties: false - properties: - type: - enum: - - wired - type: string - wired: - additionalProperties: false - properties: - fields: - additionalProperties: - allOf: - - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - type: array - - items: {} - type: array - - {} - type: object - - anyOf: - - additionalProperties: false - properties: - format: - minLength: 1 - type: string - type: - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - type: string - required: - - type - type: object - - additionalProperties: false - properties: - type: - enum: - - system - type: string - required: - - type - type: object - type: object - routing: - items: - additionalProperties: false - properties: - destination: - minLength: 1 - type: string - status: - enum: - - enabled - - disabled - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - destination - - where - type: object - type: array - required: - - fields - - routing - type: object - required: - - type - - wired - type: object - required: - - ingest - type: object - required: - - stream - type: object - - properties: {} - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - required: - - stream - type: object - - properties: - dashboards: - items: - type: string - type: array - queries: - items: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - type: array - rules: - items: - type: string - type: array - required: - - dashboards - - rules - - queries - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - ingest: - additionalProperties: false - properties: - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - required: - - lifecycle - - processing - - settings - type: object - required: - - ingest - type: object - required: - - stream - type: object - - properties: {} - type: object - - properties: {} - type: object - - allOf: - - properties: {} - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - required: - - stream - type: object - - properties: - dashboards: - items: - type: string - type: array - queries: - items: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - type: array - rules: - items: - type: string - type: array - required: - - dashboards - - rules - - queries - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - allOf: - - properties: {} - type: object - - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - - properties: - ingest: - additionalProperties: false - properties: - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - required: - - lifecycle - - processing - - settings - type: object - required: - - ingest - type: object - - properties: - ingest: - additionalProperties: false - properties: - classic: - additionalProperties: false - properties: - field_overrides: - additionalProperties: - allOf: - - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - type: array - - items: {} - type: array - - {} - type: object - - anyOf: - - additionalProperties: false - properties: - format: - minLength: 1 - type: string - type: - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - type: string - required: - - type - type: object - - additionalProperties: false - properties: - type: - enum: - - system - type: string - required: - - type - type: object - type: object - type: object - type: - enum: - - classic - type: string - required: - - type - - classic - type: object - required: - - ingest - type: object - required: - - stream - type: object - - properties: {} - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - required: - - stream - type: object - - properties: - dashboards: - items: - type: string - type: array - queries: - items: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - type: array - rules: - items: - type: string - type: array - required: - - dashboards - - rules - - queries - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - ingest: - additionalProperties: false - properties: - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - required: - - lifecycle - - processing - - settings - type: object - required: - - ingest - type: object - required: - - stream - type: object - - properties: {} - type: object - - properties: {} - type: object - - allOf: - - properties: {} - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - description: - type: string - name: - type: string - required: - - name - - description - type: object - required: - - stream - type: object - - properties: - dashboards: - items: - type: string - type: array - queries: - items: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - type: array - rules: - items: - type: string - type: array - required: - - dashboards - - rules - - queries - type: object - - properties: - stream: - allOf: - - additionalProperties: true - properties: - name: - not: {} - type: object - - additionalProperties: false - properties: - group: - additionalProperties: false - properties: - members: - items: - type: string - type: array - metadata: - additionalProperties: - type: string - type: object - tags: - items: - type: string - type: array - required: - - metadata - - tags - - members - type: object - required: - - group - type: object - required: - - stream - type: object - - properties: {} - type: object - responses: {} - summary: Create or update a stream - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/_fork: - post: - description: 'Forks a wired stream and creates a child stream

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-name-fork - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - status: - enum: - - enabled - - disabled - type: string - stream: - additionalProperties: false - properties: - name: - type: string - required: - - name - type: object - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - stream - - where - type: object - responses: {} - summary: Fork a stream - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/_group: - get: - description: 'Fetches the group settings of a group stream definition

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-group - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get group stream settings - tags: - - streams - x-state: Technical Preview - put: - description: 'Upserts the group settings of a group stream definition

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name-group - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - group: - additionalProperties: false - properties: - members: - items: - type: string - type: array - metadata: - additionalProperties: - type: string - type: object - tags: - items: - type: string - type: array - required: - - metadata - - tags - - members - type: object - required: - - group - type: object - responses: {} - summary: Upsert group stream settings - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/_ingest: - get: - description: 'Fetches the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-ingest - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get ingest stream settings - tags: - - streams - x-state: Technical Preview - put: - description: 'Upserts the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name-ingest - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - ingest: - anyOf: - - additionalProperties: false - properties: - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - type: - enum: - - wired - type: string - wired: - additionalProperties: false - properties: - fields: - additionalProperties: - allOf: - - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - type: array - - items: {} - type: array - - {} - type: object - - anyOf: - - additionalProperties: false - properties: - format: - minLength: 1 - type: string - type: - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - type: string - required: - - type - type: object - - additionalProperties: false - properties: - type: - enum: - - system - type: string - required: - - type - type: object - type: object - routing: - items: - additionalProperties: false - properties: - destination: - minLength: 1 - type: string - status: - enum: - - enabled - - disabled - type: string - where: - $ref: '#/components/schemas/StreamlangCondition' - required: - - destination - - where - type: object - type: array - required: - - fields - - routing - type: object - required: - - lifecycle - - processing - - settings - - type - - wired - type: object - - additionalProperties: false - properties: - classic: - additionalProperties: false - properties: - field_overrides: - additionalProperties: - allOf: - - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - type: array - - items: {} - type: array - - {} - type: object - - anyOf: - - additionalProperties: false - properties: - format: - minLength: 1 - type: string - type: - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - type: string - required: - - type - type: object - - additionalProperties: false - properties: - type: - enum: - - system - type: string - required: - - type - type: object - type: object - type: object - lifecycle: - anyOf: - - additionalProperties: false - properties: - dsl: - additionalProperties: false - properties: - data_retention: - minLength: 1 - type: string - type: object - type: - enum: - - dsl - type: string - required: - - type - - dsl - type: object - - additionalProperties: false - properties: - ilm: - additionalProperties: false - properties: - policy: - minLength: 1 - type: string - required: - - policy - type: object - type: - enum: - - ilm - type: string - required: - - type - - ilm - type: object - - additionalProperties: false - properties: - inherit: - additionalProperties: false - properties: {} - type: object - type: - enum: - - inherit - type: string - required: - - type - - inherit - type: object - processing: - additionalProperties: false - properties: - steps: - items: - $ref: '#/components/schemas/StreamlangStep' - type: array - required: - - steps - type: object - settings: - additionalProperties: false - properties: - index.number_of_replicas: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.number_of_shards: - additionalProperties: false - properties: - value: - type: number - required: - - value - type: object - index.refresh_interval: - additionalProperties: false - properties: - value: - anyOf: - - type: string - - enum: - - -1 - type: number - required: - - value - type: object - type: object - type: - enum: - - classic - type: string - required: - - lifecycle - - processing - - settings - - type - - classic - type: object - required: - - ingest - type: object - responses: {} - summary: Update ingest stream settings - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/content/export: - post: - description: 'Exports the content associated to a stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-name-content-export - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - description: - type: string - include: - anyOf: - - additionalProperties: false - properties: - objects: - additionalProperties: false - properties: - all: - additionalProperties: false - properties: {} - type: object - required: - - all - type: object - required: - - objects - type: object - - additionalProperties: false - properties: - objects: - additionalProperties: false - properties: - mappings: - type: boolean - queries: - items: - additionalProperties: false - properties: - id: - type: string - required: - - id - type: object - type: array - routing: - items: - allOf: - - {} - - properties: - destination: - type: string - required: - - destination - type: object - type: array - required: - - mappings - - queries - - routing - type: object - required: - - objects - type: object - name: - type: string - version: - type: string - required: - - name - - description - - version - - include - type: object - responses: {} - summary: Export stream content - tags: - - streams - /api/streams/{name}/content/import: - post: - description: 'Links content objects to a stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-name-content-import - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - multipart/form-data: - schema: - additionalProperties: false - properties: - content: {} - include: - type: string - required: - - include - - content - type: object - responses: {} - summary: Import content into a stream - tags: - - streams - /api/streams/{name}/dashboards: - get: - description: 'Fetches all dashboards linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-dashboards - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get stream dashboards - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/dashboards/_bulk: - post: - description: 'Bulk update dashboards linked to a stream. Can link new dashboards and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-name-dashboards-bulk - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - operations: - items: - anyOf: - - additionalProperties: false - properties: - index: - additionalProperties: false - properties: - id: - type: string - required: - - id - type: object - required: - - index - type: object - - additionalProperties: false - properties: - delete: - additionalProperties: false - properties: - id: - type: string - required: - - id - type: object - required: - - delete - type: object - type: array - required: - - operations - type: object - responses: {} - summary: Bulk update dashboards - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/dashboards/{dashboardId}: - delete: - description: 'Unlinks a dashboard from a stream. Noop if the dashboard is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: delete-streams-name-dashboards-dashboardid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: dashboardId - required: true - schema: - type: string - responses: {} - summary: Unlink a dashboard from a stream - tags: - - streams - x-state: Technical Preview - put: - description: 'Links a dashboard to a stream. Noop if the dashboard is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name-dashboards-dashboardid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: dashboardId - required: true - schema: - type: string - responses: {} - summary: Link a dashboard to a stream - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/queries: - get: - description: 'Fetches all queries linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-queries - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get stream queries - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/queries/_bulk: - post: - description: 'Bulk update queries of a stream. Can add new queries and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' - operationId: post-streams-name-queries-bulk - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - operations: - items: - anyOf: - - additionalProperties: false - properties: - index: - allOf: - - properties: - id: - minLength: 1 - type: string - title: - minLength: 1 - type: string - required: - - id - - title - type: object - - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - required: - - index - type: object - - additionalProperties: false - properties: - delete: - additionalProperties: false - properties: - id: - type: string - required: - - id - type: object - required: - - delete - type: object - type: array - required: - - operations - type: object - responses: {} - summary: Bulk update queries - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/queries/{queryId}: - delete: - description: 'Remove a query from a stream. Noop if the query is not found on the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: delete-streams-name-queries-queryid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: queryId - required: true - schema: - type: string - responses: {} - summary: Remove a query from a stream - tags: - - streams - x-state: Technical Preview - put: - description: 'Adds a query to a stream. Noop if the query is already present on the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name-queries-queryid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: queryId - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - title: - minLength: 1 - type: string - required: - - title - - kql - type: object - responses: {} - summary: Upsert a query to a stream - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/rules: - get: - description: 'Fetches all rules linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-rules - parameters: - - in: path - name: name - required: true - schema: - type: string - responses: {} - summary: Get stream rules - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/rules/{ruleId}: - delete: - description: 'Unlinks a rule from a stream. Noop if the rule is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: delete-streams-name-rules-ruleid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: ruleId - required: true - schema: - type: string - responses: {} - summary: Unlink a rule from a stream - tags: - - streams - x-state: Technical Preview - put: - description: 'Links a rule to a stream. Noop if the rule is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - operationId: put-streams-name-rules-ruleid - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: path - name: ruleId - required: true - schema: - type: string - responses: {} - summary: Link a rule to a stream - tags: - - streams - x-state: Technical Preview - /api/streams/{name}/significant_events: - get: - description: 'Read the significant events

[Required authorization] Route required privileges: read_stream.' - operationId: get-streams-name-significant-events - parameters: - - in: path - name: name - required: true - schema: - type: string - - in: query - name: from - required: true - schema: - type: string - - in: query - name: to - required: true - schema: - type: string - - in: query - name: bucketSize - required: true - schema: - type: string - responses: {} - summary: Read the significant events - tags: - - streams - x-state: Technical Preview; added in 9.1.0 - /api/streams/{name}/significant_events/_generate: - post: - description: 'Generate significant events queries based on the stream data

[Required authorization] Route required privileges: read_stream.' - operationId: post-streams-name-significant-events-generate - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: query - name: connectorId - required: true - schema: - type: string - - in: query - name: currentDate - required: false - schema: - type: string - - in: query - name: from - required: true - schema: - type: string - - in: query - name: to - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - feature: - additionalProperties: false - properties: - description: - type: string - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - - description - type: object - type: object - responses: {} - summary: Generate significant events - tags: - - streams - x-state: Technical Preview; added in 9.2.0 - /api/streams/{name}/significant_events/_preview: - post: - description: 'Preview significant event results based on a given query

[Required authorization] Route required privileges: read_stream.' - operationId: post-streams-name-significant-events-preview - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: "true" - type: string - - in: path - name: name - required: true - schema: - type: string - - in: query - name: from - required: true - schema: - type: string - - in: query - name: to - required: true - schema: - type: string - - in: query - name: bucketSize - required: true - schema: - type: string - requestBody: - content: - application/json: - schema: - additionalProperties: false - properties: - query: - additionalProperties: false - properties: - feature: - additionalProperties: false - properties: - filter: - $ref: '#/components/schemas/StreamlangCondition' - name: - minLength: 1 - type: string - required: - - name - - filter - type: object - kql: - additionalProperties: false - properties: - query: - type: string - required: - - query - type: object - required: - - kql - type: object - required: - - query - type: object - responses: {} - summary: Preview significant events - tags: - - streams - x-state: Technical Preview; added in 9.1.0 -security: - - basicAuth: [] -servers: - - url: http://localhost:5603/rStelmach -tags: - - name: agent builder - - name: alerting - - name: APM agent keys - - name: APM annotations - - name: cases - - name: connectors - - name: Data streams - - name: Elastic Agent actions - - name: Elastic Agent binary download sources - - name: Elastic Agent policies - - name: Elastic Agent status - - name: Elastic Agents - - name: Elastic Package Manager (EPM) - - name: Fleet cloud connectors - - name: Fleet enrollment API keys - - name: Fleet internals - - name: Fleet outputs - - name: Fleet package policies - - name: Fleet proxies - - name: Fleet remote synced integrations - - name: Fleet Server hosts - - name: Fleet service tokens - - name: Fleet uninstall tokens - - name: machine learning - - name: maintenance-window - - name: Message Signing Service - - name: roles - - name: saved objects - - name: spaces - - name: streams - - name: system - - name: uptime diff --git a/generated/kbstreams/oas.yaml b/generated/kbstreams/oas.yaml deleted file mode 100644 index 993c76c75..000000000 --- a/generated/kbstreams/oas.yaml +++ /dev/null @@ -1,67215 +0,0 @@ -openapi: 3.0.0 -info: - title: Kibana HTTP APIs - version: 0.0.0 -servers: - - url: http://localhost:5603/rStelmach -security: - - basicAuth: [] -tags: - - name: agent builder - - name: alerting - - name: APM agent keys - - name: APM annotations - - name: cases - - name: connectors - - name: Data streams - - name: Elastic Agent actions - - name: Elastic Agent binary download sources - - name: Elastic Agent policies - - name: Elastic Agent status - - name: Elastic Agents - - name: Elastic Package Manager (EPM) - - name: Fleet cloud connectors - - name: Fleet enrollment API keys - - name: Fleet internals - - name: Fleet outputs - - name: Fleet package policies - - name: Fleet proxies - - name: Fleet remote synced integrations - - name: Fleet Server hosts - - name: Fleet service tokens - - name: Fleet uninstall tokens - - name: machine learning - - name: maintenance-window - - name: Message Signing Service - - name: roles - - name: saved objects - - name: spaces - - name: streams - - name: system - - name: uptime -paths: - /translations/{locale}.json: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: locale - in: path - required: true - schema: - type: string - operationId: get-translations-locale.json - /translations/a399c2baef20/{locale}.json: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: locale - in: path - required: true - schema: - type: string - operationId: get-translations-a399c2baef20-locale.json - /api/deprecations/: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-deprecations - /api/saved_objects/{type}/{id}: - get: - summary: Get a saved object - tags: - - saved objects - deprecated: true - responses: {} - parameters: - - name: type - in: path - required: true - schema: - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: get-saved-objects-type-id - post: - summary: Create a saved object - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: object - properties: - attributes: - type: object - additionalProperties: {} - migrationVersion: - type: object - additionalProperties: - type: string - coreMigrationVersion: - type: string - typeMigrationVersion: - type: string - references: - type: array - items: - type: object - properties: - name: - type: string - type: - type: string - id: - type: string - additionalProperties: false - required: - - name - - type - - id - initialNamespaces: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - attributes - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: type - in: path - required: true - schema: - type: string - - name: id - in: path - required: false - schema: - type: string - - name: overwrite - in: query - required: false - schema: - type: boolean - default: false - operationId: post-saved-objects-type-id - delete: - summary: Delete a saved object - tags: - - saved objects - deprecated: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: type - in: path - required: true - schema: - type: string - - name: id - in: path - required: true - schema: - type: string - - name: force - in: query - required: false - schema: - type: boolean - operationId: delete-saved-objects-type-id - put: - summary: Update a saved object - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: object - properties: - attributes: - type: object - additionalProperties: {} - version: - type: string - references: - type: array - items: - type: object - properties: - name: - type: string - type: - type: string - id: - type: string - additionalProperties: false - required: - - name - - type - - id - upsert: - type: object - additionalProperties: {} - additionalProperties: false - required: - - attributes - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: type - in: path - required: true - schema: - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-saved-objects-type-id - /api/saved_objects/resolve/{type}/{id}: - get: - summary: Resolve a saved object - tags: - - saved objects - description: |- - Retrieve a single Kibana saved object by ID, using any legacy URL alias if it exists. - Under certain circumstances, when Kibana is upgraded, saved object migrations may necessitate regenerating some object IDs to enable new features. When an object's ID is regenerated, a legacy URL alias is created for that object, preserving its old ID. In such a scenario, that object can be retrieved with the resolve API using either its new ID or its old ID. - deprecated: true - responses: {} - parameters: - - name: type - in: path - required: true - schema: - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: get-saved-objects-resolve-type-id - /api/saved_objects/_find: - get: - summary: Search for saved objects - tags: - - saved objects - deprecated: true - responses: {} - parameters: - - name: per_page - in: query - required: false - schema: - type: number - default: 20 - minimum: 0 - - name: page - in: query - required: false - schema: - type: number - default: 1 - minimum: 0 - - name: type - in: query - required: true - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: search - in: query - required: false - schema: - type: string - - name: default_search_operator - in: query - required: false - schema: - default: OR - type: string - enum: - - OR - - AND - - name: search_fields - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: sort_field - in: query - required: false - schema: - type: string - - name: has_reference - in: query - required: false - schema: - anyOf: - - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - - name: has_reference_operator - in: query - required: false - schema: - default: OR - type: string - enum: - - OR - - AND - - name: has_no_reference - in: query - required: false - schema: - anyOf: - - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - - name: has_no_reference_operator - in: query - required: false - schema: - default: OR - type: string - enum: - - OR - - AND - - name: fields - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: filter - in: query - required: false - schema: - type: string - - name: aggs - in: query - required: false - schema: - type: string - - name: namespaces - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - operationId: get-saved-objects-find - /api/saved_objects/_bulk_get: - post: - summary: Get saved objects - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - fields: - type: array - items: - type: string - namespaces: - type: array - items: - type: string - additionalProperties: false - required: - - type - - id - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-saved-objects-bulk-get - /api/saved_objects/_bulk_create: - post: - summary: Create saved objects - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - attributes: - type: object - additionalProperties: {} - version: - type: string - migrationVersion: - type: object - additionalProperties: - type: string - coreMigrationVersion: - type: string - typeMigrationVersion: - type: string - references: - type: array - items: - type: object - properties: - name: - type: string - type: - type: string - id: - type: string - additionalProperties: false - required: - - name - - type - - id - initialNamespaces: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - type - - attributes - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: overwrite - in: query - required: false - schema: - type: boolean - default: false - operationId: post-saved-objects-bulk-create - /api/saved_objects/_bulk_resolve: - post: - summary: Resolve saved objects - tags: - - saved objects - description: |- - Retrieve multiple Kibana saved objects by ID, using any legacy URL aliases if they exist. - Under certain circumstances, when Kibana is upgraded, saved object migrations may necessitate regenerating some object IDs to enable new features. When an object's ID is regenerated, a legacy URL alias is created for that object, preserving its old ID. In such a scenario, that object can be retrieved with the bulk resolve API using either its new ID or its old ID. - deprecated: true - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-saved-objects-bulk-resolve - /api/saved_objects/_bulk_update: - put: - summary: Update saved objects - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - attributes: - type: object - additionalProperties: {} - version: - type: string - references: - type: array - items: - type: object - properties: - name: - type: string - type: - type: string - id: - type: string - additionalProperties: false - required: - - name - - type - - id - namespace: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - id - - attributes - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-saved-objects-bulk-update - /api/saved_objects/_bulk_delete: - post: - summary: Delete saved objects - tags: - - saved objects - deprecated: true - requestBody: - content: - application/json: - schema: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: force - in: query - required: false - schema: - type: boolean - operationId: post-saved-objects-bulk-delete - /api/saved_objects/_export: - post: - summary: Export saved objects - tags: - - saved objects - description: |- - Retrieve sets of saved objects that you want to import into Kibana. You must include `type` or `objects` in the request body. The output of exporting saved objects must be treated as opaque. Tampering with exported data risks introducing unspecified errors and data loss. - - Exported saved objects are not backwards compatible and cannot be imported into an older version of Kibana. - - NOTE: The `savedObjects.maxImportExportSize` configuration setting limits the number of saved objects which may be exported. - requestBody: - content: - application/json: - schema: - type: object - properties: - hasReference: - anyOf: - - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - type: - description: The saved object types to include in the export. Use `*` to export all the types. Valid options depend on enabled plugins, but may include `visualization`, `dashboard`, `search`, `index-pattern`, `tag`, `config`, `config-global`, `lens`, `map`, `event-annotation-group`, `query`, `url`, `action`, `alert`, `alerting_rule_template`, `apm-indices`, `cases-user-actions`, `cases`, `cases-comments`, `infrastructure-monitoring-log-view`, `ml-trained-model`, `osquery-saved-query`, `osquery-pack`, `osquery-pack-asset`. - anyOf: - - type: string - - type: array - items: - type: string - objects: - type: array - description: 'A list of objects to export. NOTE: this optional parameter cannot be combined with the `types` option' - maxItems: 10000 - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - search: - type: string - description: Search for documents to export using the Elasticsearch Simple Query String syntax. - includeReferencesDeep: - type: boolean - description: Includes all of the referenced objects in the exported objects. - default: false - excludeExportDetails: - type: boolean - description: Do not add export details entry at the end of the stream. - default: false - additionalProperties: false - examples: - exportSavedObjectsRequest: - summary: Export a specific saved object. - value: - objects: - - type: map - id: de71f4f0-1902-11e9-919b-ffe5949a18d2 - includeReferencesDeep: false - excludeExportDetails: true - responses: - '200': - description: Indicates a successfull call. - content: - application/x-ndjson: - schema: {} - examples: - exportSavedObjectsResponse: - summary: The export objects API response contains a JSON record for each exported object. - value: - attributes: - description: '' - layerListJSON: '[{"id":"0hmz5","alpha":1,"sourceDescriptor":{"type":"EMS_TMS","isAutoSelect":true,"lightModeDefault":"road_map_desaturated"},"visible":true,"style":{},"type":"EMS_VECTOR_TILE","minZoom":0,"maxZoom":24},{"id":"edh66","label":"Total Requests by Destination","minZoom":0,"maxZoom":24,"alpha":0.5,"sourceDescriptor":{"type":"EMS_FILE","id":"world_countries","tooltipProperties":["name","iso2"]},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"DYNAMIC","options":{"field":{"name":"__kbnjoin__count__673ff994-fc75-4c67-909b-69fcb0e1060e","origin":"join"},"color":"Greys","fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"lineColor":{"type":"STATIC","options":{"color":"#FFFFFF"}},"lineWidth":{"type":"STATIC","options":{"size":1}},"iconSize":{"type":"STATIC","options":{"size":10}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR","joins":[{"leftField":"iso2","right":{"type":"ES_TERM_SOURCE","id":"673ff994-fc75-4c67-909b-69fcb0e1060e","indexPatternTitle":"kibana_sample_data_logs","term":"geo.dest","indexPatternRefName":"layer_1_join_0_index_pattern","metrics":[{"type":"count","label":"web logs count"}],"applyGlobalQuery":true}}]},{"id":"gaxya","label":"Actual Requests","minZoom":9,"maxZoom":24,"alpha":1,"sourceDescriptor":{"id":"b7486535-171b-4d3b-bb2e-33c1a0a2854c","type":"ES_SEARCH","geoField":"geo.coordinates","limit":2048,"filterByMapBounds":true,"tooltipProperties":["clientip","timestamp","host","request","response","machine.os","agent","bytes"],"indexPatternRefName":"layer_2_source_index_pattern","applyGlobalQuery":true,"scalingType":"LIMIT"},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"STATIC","options":{"color":"#2200ff"}},"lineColor":{"type":"STATIC","options":{"color":"#FFFFFF"}},"lineWidth":{"type":"STATIC","options":{"size":2}},"iconSize":{"type":"DYNAMIC","options":{"field":{"name":"bytes","origin":"source"},"minSize":1,"maxSize":23,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR"},{"id":"tfi3f","label":"Total Requests and Bytes","minZoom":0,"maxZoom":9,"alpha":1,"sourceDescriptor":{"type":"ES_GEO_GRID","resolution":"COARSE","id":"8aaa65b5-a4e9-448b-9560-c98cb1c5ac5b","geoField":"geo.coordinates","requestType":"point","metrics":[{"type":"count","label":"web logs count"},{"type":"sum","field":"bytes"}],"indexPatternRefName":"layer_3_source_index_pattern","applyGlobalQuery":true},"visible":true,"style":{"type":"VECTOR","properties":{"fillColor":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"color":"Blues","fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"lineColor":{"type":"STATIC","options":{"color":"#cccccc"}},"lineWidth":{"type":"STATIC","options":{"size":1}},"iconSize":{"type":"DYNAMIC","options":{"field":{"name":"sum_of_bytes","origin":"source"},"minSize":7,"maxSize":25,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"labelText":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"labelSize":{"type":"DYNAMIC","options":{"field":{"name":"doc_count","origin":"source"},"minSize":12,"maxSize":24,"fieldMetaOptions":{"isEnabled":false,"sigma":3}}},"symbolizeAs":{"options":{"value":"circle"}},"icon":{"type":"STATIC","options":{"value":"marker"}}}},"type":"GEOJSON_VECTOR"}]' - mapStateJSON: '{"zoom":3.64,"center":{"lon":-88.92107,"lat":42.16337},"timeFilters":{"from":"now-7d","to":"now"},"refreshConfig":{"isPaused":true,"interval":0},"query":{"language":"kuery","query":""},"settings":{"autoFitToDataBounds":false}}' - title: '[Logs] Total Requests and Bytes' - uiStateJSON: '{"isDarkMode":false}' - coreMigrationVersion: 8.8.0 - created_at: '2023-08-23T20:03:32.204Z' - id: de71f4f0-1902-11e9-919b-ffe5949a18d2 - managed: false - references: - - id: 90943e30-9a47-11e8-b64d-95841ca0b247 - name: layer_1_join_0_index_pattern - type: index-pattern - - id: 90943e30-9a47-11e8-b64d-95841ca0b247 - name: layer_2_source_index_pattern - type: index-pattern - - id: 90943e30-9a47-11e8-b64d-95841ca0b247 - name: layer_3_source_index_pattern - type: index-pattern - type: map - typeMigrationVersion: 8.4.0 - updated_at: '2023-08-23T20:03:32.204Z' - version: WzEzLDFd - '400': - description: Bad request. - content: - application/json: - schema: - type: object - description: Indicates an unsuccessful response. - properties: - error: - type: string - message: - type: string - statusCode: - type: integer - enum: - - 400 - additionalProperties: false - required: - - error - - message - - statusCode - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-saved-objects-export - /api/saved_objects/_import: - post: - summary: Import saved objects - tags: - - saved objects - description: |- - Create sets of Kibana saved objects from a file created by the export API. Saved objects can only be imported into the same version, a newer minor on the same major, or the next major. Tampering with exported data risks introducing unspecified errors and data loss. - - Exported saved objects are not backwards compatible and cannot be imported into an older version of Kibana. - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: object - description: 'A file exported using the export API. Changing the contents of the exported file in any way before importing it can cause errors, crashes or data loss. NOTE: The `savedObjects.maxImportExportSize` configuration setting limits the number of saved objects which may be included in this file. Similarly, the `savedObjects.maxImportPayloadBytes` setting limits the overall size of the file that can be imported.' - additionalProperties: false - required: - - file - examples: - importObjectsRequest: - value: - file: file.ndjson - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - description: Indicates when the import was successfully completed. When set to false, some objects may not have been created. For additional information, refer to the `errors` and `successResults` properties. - successCount: - type: number - description: Indicates the number of successfully imported records. - errors: - type: array - description: |- - Indicates the import was unsuccessful and specifies the objects that failed to import. - - NOTE: One object may result in multiple errors, which requires separate steps to resolve. For instance, a `missing_references` error and conflict error. - items: - type: object - properties: {} - additionalProperties: true - successResults: - type: array - description: |- - Indicates the objects that are successfully imported, with any metadata if applicable. - - NOTE: Objects are created only when all resolvable errors are addressed, including conflicts and missing references. If objects are created as new copies, each entry in the `successResults` array includes a `destinationId` attribute. - items: - type: object - properties: {} - additionalProperties: true - additionalProperties: false - required: - - success - - successCount - - errors - - successResults - examples: - importObjectsResponse: - summary: The import objects API response indicates a successful import and the objects are created. Since these objects are created as new copies, each entry in the successResults array includes a destinationId attribute. - value: - successCount: 1 - success: true - successResults: - - type: index-pattern - id: 90943e30-9a47-11e8-b64d-95841ca0b247 - meta: - title: Kibana Sample Data Logs - icon: indexPatternApp - managed: false - destinationId: 82d2760c-468f-49cf-83aa-b9a35b6a8943 - '400': - description: Bad request. - content: - application/json: - schema: - type: object - description: Indicates an unsuccessful response. - properties: - error: - type: string - message: - type: string - statusCode: - type: integer - enum: - - 400 - additionalProperties: false - required: - - error - - message - - statusCode - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: overwrite - in: query - required: false - schema: - type: boolean - default: false - description: 'Overwrites saved objects when they already exist. When used, potential conflict errors are automatically resolved by overwriting the destination object. NOTE: This option cannot be used with the `createNewCopies` option.' - - name: createNewCopies - in: query - required: false - schema: - type: boolean - default: false - description: 'Creates copies of saved objects, regenerates each object ID, and resets the origin. When used, potential conflict errors are avoided. NOTE: This option cannot be used with the `overwrite` and `compatibilityMode` options.' - - name: compatibilityMode - in: query - required: false - schema: - type: boolean - default: false - description: 'Applies various adjustments to the saved objects that are being imported to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with imported saved objects. NOTE: This option cannot be used with the `createNewCopies` option.' - operationId: post-saved-objects-import - x-codeSamples: - - lang: cURL - label: Import with createNewCopies - source: | - curl \ - -X POST api/saved_objects/_import?createNewCopies=true - -H "kbn-xsrf: true" - --form file=@file.ndjson - /api/saved_objects/_resolve_import_errors: - post: - summary: Resolve import errors - tags: - - saved objects - description: To resolve errors from the import objects API, you can retry certain saved objects, overwrite specific saved objects, and change references to different saved objects - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: object - retries: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - overwrite: - type: boolean - default: false - destinationId: - type: string - replaceReferences: - type: array - default: [] - items: - type: object - properties: - type: - type: string - from: - type: string - to: - type: string - additionalProperties: false - required: - - type - - from - - to - createNewCopy: - type: boolean - ignoreMissingReferences: - type: boolean - additionalProperties: false - required: - - type - - id - additionalProperties: false - required: - - file - - retries - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: createNewCopies - in: query - required: false - schema: - type: boolean - default: false - - name: compatibilityMode - in: query - required: false - schema: - type: boolean - default: false - operationId: post-saved-objects-resolve-import-errors - /api/status: - get: - summary: Get Kibana's current status - tags: - - system - responses: - '200': - description: Overall status is OK and Kibana should be functioning normally. - content: - application/json: - schema: - description: Kibana's operational status. A minimal response is sent for unauthorized users. - anyOf: - - $ref: '#/components/schemas/core_status_response' - - $ref: '#/components/schemas/core_status_redactedResponse' - '503': - description: Kibana or some of it's essential services are unavailable. Kibana may be degraded or unavailable. - content: - application/json: - schema: - description: Kibana's operational status. A minimal response is sent for unauthorized users. - anyOf: - - $ref: '#/components/schemas/core_status_response' - - $ref: '#/components/schemas/core_status_redactedResponse' - parameters: - - name: v7format - in: query - required: false - schema: - type: boolean - description: Set to "true" to get the response in v7 format. - - name: v8format - in: query - required: false - schema: - type: boolean - description: Set to "true" to get the response in v8 format. - operationId: get-status - /bootstrap.js: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-bootstrap.js - /bootstrap-anonymous.js: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-bootstrap-anonymous.js - /api/features: - get: - summary: Get features - tags: [] - description: '[Required authorization] Route required privileges: read_features.' - responses: {} - parameters: - - name: ignoreValidLicenses - in: query - required: false - schema: - type: boolean - default: false - operationId: get-features - /api/monitoring_collection/{type}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: type - in: path - required: true - schema: - type: string - operationId: get-monitoring-collection-type - /api/stats: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: extended - in: query - required: false - schema: - default: false - anyOf: - - type: string - enum: - - '' - - type: boolean - - name: legacy - in: query - required: false - schema: - default: false - anyOf: - - type: string - enum: - - '' - - type: boolean - - name: exclude_usage - in: query - required: false - schema: - default: true - anyOf: - - type: string - enum: - - '' - - type: boolean - operationId: get-stats - /api/task_manager/_health: - get: - summary: Get task manager health - tags: [] - responses: {} - parameters: [] - operationId: get-task-manager-health - /internal/task_manager/_background_task_utilization: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-task-manager-background-task-utilization - /api/task_manager/_background_task_utilization: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-task-manager-background-task-utilization-2 - /api/task_manager/metrics: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: reset - in: query - required: false - schema: - type: boolean - default: true - operationId: get-task-manager-metrics - /api/short_url: - post: - summary: Create a short URL - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - locatorId: - type: string - minLength: 1 - maxLength: 255 - slug: - type: string - default: '' - minLength: 3 - maxLength: 255 - humanReadableSlug: - type: boolean - default: false - params: - type: object - properties: {} - additionalProperties: true - additionalProperties: false - required: - - locatorId - - params - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-short-url - /api/short_url/{id}: - get: - summary: Get a short URL - tags: [] - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 4 - maxLength: 128 - operationId: get-short-url-id - delete: - summary: Delete a short URL - tags: [] - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 4 - maxLength: 128 - operationId: delete-short-url-id - /api/short_url/_slug/{slug}: - get: - summary: Resolve a short URL - tags: [] - responses: {} - parameters: - - name: slug - in: path - required: true - schema: - type: string - minLength: 4 - maxLength: 128 - operationId: get-short-url-slug-slug - /api/spaces/_copy_saved_objects: - post: - summary: Copy saved objects between spaces - tags: - - spaces - description: 'It also allows you to automatically copy related objects, so when you copy a dashboard, this can automatically copy over the associated visualizations, data views, and saved Discover sessions, as required. You can request to overwrite any objects that already exist in the target space if they share an identifier or you can use the resolve copy saved objects conflicts API to do this on a per-object basis.

[Required authorization] Route required privileges: copySavedObjectsToSpaces.' - requestBody: - content: - application/json: - schema: - type: object - properties: - spaces: - type: array - items: - type: string - description: The identifiers of the spaces where you want to copy the specified objects. - objects: - type: array - items: - type: object - properties: - type: - type: string - description: The type of the saved object to copy. - id: - type: string - description: The identifier of the saved object to copy. - additionalProperties: false - required: - - type - - id - includeReferences: - type: boolean - description: When set to true, all saved objects related to the specified saved objects will also be copied into the target spaces. - default: false - overwrite: - type: boolean - description: When set to true, all conflicts are automatically overridden. When a saved object with a matching type and identifier exists in the target space, that version is replaced with the version from the source space. This option cannot be used with the `createNewCopies` option. - default: false - createNewCopies: - type: boolean - description: Create new copies of saved objects, regenerate each object identifier, and reset the origin. When used, potential conflict errors are avoided. This option cannot be used with the `overwrite` and `compatibilityMode` options. - default: true - compatibilityMode: - type: boolean - description: Apply various adjustments to the saved objects that are being copied to maintain compatibility between different Kibana versions. Use this option only if you encounter issues with copied saved objects. This option cannot be used with the `createNewCopies` option. - default: false - additionalProperties: false - required: - - spaces - - objects - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-copy-saved-objects - /api/spaces/_resolve_copy_saved_objects_errors: - post: - summary: Resolve conflicts copying saved objects - tags: [] - description: 'Overwrite saved objects that are returned as errors from the copy saved objects to space API.

[Required authorization] Route required privileges: copySavedObjectsToSpaces.' - requestBody: - content: - application/json: - schema: - type: object - properties: - retries: - type: object - additionalProperties: - type: array - items: - type: object - properties: - type: - type: string - description: The saved object type. - id: - type: string - description: The saved object identifier. - overwrite: - type: boolean - description: When set to true, the saved object from the source space overwrites the conflicting object in the destination space. - default: false - destinationId: - type: string - description: Specifies the destination identifier that the copied object should have, if different from the current identifier. - createNewCopy: - type: boolean - description: Creates new copies of the saved objects, regenerates each object ID, and resets the origin. - ignoreMissingReferences: - type: boolean - description: When set to true, any missing references errors are ignored. - additionalProperties: false - required: - - type - - id - objects: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - includeReferences: - type: boolean - default: false - createNewCopies: - type: boolean - default: true - compatibilityMode: - type: boolean - default: false - additionalProperties: false - required: - - retries - - objects - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-resolve-copy-saved-objects-errors - /api/spaces/_update_objects_spaces: - post: - summary: Update saved objects in spaces - tags: - - spaces - description: Update one or more saved objects to add or remove them from some spaces. - requestBody: - content: - application/json: - schema: - type: object - properties: - objects: - type: array - items: - type: object - properties: - type: - type: string - description: The type of the saved object to update. - id: - type: string - description: The identifier of the saved object to update. - additionalProperties: false - required: - - type - - id - spacesToAdd: - type: array - items: - type: string - description: The identifiers of the spaces the saved objects should be added to or removed from. - spacesToRemove: - type: array - items: - type: string - description: The identifiers of the spaces the saved objects should be added to or removed from. - additionalProperties: false - required: - - objects - - spacesToAdd - - spacesToRemove - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-update-objects-spaces - /api/spaces/_get_shareable_references: - post: - summary: Get shareable references - tags: - - spaces - description: Collect references and space contexts for saved objects. - requestBody: - content: - application/json: - schema: - type: object - properties: - objects: - type: array - items: - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - additionalProperties: false - required: - - objects - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-get-shareable-references - /api/spaces/_disable_legacy_url_aliases: - post: - summary: Disable legacy URL aliases - tags: - - spaces - requestBody: - content: - application/json: - schema: - type: object - properties: - aliases: - type: array - items: - type: object - properties: - targetSpace: - type: string - description: The space where the alias target object exists. - targetType: - type: string - description: 'The type of alias target object. ' - sourceId: - type: string - description: The alias source object identifier. This is the legacy object identifier. - additionalProperties: false - required: - - targetSpace - - targetType - - sourceId - additionalProperties: false - required: - - aliases - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-disable-legacy-url-aliases - /internal/security/analytics/_record_violations: - post: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: - anyOf: - - type: array - items: - anyOf: - - type: object - properties: - type: - type: string - enum: - - csp-violation - age: - type: number - url: - type: string - user_agent: - type: string - body: - type: object - properties: - documentURL: - type: string - referrer: - type: string - blockedURL: - type: string - effectiveDirective: - type: string - originalPolicy: - type: string - sourceFile: - type: string - sample: - type: string - disposition: - type: string - enum: - - enforce - - report - statusCode: - type: number - lineNumber: - type: number - columnNumber: - type: number - additionalProperties: false - required: - - documentURL - - effectiveDirective - - originalPolicy - - disposition - - statusCode - additionalProperties: false - required: - - type - - url - - body - - type: object - properties: - type: - type: string - enum: - - permissions-policy-violation - age: - type: number - url: - type: string - user_agent: - type: string - body: - type: object - properties: - policyId: - type: string - featureId: - type: string - sourceFile: - type: string - lineNumber: - type: number - columnNumber: - type: number - disposition: - type: string - enum: - - enforce - - report - additionalProperties: false - required: - - disposition - additionalProperties: false - required: - - type - - url - - body - - type: object - properties: - type: - type: string - enum: - - csp-violation - age: - type: number - url: - type: string - user_agent: - type: string - body: - type: object - properties: - documentURL: - type: string - referrer: - type: string - blockedURL: - type: string - effectiveDirective: - type: string - originalPolicy: - type: string - sourceFile: - type: string - sample: - type: string - disposition: - type: string - enum: - - enforce - - report - statusCode: - type: number - lineNumber: - type: number - columnNumber: - type: number - additionalProperties: false - required: - - documentURL - - effectiveDirective - - originalPolicy - - disposition - - statusCode - additionalProperties: false - required: - - type - - url - - body - - type: object - properties: - type: - type: string - enum: - - permissions-policy-violation - age: - type: number - url: - type: string - user_agent: - type: string - body: - type: object - properties: - policyId: - type: string - featureId: - type: string - sourceFile: - type: string - lineNumber: - type: number - columnNumber: - type: number - disposition: - type: string - enum: - - enforce - - report - additionalProperties: false - required: - - disposition - additionalProperties: false - required: - - type - - url - - body - responses: {} - parameters: [] - operationId: post-security-analytics-record-violations - /api/security/privileges: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: includeActions - in: query - required: false - schema: - type: string - enum: - - 'true' - - 'false' - - name: respectLicenseLevel - in: query - required: false - schema: - type: string - enum: - - 'true' - - 'false' - operationId: get-security-privileges - /api/security/session/_invalidate: - post: - summary: Invalidate user sessions - tags: [] - description: '[Required authorization] Route required privileges: superuser.' - requestBody: - content: - application/json: - schema: - type: object - properties: - match: - type: string - enum: - - all - - query - query: - oneOf: - - type: object - properties: - provider: - type: object - properties: - type: - type: string - name: - type: string - additionalProperties: false - required: - - type - username: - type: string - additionalProperties: false - required: - - provider - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - additionalProperties: false - required: - - match - - query - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-session-invalidate - /api/encrypted_saved_objects/_rotate_key: - post: - summary: Rotate a key for encrypted saved objects - tags: - - saved objects - description: |- - If a saved object cannot be decrypted using the primary encryption key, Kibana attempts to decrypt it using the specified decryption-only keys. In most of the cases this overhead is negligible, but if you're dealing with a large number of saved objects and experiencing performance issues, you may want to rotate the encryption key. - NOTE: Bulk key rotation can consume a considerable amount of resources and hence only user with a superuser role can trigger it.

[Required authorization] Route required privileges: superuser. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: batch_size - in: query - required: false - schema: - type: number - default: 10000 - minimum: 1 - maximum: 10000 - - name: type - in: query - required: false - schema: - type: string - operationId: post-encrypted-saved-objects-rotate-key - /api/files/public/blob/{fileName}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: fileName - in: path - required: false - schema: - type: string - minLength: 1 - maxLength: 256 - - name: token - in: query - required: true - schema: - type: string - operationId: get-files-public-blob-filename - /api/files/files/defaultImage/{id}/blob/{fileName}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: files:defaultImage.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - - name: fileName - in: path - required: false - schema: - type: string - minLength: 1 - maxLength: 256 - operationId: get-files-files-defaultimage-id-blob-filename - /api/files/files/casesFilesCases/{id}/blob/{fileName}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: casesFilesCasesRead.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - - name: fileName - in: path - required: false - schema: - type: string - minLength: 1 - maxLength: 256 - operationId: get-files-files-casesfilescases-id-blob-filename - /api/files/files/observabilityFilesCases/{id}/blob/{fileName}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: observabilityFilesCasesRead.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - - name: fileName - in: path - required: false - schema: - type: string - minLength: 1 - maxLength: 256 - operationId: get-files-files-observabilityfilescases-id-blob-filename - /api/files/files/securitySolutionFilesCases/{id}/blob/{fileName}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolutionFilesCasesRead.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - - name: fileName - in: path - required: false - schema: - type: string - minLength: 1 - maxLength: 256 - operationId: get-files-files-securitysolutionfilescases-id-blob-filename - /api/actions/connector/{id}: - post: - summary: Create a connector - tags: - - connectors - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The display name for the connector. - connector_type_id: - type: string - description: The type of connector. - config: - type: object - default: {} - additionalProperties: {} - secrets: - type: object - default: {} - additionalProperties: {} - additionalProperties: false - required: - - name - - connector_type_id - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the connector. - name: - type: string - description: ' The name of the rule.' - config: - type: object - additionalProperties: {} - connector_type_id: - type: string - description: The connector type identifier. - is_missing_secrets: - type: boolean - description: Indicates whether the connector is missing secrets. - is_preconfigured: - type: boolean - description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' - is_deprecated: - type: boolean - description: Indicates whether the connector is deprecated. - is_system_action: - type: boolean - description: Indicates whether the connector is used for system actions. - additionalProperties: false - required: - - id - - name - - connector_type_id - - is_preconfigured - - is_deprecated - - is_system_action - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: false - schema: - type: string - description: An identifier for the connector. - operationId: post-actions-connector-id - delete: - summary: Delete a connector - tags: - - connectors - description: 'WARNING: When you delete a connector, it cannot be recovered.' - responses: - '204': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: An identifier for the connector. - operationId: delete-actions-connector-id - get: - summary: Get connector information - tags: - - connectors - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the connector. - name: - type: string - description: ' The name of the rule.' - config: - type: object - additionalProperties: {} - connector_type_id: - type: string - description: The connector type identifier. - is_missing_secrets: - type: boolean - description: Indicates whether the connector is missing secrets. - is_preconfigured: - type: boolean - description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' - is_deprecated: - type: boolean - description: Indicates whether the connector is deprecated. - is_system_action: - type: boolean - description: Indicates whether the connector is used for system actions. - additionalProperties: false - required: - - id - - name - - connector_type_id - - is_preconfigured - - is_deprecated - - is_system_action - parameters: - - name: id - in: path - required: true - schema: - type: string - description: An identifier for the connector. - operationId: get-actions-connector-id - put: - summary: Update a connector - tags: - - connectors - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The display name for the connector. - config: - type: object - default: {} - additionalProperties: {} - secrets: - type: object - default: {} - additionalProperties: {} - additionalProperties: false - required: - - name - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the connector. - name: - type: string - description: ' The name of the rule.' - config: - type: object - additionalProperties: {} - connector_type_id: - type: string - description: The connector type identifier. - is_missing_secrets: - type: boolean - description: Indicates whether the connector is missing secrets. - is_preconfigured: - type: boolean - description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' - is_deprecated: - type: boolean - description: Indicates whether the connector is deprecated. - is_system_action: - type: boolean - description: Indicates whether the connector is used for system actions. - additionalProperties: false - required: - - id - - name - - connector_type_id - - is_preconfigured - - is_deprecated - - is_system_action - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: An identifier for the connector. - operationId: put-actions-connector-id - /api/actions/connectors: - get: - summary: Get all connectors - tags: - - connectors - responses: {} - parameters: [] - operationId: get-actions-connectors - /api/actions/connector_types: - get: - summary: Get connector types - tags: - - connectors - description: You do not need any Kibana feature privileges to run this API. - responses: {} - parameters: - - name: feature_id - in: query - required: false - schema: - type: string - description: A filter to limit the retrieved connector types to those that support a specific feature (such as alerting or cases). - operationId: get-actions-connector-types - /api/actions/connector/{id}/_execute: - post: - summary: Run a connector - tags: - - connectors - description: You can use this API to test an action that involves interaction with Kibana services or integrations with third-party systems. - requestBody: - content: - application/json: - schema: - type: object - properties: - params: - type: object - additionalProperties: {} - additionalProperties: false - required: - - params - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the connector. - name: - type: string - description: ' The name of the rule.' - config: - type: object - additionalProperties: {} - connector_type_id: - type: string - description: The connector type identifier. - is_missing_secrets: - type: boolean - description: Indicates whether the connector is missing secrets. - is_preconfigured: - type: boolean - description: 'Indicates whether the connector is preconfigured. If true, the `config` and `is_missing_secrets` properties are omitted from the response. ' - is_deprecated: - type: boolean - description: Indicates whether the connector is deprecated. - is_system_action: - type: boolean - description: Indicates whether the connector is used for system actions. - additionalProperties: false - required: - - id - - name - - connector_type_id - - is_preconfigured - - is_deprecated - - is_system_action - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: An identifier for the connector. - operationId: post-actions-connector-id-execute - /api/alerting/rule/{id}: - post: - summary: Create a rule - tags: - - alerting - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the rule. While this name does not have to be unique, a distinctive name can help you identify a rule. - rule_type_id: - type: string - description: The rule type identifier. - enabled: - type: boolean - description: Indicates whether you want to run the rule on an interval basis after it is created. - default: true - consumer: - type: string - description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' - tags: - type: array - description: The tags for the rule. - default: [] - items: - type: string - throttle: - nullable: true - type: string - description: 'Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - params: - type: object - description: The parameters for the rule. - default: {} - additionalProperties: {} - schedule: - type: object - description: The check interval, which specifies how frequently the rule conditions are checked. - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - actions: - type: array - default: [] - items: - type: object - description: An action that runs under defined conditions. - properties: - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - default: {} - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if `notify_when` is set to `onThrottleInterval`. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - alerts_filter: - type: object - description: Conditions that affect whether the action runs. If you specify multiple conditions, all conditions must be met for the action to run. For example, if an alert occurs within the specified time frame and matches the query, the action runs. - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - description: Defines a period that limits whether the action runs. - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - description: Defines the range of time in a day that the action can run. If the `start` value is `00:00` and the `end` value is `24:00`, actions be generated all day. - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - maxItems: 10 - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - maxLength: 10000 - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - name - - rule_type_id - - consumer - - schedule - examples: - createEsQueryEsqlRuleRequest: - summary: Elasticsearch query rule (ES|QL) - description: | - Create an Elasticsearch query rule that uses Elasticsearch Query Language (ES|QL) to define its query and a server log connector to send notifications. - value: - name: my Elasticsearch query ESQL rule - params: - searchType: esqlQuery - esqlQuery: - esql: FROM kibana_sample_data_logs | KEEP bytes, clientip, host, geo.dest | where geo.dest != "GB" | STATS sumbytes = sum(bytes) by clientip, host | WHERE sumbytes > 5000 | SORT sumbytes desc | LIMIT 10 - timeField: '@timestamp' - timeWindowSize: 1 - timeWindowUnit: d - size: 0 - thresholdComparator: '>' - threshold: - - 0 - consumer: stackAlerts - rule_type_id: .es-query - schedule: - interval: 1d - actions: - - group: query matched - id: d0db1fe0-78d6-11ee-9177-f7d404c8c945 - params: - level: info - message: |- - Elasticsearch query rule '{{rule.name}}' is active: - - Value: {{context.value}} - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - Timestamp: {{context.date}} - Link: {{context.link}} - frequency: - summary: false - notify_when: onActiveAlert - createEsQueryRuleRequest: - summary: Elasticsearch query rule (DSL) - description: | - Create an Elasticsearch query rule that uses Elasticsearch query domain specific language (DSL) to define its query and a server log connector to send notifications. - value: - actions: - - group: query matched - params: - level: info - message: The system has detected {{alerts.new.count}} new, {{alerts.ongoing.count}} ongoing, and {{alerts.recovered.count}} recovered alerts. - id: fdbece50-406c-11ee-850e-c71febc4ca7f - frequency: - throttle: 1d - summary: true - notify_when: onThrottleInterval - - group: recovered - params: - level: info - message: Recovered - id: fdbece50-406c-11ee-850e-c71febc4ca7f - frequency: - summary: false - notify_when: onActionGroupChange - consumer: alerts - name: my Elasticsearch query rule - params: - esQuery: '"""{"query":{"match_all" : {}}}"""' - index: - - kibana_sample_data_logs - size: 100 - threshold: - - 100 - thresholdComparator: '>' - timeField: '@timestamp' - timeWindowSize: 1 - timeWindowUnit: d - rule_type_id: .es-query - schedule: - interval: 1d - createEsQueryKqlRuleRequest: - summary: Elasticsearch query rule (KQL) - description: Create an Elasticsearch query rule that uses Kibana query language (KQL). - value: - consumer: alerts - name: my Elasticsearch query KQL rule - params: - aggType: count - excludeHitsFromPreviousRun: true - groupBy: all - searchConfiguration: - query: - query: '""geo.src : "US" ""' - language: kuery - index: 90943e30-9a47-11e8-b64d-95841ca0b247 - searchType: searchSource - size: 100 - threshold: - - 1000 - thresholdComparator: '>' - timeWindowSize: 5 - timeWindowUnit: m - rule_type_id: .es-query - schedule: - interval: 1m - createIndexThresholdRuleRequest: - summary: Index threshold rule - description: | - Create an index threshold rule that uses a server log connector to send notifications when the threshold is met. - value: - actions: - - id: 48de3460-f401-11ed-9f8e-399c75a2deeb - frequency: - notify_when: onActionGroupChange - summary: false - group: threshold met - params: - level: info - message: |- - Rule '{{rule.name}}' is active for group '{{context.group}}': - - - Value: {{context.value}} - - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - - Timestamp: {{context.date}} - alert_delay: - active: 3 - consumer: alerts - name: my rule - params: - aggType: avg - termSize: 6 - thresholdComparator: '>' - timeWindowSize: 5 - timeWindowUnit: m - groupBy: top - threshold: - - 1000 - index: - - .test-index - timeField: '@timestamp' - aggField: sheet.version - termField: name.keyword - rule_type_id: .index-threshold - schedule: - interval: 1m - tags: - - cpu - createTrackingContainmentRuleRequest: - summary: Tracking containment rule - description: | - Create a tracking containment rule that checks when an entity is contained or no longer contained within a boundary. - value: - consumer: alerts - name: my tracking rule - params: - index: kibana_sample_data_logs - dateField": '@timestamp' - geoField: geo.coordinates - entity: agent.keyword - boundaryType: entireIndex - boundaryIndexTitle: boundary* - boundaryGeoField: location - boundaryNameField: name - indexId: 90943e30-9a47-11e8-b64d-95841ca0b247 - boundaryIndexId: 0cd90abf-abe7-44c7-909a-f621bbbcfefc - rule_type_id: .geo-containment - schedule: - interval: 1h - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the rule. - enabled: - type: boolean - description: Indicates whether you want to run the rule on an interval basis after it is created. - name: - type: string - description: ' The name of the rule.' - tags: - type: array - items: - type: string - description: The tags for the rule. - rule_type_id: - type: string - description: The rule type identifier. - consumer: - type: string - description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' - schedule: - type: object - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - actions: - type: array - items: - type: object - properties: - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - connector_type_id: - type: string - description: The type of connector. This property appears in responses but cannot be set in requests. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - alerts_filter: - type: object - description: Defines a period that limits whether the action runs. - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - - connector_type_id - - params - params: - type: object - description: The parameters for the rule. - additionalProperties: {} - mapped_params: - type: object - additionalProperties: {} - scheduled_task_id: - type: string - description: Identifier of the scheduled task. - created_by: - nullable: true - type: string - description: The identifier for the user that created the rule. - updated_by: - nullable: true - type: string - description: The identifier for the user that updated this rule most recently. - created_at: - type: string - description: The date and time that the rule was created. - updated_at: - type: string - description: The date and time that the rule was updated most recently. - api_key_owner: - nullable: true - type: string - description: The owner of the API key that is associated with the rule and used to run background tasks. - api_key_created_by_user: - nullable: true - type: boolean - description: Indicates whether the API key that is associated with the rule was created by the user. - throttle: - nullable: true - type: string - description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - deprecated: true - mute_all: - type: boolean - description: Indicates whether all alerts are muted. - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - muted_alert_ids: - type: array - items: - type: string - description: 'List of identifiers of muted alerts. ' - execution_status: - type: object - properties: - status: - description: Status of rule execution. - type: string - enum: - - ok - - active - - error - - warning - - pending - - unknown - last_execution_date: - type: string - description: The date and time when rule was executed last. - last_duration: - type: number - description: Duration of last execution of the rule. - error: - type: object - properties: - reason: - description: Reason for error. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - message: - type: string - description: Error message. - additionalProperties: false - required: - - reason - - message - warning: - type: object - properties: - reason: - description: Reason for warning. - type: string - enum: - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - message: - type: string - description: Warning message. - additionalProperties: false - required: - - reason - - message - additionalProperties: false - required: - - status - - last_execution_date - monitoring: - type: object - description: Monitoring details of the rule. - properties: - run: - type: object - description: Rule run details. - properties: - history: - type: array - description: History of the rule run. - items: - type: object - properties: - success: - type: boolean - description: Indicates whether the rule run was successful. - timestamp: - type: number - description: Time of rule run. - duration: - type: number - description: Duration of the rule run. - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - additionalProperties: false - required: - - success - - timestamp - calculated_metrics: - type: object - description: Calculation of different percentiles and success ratio. - properties: - p50: - type: number - p95: - type: number - p99: - type: number - success_ratio: - type: number - additionalProperties: false - required: - - success_ratio - last_run: - type: object - properties: - timestamp: - type: string - description: Time of the most recent rule run. - metrics: - type: object - properties: - duration: - type: number - description: Duration of most recent rule run. - total_search_duration_ms: - nullable: true - type: number - description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. - total_indexing_duration_ms: - nullable: true - type: number - description: Total time spent indexing documents during last rule run in milliseconds. - total_alerts_detected: - nullable: true - type: number - description: Total number of alerts detected during last rule run. - total_alerts_created: - nullable: true - type: number - description: Total number of alerts created during last rule run. - gap_duration_s: - nullable: true - type: number - description: Duration in seconds of rule run gap. - gap_range: - nullable: true - type: object - properties: - lte: - type: string - description: Start of the gap range. - gte: - type: string - description: End of the gap range. - additionalProperties: false - required: - - lte - - gte - additionalProperties: false - additionalProperties: false - required: - - timestamp - - metrics - additionalProperties: false - required: - - history - - calculated_metrics - - last_run - additionalProperties: false - required: - - run - snooze_schedule: - type: array - items: - type: object - properties: - id: - type: string - description: Identifier of the rule snooze schedule. - duration: - type: number - description: Duration of the rule snooze schedule. - rRule: - type: object - properties: - dtstart: - type: string - description: Rule start date in Coordinated Universal Time (UTC). - tzid: - type: string - description: Indicates timezone abbreviation. - freq: - description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. - type: integer - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - until: - type: string - description: Recur the rule until this date. - count: - type: number - description: Number of times the rule should recur until it stops. - interval: - type: number - description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. - wkst: - description: Indicates the start of week, defaults to Monday. - type: string - enum: - - MO - - TU - - WE - - TH - - FR - - SA - - SU - byweekday: - nullable: true - type: array - items: - description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. - anyOf: - - type: string - - type: number - bymonth: - nullable: true - type: array - items: - type: number - description: Indicates months of the year that this rule should recur. - bysetpos: - nullable: true - type: array - items: - type: number - description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. - bymonthday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the month to recur. - byyearday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the year that this rule should recur. - byweekno: - nullable: true - type: array - items: - type: number - description: Indicates number of the week hours to recur. - byhour: - nullable: true - type: array - items: - type: number - description: Indicates hours of the day to recur. - byminute: - nullable: true - type: array - items: - type: number - description: Indicates minutes of the hour to recur. - bysecond: - nullable: true - type: array - items: - type: number - description: Indicates seconds of the day to recur. - additionalProperties: false - required: - - dtstart - - tzid - skipRecurrences: - type: array - items: - type: string - description: Skips recurrence of rule on this date. - additionalProperties: false - required: - - duration - - rRule - active_snoozes: - type: array - items: - type: string - description: List of active snoozes for the rule. - is_snoozed_until: - nullable: true - type: string - description: The date when the rule will no longer be snoozed. - last_run: - nullable: true - type: object - properties: - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - outcome_order: - type: number - description: Order of the outcome. - warning: - nullable: true - description: Warning of last rule execution. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - outcome_msg: - nullable: true - type: array - items: - type: string - description: Outcome message generated during last rule run. - alerts_count: - type: object - properties: - active: - nullable: true - type: number - description: Number of active alerts during last run. - new: - nullable: true - type: number - description: Number of new alerts during last run. - recovered: - nullable: true - type: number - description: Number of recovered alerts during last run. - ignored: - nullable: true - type: number - description: Number of ignored alerts during last run. - additionalProperties: false - additionalProperties: false - required: - - outcome - - alerts_count - next_run: - nullable: true - type: string - description: Date and time of the next run of the rule. - revision: - type: number - description: The rule revision number. - running: - nullable: true - type: boolean - description: Indicates whether the rule is running. - view_in_app_relative_url: - nullable: true - type: string - description: Relative URL to view rule in the app. - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - description: User-created content that describes alert causes and remdiation. - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - id - - enabled - - name - - tags - - rule_type_id - - consumer - - schedule - - actions - - params - - created_by - - updated_by - - created_at - - updated_at - - api_key_owner - - mute_all - - muted_alert_ids - - execution_status - - revision - examples: - createEsQueryEsqlRuleResponse: - summary: Elasticsearch query rule (ES|QL) - description: The response for successfully creating an Elasticsearch query rule that uses Elasticsearch Query Language (ES|QL). - value: - id: e0d62360-78e8-11ee-9177-f7d404c8c945 - enabled: true - name: my Elasticsearch query ESQL rule - tags: [] - rule_type_id: .es-query - consumer: stackAlerts - schedule: - interval: 1d - actions: - - group: query matched - id: d0db1fe0-78d6-11ee-9177-f7d404c8c945 - params: - level: info - message: |- - Elasticsearch query rule '{{rule.name}}' is active: - - Value: {{context.value}} - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - Timestamp: {{context.date}} - Link: {{context.link}} - connector_type_id: .server-log - frequency: - summary: false - notify_when: onActiveAlert - throttle: null - uuid: bfe370a3-531b-4855-bbe6-ad739f578844 - params: - searchType: esqlQuery - esqlQuery: - esql: FROM kibana_sample_data_logs | keep bytes, clientip, host, geo.dest | WHERE geo.dest != "GB" | stats sumbytes = sum(bytes) by clientip, host | WHERE sumbytes > 5000 | sort sumbytes desc | limit 10 - timeField: '@timestamp' - timeWindowSize: 1 - timeWindowUnit: d - size: 0 - thresholdComparator: '>' - threshold: - - 0 - excludeHitsFromPreviousRun": true, - aggType: count - groupBy: all - scheduled_task_id: e0d62360-78e8-11ee-9177-f7d404c8c945 - created_by: elastic - updated_by: elastic", - created_at: '2023-11-01T19:00:10.453Z' - updated_at: '2023-11-01T19:00:10.453Z' - api_key_owner: elastic - api_key_created_by_user: false - throttle: null - mute_all: false - notify_when: null - muted_alert_ids: [] - execution_status: - status: pending - last_execution_date: '2023-11-01T19:00:10.453Z' - revision: 0 - running: false - createEsQueryRuleResponse: - summary: Elasticsearch query rule (DSL) - description: The response for successfully creating an Elasticsearch query rule that uses Elasticsearch query domain specific language (DSL). - value: - id: 58148c70-407f-11ee-850e-c71febc4ca7f - enabled: true - name: my Elasticsearch query rule - tags: [] - rule_type_id: .es-query - consumer: alerts - schedule: - interval: 1d - actions: - - group: query matched - id: fdbece50-406c-11ee-850e-c71febc4ca7f - params: - level: info - message: The system has detected {{alerts.new.count}} new, {{alerts.ongoing.count}} ongoing, and {{alerts.recovered.count}} recovered alerts. - connector_type_id: .server-log - frequency: - summary: true - notify_when: onThrottleInterval - throttle: 1d - uuid: 53f3c2a3-e5d0-4cfa-af3b-6f0881385e78 - - group: recovered - id: fdbece50-406c-11ee-850e-c71febc4ca7f - params: - level: info - message: Recovered - connector_type_id: .server-log - frequency: - summary: false - notify_when: onActionGroupChange - throttle: null - uuid: 2324e45b-c0df-45c7-9d70-4993e30be758 - params: - thresholdComparator: '>' - timeWindowSize: 1 - timeWindowUnit: d - threshold: - - 100 - size: 100 - timeField: '@timestamp' - index: - - kibana_sample_data_logs - esQuery: '"""{"query":{"match_all" : {}}}"""' - excludeHitsFromPreviousRun: true - aggType: count - groupBy: all - searchType: esQuery - scheduled_task_id: 58148c70-407f-11ee-850e-c71febc4ca7f - created_by: elastic - updated_by: elastic - created_at: '2023-08-22T00:03:38.263Z' - updated_at: '2023-08-22T00:03:38.263Z' - api_key_owner: elastic - api_key_created_by_user: false - throttle: null - mute_all: false - notify_when: null - muted_alert_ids: [] - execution_status: - status: pending - last_execution_date: '2023-08-22T00:03:38.263Z' - revision: 0 - running: false - createEsQueryKqlRuleResponse: - summary: Elasticsearch query rule (KQL) - description: The response for successfully creating an Elasticsearch query rule that uses Kibana query language (KQL). - value: - id: 7bd506d0-2284-11ee-8fad-6101956ced88 - enabled: true - name: my Elasticsearch query KQL rule" - tags: [] - rule_type_id: .es-query - consumer: alerts - schedule: - interval: 1m - actions: [] - params: - searchConfiguration: - query: - query: '""geo.src : "US" ""' - language: kuery - index: 90943e30-9a47-11e8-b64d-95841ca0b247 - searchType: searchSource - timeWindowSize: 5 - timeWindowUnit: m - threshold: - - 1000 - thresholdComparator: '>' - size: 100 - aggType: count - groupBy: all - excludeHitsFromPreviousRun: true - created_by: elastic - updated_by: elastic - created_at: '2023-07-14T20:24:50.729Z' - updated_at: '2023-07-14T20:24:50.729Z' - api_key_owner: elastic - api_key_created_by_user: false - throttle: null - notify_when: null - mute_all: false - muted_alert_ids: [] - scheduled_task_id: 7bd506d0-2284-11ee-8fad-6101956ced88 - execution_status: - status: pending - last_execution_date: '2023-07-14T20:24:50.729Z' - revision: 0 - running: false - createIndexThresholdRuleResponse: - summary: Index threshold rule - description: The response for successfully creating an index threshold rule. - value: - actions: - - group: threshold met - id: dceeb5d0-6b41-11eb-802b-85b0c1bc8ba2 - uuid: 07aef2a0-9eed-4ef9-94ec-39ba58eb609d - connector_type_id: .server-log - frequency: - notify_when: onActionGroupChange - summary: false - throttle: null - params: - level: info - message: |- - Rule {{rule.name}} is active for group {{context.group} : - - - Value: {{context.value}} - - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - - Timestamp: {{context.date}} - alert_delay: - active: 3 - api_key_created_by_user: false - api_key_owner: elastic - consumer: alerts - created_at: '2022-06-08T17:20:31.632Z' - created_by: elastic - enabled: true - execution_status: - last_execution_date: '2022-06-08T17:20:31.632Z' - status: pending - id: 41893910-6bca-11eb-9e0d-85d233e3ee35 - muted_alert_ids: [] - mute_all: false - name: my rule - notify_when: null - params: - aggType: avg - termSize: 6 - thresholdComparator: '>' - timeWindowSize: 5 - timeWindowUnit: m - groupBy: top - threshold: - - 1000 - index: - - .test-index - timeField: '@timestamp' - aggField: sheet.version - termField: name.keyword - revision: 0 - rule_type_id: .index-threshold - running: false - schedule: - interval: 1m - scheduled_task_id: 425b0800-6bca-11eb-9e0d-85d233e3ee35 - tags: - - cpu - throttle: null - updated_at: '2022-06-08T17:20:31.632Z' - updated_by: elastic - createTrackingContainmentRuleResponse: - summary: Tracking containment rule - description: The response for successfully creating a tracking containment rule. - value: - id: b6883f9d-5f70-4758-a66e-369d7c26012f - name: my tracking rule - tags: [] - enabled: true - consumer: alerts - throttle: null - revision: 1 - running: false - schedule: - interval: 1h - params: - index: kibana_sample_data_logs - dateField: '@timestamp' - geoField: geo.coordinates - entity: agent.keyword - boundaryType: entireIndex - boundaryIndexTitle: boundary* - boundaryGeoField: location - boundaryNameField: name - indexId: 90943e30-9a47-11e8-b64d-95841ca0b247 - boundaryIndexId: 0cd90abf-abe7-44c7-909a-f621bbbcfefc - rule_type_id: .geo-containment - created_by: elastic - updated_by: elastic - created_at: '2024-02-14T19:52:55.920Z' - updated_at: '2024-02-15T03:24:32.574Z' - api_key_owner: elastic - notify_when: null - mute_all: false - muted_alert_ids: [] - scheduled_task_id: b6883f9d-5f70-4758-a66e-369d7c26012f - execution_status: - status: ok - last_execution_date: '2024-02-15T03:25:38.125Z' - last_duration: 74 - actions: [] - last_run: - alerts_count: - active: 0 - new: 0 - recovered: 0 - ignored: 0 - outcome_msg: null - outcome_order: 0 - outcome: succeeded - warning: null - next_run: '2024-02-15T03:26:38.033Z' - api_key_created_by_user: false - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '409': - description: Indicates that the rule id is already in use. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: false - schema: - type: string - description: The identifier for the rule. If it is omitted, an ID is randomly generated. - operationId: post-alerting-rule-id - get: - summary: Get rule details - tags: - - alerting - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the rule. - enabled: - type: boolean - description: Indicates whether you want to run the rule on an interval basis after it is created. - name: - type: string - description: ' The name of the rule.' - tags: - type: array - items: - type: string - description: The tags for the rule. - rule_type_id: - type: string - description: The rule type identifier. - consumer: - type: string - description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' - schedule: - type: object - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - actions: - type: array - items: - type: object - properties: - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - connector_type_id: - type: string - description: The type of connector. This property appears in responses but cannot be set in requests. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - alerts_filter: - type: object - description: Defines a period that limits whether the action runs. - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - - connector_type_id - - params - params: - type: object - description: The parameters for the rule. - additionalProperties: {} - mapped_params: - type: object - additionalProperties: {} - scheduled_task_id: - type: string - description: Identifier of the scheduled task. - created_by: - nullable: true - type: string - description: The identifier for the user that created the rule. - updated_by: - nullable: true - type: string - description: The identifier for the user that updated this rule most recently. - created_at: - type: string - description: The date and time that the rule was created. - updated_at: - type: string - description: The date and time that the rule was updated most recently. - api_key_owner: - nullable: true - type: string - description: The owner of the API key that is associated with the rule and used to run background tasks. - api_key_created_by_user: - nullable: true - type: boolean - description: Indicates whether the API key that is associated with the rule was created by the user. - throttle: - nullable: true - type: string - description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - deprecated: true - mute_all: - type: boolean - description: Indicates whether all alerts are muted. - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - muted_alert_ids: - type: array - items: - type: string - description: 'List of identifiers of muted alerts. ' - execution_status: - type: object - properties: - status: - description: Status of rule execution. - type: string - enum: - - ok - - active - - error - - warning - - pending - - unknown - last_execution_date: - type: string - description: The date and time when rule was executed last. - last_duration: - type: number - description: Duration of last execution of the rule. - error: - type: object - properties: - reason: - description: Reason for error. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - message: - type: string - description: Error message. - additionalProperties: false - required: - - reason - - message - warning: - type: object - properties: - reason: - description: Reason for warning. - type: string - enum: - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - message: - type: string - description: Warning message. - additionalProperties: false - required: - - reason - - message - additionalProperties: false - required: - - status - - last_execution_date - monitoring: - type: object - description: Monitoring details of the rule. - properties: - run: - type: object - description: Rule run details. - properties: - history: - type: array - description: History of the rule run. - items: - type: object - properties: - success: - type: boolean - description: Indicates whether the rule run was successful. - timestamp: - type: number - description: Time of rule run. - duration: - type: number - description: Duration of the rule run. - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - additionalProperties: false - required: - - success - - timestamp - calculated_metrics: - type: object - description: Calculation of different percentiles and success ratio. - properties: - p50: - type: number - p95: - type: number - p99: - type: number - success_ratio: - type: number - additionalProperties: false - required: - - success_ratio - last_run: - type: object - properties: - timestamp: - type: string - description: Time of the most recent rule run. - metrics: - type: object - properties: - duration: - type: number - description: Duration of most recent rule run. - total_search_duration_ms: - nullable: true - type: number - description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. - total_indexing_duration_ms: - nullable: true - type: number - description: Total time spent indexing documents during last rule run in milliseconds. - total_alerts_detected: - nullable: true - type: number - description: Total number of alerts detected during last rule run. - total_alerts_created: - nullable: true - type: number - description: Total number of alerts created during last rule run. - gap_duration_s: - nullable: true - type: number - description: Duration in seconds of rule run gap. - gap_range: - nullable: true - type: object - properties: - lte: - type: string - description: Start of the gap range. - gte: - type: string - description: End of the gap range. - additionalProperties: false - required: - - lte - - gte - additionalProperties: false - additionalProperties: false - required: - - timestamp - - metrics - additionalProperties: false - required: - - history - - calculated_metrics - - last_run - additionalProperties: false - required: - - run - snooze_schedule: - type: array - items: - type: object - properties: - id: - type: string - description: Identifier of the rule snooze schedule. - duration: - type: number - description: Duration of the rule snooze schedule. - rRule: - type: object - properties: - dtstart: - type: string - description: Rule start date in Coordinated Universal Time (UTC). - tzid: - type: string - description: Indicates timezone abbreviation. - freq: - description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. - type: integer - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - until: - type: string - description: Recur the rule until this date. - count: - type: number - description: Number of times the rule should recur until it stops. - interval: - type: number - description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. - wkst: - description: Indicates the start of week, defaults to Monday. - type: string - enum: - - MO - - TU - - WE - - TH - - FR - - SA - - SU - byweekday: - nullable: true - type: array - items: - description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. - anyOf: - - type: string - - type: number - bymonth: - nullable: true - type: array - items: - type: number - description: Indicates months of the year that this rule should recur. - bysetpos: - nullable: true - type: array - items: - type: number - description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. - bymonthday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the month to recur. - byyearday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the year that this rule should recur. - byweekno: - nullable: true - type: array - items: - type: number - description: Indicates number of the week hours to recur. - byhour: - nullable: true - type: array - items: - type: number - description: Indicates hours of the day to recur. - byminute: - nullable: true - type: array - items: - type: number - description: Indicates minutes of the hour to recur. - bysecond: - nullable: true - type: array - items: - type: number - description: Indicates seconds of the day to recur. - additionalProperties: false - required: - - dtstart - - tzid - skipRecurrences: - type: array - items: - type: string - description: Skips recurrence of rule on this date. - additionalProperties: false - required: - - duration - - rRule - active_snoozes: - type: array - items: - type: string - description: List of active snoozes for the rule. - is_snoozed_until: - nullable: true - type: string - description: The date when the rule will no longer be snoozed. - last_run: - nullable: true - type: object - properties: - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - outcome_order: - type: number - description: Order of the outcome. - warning: - nullable: true - description: Warning of last rule execution. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - outcome_msg: - nullable: true - type: array - items: - type: string - description: Outcome message generated during last rule run. - alerts_count: - type: object - properties: - active: - nullable: true - type: number - description: Number of active alerts during last run. - new: - nullable: true - type: number - description: Number of new alerts during last run. - recovered: - nullable: true - type: number - description: Number of recovered alerts during last run. - ignored: - nullable: true - type: number - description: Number of ignored alerts during last run. - additionalProperties: false - additionalProperties: false - required: - - outcome - - alerts_count - next_run: - nullable: true - type: string - description: Date and time of the next run of the rule. - revision: - type: number - description: The rule revision number. - running: - nullable: true - type: boolean - description: Indicates whether the rule is running. - view_in_app_relative_url: - nullable: true - type: string - description: Relative URL to view rule in the app. - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - description: User-created content that describes alert causes and remdiation. - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - id - - enabled - - name - - tags - - rule_type_id - - consumer - - schedule - - actions - - params - - created_by - - updated_by - - created_at - - updated_at - - api_key_owner - - mute_all - - muted_alert_ids - - execution_status - - revision - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: get-alerting-rule-id - put: - summary: Update a rule - tags: - - alerting - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: The name of the rule. While this name does not have to be unique, a distinctive name can help you identify a rule. - tags: - type: array - default: [] - items: - type: string - description: The tags for the rule. - schedule: - type: object - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - throttle: - nullable: true - type: string - description: 'Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - params: - type: object - description: The parameters for the rule. - default: {} - additionalProperties: {} - actions: - type: array - default: [] - items: - type: object - description: An action that runs under defined conditions. - properties: - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - default: {} - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if `notify_when` is set to `onThrottleInterval`. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - alerts_filter: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - description: Defines a period that limits whether the action runs. - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - description: Defines the range of time in a day that the action can run. If the `start` value is `00:00` and the `end` value is `24:00`, actions be generated all day. - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - maxItems: 10 - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - maxLength: 10000 - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - name - - schedule - examples: - updateRuleRequest: - summary: Index threshold rule - description: Update an index threshold rule that uses a server log connector to send notifications when the threshold is met. - value: - actions: - - frequency: - summary: false - notify_when: onActionGroupChange - group: threshold met - id: 96b668d0-a1b6-11ed-afdf-d39a49596974 - params: - level: info - message: |- - Rule {{rule.name}} is active for group {{context.group}}: - - - Value: {{context.value}} - - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - - Timestamp: {{context.date}} - params: - aggField: sheet.version - aggType: avg - index: - - .updated-index - groupBy: top - termField: name.keyword - termSize: 6 - threshold: - - 1000 - thresholdComparator: '>' - timeField: '@timestamp' - timeWindowSize: 5 - timeWindowUnit: m - name: new name - schedule: - interval: 1m - tags: [] - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the rule. - enabled: - type: boolean - description: Indicates whether you want to run the rule on an interval basis after it is created. - name: - type: string - description: ' The name of the rule.' - tags: - type: array - items: - type: string - description: The tags for the rule. - rule_type_id: - type: string - description: The rule type identifier. - consumer: - type: string - description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' - schedule: - type: object - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - actions: - type: array - items: - type: object - properties: - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - connector_type_id: - type: string - description: The type of connector. This property appears in responses but cannot be set in requests. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - alerts_filter: - type: object - description: Defines a period that limits whether the action runs. - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - - connector_type_id - - params - params: - type: object - description: The parameters for the rule. - additionalProperties: {} - mapped_params: - type: object - additionalProperties: {} - scheduled_task_id: - type: string - description: Identifier of the scheduled task. - created_by: - nullable: true - type: string - description: The identifier for the user that created the rule. - updated_by: - nullable: true - type: string - description: The identifier for the user that updated this rule most recently. - created_at: - type: string - description: The date and time that the rule was created. - updated_at: - type: string - description: The date and time that the rule was updated most recently. - api_key_owner: - nullable: true - type: string - description: The owner of the API key that is associated with the rule and used to run background tasks. - api_key_created_by_user: - nullable: true - type: boolean - description: Indicates whether the API key that is associated with the rule was created by the user. - throttle: - nullable: true - type: string - description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - deprecated: true - mute_all: - type: boolean - description: Indicates whether all alerts are muted. - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - muted_alert_ids: - type: array - items: - type: string - description: 'List of identifiers of muted alerts. ' - execution_status: - type: object - properties: - status: - description: Status of rule execution. - type: string - enum: - - ok - - active - - error - - warning - - pending - - unknown - last_execution_date: - type: string - description: The date and time when rule was executed last. - last_duration: - type: number - description: Duration of last execution of the rule. - error: - type: object - properties: - reason: - description: Reason for error. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - message: - type: string - description: Error message. - additionalProperties: false - required: - - reason - - message - warning: - type: object - properties: - reason: - description: Reason for warning. - type: string - enum: - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - message: - type: string - description: Warning message. - additionalProperties: false - required: - - reason - - message - additionalProperties: false - required: - - status - - last_execution_date - monitoring: - type: object - description: Monitoring details of the rule. - properties: - run: - type: object - description: Rule run details. - properties: - history: - type: array - description: History of the rule run. - items: - type: object - properties: - success: - type: boolean - description: Indicates whether the rule run was successful. - timestamp: - type: number - description: Time of rule run. - duration: - type: number - description: Duration of the rule run. - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - additionalProperties: false - required: - - success - - timestamp - calculated_metrics: - type: object - description: Calculation of different percentiles and success ratio. - properties: - p50: - type: number - p95: - type: number - p99: - type: number - success_ratio: - type: number - additionalProperties: false - required: - - success_ratio - last_run: - type: object - properties: - timestamp: - type: string - description: Time of the most recent rule run. - metrics: - type: object - properties: - duration: - type: number - description: Duration of most recent rule run. - total_search_duration_ms: - nullable: true - type: number - description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. - total_indexing_duration_ms: - nullable: true - type: number - description: Total time spent indexing documents during last rule run in milliseconds. - total_alerts_detected: - nullable: true - type: number - description: Total number of alerts detected during last rule run. - total_alerts_created: - nullable: true - type: number - description: Total number of alerts created during last rule run. - gap_duration_s: - nullable: true - type: number - description: Duration in seconds of rule run gap. - gap_range: - nullable: true - type: object - properties: - lte: - type: string - description: Start of the gap range. - gte: - type: string - description: End of the gap range. - additionalProperties: false - required: - - lte - - gte - additionalProperties: false - additionalProperties: false - required: - - timestamp - - metrics - additionalProperties: false - required: - - history - - calculated_metrics - - last_run - additionalProperties: false - required: - - run - snooze_schedule: - type: array - items: - type: object - properties: - id: - type: string - description: Identifier of the rule snooze schedule. - duration: - type: number - description: Duration of the rule snooze schedule. - rRule: - type: object - properties: - dtstart: - type: string - description: Rule start date in Coordinated Universal Time (UTC). - tzid: - type: string - description: Indicates timezone abbreviation. - freq: - description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. - type: integer - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - until: - type: string - description: Recur the rule until this date. - count: - type: number - description: Number of times the rule should recur until it stops. - interval: - type: number - description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. - wkst: - description: Indicates the start of week, defaults to Monday. - type: string - enum: - - MO - - TU - - WE - - TH - - FR - - SA - - SU - byweekday: - nullable: true - type: array - items: - description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. - anyOf: - - type: string - - type: number - bymonth: - nullable: true - type: array - items: - type: number - description: Indicates months of the year that this rule should recur. - bysetpos: - nullable: true - type: array - items: - type: number - description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. - bymonthday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the month to recur. - byyearday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the year that this rule should recur. - byweekno: - nullable: true - type: array - items: - type: number - description: Indicates number of the week hours to recur. - byhour: - nullable: true - type: array - items: - type: number - description: Indicates hours of the day to recur. - byminute: - nullable: true - type: array - items: - type: number - description: Indicates minutes of the hour to recur. - bysecond: - nullable: true - type: array - items: - type: number - description: Indicates seconds of the day to recur. - additionalProperties: false - required: - - dtstart - - tzid - skipRecurrences: - type: array - items: - type: string - description: Skips recurrence of rule on this date. - additionalProperties: false - required: - - duration - - rRule - active_snoozes: - type: array - items: - type: string - description: List of active snoozes for the rule. - is_snoozed_until: - nullable: true - type: string - description: The date when the rule will no longer be snoozed. - last_run: - nullable: true - type: object - properties: - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - outcome_order: - type: number - description: Order of the outcome. - warning: - nullable: true - description: Warning of last rule execution. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - outcome_msg: - nullable: true - type: array - items: - type: string - description: Outcome message generated during last rule run. - alerts_count: - type: object - properties: - active: - nullable: true - type: number - description: Number of active alerts during last run. - new: - nullable: true - type: number - description: Number of new alerts during last run. - recovered: - nullable: true - type: number - description: Number of recovered alerts during last run. - ignored: - nullable: true - type: number - description: Number of ignored alerts during last run. - additionalProperties: false - additionalProperties: false - required: - - outcome - - alerts_count - next_run: - nullable: true - type: string - description: Date and time of the next run of the rule. - revision: - type: number - description: The rule revision number. - running: - nullable: true - type: boolean - description: Indicates whether the rule is running. - view_in_app_relative_url: - nullable: true - type: string - description: Relative URL to view rule in the app. - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - description: User-created content that describes alert causes and remdiation. - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - id - - enabled - - name - - tags - - rule_type_id - - consumer - - schedule - - actions - - params - - created_by - - updated_by - - created_at - - updated_at - - api_key_owner - - mute_all - - muted_alert_ids - - execution_status - - revision - examples: - updateRuleResponse: - summary: Index threshold rule - description: The response for successfully updating an index threshold rule. - value: - id: ac4e6b90-6be7-11eb-ba0d-9b1c1f912d74 - consumer: alerts - tags: [] - name: new name - enabled: true - throttle: null - revision: 1 - running: false - schedule: - interval: 1m - params: - index: - - .updated-index - timeField: '@timestamp' - groupBy: top - aggType: avg - timeWindowSize: 5 - timeWindowUnit: m - thresholdComparator: '>' - threshold: - - 1000 - aggField: sheet.version - termField: name.keyword - termSize: 6 - api_key_owner: elastic - created_by: elastic - updated_by: elastic - rule_type_id: .index-threshold - scheduled_task_id: 4c5eda00-e74f-11ec-b72f-5b18752ff9ea - created_at: '2024-03-26T23:13:20.985Z' - updated_at: '2024-03-26T23:22:59.949Z' - mute_all: false - muted_alert_ids: [] - execution_status: - status: ok - last_execution_date: '2024-03-26T23:22:51.390Z' - last_duration: 52 - actions: - - group: threshold met - params: - level: info - message: |- - Rule {{rule.name}} is active for group {{context.group}}: - - - Value: {{context.value}} - - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - - Timestamp: {{context.date} - id: 96b668d0-a1b6-11ed-afdf-d39a49596974 - uuid: 07aef2a0-9eed-4ef9-94ec-39ba58eb609d - connector_type_id: .server-log - frequency: - summary: false - throttle: null - notify_when: onActionGroupChange - last_run: - alerts_count: - new: 0 - ignored: 0 - recovered: 0 - active: 0 - outcome_msg: null - warning: null - outcome: succeeded - next_run: '2024-03-26T23:23:51.316Z' - api_key_created_by_user: false - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - '409': - description: Indicates that the rule has already been updated by another user. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: put-alerting-rule-id - delete: - summary: Delete a rule - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: delete-alerting-rule-id - /api/alerting/rule/{id}/_disable: - post: - summary: Disable a rule - tags: - - alerting - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - untrack: - type: boolean - description: Defines whether this rule's alerts should be untracked. - additionalProperties: false - x-oas-optional: true - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: post-alerting-rule-id-disable - /api/alerting/rule/{id}/_enable: - post: - summary: Enable a rule - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: post-alerting-rule-id-enable - /api/alerting/rules/_find: - get: - summary: Get information about rules - tags: - - alerting - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the rule. - enabled: - type: boolean - description: Indicates whether you want to run the rule on an interval basis after it is created. - name: - type: string - description: ' The name of the rule.' - tags: - type: array - items: - type: string - description: The tags for the rule. - rule_type_id: - type: string - description: The rule type identifier. - consumer: - type: string - description: 'The name of the application or feature that owns the rule. For example: `alerts`, `apm`, `discover`, `infrastructure`, `logs`, `metrics`, `ml`, `monitoring`, `securitySolution`, `siem`, `stackAlerts`, or `uptime`.' - schedule: - type: object - properties: - interval: - type: string - description: The interval is specified in seconds, minutes, hours, or days. - additionalProperties: false - required: - - interval - actions: - type: array - items: - type: object - properties: - uuid: - type: string - description: A universally unique identifier (UUID) for the action. - group: - type: string - description: The group name, which affects when the action runs (for example, when the threshold is met or when the alert is recovered). Each rule type has a list of valid action group names. If you don't need to group actions, set to `default`. - id: - type: string - description: The identifier for the connector saved object. - connector_type_id: - type: string - description: The type of connector. This property appears in responses but cannot be set in requests. - params: - type: object - description: The parameters for the action, which are sent to the connector. The `params` are handled as Mustache templates and passed a default set of context. - additionalProperties: {} - frequency: - type: object - properties: - summary: - type: boolean - description: Indicates whether the action is a summary. - notify_when: - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - throttle: - nullable: true - type: string - description: 'The throttle interval, which defines how often an alert generates repeated actions. It is specified in seconds, minutes, hours, or days and is applicable only if ''notify_when'' is set to ''onThrottleInterval''. NOTE: You cannot specify the throttle interval at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - additionalProperties: false - required: - - summary - - notify_when - - throttle - alerts_filter: - type: object - description: Defines a period that limits whether the action runs. - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - filters: - type: array - description: A filter written in Elasticsearch Query Domain Specific Language (DSL) as defined in the `kbn-es-query` package. - items: - type: object - properties: - query: - type: object - additionalProperties: {} - meta: - type: object - additionalProperties: {} - $state: - type: object - properties: - store: - description: A filter can be either specific to an application context or applied globally. - type: string - enum: - - appState - - globalState - additionalProperties: false - required: - - store - additionalProperties: false - required: - - meta - dsl: - type: string - description: A filter written in Elasticsearch Query Domain Specific Language (DSL). - additionalProperties: false - required: - - kql - - filters - timeframe: - type: object - properties: - days: - type: array - description: Defines the days of the week that the action can run, represented as an array of numbers. For example, `1` represents Monday. An empty array is equivalent to specifying all the days of the week. - items: - type: integer - enum: - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - - 7 - hours: - type: object - properties: - start: - type: string - description: The start of the time frame in 24-hour notation (`hh:mm`). - end: - type: string - description: The end of the time frame in 24-hour notation (`hh:mm`). - additionalProperties: false - required: - - start - - end - timezone: - type: string - description: The ISO time zone for the `hours` values. Values such as `UTC` and `UTC+1` also work but lack built-in daylight savings time support and are not recommended. - additionalProperties: false - required: - - days - - hours - - timezone - additionalProperties: false - use_alert_data_for_template: - type: boolean - description: Indicates whether to use alert data as a template. - additionalProperties: false - required: - - id - - connector_type_id - - params - params: - type: object - description: The parameters for the rule. - additionalProperties: {} - mapped_params: - type: object - additionalProperties: {} - scheduled_task_id: - type: string - description: Identifier of the scheduled task. - created_by: - nullable: true - type: string - description: The identifier for the user that created the rule. - updated_by: - nullable: true - type: string - description: The identifier for the user that updated this rule most recently. - created_at: - type: string - description: The date and time that the rule was created. - updated_at: - type: string - description: The date and time that the rule was updated most recently. - api_key_owner: - nullable: true - type: string - description: The owner of the API key that is associated with the rule and used to run background tasks. - api_key_created_by_user: - nullable: true - type: boolean - description: Indicates whether the API key that is associated with the rule was created by the user. - throttle: - nullable: true - type: string - description: 'Deprecated in 8.13.0. Use the `throttle` property in the action `frequency` object instead. The throttle interval, which defines how often an alert generates repeated actions. NOTE: You cannot specify the throttle interval at both the rule and action level. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - deprecated: true - mute_all: - type: boolean - description: Indicates whether all alerts are muted. - notify_when: - nullable: true - description: 'Indicates how often alerts generate actions. Valid values include: `onActionGroupChange`: Actions run when the alert status changes; `onActiveAlert`: Actions run when the alert becomes active and at each check interval while the rule conditions are met; `onThrottleInterval`: Actions run when the alert becomes active and at the interval specified in the throttle property while the rule conditions are met. NOTE: You cannot specify `notify_when` at both the rule and action level. The recommended method is to set it for each action. If you set it at the rule level then update the rule in Kibana, it is automatically changed to use action-specific values.' - type: string - enum: - - onActionGroupChange - - onActiveAlert - - onThrottleInterval - muted_alert_ids: - type: array - items: - type: string - description: 'List of identifiers of muted alerts. ' - execution_status: - type: object - properties: - status: - description: Status of rule execution. - type: string - enum: - - ok - - active - - error - - warning - - pending - - unknown - last_execution_date: - type: string - description: The date and time when rule was executed last. - last_duration: - type: number - description: Duration of last execution of the rule. - error: - type: object - properties: - reason: - description: Reason for error. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - message: - type: string - description: Error message. - additionalProperties: false - required: - - reason - - message - warning: - type: object - properties: - reason: - description: Reason for warning. - type: string - enum: - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - message: - type: string - description: Warning message. - additionalProperties: false - required: - - reason - - message - additionalProperties: false - required: - - status - - last_execution_date - monitoring: - type: object - description: Monitoring details of the rule. - properties: - run: - type: object - description: Rule run details. - properties: - history: - type: array - description: History of the rule run. - items: - type: object - properties: - success: - type: boolean - description: Indicates whether the rule run was successful. - timestamp: - type: number - description: Time of rule run. - duration: - type: number - description: Duration of the rule run. - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - additionalProperties: false - required: - - success - - timestamp - calculated_metrics: - type: object - description: Calculation of different percentiles and success ratio. - properties: - p50: - type: number - p95: - type: number - p99: - type: number - success_ratio: - type: number - additionalProperties: false - required: - - success_ratio - last_run: - type: object - properties: - timestamp: - type: string - description: Time of the most recent rule run. - metrics: - type: object - properties: - duration: - type: number - description: Duration of most recent rule run. - total_search_duration_ms: - nullable: true - type: number - description: Total time spent performing Elasticsearch searches as measured by Kibana; includes network latency and time spent serializing or deserializing the request and response. - total_indexing_duration_ms: - nullable: true - type: number - description: Total time spent indexing documents during last rule run in milliseconds. - total_alerts_detected: - nullable: true - type: number - description: Total number of alerts detected during last rule run. - total_alerts_created: - nullable: true - type: number - description: Total number of alerts created during last rule run. - gap_duration_s: - nullable: true - type: number - description: Duration in seconds of rule run gap. - gap_range: - nullable: true - type: object - properties: - lte: - type: string - description: Start of the gap range. - gte: - type: string - description: End of the gap range. - additionalProperties: false - required: - - lte - - gte - additionalProperties: false - additionalProperties: false - required: - - timestamp - - metrics - additionalProperties: false - required: - - history - - calculated_metrics - - last_run - additionalProperties: false - required: - - run - snooze_schedule: - type: array - items: - type: object - properties: - id: - type: string - description: Identifier of the rule snooze schedule. - duration: - type: number - description: Duration of the rule snooze schedule. - rRule: - type: object - properties: - dtstart: - type: string - description: Rule start date in Coordinated Universal Time (UTC). - tzid: - type: string - description: Indicates timezone abbreviation. - freq: - description: Indicates frequency of the rule. Options are YEARLY, MONTHLY, WEEKLY, DAILY. - type: integer - enum: - - 0 - - 1 - - 2 - - 3 - - 4 - - 5 - - 6 - until: - type: string - description: Recur the rule until this date. - count: - type: number - description: Number of times the rule should recur until it stops. - interval: - type: number - description: Indicates the interval of frequency. For example, 1 and YEARLY is every 1 year, 2 and WEEKLY is every 2 weeks. - wkst: - description: Indicates the start of week, defaults to Monday. - type: string - enum: - - MO - - TU - - WE - - TH - - FR - - SA - - SU - byweekday: - nullable: true - type: array - items: - description: Indicates the days of the week to recur or else nth-day-of-month strings. For example, "+2TU" second Tuesday of month, "-1FR" last Friday of the month, which are internally converted to a `byweekday/bysetpos` combination. - anyOf: - - type: string - - type: number - bymonth: - nullable: true - type: array - items: - type: number - description: Indicates months of the year that this rule should recur. - bysetpos: - nullable: true - type: array - items: - type: number - description: A positive or negative integer affecting the nth day of the month. For example, -2 combined with `byweekday` of FR is 2nd to last Friday of the month. It is recommended to not set this manually and just use `byweekday`. - bymonthday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the month to recur. - byyearday: - nullable: true - type: array - items: - type: number - description: Indicates the days of the year that this rule should recur. - byweekno: - nullable: true - type: array - items: - type: number - description: Indicates number of the week hours to recur. - byhour: - nullable: true - type: array - items: - type: number - description: Indicates hours of the day to recur. - byminute: - nullable: true - type: array - items: - type: number - description: Indicates minutes of the hour to recur. - bysecond: - nullable: true - type: array - items: - type: number - description: Indicates seconds of the day to recur. - additionalProperties: false - required: - - dtstart - - tzid - skipRecurrences: - type: array - items: - type: string - description: Skips recurrence of rule on this date. - additionalProperties: false - required: - - duration - - rRule - active_snoozes: - type: array - items: - type: string - description: List of active snoozes for the rule. - is_snoozed_until: - nullable: true - type: string - description: The date when the rule will no longer be snoozed. - last_run: - nullable: true - type: object - properties: - outcome: - description: Outcome of last run of the rule. Value could be succeeded, warning or failed. - type: string - enum: - - succeeded - - warning - - failed - outcome_order: - type: number - description: Order of the outcome. - warning: - nullable: true - description: Warning of last rule execution. - type: string - enum: - - read - - decrypt - - execute - - unknown - - license - - timeout - - disabled - - validate - - maxExecutableActions - - maxAlerts - - maxQueuedActions - - ruleExecution - outcome_msg: - nullable: true - type: array - items: - type: string - description: Outcome message generated during last rule run. - alerts_count: - type: object - properties: - active: - nullable: true - type: number - description: Number of active alerts during last run. - new: - nullable: true - type: number - description: Number of new alerts during last run. - recovered: - nullable: true - type: number - description: Number of recovered alerts during last run. - ignored: - nullable: true - type: number - description: Number of ignored alerts during last run. - additionalProperties: false - additionalProperties: false - required: - - outcome - - alerts_count - next_run: - nullable: true - type: string - description: Date and time of the next run of the rule. - revision: - type: number - description: The rule revision number. - running: - nullable: true - type: boolean - description: Indicates whether the rule is running. - view_in_app_relative_url: - nullable: true - type: string - description: Relative URL to view rule in the app. - alert_delay: - type: object - description: Indicates that an alert occurs only when the specified number of consecutive runs met the rule conditions. - properties: - active: - type: number - description: The number of consecutive runs that must meet the rule conditions. - additionalProperties: false - required: - - active - flapping: - nullable: true - type: object - description: When flapping detection is turned on, alerts that switch quickly between active and recovered states are identified as “flapping” and notifications are reduced. - properties: - look_back_window: - type: number - description: The minimum number of runs in which the threshold must be met. - minimum: 2 - maximum: 20 - status_change_threshold: - type: number - description: The minimum number of times an alert must switch states in the look back window. - minimum: 2 - maximum: 20 - additionalProperties: false - required: - - look_back_window - - status_change_threshold - artifacts: - type: object - properties: - dashboards: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - investigation_guide: - type: object - properties: - blob: - type: string - description: User-created content that describes alert causes and remdiation. - additionalProperties: false - required: - - blob - additionalProperties: false - additionalProperties: false - required: - - id - - enabled - - name - - tags - - rule_type_id - - consumer - - schedule - - actions - - params - - created_by - - updated_by - - created_at - - updated_at - - api_key_owner - - mute_all - - muted_alert_ids - - execution_status - - revision - examples: - findRulesResponse: - summary: Security rule - description: A response that contains information about a security rule that has conditional actions. - value: - page: 1 - total: 1 - per_page: 10 - data: - - id: 6107a8f0-f401-11ed-9f8e-399c75a2deeb - name: security_rule - consumer: siem - enabled: true - tags: [] - throttle: null - revision: 1 - running: false - schedule: - interval: 1m - params: - author: [] - description: A security threshold rule. - ruleId: an_internal_rule_id - falsePositives: [] - from: now-3660s - immutable: false - license: '' - outputIndex: '' - meta: - from: 1h - kibana_siem_app_url: https://localhost:5601/app/security - maxSignals: 100 - riskScore: 21 - riskScoreMapping: [] - severity: low - severityMapping: [] - threat: [] - to: now - references: [] - version: 1 - exceptionsList: [] - type: threshold - language: kuery - index: - - kibana_sample_data_logs - query: '*' - filters: [] - threshold: - field: - - bytes - value: 1 - cardinality: [] - rule_type_id: siem.thresholdRule - created_by: elastic - updated_by: elastic - created_at: '2023-05-16T15:50:28.358Z' - updated_at: '2023-05-16T20:25:42.559Z' - api_key_owner: elastic - notify_when: null - mute_all: false - muted_alert_ids: [] - scheduled_task_id: 6107a8f0-f401-11ed-9f8e-399c75a2deeb - execution_status: - status: ok - last_execution_date: '2023-05-16T20:26:49.590Z' - last_duration: 166 - actions: - - group: default - id: 49eae970-f401-11ed-9f8e-399c75a2deeb - params: - documents: - - rule_id: - '[object Object]': null - rule_name: - '[object Object]': null - alert_id: - '[object Object]': null - context_message: - '[object Object]': null - connector_type_id: .index - frequency: - summary: true - notify_when: onActiveAlert - throttle: null - uuid: 1c7a1280-f28c-4e06-96b2-e4e5f05d1d61 - alerts_filter: - timeframe: - days: - - 7 - timezone: UTC - hours: - start: '08:00' - end: '17:00' - query: - kql: '' - filters: - - meta: - disabled: false - negate: false - alias: null - index: c4bdca79-e69e-4d80-82a1-e5192c621bea - key: client.geo.region_iso_code - field: client.geo.region_iso_code - params: - query: CA-QC - type: phrase - $state: - store: appState - query: - match_phrase: - client.geo.region_iso_code: CA-QC - last_run: - alerts_count: - new: 0 - ignored: 0 - recovered: 0 - active: 0 - outcome_msg: - - Rule execution completed successfully - outcome_order: 0 - warning: null - outcome: succeeded - next_run: '2023-05-16T20:27:49.507Z' - api_key_created_by_user: false - findConditionalActionRulesResponse: - summary: Index threshold rule - description: A response that contains information about an index threshold rule. - value: - page: 1 - total: 1 - per_page: 10 - data: - - id: 3583a470-74f6-11ed-9801-35303b735aef - consumer: alerts - tags: - - cpu - name: my alert - enabled: true - throttle: null - schedule: - interval: 1m - params: - aggType: avg - termSize: 6 - thresholdComparator: '>' - timeWindowSize: 5 - timeWindowUnit: m - groupBy: top - threshold: - - 1000 - index: - - test-index - timeField: '@timestamp' - aggField: sheet.version - termField: name.keyword - revision: 1 - rule_type_id: .index-threshold - created_by: elastic - updated_by: elastic - created_at: '2022-12-05T23:40:33.132Z' - updated_at: '2022-12-05T23:40:33.132Z' - api_key_owner: elastic - mute_all: false - muted_alert_ids: [] - scheduled_task_id: 3583a470-74f6-11ed-9801-35303b735aef - execution_status: - status: ok - last_execution_date: '2022-12-06T01:44:23.983Z' - last_duration: 48 - actions: - - id: 9dca3e00-74f5-11ed-9801-35303b735aef - group: threshold met - uuid: 1c7a1280-f28c-4e06-96b2-e4e5f05d1d61 - params: - level: info - message: |- - Rule {{rule.name}} is active for group {{context.group}}: - - - Value: {{context.value}} - - Conditions Met: {{context.conditions}} over {{rule.params.timeWindowSize}}{{rule.params.timeWindowUnit}} - - Timestamp: {{context.date}} - connector_type_id: .server-log - frequency: - summary: false - notify_when: onActionGroupChange - throttle: null - last_run: - alerts_count: - new: 0 - ignored: 0 - recovered: 0 - active: 0 - outcome_msg: null - warning: null - outcome: succeeded - next_run: '2022-12-06T01:45:23.912Z' - api_key_created_by_user: false - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - parameters: - - name: per_page - in: query - required: false - schema: - type: number - default: 10 - minimum: 0 - description: The number of rules to return per page. - - name: page - in: query - required: false - schema: - type: number - default: 1 - minimum: 1 - description: The page number to return. - - name: search - in: query - required: false - schema: - type: string - description: An Elasticsearch simple_query_string query that filters the objects in the response. - - name: default_search_operator - in: query - required: false - schema: - default: OR - type: string - enum: - - OR - - AND - description: The default operator to use for the simple_query_string. - - name: search_fields - in: query - required: false - schema: - anyOf: - - type: array - items: - type: string - - type: string - description: The fields to perform the simple_query_string parsed query against. - - name: sort_field - in: query - required: false - schema: - type: string - description: Determines which field is used to sort the results. The field must exist in the `attributes` key of the response. - - name: sort_order - in: query - required: false - schema: - type: string - enum: - - asc - - desc - description: Determines the sort order. - - name: has_reference - in: query - required: false - schema: - nullable: true - type: object - properties: - type: - type: string - id: - type: string - additionalProperties: false - required: - - type - - id - description: Filters the rules that have a relation with the reference objects with a specific type and identifier. - - name: fields - in: query - required: false - schema: - anyOf: - - type: array - items: - type: string - - type: string - description: The fields to return in the `attributes` key of the response. - - name: filter - in: query - required: false - schema: - type: string - description: 'A KQL string that you filter with an attribute from your saved object. It should look like `savedObjectType.attributes.title: "myTitle"`. However, if you used a direct attribute of a saved object, such as `updatedAt`, you must define your filter, for example, `savedObjectType.updatedAt > 2018-12-22`.' - - name: filter_consumers - in: query - required: false - schema: - type: array - items: - type: string - description: List of consumers to filter. - operationId: get-alerting-rules-find - /api/alerting/rule_types: - get: - summary: Get the rule types - tags: - - alerting - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - body: - type: array - items: - type: object - properties: - action_groups: - type: array - description: An explicit list of groups for which the rule type can schedule actions, each with the action group's unique ID and human readable name. Rule actions validation uses this configuration to ensure that groups are valid. - items: - type: object - description: An action group to use when an alert goes from an active state to an inactive one. - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - action_variables: - type: object - description: A list of action variables that the rule type makes available via context and state in action parameter templates, and a short human readable description. When you create a rule in Kibana, it uses this information to prompt you for these variables in action parameter editors. - properties: - context: - type: array - items: - type: object - properties: - name: - type: string - description: - type: string - usesPublicBaseUrl: - type: boolean - additionalProperties: false - required: - - name - - description - state: - type: array - items: - type: object - properties: - name: - type: string - description: - type: string - usesPublicBaseUrl: - type: boolean - additionalProperties: false - required: - - name - - description - params: - type: array - items: - type: object - properties: - name: - type: string - description: - type: string - usesPublicBaseUrl: - type: boolean - additionalProperties: false - required: - - name - - description - additionalProperties: false - alerts: - type: object - description: Details for writing alerts as data documents for this rule type. - properties: - context: - type: string - description: The namespace for this rule type. - mappings: - type: object - properties: - dynamic: - description: Indicates whether new fields are added dynamically. - anyOf: - - type: boolean - enum: - - false - - type: string - enum: - - strict - fieldMap: - type: object - description: Mapping information for each field supported in alerts as data documents for this rule type. For more information about mapping parameters, refer to the Elasticsearch documentation. - additionalProperties: {} - shouldWrite: - type: boolean - description: Indicates whether the rule should write out alerts as data. - useEcs: - type: boolean - description: Indicates whether to include the ECS component template for the alerts. - additionalProperties: false - required: - - fieldMap - additionalProperties: false - required: - - context - authorized_consumers: - type: object - description: The list of the plugins IDs that have access to the rule type. - additionalProperties: - type: object - properties: - read: - type: boolean - all: - type: boolean - additionalProperties: false - required: - - read - - all - auto_recover_alerts: - type: boolean - category: - type: string - description: The rule category, which is used by features such as category-specific maintenance windows. - default_action_group_id: - type: string - description: The default identifier for the rule type group. - default_schedule_interval: - type: string - does_set_recovery_context: - type: boolean - description: Indicates whether the rule passes context variables to its recovery action. - enabled_in_license: - type: boolean - description: Indicates whether the rule type is enabled or disabled based on the subscription. - fieldsForAAD: - type: array - items: - type: string - has_alerts_mappings: - type: boolean - description: Indicates whether the rule type has custom mappings for the alert data. - has_fields_for_a_a_d: - type: boolean - description: 'Indicates whether the rule type has fields for alert as data for the alert data. ' - id: - type: string - description: The unique identifier for the rule type. - is_internally_managed: - type: boolean - description: Indicates whether the rule type is internally managed by the system. Rules of this type can not be edited by users. - is_exportable: - type: boolean - description: Indicates whether the rule type is exportable in Stack Management > Saved Objects. - minimum_license_required: - description: The subscriptions required to use the rule type. - type: string - enum: - - basic - - gold - - platinum - - standard - - enterprise - - trial - name: - type: string - description: The descriptive name of the rule type. - producer: - type: string - description: An identifier for the application that produces this rule type. - recovery_action_group: - type: object - description: An action group to use when an alert goes from an active state to an inactive one. - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - rule_task_timeout: - type: string - additionalProperties: false - required: - - authorized_consumers - - category - - default_action_group_id - - enabled_in_license - - has_alerts_mappings - - has_fields_for_a_a_d - - id - - is_internally_managed - - is_exportable - - minimum_license_required - - name - - producer - - recovery_action_group - additionalProperties: false - required: - - body - '401': - description: Authorization information is missing or invalid. - parameters: [] - operationId: get-alerting-rule-types - /api/alerting/rule/{id}/_mute_all: - post: - summary: Mute all alerts - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: post-alerting-rule-id-mute-all - /api/alerting/rule/{id}/_unmute_all: - post: - summary: Unmute all alerts - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: post-alerting-rule-id-unmute-all - /api/alerting/rule/{id}/_update_api_key: - post: - summary: Update the API key for a rule - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given ID does not exist. - '409': - description: Indicates that the rule has already been updated by another user. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - operationId: post-alerting-rule-id-update-api-key - /api/alerting/rule/{id}/snooze_schedule: - post: - summary: Schedule a snooze for the rule - tags: - - alerting - description: When you snooze a rule, the rule checks continue to run but alerts will not generate actions. You can snooze for a specified period of time and schedule single or recurring downtimes. - requestBody: - content: - application/json: - schema: - type: object - properties: - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - minItems: 1 - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 31 - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 12 - occurrences: - type: number - description: The total number of recurrences of the schedule. - minimum: 1 - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - additionalProperties: false - required: - - schedule - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - body: - type: object - properties: - schedule: - type: object - properties: - id: - type: string - description: Identifier of the snooze schedule. - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - minItems: 1 - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 31 - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 12 - occurrences: - type: number - description: The total number of recurrences of the schedule. - minimum: 1 - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - id - additionalProperties: false - required: - - schedule - additionalProperties: false - required: - - body - '400': - description: Indicates an invalid schema. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given id does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: Identifier of the rule. - operationId: post-alerting-rule-id-snooze-schedule - x-state: Generally available; added in 8.19.0 - /api/alerting/rule/{ruleId}/snooze_schedule/{scheduleId}: - delete: - summary: Delete a snooze schedule for a rule - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule with the given id does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: ruleId - in: path - required: true - schema: - type: string - description: The identifier for the rule. - - name: scheduleId - in: path - required: true - schema: - type: string - description: The identifier for the snooze schedule. - operationId: delete-alerting-rule-ruleid-snooze-schedule-scheduleid - x-state: Generally available; added in 8.19.0 - /api/alerting/rule/{rule_id}/alert/{alert_id}/_mute: - post: - summary: Mute an alert - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule or alert with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: rule_id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - - name: alert_id - in: path - required: true - schema: - type: string - description: The identifier for the alert. - operationId: post-alerting-rule-rule-id-alert-alert-id-mute - /api/alerting/rule/{rule_id}/alert/{alert_id}/_unmute: - post: - summary: Unmute an alert - tags: - - alerting - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a rule or alert with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: rule_id - in: path - required: true - schema: - type: string - description: The identifier for the rule. - - name: alert_id - in: path - required: true - schema: - type: string - description: The identifier for the alert. - operationId: post-alerting-rule-rule-id-alert-alert-id-unmute - /api/maintenance_window/{id}: - get: - summary: Get maintenance window details. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: read-maintenance-window.' - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a maintenance window with the given ID does not exist. - parameters: - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the maintenance window. - operationId: get-maintenance-window-id - x-state: Generally available; added in 9.1.0 - delete: - summary: Delete a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: write-maintenance-window.' - responses: - '204': - description: Indicates a successful call. - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a maintenance window with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the maintenance window to be deleted. - operationId: delete-maintenance-window-id - x-state: Generally available; added in 9.1.0 - patch: - summary: Update a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: write-maintenance-window.' - requestBody: - content: - application/json: - schema: - type: object - properties: - title: - type: string - description: The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - minItems: 1 - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 31 - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 12 - occurrences: - type: number - description: The total number of recurrences of the schedule. - minimum: 1 - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - additionalProperties: false - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a maintenance window with the given ID does not exist. - '409': - description: Indicates that the maintenance window has already been updated by another user. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: patch-maintenance-window-id - x-state: Generally available; added in 9.1.0 - /api/maintenance_window: - post: - summary: Create a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: write-maintenance-window.' - requestBody: - content: - application/json: - schema: - type: object - properties: - title: - type: string - description: The name of the maintenance window. While this name does not have to be unique, a distinctive name can help you identify a specific maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - minItems: 1 - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 31 - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - minItems: 1 - items: - type: number - minimum: 1 - maximum: 12 - occurrences: - type: number - description: The total number of recurrences of the schedule. - minimum: 1 - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). Only alerts matching this query will be supressed by the maintenance window. - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - additionalProperties: false - required: - - title - - schedule - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-maintenance-window - x-state: Generally available; added in 9.1.0 - /api/maintenance_window/{id}/_archive: - post: - summary: Archive a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: write-maintenance-window.' - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a maintenance window with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the maintenance window to be archived. - operationId: post-maintenance-window-id-archive - x-state: Generally available; added in 9.1.0 - /api/maintenance_window/{id}/_unarchive: - post: - summary: Unarchive a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: write-maintenance-window.' - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - '404': - description: Indicates a maintenance window with the given ID does not exist. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The identifier for the maintenance window to be unarchived. - operationId: post-maintenance-window-id-unarchive - x-state: Generally available; added in 9.1.0 - /api/maintenance_window/_find: - get: - summary: Search for a maintenance window. - tags: - - maintenance-window - description: '[Required authorization] Route required privileges: read-maintenance-window.' - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - page: - type: number - per_page: - type: number - total: - type: number - maintenanceWindows: - type: array - items: - type: object - properties: - id: - type: string - description: The identifier for the maintenance window. - title: - type: string - description: The name of the maintenance window. - enabled: - type: boolean - description: Whether the current maintenance window is enabled. Disabled maintenance windows do not suppress notifications. - created_by: - nullable: true - type: string - description: The identifier for the user that created the maintenance window. - updated_by: - nullable: true - type: string - description: The identifier for the user that last updated this maintenance window. - created_at: - type: string - description: The date and time when the maintenance window was created. - updated_at: - type: string - description: The date and time when the maintenance window was last updated. - status: - description: The current status of the maintenance window. - type: string - enum: - - running - - upcoming - - finished - - archived - scope: - type: object - properties: - alerting: - type: object - properties: - query: - type: object - properties: - kql: - type: string - description: A filter written in Kibana Query Language (KQL). - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - required: - - alerting - schedule: - type: object - properties: - custom: - type: object - properties: - start: - type: string - description: 'The start date and time of the schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-03-12T12:00:00.000Z`.' - duration: - type: string - description: 'The duration of the schedule. It allows values in `` format. `` is one of `d`, `h`, `m`, or `s` for hours, minutes, seconds. For example: `1d`, `5h`, `30m`, `5000s`.' - timezone: - type: string - description: The timezone of the schedule. The default timezone is UTC. - recurring: - type: object - properties: - end: - type: string - description: 'The end date of a recurring schedule, provided in ISO 8601 format and set to the UTC timezone. For example: `2025-04-01T00:00:00.000Z`.' - every: - type: string - description: 'The interval and frequency of a recurring schedule. It allows values in `` format. `` is one of `d`, `w`, `M`, or `y` for days, weeks, months, years. For example: `15d`, `2w`, `3m`, `1y`.' - onWeekDay: - type: array - description: The specific days of the week (`[MO,TU,WE,TH,FR,SA,SU]`) or nth day of month (`[+1MO, -3FR, +2WE, -4SA, -5SU]`) for a recurring schedule. - items: - type: string - onMonthDay: - type: array - description: The specific days of the month for a recurring schedule. Valid values are 1-31. - items: - type: number - onMonth: - type: array - description: The specific months for a recurring schedule. Valid values are 1-12. - items: - type: number - occurrences: - type: number - description: The total number of recurrences of the schedule. - additionalProperties: false - additionalProperties: false - required: - - start - - duration - additionalProperties: false - required: - - custom - additionalProperties: false - required: - - id - - title - - enabled - - created_by - - updated_by - - created_at - - updated_at - - status - - schedule - additionalProperties: false - required: - - page - - per_page - - total - - maintenanceWindows - '400': - description: Indicates an invalid schema or parameters. - '403': - description: Indicates that this call is forbidden. - parameters: - - name: title - in: query - required: false - schema: - type: string - description: The title of the maintenance window. - - name: created_by - in: query - required: false - schema: - type: string - description: The user who created the maintenance window. - - name: status - in: query - required: false - schema: - anyOf: - - type: string - enum: - - running - - finished - - upcoming - - archived - - type: array - items: - type: string - enum: - - running - - finished - - upcoming - - archived - description: The status of the maintenance window. One of "running", "upcoming", "finished" or "archived". - - name: page - in: query - required: false - schema: - type: number - default: 1 - minimum: 1 - maximum: 100 - description: The page number to return. - - name: per_page - in: query - required: false - schema: - type: number - default: 10 - minimum: 1 - maximum: 100 - description: The number of maintenance windows to return per page. - operationId: get-maintenance-window-find - x-state: Generally available; added in 9.2.0 - /api/alerting/_health: - get: - summary: Get the alerting framework health - tags: - - alerting - responses: - '200': - description: Indicates a successful call. - content: - application/json: - schema: - type: object - properties: - body: - type: object - properties: - is_sufficiently_secure: - type: boolean - description: If false, security is enabled but TLS is not. - has_permanent_encryption_key: - type: boolean - description: If false, the encryption key is not set - alerting_framework_health: - type: object - description: 'Three substates identify the health of the alerting framework: decryptionHealth, executionHealth, and readHealth.' - properties: - decryption_health: - type: object - description: The timestamp and status of the alert decryption. - properties: - status: - type: string - enum: - - ok - - warn - - error - timestamp: - type: string - additionalProperties: false - required: - - status - - timestamp - execution_health: - type: object - description: The timestamp and status of the alert execution. - properties: - status: - type: string - enum: - - ok - - warn - - error - timestamp: - type: string - additionalProperties: false - required: - - status - - timestamp - read_health: - type: object - description: The timestamp and status of the alert reading events. - properties: - status: - type: string - enum: - - ok - - warn - - error - timestamp: - type: string - additionalProperties: false - required: - - status - - timestamp - additionalProperties: false - required: - - decryption_health - - execution_health - - read_health - additionalProperties: false - required: - - is_sufficiently_secure - - has_permanent_encryption_key - - alerting_framework_health - additionalProperties: false - required: - - body - '401': - description: Authorization information is missing or invalid. - parameters: [] - operationId: get-alerting-health - /api/cases: - delete: - summary: Delete cases - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: ids - in: query - required: true - schema: - type: array - items: - type: string - operationId: delete-cases - patch: - summary: Update cases - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-cases - post: - summary: Create a case - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-cases - /api/cases/_find: - get: - summary: Search cases - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: [] - operationId: get-cases-find - /api/cases/{case_id}: - get: - summary: Get a case - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: case_id - in: path - required: true - schema: - type: string - operationId: get-cases-case-id - /api/cases/{case_id}/connector/{connector_id}/_push: - post: - summary: Push a case to an external service - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-cases-case-id-connector-connector-id-push - /api/cases/{case_id}/user_actions/_find: - get: - summary: Find case activity - tags: - - cases - description: Returns a paginated list of user activity for a case. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: case_id - in: path - required: true - schema: - type: string - operationId: get-cases-case-id-user-actions-find - /api/cases/alerts/{alert_id}: - get: - summary: Get cases for an alert - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: alert_id - in: path - required: true - schema: - type: string - minLength: 1 - operationId: get-cases-alerts-alert-id - /api/cases/reporters: - get: - summary: Get case creators - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: [] - operationId: get-cases-reporters - /api/cases/tags: - get: - summary: Get case tags - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: [] - operationId: get-cases-tags - /api/cases/{case_id}/comments/{comment_id}: - delete: - summary: Delete a case comment or alert - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: case_id - in: path - required: true - schema: - type: string - - name: comment_id - in: path - required: true - schema: - type: string - operationId: delete-cases-case-id-comments-comment-id - get: - summary: Get a case comment or alert - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: case_id - in: path - required: true - schema: - type: string - - name: comment_id - in: path - required: true - schema: - type: string - operationId: get-cases-case-id-comments-comment-id - /api/cases/{case_id}/comments: - delete: - summary: Delete all case comments and alerts - tags: - - cases - description: Deletes all comments and alerts from a case. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: case_id - in: path - required: true - schema: - type: string - operationId: delete-cases-case-id-comments - patch: - summary: Update a case comment or alert - tags: - - cases - description: You cannot change the comment type or the owner of a comment. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: case_id - in: path - required: true - schema: - type: string - operationId: patch-cases-case-id-comments - post: - summary: Add a case comment or alert - tags: - - cases - description: Each case can have a maximum of 1,000 alerts. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: case_id - in: path - required: true - schema: - type: string - operationId: post-cases-case-id-comments - /api/cases/{case_id}/comments/_find: - get: - summary: Find case comments and alerts - tags: - - cases - description: Retrieves a paginated list of comments and alerts for a case. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: case_id - in: path - required: true - schema: - type: string - operationId: get-cases-case-id-comments-find - /api/cases/configure: - get: - summary: Get case settings - tags: - - cases - description: Retrieves setting details such as the closure type, custom fields, templates, and the default connector for cases. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: [] - operationId: get-cases-configure - post: - summary: Add case settings - tags: - - cases - description: Case settings include external connection details, custom fields, and templates. Connectors are used to interface with external systems. You must create a connector before you can use it in your cases. If you set a default connector, it is automatically selected when you create cases in Kibana. If you use the create case API, however, you must still specify all of the connector details. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-cases-configure - /api/cases/configure/connectors/_find: - get: - summary: Get case connectors - tags: - - cases - description: 'Retrieves information about connectors that are supported for use in cases.

[Required authorization] Route required privileges: casesGetConnectorsConfigure.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: [] - operationId: get-cases-configure-connectors-find - /api/cases/configure/{configuration_id}: - patch: - summary: Update case settings - tags: - - cases - description: Updates case settings such as the closure type, custom fields, templates, and the default connector for cases. Connectors are used to interface with external systems. You must create a connector before you can use it in your cases. - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-cases-configure-configuration-id - /api/cases/{case_id}/alerts: - get: - summary: Get all alerts for a case - tags: - - cases - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - name: case_id - in: path - required: true - schema: - type: string - minLength: 1 - operationId: get-cases-case-id-alerts - /api/cases/{case_id}/files: - post: - summary: Attach a file to a case - tags: - - cases - requestBody: - content: - multipart/form-data: - schema: - nullable: true - type: object - properties: {} - additionalProperties: true - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: case_id - in: path - required: true - schema: - type: string - operationId: post-cases-case-id-files - /api/upgrade_assistant/status: - get: - summary: Get upgrade readiness status - tags: [] - responses: {} - parameters: - - name: targetVersion - in: query - required: false - schema: - type: string - operationId: get-upgrade-assistant-status - /api/upgrade_assistant/migrate_data_stream/{dataStreamName}/readonly: - post: - summary: Set data stream indices as read-only - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - required: - - indices - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: dataStreamName - in: path - required: true - schema: - type: string - operationId: post-upgrade-assistant-migrate-data-stream-datastreamname-readonly - /api/upgrade_assistant/update_index/{index}: - post: - summary: 'Perform certain update operations on a given index. Currently supported ones are: ''blockWrite'' and ''unfreeze''' - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - operations: - type: array - items: - type: string - enum: - - blockWrite - - unfreeze - additionalProperties: false - required: - - operations - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: index - in: path - required: true - schema: - type: string - operationId: post-upgrade-assistant-update-index-index - /api/reporting/generate/{exportType}: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: generateReport.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - jobParams: - type: string - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: exportType - in: path - required: true - schema: - type: string - minLength: 2 - - name: jobParams - in: query - required: false - schema: - type: string - default: '' - operationId: post-reporting-generate-exporttype - /api/reporting/generate/{p}: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-reporting-generate-p - /api/reporting/jobs/download/{docId}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: docId - in: path - required: true - schema: - type: string - minLength: 3 - operationId: get-reporting-jobs-download-docid - /api/reporting/jobs/delete/{docId}: - delete: - summary: '' - tags: [] - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: docId - in: path - required: true - schema: - type: string - minLength: 3 - operationId: delete-reporting-jobs-delete-docid - /api/observability/annotation: - post: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-annotation - /api/observability/annotation/{id}: - put: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-observability-annotation-id - delete: - summary: '' - tags: [] - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-observability-annotation-id - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-observability-annotation-id - /api/observability/annotation/find: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-observability-annotation-find - /api/observability/annotation/permissions: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get-observability-annotation-permissions - /api/logstash/pipeline/{id}: - delete: - summary: Delete a managed Logstash pipeline - tags: [] - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: delete-logstash-pipeline-id - get: - summary: Get a managed Logstash pipeline - tags: [] - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - operationId: get-logstash-pipeline-id - put: - summary: Create a managed Logstash pipeline - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - description: - type: string - pipeline: - type: string - settings: - type: object - properties: {} - additionalProperties: true - additionalProperties: false - required: - - pipeline - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-logstash-pipeline-id - /api/logstash/pipelines: - get: - summary: Get all managed Logstash pipelines - tags: [] - responses: {} - parameters: [] - operationId: get-logstash-pipelines - /api/logstash/pipelines/delete: - post: - summary: Delete managed Logstash pipelines - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - pipelineIds: - type: array - items: - type: string - additionalProperties: false - required: - - pipelineIds - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-logstash-pipelines-delete - /: - get: - summary: '' - tags: [] - responses: {} - parameters: [] - operationId: get- - /XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-npm/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-kbn-ui-shared-deps-npm-path - /XXXXXXXXXXXX/bundles/kbn-ui-shared-deps-src/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-kbn-ui-shared-deps-src-path - /XXXXXXXXXXXX/bundles/core/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-core-path - /XXXXXXXXXXXX/bundles/kbn-monaco/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-kbn-monaco-path - /XXXXXXXXXXXX/bundles/plugin/mockIdpPlugin/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-mockidpplugin-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/advancedSettings/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-advancedsettings-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/eventAnnotation/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-eventannotation-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/eventAnnotationListing/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-eventannotationlisting-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/filesManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-filesmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/imageEmbeddable/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-imageembeddable-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/inputControlVis/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-inputcontrolvis-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/inspectComponent/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-inspectcomponent-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/kibanaOverview/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanaoverview-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/kibanaUsageCollection/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanausagecollection-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/links/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-links-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/mapsEms/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-mapsems-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/presentationPanel/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-presentationpanel-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/urlForwarding/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-urlforwarding-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visDefaultEditor/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-visdefaulteditor-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeMarkdown/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypemarkdown-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeGauge/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypegauge-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeHeatmap/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypeheatmap-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeMetric/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypemetric-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypePie/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypepie-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeTable/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetable-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeTagcloud/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetagcloud-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeTimelion/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetimelion-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeVega/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypevega-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeVislib/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypevislib-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeXy/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypexy-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/aiAssistantManagementSelection/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-aiassistantmanagementselection-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionGauge/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressiongauge-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionHeatmap/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionheatmap-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionLegacyMetricVis/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionlegacymetricvis-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionMetricVis/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionmetricvis-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionPartitionVis/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionpartitionvis-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionTagcloud/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressiontagcloud-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressionXY/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressionxy-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/charts/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-charts-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/console/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-console-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/contentManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-contentmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/controls/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-controls-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cps/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cps-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/customIntegrations/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-customintegrations-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dashboard/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboard-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dashboardMarkdown/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboardmarkdown-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/data/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-data-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataViewEditor/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-datavieweditor-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataViewFieldEditor/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviewfieldeditor-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataViewManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviewmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataViews/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dataviews-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/devTools/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-devtools-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/developerToolbar/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-developertoolbar-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/discover/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-discover-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/discoverShared/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-discovershared-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/embeddable/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddable-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/esUiShared/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-esuishared-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/esql/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-esql-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/esqlDataGrid/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-esqldatagrid-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/expressions/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-expressions-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/fieldFormats/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-fieldformats-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/files/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-files-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/home/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-home-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/inspector/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-inspector-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/kibanaReact/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanareact-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/kibanaUtils/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-kibanautils-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/management/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-management-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/metricsExperience/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-metricsexperience-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/navigation/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-navigation-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/newsfeed/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-newsfeed-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/noDataPage/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-nodatapage-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/presentationUtil/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-presentationutil-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedObjects/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjects-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedObjectsFinder/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectsfinder-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedObjectsManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectsmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedObjectsTaggingOss/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectstaggingoss-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedSearch/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedsearch-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/screenshotMode/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-screenshotmode-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/share/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-share-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/telemetry/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-telemetry-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/telemetryManagementSection/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-telemetrymanagementsection-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/uiActions/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-uiactions-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/uiActionsEnhanced/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-uiactionsenhanced-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/unifiedDocViewer/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-unifieddocviewer-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/unifiedSearch/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-unifiedsearch-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/usageCollection/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-usagecollection-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visTypeTimeseries/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-vistypetimeseries-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/visualizations/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-visualizations-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/workflowsManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-workflowsmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/banners/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-banners-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/canvas/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-canvas-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloudDataMigration/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-clouddatamigration-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloudExperiments/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudexperiments-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloudFullStory/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudfullstory-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloudLinks/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudlinks-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/crossClusterReplication/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-crossclusterreplication-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataUsage/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-datausage-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataVisualizer/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-datavisualizer-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/discoverEnhanced/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-discoverenhanced-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/urlDrilldown/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-urldrilldown-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/fileUpload/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-fileupload-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/genAiSettings/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-genaisettings-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/globalSearchBar/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearchbar-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/globalSearchProviders/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearchproviders-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/graph/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-graph-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/grokdebugger/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-grokdebugger-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/indexLifecycleManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-indexlifecyclemanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/intercepts/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-intercepts-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/logstash/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-logstash-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/monitoring/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-monitoring-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityAiAssistantManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistantmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/painlessLab/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-painlesslab-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/productIntercept/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-productintercept-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/reindexService/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-reindexservice-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/remoteClusters/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-remoteclusters-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/reporting/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-reporting-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/rollup/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-rollup-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/runtimeFields/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-runtimefields-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/snapshotRestore/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-snapshotrestore-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/transform/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-transform-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/upgradeAssistant/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-upgradeassistant-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/watcher/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-watcher-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/actions/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-actions-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/productDocBase/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-productdocbase-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/aiops/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-aiops-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/alerting/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-alerting-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/apmSourcesAccess/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-apmsourcesaccess-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/automaticImport/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-automaticimport-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cases/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cases-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloud/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cloud-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/contentConnectors/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-contentconnectors-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dashboardEnhanced/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dashboardenhanced-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataConnectors/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dataconnectors-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataQuality/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-dataquality-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/dataSourcesRegistry/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-datasourcesregistry-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/datasetQuality/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-datasetquality-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/embeddableAlertsTable/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddablealertstable-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/embeddableEnhanced/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-embeddableenhanced-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/features/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-features-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/fieldsMetadata/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-fieldsmetadata-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/fleet/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-fleet-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/globalSearch/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-globalsearch-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/indexManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-indexmanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/inference/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-inference-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/ingestPipelines/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-ingestpipelines-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/lens/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-lens-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/licenseManagement/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-licensemanagement-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/licensing/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-licensing-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/logsDataAccess/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-logsdataaccess-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/logsShared/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-logsshared-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/maps/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-maps-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/ml/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-ml-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityAIAssistant/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistant-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/onechat/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-onechat-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/osquery/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-osquery-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/sampleDataIngest/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-sampledataingest-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/savedObjectsTagging/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-savedobjectstagging-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/screenshotting/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-screenshotting-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchprofiler/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchprofiler-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/security/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-security-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/serverless/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-serverless-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/spaces/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-spaces-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/stackAlerts/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-stackalerts-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/stackConnectors/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-stackconnectors-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/streams/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-streams-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/streamsApp/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-streamsapp-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/timelines/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-timelines-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/triggersActionsUi/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-triggersactionsui-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/apm/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-apm-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/exploratoryView/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-exploratoryview-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/infra/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-infra-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/metricsDataAccess/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-metricsdataaccess-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observability/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observability-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityAIAssistantApp/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityaiassistantapp-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityLogsExplorer/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilitylogsexplorer-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityOnboarding/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityonboarding-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/observabilityShared/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-observabilityshared-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/profiling/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-profiling-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/serverlessObservability/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlessobservability-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/slo/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-slo-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/synthetics/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-synthetics-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/uptime/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-uptime-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/ux/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-ux-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/enterpriseSearch/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-enterprisesearch-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchAssistant/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchassistant-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchGettingStarted/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchgettingstarted-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchHomepage/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchhomepage-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchIndices/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchindices-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchInferenceEndpoints/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchinferenceendpoints-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchNavigation/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchnavigation-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchNotebooks/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchnotebooks-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchPlayground/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchplayground-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchQueryRules/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchqueryrules-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/searchSynonyms/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-searchsynonyms-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/serverlessSearch/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlesssearch-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/cloudSecurityPosture/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-cloudsecurityposture-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/elasticAssistant/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-elasticassistant-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/elasticAssistantSharedState/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-elasticassistantsharedstate-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/lists/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-lists-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/securitySolution/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolution-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/securitySolutionEss/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolutioness-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/securitySolutionServerless/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-securitysolutionserverless-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/sessionView/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-sessionview-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/serverlessWorkplaceAI/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-serverlessworkplaceai-1.0.0-path - /XXXXXXXXXXXX/bundles/plugin/workplaceAIApp/1.0.0/{path}: - get: - summary: '' - tags: [] - responses: {} - parameters: - - name: path - in: path - required: true - schema: - type: string - operationId: get-xxxxxxxxxxxx-bundles-plugin-workplaceaiapp-1.0.0-path - /api/index_patterns/index_pattern/{id}/fields: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - fields: - type: object - additionalProperties: - type: object - properties: - customLabel: - nullable: true - type: string - minLength: 1 - maxLength: 1000 - customDescription: - nullable: true - type: string - minLength: 1 - maxLength: 300 - count: - nullable: true - type: number - format: - nullable: true - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - additionalProperties: false - additionalProperties: false - required: - - fields - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - index_pattern - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id-fields - /api/data_views/data_view/{id}/fields: - post: - summary: '' - tags: [] - description: 'Update data view fields metadata

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - fields: - type: object - additionalProperties: - type: object - properties: - customLabel: - nullable: true - type: string - minLength: 1 - maxLength: 1000 - customDescription: - nullable: true - type: string - minLength: 1 - maxLength: 300 - count: - nullable: true - type: number - format: - nullable: true - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - additionalProperties: false - additionalProperties: false - required: - - fields - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - data_view - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-data-views-data-view-id-fields - /api/data_views/data_view/{id}/runtime_field: - post: - summary: '' - tags: [] - description: 'Create a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 1000 - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-data-views-data-view-id-runtime-field - put: - summary: '' - tags: [] - description: 'Create or update a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 1000 - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: put-data-views-data-view-id-runtime-field - /api/index_patterns/index_pattern/{id}/runtime_field: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 1000 - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id-runtime-field - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 1000 - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: put-index-patterns-index-pattern-id-runtime-field - /api/data_views/data_view/{id}/runtime_field/{name}: - delete: - summary: '' - tags: [] - description: 'Delete a runtime field from a data view

[Required authorization] Route required privileges: indexPatterns:manage.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: delete-data-views-data-view-id-runtime-field-name - get: - summary: '' - tags: [] - description: Get a runtime field - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: get-data-views-data-view-id-runtime-field-name - post: - summary: '' - tags: [] - description: 'Update a runtime field

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - additionalProperties: false - required: - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-data-views-data-view-id-runtime-field-name - /api/index_patterns/index_pattern/{id}/runtime_field/{name}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: delete-index-patterns-index-pattern-id-runtime-field-name - get: - summary: '' - tags: [] - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: get-index-patterns-index-pattern-id-runtime-field-name - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - additionalProperties: false - required: - - runtimeField - responses: - '200': - content: - application/json: - schema: - anyOf: - - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - fields: - type: array - items: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - data_view - - fields - - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id-runtime-field-name - /api/data_views/data_view: - post: - summary: '' - tags: [] - description: 'Create a data view

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - override: - type: boolean - refresh_fields: - type: boolean - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - data_view - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - data_view - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-data-views-data-view - /api/index_patterns/index_pattern: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - override: - type: boolean - refresh_fields: - type: boolean - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - index_pattern - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - index_pattern - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-index-patterns-index-pattern - /api/data_views/default: - get: - summary: '' - tags: [] - description: Get the default data view - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view_id: - type: string - additionalProperties: false - required: - - data_view_id - parameters: [] - operationId: get-data-views-default - post: - summary: '' - tags: [] - description: 'Set the default data view

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - data_view_id: - nullable: true - type: string - minLength: 1 - maxLength: 1000 - force: - type: boolean - default: false - additionalProperties: false - required: - - data_view_id - responses: - '200': - content: - application/json: - schema: - type: object - properties: - acknowledged: - type: boolean - additionalProperties: false - required: - - acknowledged - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-data-views-default - /api/index_patterns/default: - get: - summary: '' - tags: [] - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern_id: - type: string - additionalProperties: false - required: - - index_pattern_id - parameters: [] - operationId: get-index-patterns-default - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - index_pattern_id: - nullable: true - type: string - minLength: 1 - maxLength: 1000 - force: - type: boolean - default: false - additionalProperties: false - required: - - index_pattern_id - responses: - '200': - content: - application/json: - schema: - type: object - properties: - acknowledged: - type: boolean - additionalProperties: false - required: - - acknowledged - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-index-patterns-default - /api/data_views/data_view/{id}: - delete: - summary: '' - tags: [] - description: 'Delete a data view

[Required authorization] Route required privileges: indexPatterns:manage.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: delete-data-views-data-view-id - get: - summary: '' - tags: [] - description: Get a data view - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - data_view - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: get-data-views-data-view-id - post: - summary: '' - tags: [] - description: 'Update a data view

[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - refresh_fields: - type: boolean - data_view: - type: object - properties: - title: - type: string - type: - type: string - typeMeta: - type: object - properties: {} - additionalProperties: true - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - additionalProperties: false - additionalProperties: false - required: - - data_view - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - data_view - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-data-views-data-view-id - /api/index_patterns/index_pattern/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: delete-index-patterns-index-pattern-id - get: - summary: '' - tags: [] - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - index_pattern - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: get-index-patterns-index-pattern-id - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - refresh_fields: - type: boolean - index_pattern: - type: object - properties: - title: - type: string - type: - type: string - typeMeta: - type: object - properties: {} - additionalProperties: true - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - additionalProperties: false - additionalProperties: false - required: - - index_pattern - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - additionalProperties: false - required: - - index_pattern - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id - /api/data_views: - get: - summary: '' - tags: [] - description: Get all data views - responses: - '200': - content: - application/json: - schema: - type: object - properties: - data_view: - type: array - items: - type: object - properties: - id: - type: string - namespaces: - type: array - items: - type: string - title: - type: string - type: - type: string - typeMeta: - type: object - properties: {} - additionalProperties: true - name: - type: string - timeFieldName: - type: string - managed: - type: boolean - additionalProperties: false - required: - - id - - title - additionalProperties: false - required: - - data_view - parameters: [] - operationId: get-data-views - /api/index_patterns/index_pattern/{id}/scripted_field: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - field - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id-scripted-field - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - field - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: put-index-patterns-index-pattern-id-scripted-field - /api/index_patterns/index_pattern/{id}/scripted_field/{name}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: delete-index-patterns-index-pattern-id-scripted-field-name - get: - summary: '' - tags: [] - responses: - '200': - content: - application/json: - schema: - type: object - properties: - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - field - parameters: - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: get-index-patterns-index-pattern-id-scripted-field-name - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: indexPatterns:manage.' - requestBody: - content: - application/json: - schema: - type: object - properties: - field: - type: object - properties: - type: - type: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - additionalProperties: false - required: - - field - responses: - '200': - content: - application/json: - schema: - type: object - properties: - index_pattern: - type: object - properties: - title: - type: string - version: - type: string - id: - type: string - type: - type: string - timeFieldName: - type: string - sourceFilters: - type: array - items: - type: object - properties: - value: - type: string - clientId: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - value - fields: - type: object - additionalProperties: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - typeMeta: - type: object - properties: {} - additionalProperties: true - fieldFormats: - type: object - additionalProperties: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - fieldAttrs: - type: object - additionalProperties: - type: object - properties: - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - count: - type: number - additionalProperties: false - allowNoIndex: - type: boolean - runtimeFieldMap: - type: object - additionalProperties: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - name: - type: string - namespaces: - type: array - items: - type: string - allowHidden: - type: boolean - additionalProperties: false - required: - - title - field: - type: object - properties: - name: - type: string - maxLength: 1000 - type: - type: string - default: string - maxLength: 1000 - count: - type: number - minimum: 0 - script: - type: string - maxLength: 1000000 - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - esTypes: - type: array - items: - type: string - scripted: - type: boolean - subType: - type: object - properties: - multi: - type: object - properties: - parent: - type: string - additionalProperties: false - required: - - parent - nested: - type: object - properties: - path: - type: string - additionalProperties: false - required: - - path - additionalProperties: false - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - shortDotsEnable: - type: boolean - searchable: - type: boolean - aggregatable: - type: boolean - readFromDocValues: - type: boolean - runtimeField: - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - composite - script: - type: object - properties: - source: - type: string - additionalProperties: false - required: - - source - fields: - type: object - additionalProperties: - type: object - properties: - type: - type: string - enum: - - keyword - - long - - double - - date - - ip - - boolean - - geo_point - format: - type: object - properties: - id: - type: string - params: {} - additionalProperties: false - required: - - params - customLabel: - type: string - customDescription: - type: string - maxLength: 300 - popularity: - type: number - minimum: 0 - additionalProperties: false - required: - - type - additionalProperties: false - required: - - type - additionalProperties: false - required: - - name - additionalProperties: false - required: - - index_pattern - - field - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1000 - operationId: post-index-patterns-index-pattern-id-scripted-field-name - /api/data_views/swap_references: - post: - summary: '' - tags: [] - description: Swap saved object references for a data view - requestBody: - content: - application/json: - schema: - type: object - properties: - fromId: - type: string - fromType: - type: string - toId: - type: string - forId: - anyOf: - - type: string - - type: array - items: - type: string - forType: - type: string - delete: - type: boolean - additionalProperties: false - required: - - fromId - - toId - responses: - '200': - content: - application/json: - schema: - type: object - properties: - result: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - additionalProperties: false - required: - - id - - type - deleteStatus: - type: object - properties: - remainingRefs: - type: number - deletePerformed: - type: boolean - additionalProperties: false - required: - - remainingRefs - - deletePerformed - additionalProperties: false - required: - - result - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-data-views-swap-references - /api/data_views/swap_references/_preview: - post: - summary: '' - tags: [] - description: Preview swapping saved object references - requestBody: - content: - application/json: - schema: - type: object - properties: - fromId: - type: string - fromType: - type: string - toId: - type: string - forId: - anyOf: - - type: string - - type: array - items: - type: string - forType: - type: string - delete: - type: boolean - additionalProperties: false - required: - - fromId - - toId - responses: - '200': - content: - application/json: - schema: - type: object - properties: - result: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - additionalProperties: false - required: - - id - - type - deleteStatus: - type: object - properties: - remainingRefs: - type: number - deletePerformed: - type: boolean - additionalProperties: false - required: - - remainingRefs - - deletePerformed - additionalProperties: false - required: - - result - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-data-views-swap-references-preview - /api/spaces/space/{id}: - get: - summary: Get a space - tags: - - spaces - responses: - '200': - description: Indicates a successful call. - parameters: - - name: id - in: path - required: true - schema: - type: string - description: The space identifier. - operationId: get-spaces-space-id - put: - summary: Update a space - tags: - - spaces - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The space ID that is part of the Kibana URL when inside the space. Space IDs are limited to lowercase alphanumeric, underscore, and hyphen characters (a-z, 0-9, _, and -). You are cannot change the ID with the update operation. - name: - type: string - description: 'The display name for the space. ' - minLength: 1 - description: - type: string - description: A description for the space. - initials: - type: string - description: One or two characters that are shown in the space avatar. By default, the initials are automatically generated from the space name. - maxLength: 2 - color: - type: string - description: The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name. - disabledFeatures: - type: array - default: [] - items: - type: string - description: The list of features that are turned off in the space. - _reserved: - type: boolean - imageUrl: - type: string - description: The data-URL encoded image to display in the space avatar. If specified, initials will not be displayed and the color will be visible as the background color for transparent images. For best results, your image should be 64x64. Images will not be optimized by this API call, so care should be taken when using custom images. - solution: - type: string - enum: - - security - - oblt - - es - - classic - additionalProperties: false - required: - - id - - name - responses: - '200': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The space identifier. You are unable to change the ID with the update operation. - operationId: put-spaces-space-id - delete: - summary: Delete a space - tags: - - spaces - description: When you delete a space, all saved objects that belong to the space are automatically deleted, which is permanent and cannot be undone. - responses: - '204': - description: Indicates a successful call. - '404': - description: Indicates that the request failed. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The space identifier. - operationId: delete-spaces-space-id - /api/spaces/space: - get: - summary: Get all spaces - tags: - - spaces - responses: - '200': - description: Indicates a successful call. - parameters: - - name: purpose - in: query - required: false - schema: - type: string - enum: - - any - - copySavedObjectsIntoSpace - - shareSavedObjectsIntoSpace - description: Specifies which authorization checks are applied to the API call. The default value is `any`. - - name: include_authorized_purposes - in: query - required: true - schema: - oneOf: - - type: boolean - enum: - - false - x-oas-optional: true - - type: boolean - x-oas-optional: true - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - description: When enabled, the API returns any spaces that the user is authorized to access in any capacity and each space will contain the purposes for which the user is authorized. This can be useful to determine which spaces a user can read but not take a specific action in. If the security plugin is not enabled, this parameter has no effect, since no authorization checks take place. This parameter cannot be used in with the `purpose` parameter. - operationId: get-spaces-space - post: - summary: Create a space - tags: - - spaces - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: The space ID that is part of the Kibana URL when inside the space. Space IDs are limited to lowercase alphanumeric, underscore, and hyphen characters (a-z, 0-9, _, and -). You are cannot change the ID with the update operation. - name: - type: string - description: 'The display name for the space. ' - minLength: 1 - description: - type: string - description: A description for the space. - initials: - type: string - description: One or two characters that are shown in the space avatar. By default, the initials are automatically generated from the space name. - maxLength: 2 - color: - type: string - description: The hexadecimal color code used in the space avatar. By default, the color is automatically generated from the space name. - disabledFeatures: - type: array - default: [] - items: - type: string - description: The list of features that are turned off in the space. - _reserved: - type: boolean - imageUrl: - type: string - description: The data-URL encoded image to display in the space avatar. If specified, initials will not be displayed and the color will be visible as the background color for transparent images. For best results, your image should be 64x64. Images will not be optimized by this API call, so care should be taken when using custom images. - solution: - type: string - enum: - - security - - oblt - - es - - classic - additionalProperties: false - required: - - id - - name - responses: - '200': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-spaces-space - /api/security/role/{name}: - get: - summary: Get a role - tags: - - roles - responses: - '200': - description: Indicates a successful call. - parameters: - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - description: The role name. - - name: replaceDeprecatedPrivileges - in: query - required: false - schema: - type: boolean - description: If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges. - operationId: get-security-role-name - delete: - summary: Delete a role - tags: - - roles - responses: - '204': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - operationId: delete-security-role-name - put: - summary: Create or update a role - tags: - - roles - description: Create a new Kibana role or update the attributes of an existing role. Kibana roles are stored in the Elasticsearch native realm. - requestBody: - content: - application/json: - schema: - type: object - properties: - description: - type: string - description: A description for the role. - maxLength: 2048 - metadata: - type: object - additionalProperties: {} - elasticsearch: - type: object - properties: - cluster: - type: array - items: - type: string - description: Cluster privileges that define the cluster level actions that users can perform. - remote_cluster: - type: array - items: - type: object - properties: - privileges: - type: array - minItems: 1 - items: - type: string - description: The cluster level privileges for the remote cluster. The allowed values are a subset of the cluster privileges. - clusters: - type: array - minItems: 1 - items: - type: string - description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. - additionalProperties: false - required: - - privileges - - clusters - indices: - type: array - items: - type: object - properties: - names: - type: array - minItems: 1 - items: - type: string - description: The data streams, indices, and aliases to which the permissions in this entry apply. It supports wildcards (*). - field_security: - type: object - additionalProperties: - type: array - items: - type: string - description: The document fields that the role members have read access to. - privileges: - type: array - minItems: 1 - items: - type: string - description: The index level privileges that the role members have for the data streams and indices. - query: - type: string - description: A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. - allow_restricted_indices: - type: boolean - description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field covers the restricted indices too. - additionalProperties: false - required: - - names - - privileges - remote_indices: - type: array - items: - type: object - properties: - clusters: - type: array - minItems: 1 - items: - type: string - description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. - names: - type: array - minItems: 1 - items: - type: string - description: A list of remote aliases, data streams, or indices to which the permissions apply. It supports wildcards (*). - field_security: - type: object - additionalProperties: - type: array - items: - type: string - description: The document fields that the role members have read access to. - privileges: - type: array - minItems: 1 - items: - type: string - description: The index level privileges that role members have for the specified indices. - query: - type: string - description: 'A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. ' - allow_restricted_indices: - type: boolean - description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field will cover the restricted indices too. - additionalProperties: false - required: - - clusters - - names - - privileges - run_as: - type: array - items: - type: string - description: A user name that the role member can impersonate. - additionalProperties: false - kibana: - type: array - items: - type: object - properties: - spaces: - default: - - '*' - anyOf: - - type: array - minItems: 1 - maxItems: 1 - items: - type: string - enum: - - '*' - - type: array - items: - type: string - description: A space that the privilege applies to. - base: - oneOf: - - type: array - items: - type: string - description: A base privilege that grants applies to all spaces. - - type: array - items: - type: string - description: A base privilege that applies to specific spaces. - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - feature: - type: object - additionalProperties: - type: array - items: - type: string - description: The privileges that the role member has for the feature. - additionalProperties: false - required: - - base - additionalProperties: false - required: - - elasticsearch - responses: - '204': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1024 - description: The role name. - - name: createOnly - in: query - required: false - schema: - type: boolean - default: false - description: When true, a role is not overwritten if it already exists. - operationId: put-security-role-name - /api/security/role: - get: - summary: Get all roles - tags: - - roles - responses: - '200': - description: Indicates a successful call. - parameters: - - name: replaceDeprecatedPrivileges - in: query - required: false - schema: - type: boolean - description: If `true` and the response contains any privileges that are associated with deprecated features, they are omitted in favor of details about the appropriate replacement feature privileges. - operationId: get-security-role - /api/security/roles: - post: - summary: Create or update roles - tags: - - roles - requestBody: - content: - application/json: - schema: - type: object - properties: - roles: - type: object - additionalProperties: - type: object - properties: - description: - type: string - description: A description for the role. - maxLength: 2048 - metadata: - type: object - additionalProperties: {} - elasticsearch: - type: object - properties: - cluster: - type: array - items: - type: string - description: Cluster privileges that define the cluster level actions that users can perform. - remote_cluster: - type: array - items: - type: object - properties: - privileges: - type: array - minItems: 1 - items: - type: string - description: The cluster level privileges for the remote cluster. The allowed values are a subset of the cluster privileges. - clusters: - type: array - minItems: 1 - items: - type: string - description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. - additionalProperties: false - required: - - privileges - - clusters - indices: - type: array - items: - type: object - properties: - names: - type: array - minItems: 1 - items: - type: string - description: The data streams, indices, and aliases to which the permissions in this entry apply. It supports wildcards (*). - field_security: - type: object - additionalProperties: - type: array - items: - type: string - description: The document fields that the role members have read access to. - privileges: - type: array - minItems: 1 - items: - type: string - description: The index level privileges that the role members have for the data streams and indices. - query: - type: string - description: A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. - allow_restricted_indices: - type: boolean - description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field covers the restricted indices too. - additionalProperties: false - required: - - names - - privileges - remote_indices: - type: array - items: - type: object - properties: - clusters: - type: array - minItems: 1 - items: - type: string - description: A list of remote cluster aliases. It supports literal strings as well as wildcards and regular expressions. - names: - type: array - minItems: 1 - items: - type: string - description: A list of remote aliases, data streams, or indices to which the permissions apply. It supports wildcards (*). - field_security: - type: object - additionalProperties: - type: array - items: - type: string - description: The document fields that the role members have read access to. - privileges: - type: array - minItems: 1 - items: - type: string - description: The index level privileges that role members have for the specified indices. - query: - type: string - description: 'A search query that defines the documents the role members have read access to. A document within the specified data streams and indices must match this query in order for it to be accessible by the role members. ' - allow_restricted_indices: - type: boolean - description: Restricted indices are a special category of indices that are used internally to store configuration data and should not be directly accessed. Only internal system roles should normally grant privileges over the restricted indices. Toggling this flag is very strongly discouraged because it could effectively grant unrestricted operations on critical data, making the entire system unstable or leaking sensitive information. If for administrative purposes you need to create a role with privileges covering restricted indices, however, you can set this property to true. In that case, the names field will cover the restricted indices too. - additionalProperties: false - required: - - clusters - - names - - privileges - run_as: - type: array - items: - type: string - description: A user name that the role member can impersonate. - additionalProperties: false - kibana: - type: array - items: - type: object - properties: - spaces: - default: - - '*' - anyOf: - - type: array - minItems: 1 - maxItems: 1 - items: - type: string - enum: - - '*' - - type: array - items: - type: string - description: A space that the privilege applies to. - base: - oneOf: - - type: array - items: - type: string - description: A base privilege that grants applies to all spaces. - - type: array - items: - type: string - description: A base privilege that applies to specific spaces. - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - feature: - type: object - additionalProperties: - type: array - items: - type: string - description: The privileges that the role member has for the feature. - additionalProperties: false - required: - - base - additionalProperties: false - required: - - elasticsearch - additionalProperties: false - required: - - roles - responses: - '200': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-roles - /api/security/role/_query: - post: - summary: Query roles - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - query: - type: string - from: - type: number - size: - type: number - sort: - type: object - properties: - field: - type: string - direction: - type: string - enum: - - asc - - desc - additionalProperties: false - required: - - field - - direction - filters: - type: object - properties: - showReservedRoles: - type: boolean - additionalProperties: false - additionalProperties: false - responses: - '200': - description: Indicates a successful call. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-role-query - /api/lists: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-lists - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-lists - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-lists - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-lists - /api/lists/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists-find - /api/lists/privileges: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists-privileges - /api/lists/items: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-lists-items - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists-items - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-lists-items - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-lists-items - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-lists-items - /api/lists/items/_export: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-lists-items-export - /api/lists/items/_import: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - multipart/form-data: - schema: - type: string - format: binary - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-lists-items-import - /api/lists/items/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists-items-find - /api/lists/index: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: [] - operationId: post-lists-index - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-lists-index - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: [] - operationId: delete-lists-index - /api/exception_lists/_export: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exception-lists-export - /api/exception_lists/_import: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exception-lists-import - /api/exception_lists: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exception-lists - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-exception-lists - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-exception-lists - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-exception-lists - /api/exception_lists/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-exception-lists-find - /api/exception_lists/_duplicate: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exception-lists-duplicate - /api/exception_lists/items: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exception-lists-items - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-exception-lists-items - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-exception-lists-items - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-exception-lists-items - /api/exception_lists/items/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-exception-lists-items-find - /api/endpoint_list: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: [] - operationId: post-endpoint-list - /api/endpoint_list/items: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-list-items - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-endpoint-list-items - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-endpoint-list-items - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-all.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-endpoint-list-items - /api/endpoint_list/items/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-read.' - responses: {} - parameters: [] - operationId: get-endpoint-list-items-find - /api/exception_lists/summary: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: lists-summary.' - responses: {} - parameters: [] - operationId: get-exception-lists-summary - /api/telemetry/v2/config: - get: - summary: '' - tags: [] - responses: - '200': - content: - application/json: - schema: - type: object - properties: - allowChangingOptInStatus: - type: boolean - optIn: - nullable: true - type: boolean - sendUsageFrom: - type: string - enum: - - server - - browser - telemetryNotifyUserAboutOptInDefault: - type: boolean - labels: - type: object - default: {} - properties: - branch: - type: string - ciBuildJobId: - type: string - ciBuildId: - type: string - ciBuildNumber: - type: number - environment: - type: string - ftrConfig: - type: string - gitRev: - type: string - isPr: - type: boolean - prId: - type: number - journeyName: - type: string - testBuildId: - type: string - testJobId: - type: string - ciBuildName: - type: string - performancePhase: - type: string - serverless: - type: string - additionalProperties: false - additionalProperties: false - required: - - allowChangingOptInStatus - - optIn - - sendUsageFrom - - telemetryNotifyUserAboutOptInDefault - parameters: [] - operationId: get-telemetry-v2-config - /api/telemetry/v2/clusters/_opt_in_stats: - post: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: - type: object - properties: - enabled: - type: boolean - unencrypted: - type: boolean - default: true - additionalProperties: false - required: - - enabled - responses: - '200': - content: - application/json: - schema: - type: array - items: - type: object - properties: - clusterUuid: - type: string - stats: - type: object - properties: - cluster_uuid: - type: string - opt_in_status: - type: boolean - additionalProperties: false - required: - - cluster_uuid - - opt_in_status - additionalProperties: false - required: - - clusterUuid - - stats - '503': - content: - application/json: - schema: - type: string - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-telemetry-v2-clusters-opt-in-stats - /api/observability_ai_assistant/chat/complete: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: ai_assistant.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-ai-assistant-chat-complete - /api/agent_builder/tools: - get: - summary: List tools - tags: - - agent builder - description: 'List all available tools. Use this endpoint to retrieve complete tool definitions including their schemas and configuration requirements.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - listToolsResponseExample: - description: Example response returning a list of existing tools - value: - results: - - id: platform.core.search - type: builtin - description: |- - A powerful tool for searching and analyzing data within your Elasticsearch cluster. - It supports both full-text relevance searches and structured analytical queries. - - Use this tool for any query that involves finding documents, counting, aggregating, or summarizing data from a known index. - - Examples of queries: - - "find articles about serverless architecture" - - "search for support tickets mentioning 'billing issue' or 'refund request'" - - "what is our policy on parental leave?" - - "list all products where the category is 'electronics'" - - "show me the last 5 documents from that index" - - "show me the sales over the last year break down by month" - - Note: - - The 'index' parameter can be used to specify which index to search against. - If not provided, the tool will decide itself which is the best index to use. - - It is perfectly fine not to specify the 'index' parameter. It should only be specified when you already - know about the index and fields you want to search on, e.g. if the user explicitly specified it. - tags: [] - configuration: {} - readonly: true - schema: - type: object - properties: - query: - type: string - description: A natural language query expressing the search request - index: - type: string - description: (optional) Index to search against. If not provided, will automatically select the best index to use based on the query. - required: - - query - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - - id: platform.core.get_document_by_id - type: builtin - description: Retrieve the full content (source) of an Elasticsearch document based on its ID and index name. - tags: [] - configuration: {} - readonly: true - schema: - type: object - properties: - id: - type: string - description: ID of the document to retrieve - index: - type: string - description: Name of the index to retrieve the document from - required: - - id - - index - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - - id: platform.core.execute_esql - type: builtin - description: |- - Execute an ES|QL query and return the results in a tabular format. - - **IMPORTANT**: This tool only **runs** queries; it does not write them. - Think of this as the final step after a query has been prepared. - - You **must** get the query from one of two sources before calling this tool: - 1. The output of the `platform.core.generate_esql` tool (if the tool is available). - 2. A verbatim query provided directly by the user. - - Under no circumstances should you invent, guess, or modify a query yourself for this tool. - If you need a query, use the `platform.core.generate_esql` tool first. - tags: [] - configuration: {} - readonly: true - schema: - type: object - properties: - query: - type: string - description: The ES|QL query to execute - required: - - query - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - - id: example-esql-tool - type: esql - description: Example ES|QL query tool for analyzing financial trades with time filtering - tags: - - analytics - - finance - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - readonly: false - schema: - type: object - properties: - startTime: - type: string - format: date-time - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - required: - - startTime - - limit - additionalProperties: false - description: Parameters needed to execute the query - $schema: http://json-schema.org/draft-07/schema# - - id: example-index-search-tool - type: index_search - description: Search tool specifically for financial data analysis and reporting - tags: - - search - - finance - configuration: - pattern: financial_* - readonly: false - schema: - type: object - properties: - nlQuery: - type: string - description: A natural language query expressing the search request - required: - - nlQuery - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - parameters: [] - operationId: get-agent-builder-tools - x-state: Technical Preview; added in 9.2.0 - post: - summary: Create a tool - tags: - - agent builder - description: 'Create a new tool. Use this endpoint to define a custom tool with specific functionality and configuration for use by agents.

[Required authorization] Route required privileges: manage_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: Unique identifier for the tool. - type: - description: The type of tool to create (e.g., esql, index_search). - type: string - enum: - - esql - - index_search - - workflow - description: - type: string - description: Description of what the tool does. - default: '' - tags: - type: array - description: Optional tags for categorizing and organizing tools. - default: [] - items: - type: string - description: Tag for categorizing the tool. - configuration: - type: object - description: Tool-specific configuration parameters. See examples for details. - additionalProperties: {} - additionalProperties: false - required: - - id - - type - - configuration - examples: - createEsqlToolRequest: - description: Example request to create an ESQL query tool with a pre-defined query - value: - id: example-esql-tool - type: esql - description: Example ES|QL query tool for analyzing financial trades with time filtering - tags: - - analytics - - finance - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - createIndexSearchToolRequest: - description: Example request to create an index_search tool with a pre-defined index pattern - value: - id: example-index-search-tool - type: index_search - description: Search tool specifically for financial data analysis and reporting - tags: - - search - - finance - configuration: - pattern: financial_* - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - createEsqlToolExample: - description: Example response returning a definition of ESQL tool created - value: - id: example-esql-tool - type: esql - description: Example ES|QL query tool for analyzing financial trades with time filtering - tags: - - analytics - - finance - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - readonly: false - schema: - type: object - properties: - startTime: - type: string - format: date-time - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - required: - - startTime - - limit - additionalProperties: false - description: Parameters needed to execute the query - $schema: http://json-schema.org/draft-07/schema# - createIndexSearchToolExample: - description: Example response returning a definition of search tool tool created - value: - id: example-index-search-tool - type: index_search - description: Search tool specifically for financial data analysis and reporting - tags: - - search - - finance - configuration: - pattern: financial_* - readonly: false - schema: - type: object - properties: - nlQuery: - type: string - description: A natural language query expressing the search request - required: - - nlQuery - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-agent-builder-tools - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/tools/{id}: - get: - summary: Get a tool by id - tags: - - agent builder - description: 'Get a specific tool by ID. Use this endpoint to retrieve the complete tool definition including its schema and configuration requirements.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - getBuiltinToolExample: - description: Example response returning built-in platform.core.search tool - value: - id: platform.core.search - type: builtin - description: |- - A powerful tool for searching and analyzing data within your Elasticsearch cluster. - It supports both full-text relevance searches and structured analytical queries. - - Use this tool for any query that involves finding documents, counting, aggregating, or summarizing data from a known index. - - Examples of queries: - - "find articles about serverless architecture" - - "search for support tickets mentioning 'billing issue' or 'refund request'" - - "what is our policy on parental leave?" - - "list all products where the category is 'electronics'" - - "show me the last 5 documents from that index" - - "show me the sales over the last year break down by month" - - Note: - - The 'index' parameter can be used to specify which index to search against. - If not provided, the tool will decide itself which is the best index to use. - - It is perfectly fine not to specify the 'index' parameter. It should only be specified when you already - know about the index and fields you want to search on, e.g. if the user explicitly specified it. - tags: [] - configuration: {} - readonly: true - schema: - type: object - properties: - query: - type: string - description: A natural language query expressing the search request - index: - type: string - description: (optional) Index to search against. If not provided, will automatically select the best index to use based on the query. - required: - - query - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - getEsqlToolExample: - description: Example response returning custom example-esql-tool tool - value: - id: example-esql-tool - type: esql - description: Example ES|QL query tool for analyzing financial trades with time filtering - tags: - - analytics - - finance - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - readonly: false - schema: - type: object - properties: - startTime: - type: string - format: date-time - description: Start time for the analysis in ISO format - limit: - type: integer - description: Maximum number of results to return - required: - - startTime - - limit - additionalProperties: false - description: Parameters needed to execute the query - $schema: http://json-schema.org/draft-07/schema# - getIndexSearchToolExample: - description: Example response returning custom example-index-search-tool tool - value: - id: example-index-search-tool - type: index_search - description: Search tool specifically for financial data analysis and reporting - tags: - - search - - finance - configuration: - pattern: financial_* - readonly: false - schema: - type: object - properties: - nlQuery: - type: string - description: A natural language query expressing the search request - required: - - nlQuery - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - parameters: - - name: id - in: path - required: true - schema: - type: string - description: The unique identifier of the tool to retrieve. - operationId: get-agent-builder-tools-id - x-state: Technical Preview; added in 9.2.0 - delete: - summary: Delete a tool - tags: - - agent builder - description: 'Delete a tool by ID. This action cannot be undone.

[Required authorization] Route required privileges: manage_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - deleteAgentResponseExample: - description: Example response showing that the deletion operation was successful - value: - success: true - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The unique identifier of the tool to delete. - operationId: delete-agent-builder-tools-id - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/tools/{toolId}: - put: - summary: Update a tool - tags: - - agent builder - description: 'Update an existing tool. Use this endpoint to modify any aspect of the tool''s configuration or metadata.

[Required authorization] Route required privileges: manage_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - description: - type: string - description: Updated description of what the tool does. - tags: - type: array - description: Updated tags for categorizing and organizing tools. - items: - type: string - description: Updated tag for categorizing the tool. - configuration: - type: object - description: Updated tool-specific configuration parameters. See examples for details. - additionalProperties: {} - additionalProperties: false - examples: - updateEsqlToolRequest: - description: Example request to update the custom ESQL tool - value: - description: Updated ES|QL query tool for comprehensive financial analysis with enhanced filtering - tags: - - analytics - - finance - - reporting - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime AND symbol LIKE ?symbolPattern | STATS trade_count=COUNT(*), avg_price=AVG(execution_price), total_volume=SUM(quantity) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - symbolPattern: - type: keyword - description: Pattern to filter symbols (e.g., 'US_*' for US instruments) - limit: - type: integer - description: Maximum number of results to return - updateIndexSearchToolRequest: - description: Example request to update the custom Search tool - value: - description: Updated search tool for comprehensive financial data analysis, reporting, and compliance monitoring - tags: - - search - - finance - - compliance - - reporting - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - updateEsqlToolExample: - description: Example response showing the updated ESQL tool - value: - id: example-esql-tool - type: esql - description: Updated ES|QL query tool for comprehensive financial analysis with enhanced filtering - tags: - - analytics - - finance - - reporting - configuration: - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime AND symbol LIKE ?symbolPattern | STATS trade_count=COUNT(*), avg_price=AVG(execution_price), total_volume=SUM(quantity) BY symbol | SORT trade_count DESC | LIMIT ?limit - params: - startTime: - type: date - description: Start time for the analysis in ISO format - symbolPattern: - type: keyword - description: Pattern to filter symbols (e.g., 'US_*' for US instruments) - limit: - type: integer - description: Maximum number of results to return - readonly: false - schema: - type: object - properties: - startTime: - type: string - format: date-time - description: Start time for the analysis in ISO format - symbolPattern: - type: string - description: Pattern to filter symbols (e.g., 'US_*' for US instruments) - limit: - type: integer - description: Maximum number of results to return - required: - - startTime - - symbolPattern - - limit - additionalProperties: false - description: Parameters needed to execute the enhanced query - $schema: http://json-schema.org/draft-07/schema# - updateIndexSearchToolExample: - description: Example response showing the updated Search tool - value: - id: example-index-search-tool - type: index_search - description: Updated search tool for comprehensive financial data analysis, reporting, and compliance monitoring - tags: - - search - - finance - - compliance - - reporting - configuration: - pattern: financial_* - readonly: false - schema: - type: object - properties: - nlQuery: - type: string - description: A natural language query expressing the search request - required: - - nlQuery - additionalProperties: false - $schema: http://json-schema.org/draft-07/schema# - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: toolId - in: path - required: true - schema: - type: string - description: The unique identifier of the tool to update. - operationId: put-agent-builder-tools-toolid - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/tools/_execute: - post: - summary: Execute a Tool - tags: - - agent builder - description: 'Execute a tool with parameters. Use this endpoint to run a tool directly with specified inputs and optional external connector integration.

[Required authorization] Route required privileges: read_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - tool_id: - type: string - description: The ID of the tool to execute. - tool_params: - type: object - description: Parameters to pass to the tool execution. See examples for details - additionalProperties: {} - connector_id: - type: string - description: Optional connector ID for tools that require external integrations. - additionalProperties: false - required: - - tool_id - - tool_params - examples: - executeBuiltinToolRequest: - description: Example request executing platform.core.get_document_by_id tool - value: - tool_id: platform.core.get_document_by_id - tool_params: - id: TRD-20250805-0820a89f - index: financial_trades - executeBuiltinEsqlToolRequest: - description: Example request executing platform.core.execute_esql tool - value: - tool_id: platform.core.execute_esql - tool_params: - query: FROM financial_trades | LIMIT 3 - executeCustomEsqlToolRequest: - description: Example request executing custom example-esql-tool tool - value: - tool_id: example-esql-tool - tool_params: - startTime: '2024-01-01T00:00:00Z' - limit: 3 - executeIndexSearchToolRequest: - description: Example request executing custom example-index-search-tool tool - value: - tool_id: example-index-search-tool - tool_params: - nlQuery: find trades with high execution prices above 100 - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - executeBuiltinToolExample: - description: Example response calling built-in platform.core.get_document_by_id tool - value: - results: - - type: resource - data: - reference: - id: TRD-20250805-0820a89f - index: financial_trades - partial: false - content: - trade_id: TRD-20250805-0820a89f - account_id: ACC00271-fb5c - symbol: EWL - trade_type: sell - order_type: market - order_status: executed - quantity: 131 - execution_price: 488.54 - trade_cost: 63998.74 - execution_timestamp: '2025-08-05T08:04:11.649855' - status_reason: fully_filled - last_updated: '2025-09-15T13:23:36' - executeBuiltinEsqlToolExample: - description: Example response calling built-in platform.core.execute_esql tool - value: - results: - - type: query - data: - esql: FROM financial_trades | LIMIT 3 - - tool_result_id: xTpT - type: tabular_data - data: - source: esql - query: FROM financial_trades | LIMIT 3 - columns: - - name: account_id - type: keyword - - name: execution_price - type: double - - name: symbol - type: keyword - - name: trade_type - type: keyword - values: - - - ACC00179-1f91 - - 43.77000045776367 - - CVX - - sell - - - ACC00407-0bbb - - 660.4199829101562 - - V - - buy - - - ACC00179-1f91 - - 440.3599853515625 - - KO - - buy - executeCustomEsqlToolExample: - description: Example response calling custom example-esql-tool tool - value: - results: - - tool_result_id: Voy8 - type: tabular_data - data: - source: esql - query: FROM financial_trades | WHERE execution_timestamp >= ?startTime | STATS trade_count=COUNT(*), avg_price=AVG(execution_price) BY symbol | SORT trade_count DESC | LIMIT ?limit - columns: - - name: trade_count - type: long - - name: avg_price - type: double - - name: symbol - type: keyword - values: - - - 2115 - - 89.33911587329621 - - US_T_BOND_20YR - - - 2112 - - 104.20854155945055 - - INTL_CORP_ASIA_D - - - 2105 - - 89.93244177666526 - - INTL_CORP_EU_B - executeIndexSearchToolExample: - description: Example response calling custom example-index-search-tool tool - value: - results: - - type: query - data: - esql: |- - FROM financial_trades - | WHERE execution_price > 100 - | LIMIT 100 - - tool_result_id: uE8y - type: tabular_data - data: - source: esql - query: |- - FROM financial_trades - | WHERE execution_price > 100 - | LIMIT 100 - columns: - - name: account_id - type: keyword - - name: execution_price - type: double - - name: execution_timestamp - type: date - - name: symbol - type: keyword - - name: trade_type - type: keyword - values: - - - ACC00407-0bbb - - 660.4199829101562 - - '2020-09-25T11:06:08.687Z' - - V - - buy - - - ACC00179-1f91 - - 440.3599853515625 - - '2025-08-07T21:56:45.377Z' - - KO - - buy - - - ACC00407-0bbb - - 132.8800048828125 - - '2020-11-19T04:39:13.655Z' - - JAP_JGB_10YR - - sell - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-agent-builder-tools-execute - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/agents: - get: - summary: List agents - tags: - - agent builder - description: 'List all available agents. Use this endpoint to retrieve complete agent information including their current configuration and assigned tools.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - listAgentsResponseExample: - description: Example response that returns one built-in Elastic agent and one created by the user - value: - results: - - id: elastic-ai-agent - type: chat - name: Elastic AI Agent - description: Elastic AI Agent - configuration: - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - - id: created-agent-id - type: chat - name: Search Index Helper - description: Hi! I can help you search the data within the indices starting with "content-" prefix. - labels: - - custom-indices - - department-search - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - parameters: [] - operationId: get-agent-builder-agents - x-state: Technical Preview; added in 9.2.0 - post: - summary: Create an agent - tags: - - agent builder - description: 'Create a new agent. Use this endpoint to define the agent''s behavior, appearance, and capabilities through comprehensive configuration options.

[Required authorization] Route required privileges: manage_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - description: Unique identifier for the agent. - name: - type: string - description: Display name for the agent. - description: - type: string - description: Description of what the agent does. - avatar_color: - type: string - description: Optional hex color code for the agent avatar. - avatar_symbol: - type: string - description: Optional symbol/initials for the agent avatar. - labels: - type: array - description: Optional labels for categorizing and organizing agents. - items: - type: string - description: Label for categorizing the agent. - configuration: - type: object - description: Configuration settings for the agent. - properties: - instructions: - type: string - description: Optional system instructions that define the agent behavior. - tools: - type: array - items: - type: object - description: Tool selection configuration for the agent. - properties: - tool_ids: - type: array - description: Array of tool IDs that the agent can use. - items: - type: string - description: Tool ID to be available to the agent. - additionalProperties: false - required: - - tool_ids - additionalProperties: false - required: - - tools - additionalProperties: false - required: - - id - - name - - description - - configuration - examples: - createAgentRequestExample: - description: Example request for creating a custom agent with special prompt and tools - value: - id: created-agent-id - name: Search Index Helper - description: Hi! I can help you search the data within the indices starting with "content-" prefix. - labels: - - custom-indices - - department-search - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - createAgentResponseExample: - description: Example response returning the definition of an agent created as a result of the request - value: - id: created-agent-id - type: chat - name: Search Index Helper - description: Hi! I can help you search the data within the indices starting with "content-" prefix. - labels: - - custom-indices - - department-search - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-agent-builder-agents - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/agents/{id}: - get: - summary: Get an agent by ID - tags: - - agent builder - description: 'Get a specific agent by ID. Use this endpoint to retrieve the complete agent definition including all configuration details and tool assignments.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - getAgentByIdResponseExample: - description: Example response that an agent created by the user that will query elasticsearch indices starting with 'content-' prefix to answer the questions. - value: - id: created-agent-id - type: chat - name: Search Index Helper - description: Hi! I can help you search the data within the indices starting with "content-" prefix. - labels: - - custom-indices - - department-search - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - parameters: - - name: id - in: path - required: true - schema: - type: string - description: The unique identifier of the agent to retrieve. - operationId: get-agent-builder-agents-id - x-state: Technical Preview; added in 9.2.0 - put: - summary: Update an agent - tags: - - agent builder - description: 'Update an existing agent configuration. Use this endpoint to modify any aspect of the agent''s behavior, appearance, or capabilities.

[Required authorization] Route required privileges: manage_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: Updated display name for the agent. - description: - type: string - description: Updated description of what the agent does. - avatar_color: - type: string - description: Updated hex color code for the agent avatar. - avatar_symbol: - type: string - description: Updated symbol/initials for the agent avatar. - labels: - type: array - description: Updated labels for categorizing and organizing agents. - items: - type: string - description: Updated label for categorizing the agent. - configuration: - type: object - description: Updated configuration settings for the agent. - properties: - instructions: - type: string - description: Updated system instructions that define the agent behavior. - tools: - type: array - items: - type: object - description: Tool selection configuration for the agent. - properties: - tool_ids: - type: array - description: Array of tool IDs that the agent can use. - items: - type: string - description: Tool ID to be available to the agent. - additionalProperties: false - required: - - tool_ids - additionalProperties: false - additionalProperties: false - examples: - createAgentRequestExample: - description: Example request for updating custom agent - value: - id: created-agent-id - name: Search Index Helper - description: Updated description - Search for anything in "content-*" indices! - labels: - - custom-indices - - department-search - - elastic-employees - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - updateAgentResponseExample: - description: Example response returning the agent definition with the changes applied from the request - value: - id: created-agent-id - type: chat - name: Search Index Helper - description: Updated description - Search for anything in "content-*" indices! - labels: - - custom-indices - - department-search - - elastic-employees - avatar_color: '#BFDBFF' - avatar_symbol: SI - configuration: - instructions: You are a custom agent that wants to help searching data using all indices starting with prefix "content-". - tools: - - tool_ids: - - platform.core.search - - platform.core.list_indices - - platform.core.get_index_mapping - - platform.core.get_document_by_id - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The unique identifier of the agent to update. - operationId: put-agent-builder-agents-id - x-state: Technical Preview; added in 9.2.0 - delete: - summary: Delete an agent - tags: - - agent builder - description: 'Delete an agent by ID. This action cannot be undone.

[Required authorization] Route required privileges: manage_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - deleteAgentResponseExample: - description: Example response showing that deletion of the agent has been successful - value: - success: true - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - description: The unique identifier of the agent to delete. - operationId: delete-agent-builder-agents-id - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/converse: - post: - summary: Send chat message - tags: - - agent builder - description: 'Send a message to an agent and receive a complete response. This synchronous endpoint waits for the agent to fully process your request before returning the final result. Use this for simple chat interactions where you need the complete response.

[Required authorization] Route required privileges: read_onechat.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agent_id: - type: string - description: The ID of the agent to chat with. Defaults to the default Elastic AI agent. - default: elastic-ai-agent - connector_id: - type: string - description: Optional connector ID for the agent to use for external integrations. - conversation_id: - type: string - description: Optional existing conversation ID to continue a previous conversation. - input: - type: string - description: The user input message to send to the agent. - attachments: - type: array - description: Optional attachments to send with the message. - items: - type: object - properties: - id: - type: string - description: Optional id for the attachment. - type: - type: string - description: Type of the attachment. - data: - type: object - description: Payload of the attachment. - additionalProperties: {} - hidden: - type: boolean - description: When true, the attachment will not be displayed in the UI. - additionalProperties: false - required: - - type - - data - capabilities: - type: object - description: Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. - properties: - visualizations: - type: boolean - description: When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. - additionalProperties: false - browser_api_tools: - type: array - description: Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. - items: - type: object - properties: - id: - type: string - description: Unique identifier for the browser API tool. - description: - type: string - description: Description of what the browser API tool does. - schema: {} - additionalProperties: false - required: - - id - - description - - schema - additionalProperties: false - required: - - input - examples: - converseRequestExample: - description: Example request to send a message to the agent as a part of the conversation - value: - input: What is Elasticsearch? - agent_id: elastic-ai-agent - connector_id: my-connector-id - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - converseResponseExample: - description: Example response containing the chain of events representing a conversation with the agent - value: - conversation_id: 696ccd6d-4bff-4b26-a62e-522ccf2dcd16 - steps: - - type: reasoning - reasoning: Searching for official documentation or content that explains what Elasticsearch is - - type: tool_call - tool_call_id: tooluse_shOdUwKIRwC9YhqGzeg0cQ - tool_id: platform.core.search - progression: - - message: Selecting the best target for this query - params: - query: what is elasticsearch definition overview introduction - results: - - type: error - data: - message: Could not figure out which index to use - response: - message: Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease. - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-agent-builder-converse - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/converse/async: - post: - summary: Send chat message (streaming) - tags: - - agent builder - description: |- - Send a message to an agent and receive real-time streaming events. This asynchronous endpoint provides live updates as the agent processes your request, allowing you to see intermediate steps and progress. Use this for interactive experiences where you want to monitor the agent's thinking process. - - ## Event types - - The endpoint emits Server-Sent Events (SSE) with the following custom event types: - - `conversation_id_set` - - Sets the conversation ID. - - Schema: - ```json - { - "conversation_id": "uuid" - } - ``` - - --- - - `conversation_created` - - Fires when a new conversation is persisted and assigned an ID. - - Schema: - ```json - { - "conversation_id": "uuid", - "title": "conversation title" - } - ``` - - --- - - `conversation_updated` - - Fires when a conversation is updated. - - Schema: - ```json - { - "conversation_id": "uuid", - "title": "updated conversation title" - } - ``` - - --- - - `reasoning` - - Handles reasoning-related data. - - Schema: - ```json - { - "reasoning": "plain text reasoning content", - "transient": false - } - ``` - - --- - - `tool_call` - - Triggers when a tool is invoked. - - Schema: - ```json - { - "tool_call_id": "uuid", - "tool_id": "tool_name", - "params": {} - } - ``` - - --- - - `tool_progress` - - Reports progress of a running tool. - - Schema: - ```json - { - "tool_call_id": "uuid", - "message": "progress message" - } - ``` - - --- - - `tool_result` - - Returns results from a completed tool call. - - Schema: - ```json - { - "tool_call_id": "uuid", - "tool_id": "tool_name", - "results": [] - } - ``` - - **Note:** `results` is an array of `ToolResult` objects. - - --- - - `message_chunk` - - Streams partial text chunks. - - Schema: - ```json - { - "message_id": "uuid", - "text_chunk": "partial text" - } - ``` - - --- - - `message_complete` - - Indicates message stream is finished. - - Schema: - ```json - { - "message_id": "uuid", - "message_content": "full text content of the message" - } - ``` - - --- - - `thinking_complete` - - Marks the end of the thinking/reasoning phase. - - Schema: - ```json - { - "time_to_first_token": 0 - } - ``` - - **Note:** `time_to_first_token` is in milliseconds. - - --- - - `round_complete` - - Marks end of one conversation round. - - Schema: - ```json - { - "round": {} - } - ``` - - **Note:** `round` contains the full round json object. - - --- - - ## Event flow - - A typical conversation round emits events in this sequence: - - 1. `reasoning` (potentially multiple, some transient) - 2. `tool_call` (if tools are used) - 3. `tool_progress` (zero or more progress updates) - 4. `tool_result` (when tool completes) - 5. `thinking_complete` - 6. `message_chunk` (multiple, as text streams) - 7. `message_complete` - 8. `round_complete`

[Required authorization] Route required privileges: read_onechat. - requestBody: - content: - application/json: - schema: - type: object - properties: - agent_id: - type: string - description: The ID of the agent to chat with. Defaults to the default Elastic AI agent. - default: elastic-ai-agent - connector_id: - type: string - description: Optional connector ID for the agent to use for external integrations. - conversation_id: - type: string - description: Optional existing conversation ID to continue a previous conversation. - input: - type: string - description: The user input message to send to the agent. - attachments: - type: array - description: Optional attachments to send with the message. - items: - type: object - properties: - id: - type: string - description: Optional id for the attachment. - type: - type: string - description: Type of the attachment. - data: - type: object - description: Payload of the attachment. - additionalProperties: {} - hidden: - type: boolean - description: When true, the attachment will not be displayed in the UI. - additionalProperties: false - required: - - type - - data - capabilities: - type: object - description: Controls agent capabilities during conversation. Currently supports visualization rendering for tabular tool results. - properties: - visualizations: - type: boolean - description: When true, allows the agent to render tabular data from tool results as interactive visualizations using custom XML elements in responses. - additionalProperties: false - browser_api_tools: - type: array - description: Optional browser API tools to be registered as LLM tools with browser.* namespace. These tools execute on the client side. - items: - type: object - properties: - id: - type: string - description: Unique identifier for the browser API tool. - description: - type: string - description: Description of what the browser API tool does. - schema: {} - additionalProperties: false - required: - - id - - description - - schema - additionalProperties: false - required: - - input - examples: - converseAsyncRequestExample: - description: Example request to send a message to the agent as a part of the conversation - value: - input: Hello - agent_id: elastic-ai-agent - conversation_id: c250305b-1929-4248-b568-b9e3f065fda5 - responses: - '200': - description: Indicates a successful response - content: - text/event-stream: - examples: - converseAsyncResponseExample: - description: Example stream containing the chain of events representing a conversation with the agent - value: - - event: conversation_id_set - data: - data: - conversation_id: c250305b-1929-4248-b568-b9e3f065fda5 - - event: reasoning - data: - data: - reasoning: Starting with a general search to understand what content is available. - - event: tool_call - data: - data: - tool_call_id: tooluse__2aJELgyRYqD8SDOKSiwtg - tool_id: platform.core.search - params: - query: latest documents - - event: tool_result - data: - data: - tool_call_id: tooluse__2aJELgyRYqD8SDOKSiwtg - results: - - type: error - data: - message: Could not figure out which index to use - - event: round_complete - data: - data: - round: - id: a5692d54-bc06-4a6e-aea1-412779c73f66 - input: - message: Hello - response: - message: Hello! How can I help you today? - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-agent-builder-converse-async - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/conversations: - get: - summary: List conversations - tags: - - agent builder - description: 'List all conversations for a user. Use the optional agent ID to filter conversations by a specific agent.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - listConversationsResponseExample: - description: Example response containing the list of conversations with all agents - value: - results: - - id: bcc176c5-38f6-40be-be0c-898e34fa1480 - agent_id: elastic-ai-agent - user: - username: elastic - title: General Greeting - created_at: '2025-09-19T17:45:39.554Z' - updated_at: '2025-09-19T17:45:39.554Z' - parameters: - - name: agent_id - in: query - required: false - schema: - type: string - description: Optional agent ID to filter conversations by a specific agent. - operationId: get-agent-builder-conversations - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/conversations/{conversation_id}: - get: - summary: Get conversation by ID - tags: - - agent builder - description: 'Get a specific conversation by ID. Use this endpoint to retrieve the complete conversation history including all messages and metadata.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - getConversationByIdResponseExample: - description: Example response containing the contents of a convesation with the chat agent - value: - id: bcc176c5-38f6-40be-be0c-898e34fa1480 - agent_id: elastic-ai-agent - user: - username: elastic - title: General Greeting - created_at: '2025-09-19T17:45:39.554Z' - updated_at: '2025-09-19T17:45:39.554Z' - rounds: - - id: 170ec3b2-0f5a-4538-8b60-549572386d2a - input: - message: Hello, how are you? - steps: [] - response: - message: |- - Since this is a general greeting that doesn't require any organizational or product-specific information, I can respond without using tools. - - Hello! I'm doing well, thank you for asking. I'm here to help you with any questions you may have. How can I assist you today? - parameters: - - name: conversation_id - in: path - required: true - schema: - type: string - description: The unique identifier of the conversation to retrieve. - operationId: get-agent-builder-conversations-conversation-id - x-state: Technical Preview; added in 9.2.0 - delete: - summary: Delete conversation by ID - tags: - - agent builder - description: 'Delete a conversation by ID. This action cannot be undone.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - deleteConversationResponseExample: - description: Example response showing that deletion of conversation has been successful - value: - success: true - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: conversation_id - in: path - required: true - schema: - type: string - description: The unique identifier of the conversation to delete. - operationId: delete-agent-builder-conversations-conversation-id - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/mcp: - post: - summary: MCP server - tags: - - agent builder - description: 'WARNING: This endpoint is designed for MCP clients (Claude Desktop, Cursor, VS Code, etc.) and should not be used directly via REST APIs. Use MCP Inspector or native MCP clients instead.

[Required authorization] Route required privileges: read_onechat.' - requestBody: - content: - application/json: - schema: {} - examples: - mcpInitializeRequestExample: - description: 'WARNING: DO NOT USE THIS ENDPOINT VIA REST API. These examples are auto-generated and should not be run. Integrate with MCP using MCP Inspector or native MCP clients (Claude Desktop, Cursor, VS Code) instead.' - value: - jsonrpc: '2.0' - method: initialize - params: - protocolVersion: '2024-11-05' - capabilities: {} - clientInfo: - name: test-client - version: 1.0.0 - id: 1 - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - mcpInitializeResponseExample: - description: Example response showing the successful result of communication initialisation over MCP protocol - value: - jsonrpc: '2.0' - id: 1 - result: - protocolVersion: '2024-11-05' - capabilities: - tools: - listChanged: true - serverInfo: - name: elastic-mcp-server - version: 0.0.1 - parameters: [] - operationId: post-agent-builder-mcp - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/a2a/{agentId}.json: - get: - summary: Get A2A agent card - tags: - - agent builder - description: 'Get agent discovery metadata in JSON format. Use this endpoint to provide agent information for A2A protocol integration and discovery.

[Required authorization] Route required privileges: read_onechat.' - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - a2aAgentCardResponseExample: - description: Example response card of Elastic AI Agent - value: - name: Elastic AI Agent - description: Elastic AI Agent - url: http://localhost:5601/api/agent_builder/a2a/elastic-ai-agent - provider: - organization: Elastic - url: https://elastic.co - version: 0.1.0 - protocolVersion: 0.3.0 - capabilities: - streaming: false - pushNotifications: false - stateTransitionHistory: false - securitySchemes: - authorization: - type: apiKey - name: Authorization - in: header - description: Authentication token - defaultInputModes: - - text/plain - defaultOutputModes: - - text/plain - skills: - - id: platform.core.search - name: platform.core.search - description: A powerful tool for searching and analyzing data within your Elasticsearch cluster. - tags: - - tool - examples: [] - inputModes: - - text/plain - - application/json - outputModes: - - text/plain - - application/json - supportsAuthenticatedExtendedCard: false - parameters: - - name: agentId - in: path - required: true - schema: - type: string - description: The unique identifier of the agent to get A2A metadata for. - operationId: get-agent-builder-a2a-agentid.json - x-state: Technical Preview; added in 9.2.0 - /api/agent_builder/a2a/{agentId}: - post: - summary: Send A2A task - tags: - - agent builder - description: 'WARNING: This endpoint is designed for A2A protocol clients and should not be used directly via REST APIs. Use an A2A SDK or A2A Inspector instead.

[Required authorization] Route required privileges: read_onechat.' - requestBody: - content: - application/json: - schema: {} - examples: - a2aTaskRequestExample: - description: 'WARNING: DO NOT USE THIS ENDPOINT VIA REST API. These examples are auto-generated and should not be run. Integrate with A2A using an A2A SDK or A2A Inspector instead.' - value: - jsonrpc: '2.0' - method: complete - params: - messages: - - role: user - content: Hello from A2A protocol - id: task-123 - responses: - '200': - description: Indicates a successful response - content: - application/json: - examples: - a2aTaskResponseExample: - description: Example response from A2A Task Endpoint with results of task execution - value: - jsonrpc: '2.0' - id: task-123 - result: - type: response - response: - message: Hello! How can I help you today? - conversation_id: conv-456 - parameters: - - name: agentId - in: path - required: true - schema: - type: string - description: The unique identifier of the agent to send the A2A task to. - operationId: post-agent-builder-a2a-agentid - x-state: Technical Preview; added in 9.2.0 - /api/ml/saved_objects/sync: - get: - summary: Synchronize machine learning saved objects - tags: - - machine learning - description: 'Synchronizes Kibana saved objects for machine learning jobs and trained models. This API runs automatically when you start Kibana and periodically thereafter.

[Required authorization] Route required privileges: ml:canCreateJob AND ml:canCreateDataFrameAnalytics AND ml:canCreateTrainedModels.' - responses: {} - parameters: - - name: simulate - in: query - required: false - schema: - type: boolean - - name: addToAllSpaces - in: query - required: false - schema: - type: boolean - operationId: get-ml-saved-objects-sync - /api/ml/saved_objects/update_jobs_spaces: - post: - summary: Update what spaces jobs are assigned to - tags: - - machine learning - description: 'Update a list of jobs to add and/or remove them from given spaces.

[Required authorization] Route required privileges: ml:canCreateJob AND ml:canCreateDataFrameAnalytics.' - requestBody: - content: - application/json: - schema: - type: object - properties: - jobType: - type: string - enum: - - anomaly-detector - - data-frame-analytics - jobIds: - type: array - items: - type: string - spacesToAdd: - type: array - items: - type: string - spacesToRemove: - type: array - items: - type: string - additionalProperties: false - required: - - jobType - - jobIds - - spacesToAdd - - spacesToRemove - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-ml-saved-objects-update-jobs-spaces - x-state: Beta; added in 9.3.0 - /api/ml/saved_objects/update_trained_models_spaces: - post: - summary: Update what spaces trained models are assigned to - tags: - - machine learning - description: 'Update a list of trained models to add and/or remove them from given spaces.

[Required authorization] Route required privileges: ml:canCreateTrainedModels.' - requestBody: - content: - application/json: - schema: - type: object - properties: - modelIds: - type: array - items: - type: string - spacesToAdd: - type: array - items: - type: string - spacesToRemove: - type: array - items: - type: string - additionalProperties: false - required: - - modelIds - - spacesToAdd - - spacesToRemove - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-ml-saved-objects-update-trained-models-spaces - x-state: Beta; added in 9.3.0 - /api/security_ai_assistant/chat/complete: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-chat-complete - /api/security_ai_assistant/current_user/conversations: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-current-user-conversations - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-security-ai-assistant-current-user-conversations - /api/security_ai_assistant/current_user/conversations/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-current-user-conversations-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-security-ai-assistant-current-user-conversations-id - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-security-ai-assistant-current-user-conversations-id - /api/security_ai_assistant/current_user/conversations/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-current-user-conversations-find - /api/security_ai_assistant/knowledge_base/{resource}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-knowledge-base-resource - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-knowledge-base-resource - /api/security_ai_assistant/knowledge_base/entries/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-knowledge-base-entries-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-security-ai-assistant-knowledge-base-entries-id - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-security-ai-assistant-knowledge-base-entries-id - /api/security_ai_assistant/knowledge_base/entries/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-knowledge-base-entries-find - /api/security_ai_assistant/knowledge_base/entries: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-knowledge-base-entries - /api/security_ai_assistant/knowledge_base/entries/_bulk_action: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-knowledge-base-entries-bulk-action - /api/security_ai_assistant/prompts/_bulk_action: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-prompts-bulk-action - /api/security_ai_assistant/prompts/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-prompts-find - /api/security_ai_assistant/security_ai_prompts/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant.' - responses: - '200': - content: - application/json: - schema: {} - parameters: [] - operationId: get-security-ai-assistant-security-ai-prompts-find - /api/security_ai_assistant/anonymization_fields/_bulk_action: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-updateAIAssistantAnonymization.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-security-ai-assistant-anonymization-fields-bulk-action - /api/security_ai_assistant/anonymization_fields/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: elasticAssistant OR securitySolution-readWorkflowInsights.' - responses: {} - parameters: [] - operationId: get-security-ai-assistant-anonymization-fields-find - /api/attack_discovery/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: - '200': - content: - application/json: - schema: {} - parameters: [] - operationId: get-attack-discovery-find - /api/attack_discovery/_bulk: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - requestBody: - content: - application/json: - schema: {} - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-bulk - /api/attack_discovery/generations: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: - '200': - content: - application/json: - schema: {} - parameters: [] - operationId: get-attack-discovery-generations - /api/attack_discovery/generations/{execution_uuid}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: {} - parameters: [] - operationId: get-attack-discovery-generations-execution-uuid - /api/attack_discovery/generations/{execution_uuid}/_dismiss: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-generations-execution-uuid-dismiss - /api/attack_discovery/_generate: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - requestBody: - content: - application/json: - schema: {} - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-generate - /api/attack_discovery/schedules: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' - requestBody: - content: - application/json: - schema: {} - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-schedules - /api/attack_discovery/schedules/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: - '200': - content: - application/json: - schema: {} - parameters: [] - operationId: get-attack-discovery-schedules-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-updateAttackDiscoverySchedule AND securitySolution-attackDiscoveryAll.' - requestBody: - content: - application/json: - schema: {} - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-attack-discovery-schedules-id - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-attack-discovery-schedules-id - /api/attack_discovery/schedules/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll.' - responses: - '200': - content: - application/json: - schema: {} - parameters: [] - operationId: get-attack-discovery-schedules-find - /api/attack_discovery/schedules/{id}/_disable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-schedules-id-disable - /api/attack_discovery/schedules/{id}/_enable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution-attackDiscoveryAll AND securitySolution-updateAttackDiscoverySchedule.' - responses: - '200': - content: - application/json: - schema: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-attack-discovery-schedules-id-enable - /api/streams/{name}/dashboards: - get: - summary: Get stream dashboards - tags: - - streams - description: 'Fetches all dashboards linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name-dashboards - x-state: Technical Preview - /api/streams/{name}/dashboards/{dashboardId}: - put: - summary: Link a dashboard to a stream - tags: - - streams - description: 'Links a dashboard to a stream. Noop if the dashboard is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: dashboardId - in: path - required: true - schema: - type: string - operationId: put-streams-name-dashboards-dashboardid - x-state: Technical Preview - delete: - summary: Unlink a dashboard from a stream - tags: - - streams - description: 'Unlinks a dashboard from a stream. Noop if the dashboard is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: dashboardId - in: path - required: true - schema: - type: string - operationId: delete-streams-name-dashboards-dashboardid - x-state: Technical Preview - /api/streams/{name}/dashboards/_bulk: - post: - summary: Bulk update dashboards - tags: - - streams - description: 'Bulk update dashboards linked to a stream. Can link new dashboards and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - operations: - type: array - items: - anyOf: - - type: object - properties: - index: - type: object - properties: - id: - type: string - required: - - id - additionalProperties: false - required: - - index - additionalProperties: false - - type: object - properties: - delete: - type: object - properties: - id: - type: string - required: - - id - additionalProperties: false - required: - - delete - additionalProperties: false - required: - - operations - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: post-streams-name-dashboards-bulk - x-state: Technical Preview - /api/streams/{name}: - get: - summary: Get a stream - tags: - - streams - description: 'Fetches a stream definition and associated dashboards

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name - x-state: Technical Preview - put: - summary: Create or update a stream - tags: - - streams - description: 'Creates or updates a stream definition. Classic streams can not be created through this API, only updated

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - anyOf: - - anyOf: - - allOf: - - type: object - properties: {} - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - additionalProperties: false - required: - - stream - - type: object - properties: - dashboards: - type: array - items: - type: string - rules: - type: array - items: - type: string - queries: - type: array - items: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - dashboards - - rules - - queries - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - allOf: - - type: object - properties: {} - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - - type: object - properties: - ingest: - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - required: - - lifecycle - - processing - - settings - additionalProperties: false - required: - - ingest - - type: object - properties: - ingest: - type: object - properties: - type: - type: string - enum: - - wired - wired: - type: object - properties: - fields: - type: object - additionalProperties: - allOf: - - type: object - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: {} - - {} - - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - format: - type: string - minLength: 1 - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - system - required: - - type - additionalProperties: false - routing: - type: array - items: - type: object - properties: - destination: - type: string - minLength: 1 - where: - $ref: '#/components/schemas/StreamlangCondition' - status: - type: string - enum: - - enabled - - disabled - required: - - destination - - where - additionalProperties: false - required: - - fields - - routing - additionalProperties: false - required: - - type - - wired - additionalProperties: false - required: - - ingest - required: - - stream - - type: object - properties: {} - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - additionalProperties: false - required: - - stream - - type: object - properties: - dashboards: - type: array - items: - type: string - rules: - type: array - items: - type: string - queries: - type: array - items: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - dashboards - - rules - - queries - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - ingest: - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - required: - - lifecycle - - processing - - settings - additionalProperties: false - required: - - ingest - additionalProperties: false - required: - - stream - - type: object - properties: {} - - type: object - properties: {} - - allOf: - - type: object - properties: {} - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - additionalProperties: false - required: - - stream - - type: object - properties: - dashboards: - type: array - items: - type: string - rules: - type: array - items: - type: string - queries: - type: array - items: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - dashboards - - rules - - queries - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - allOf: - - type: object - properties: {} - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - - type: object - properties: - ingest: - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - required: - - lifecycle - - processing - - settings - additionalProperties: false - required: - - ingest - - type: object - properties: - ingest: - type: object - properties: - type: - type: string - enum: - - classic - classic: - type: object - properties: - field_overrides: - type: object - additionalProperties: - allOf: - - type: object - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: {} - - {} - - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - format: - type: string - minLength: 1 - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - system - required: - - type - additionalProperties: false - additionalProperties: false - required: - - type - - classic - additionalProperties: false - required: - - ingest - required: - - stream - - type: object - properties: {} - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - additionalProperties: false - required: - - stream - - type: object - properties: - dashboards: - type: array - items: - type: string - rules: - type: array - items: - type: string - queries: - type: array - items: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - dashboards - - rules - - queries - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - ingest: - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - required: - - lifecycle - - processing - - settings - additionalProperties: false - required: - - ingest - additionalProperties: false - required: - - stream - - type: object - properties: {} - - type: object - properties: {} - - allOf: - - type: object - properties: {} - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - name: - type: string - description: - type: string - required: - - name - - description - additionalProperties: false - required: - - stream - - type: object - properties: - dashboards: - type: array - items: - type: string - rules: - type: array - items: - type: string - queries: - type: array - items: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - dashboards - - rules - - queries - - type: object - properties: - stream: - allOf: - - type: object - properties: - name: - not: {} - additionalProperties: true - - type: object - properties: - group: - type: object - properties: - metadata: - type: object - additionalProperties: - type: string - tags: - type: array - items: - type: string - members: - type: array - items: - type: string - required: - - metadata - - tags - - members - additionalProperties: false - required: - - group - additionalProperties: false - required: - - stream - - type: object - properties: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: put-streams-name - x-state: Technical Preview - delete: - summary: Delete a stream - tags: - - streams - description: 'Deletes a stream definition and the underlying data stream

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: delete-streams-name - x-state: Technical Preview - /api/streams: - get: - summary: Get stream list - tags: - - streams - description: 'Fetches list of all streams

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: [] - operationId: get-streams - x-state: Technical Preview - /api/streams/_enable: - post: - summary: Enable streams - tags: - - streams - description: 'Enables wired streams

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-streams-enable - x-state: Technical Preview - /api/streams/_disable: - post: - summary: Disable streams - tags: - - streams - description: 'Disables wired streams and deletes all existing stream definitions. The data of wired streams is deleted, but the data of classic streams is preserved.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-streams-disable - x-state: Technical Preview - /api/streams/{name}/_fork: - post: - summary: Fork a stream - tags: - - streams - description: 'Forks a wired stream and creates a child stream

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - stream: - type: object - properties: - name: - type: string - required: - - name - additionalProperties: false - where: - $ref: '#/components/schemas/StreamlangCondition' - status: - type: string - enum: - - enabled - - disabled - required: - - stream - - where - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: post-streams-name-fork - x-state: Technical Preview - /api/streams/_resync: - post: - summary: Resync streams - tags: - - streams - description: 'Resyncs all streams, making sure that Elasticsearch assets are up to date

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-streams-resync - x-state: Technical Preview - /api/streams/{name}/_ingest: - get: - summary: Get ingest stream settings - tags: - - streams - description: 'Fetches the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name-ingest - x-state: Technical Preview - put: - summary: Update ingest stream settings - tags: - - streams - description: 'Upserts the ingest settings of an ingest stream definition

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - ingest: - anyOf: - - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - wired - wired: - type: object - properties: - fields: - type: object - additionalProperties: - allOf: - - type: object - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: {} - - {} - - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - format: - type: string - minLength: 1 - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - system - required: - - type - additionalProperties: false - routing: - type: array - items: - type: object - properties: - destination: - type: string - minLength: 1 - where: - $ref: '#/components/schemas/StreamlangCondition' - status: - type: string - enum: - - enabled - - disabled - required: - - destination - - where - additionalProperties: false - required: - - fields - - routing - additionalProperties: false - required: - - lifecycle - - processing - - settings - - type - - wired - additionalProperties: false - - type: object - properties: - lifecycle: - anyOf: - - type: object - properties: - type: - type: string - enum: - - dsl - dsl: - type: object - properties: - data_retention: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - dsl - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - ilm - ilm: - type: object - properties: - policy: - type: string - minLength: 1 - required: - - policy - additionalProperties: false - required: - - type - - ilm - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - inherit - inherit: - type: object - properties: {} - additionalProperties: false - required: - - type - - inherit - additionalProperties: false - processing: - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - additionalProperties: false - settings: - type: object - properties: - index.number_of_replicas: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.number_of_shards: - type: object - properties: - value: - type: number - required: - - value - additionalProperties: false - index.refresh_interval: - type: object - properties: - value: - anyOf: - - type: string - - type: number - enum: - - -1 - required: - - value - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - classic - classic: - type: object - properties: - field_overrides: - type: object - additionalProperties: - allOf: - - type: object - additionalProperties: - anyOf: - - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: - anyOf: - - type: string - - type: number - - type: boolean - - not: {} - - type: array - items: {} - - {} - - anyOf: - - type: object - properties: - type: - type: string - enum: - - keyword - - match_only_text - - long - - double - - date - - boolean - - ip - format: - type: string - minLength: 1 - required: - - type - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - system - required: - - type - additionalProperties: false - additionalProperties: false - required: - - lifecycle - - processing - - settings - - type - - classic - additionalProperties: false - required: - - ingest - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: put-streams-name-ingest - x-state: Technical Preview - /api/streams/{name}/_group: - get: - summary: Get group stream settings - tags: - - streams - description: 'Fetches the group settings of a group stream definition

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name-group - x-state: Technical Preview - put: - summary: Upsert group stream settings - tags: - - streams - description: 'Upserts the group settings of a group stream definition

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - group: - type: object - properties: - metadata: - type: object - additionalProperties: - type: string - tags: - type: array - items: - type: string - members: - type: array - items: - type: string - required: - - metadata - - tags - - members - additionalProperties: false - required: - - group - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: put-streams-name-group - x-state: Technical Preview - /api/streams/{name}/content/export: - post: - summary: Export stream content - tags: - - streams - description: 'Exports the content associated to a stream.

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - description: - type: string - version: - type: string - include: - anyOf: - - type: object - properties: - objects: - type: object - properties: - all: - type: object - properties: {} - additionalProperties: false - required: - - all - additionalProperties: false - required: - - objects - additionalProperties: false - - type: object - properties: - objects: - type: object - properties: - mappings: - type: boolean - queries: - type: array - items: - type: object - properties: - id: - type: string - required: - - id - additionalProperties: false - routing: - type: array - items: - allOf: - - {} - - type: object - properties: - destination: - type: string - required: - - destination - required: - - mappings - - queries - - routing - additionalProperties: false - required: - - objects - additionalProperties: false - required: - - name - - description - - version - - include - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: post-streams-name-content-export - /api/streams/{name}/content/import: - post: - summary: Import content into a stream - tags: - - streams - description: 'Links content objects to a stream.

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - include: - type: string - content: {} - required: - - include - - content - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: post-streams-name-content-import - /api/streams/{name}/significant_events: - get: - summary: Read the significant events - tags: - - streams - description: 'Read the significant events

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - - name: from - in: query - required: true - schema: - type: string - - name: to - in: query - required: true - schema: - type: string - - name: bucketSize - in: query - required: true - schema: - type: string - operationId: get-streams-name-significant-events - x-state: Technical Preview; added in 9.1.0 - /api/streams/{name}/significant_events/_preview: - post: - summary: Preview significant events - tags: - - streams - description: 'Preview significant event results based on a given query

[Required authorization] Route required privileges: read_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - query: - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - additionalProperties: false - required: - - query - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: from - in: query - required: true - schema: - type: string - - name: to - in: query - required: true - schema: - type: string - - name: bucketSize - in: query - required: true - schema: - type: string - operationId: post-streams-name-significant-events-preview - x-state: Technical Preview; added in 9.1.0 - /api/streams/{name}/significant_events/_generate: - post: - summary: Generate significant events - tags: - - streams - description: 'Generate significant events queries based on the stream data

[Required authorization] Route required privileges: read_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - description: - type: string - required: - - name - - filter - - description - additionalProperties: false - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: connectorId - in: query - required: true - schema: - type: string - - name: currentDate - in: query - required: false - schema: - type: string - - name: from - in: query - required: true - schema: - type: string - - name: to - in: query - required: true - schema: - type: string - operationId: post-streams-name-significant-events-generate - x-state: Technical Preview; added in 9.2.0 - /api/streams/{name}/queries: - get: - summary: Get stream queries - tags: - - streams - description: 'Fetches all queries linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name-queries - x-state: Technical Preview - /api/streams/{name}/queries/{queryId}: - put: - summary: Upsert a query to a stream - tags: - - streams - description: 'Adds a query to a stream. Noop if the query is already present on the stream.

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - title: - type: string - minLength: 1 - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - title - - kql - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: queryId - in: path - required: true - schema: - type: string - operationId: put-streams-name-queries-queryid - x-state: Technical Preview - delete: - summary: Remove a query from a stream - tags: - - streams - description: 'Remove a query from a stream. Noop if the query is not found on the stream.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: queryId - in: path - required: true - schema: - type: string - operationId: delete-streams-name-queries-queryid - x-state: Technical Preview - /api/streams/{name}/queries/_bulk: - post: - summary: Bulk update queries - tags: - - streams - description: 'Bulk update queries of a stream. Can add new queries and delete existing ones.

[Required authorization] Route required privileges: manage_stream.' - requestBody: - content: - application/json: - schema: - type: object - properties: - operations: - type: array - items: - anyOf: - - type: object - properties: - index: - allOf: - - type: object - properties: - id: - type: string - minLength: 1 - title: - type: string - minLength: 1 - required: - - id - - title - - type: object - properties: - feature: - type: object - properties: - name: - type: string - minLength: 1 - filter: - $ref: '#/components/schemas/StreamlangCondition' - required: - - name - - filter - additionalProperties: false - kql: - type: object - properties: - query: - type: string - required: - - query - additionalProperties: false - required: - - kql - required: - - index - additionalProperties: false - - type: object - properties: - delete: - type: object - properties: - id: - type: string - required: - - id - additionalProperties: false - required: - - delete - additionalProperties: false - required: - - operations - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - operationId: post-streams-name-queries-bulk - x-state: Technical Preview - /api/streams/{name}/rules: - get: - summary: Get stream rules - tags: - - streams - description: 'Fetches all rules linked to a stream that are visible to the current user in the current space.

[Required authorization] Route required privileges: read_stream.' - responses: {} - parameters: - - name: name - in: path - required: true - schema: - type: string - operationId: get-streams-name-rules - x-state: Technical Preview - /api/streams/{name}/rules/{ruleId}: - put: - summary: Link a rule to a stream - tags: - - streams - description: 'Links a rule to a stream. Noop if the rule is already linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: ruleId - in: path - required: true - schema: - type: string - operationId: put-streams-name-rules-ruleid - x-state: Technical Preview - delete: - summary: Unlink a rule from a stream - tags: - - streams - description: 'Unlinks a rule from a stream. Noop if the rule is not linked to the stream.

[Required authorization] Route required privileges: manage_stream.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: name - in: path - required: true - schema: - type: string - - name: ruleId - in: path - required: true - schema: - type: string - operationId: delete-streams-name-rules-ruleid - x-state: Technical Preview - /api/observability/rules/alerts/dynamic_index_pattern: - get: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-observability-rules-alerts-dynamic-index-pattern - /api/observability/slos: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-slos - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_read.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-observability-slos - /api/observability/slos/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: delete-observability-slos-id - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_read.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - operationId: get-observability-slos-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-observability-slos-id - /api/observability/slos/_delete_instances: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-slos-delete-instances - /api/observability/slos/_bulk_purge_rollup: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-slos-bulk-purge-rollup - /api/observability/slos/{id}/disable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: post-observability-slos-id-disable - /api/observability/slos/{id}/enable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: post-observability-slos-id-enable - /api/observability/slos/_definitions: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_read.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-observability-slos-definitions - /api/observability/slos/{id}/_reset: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: post-observability-slos-id-reset - /api/observability/slos/_bulk_delete: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-observability-slos-bulk-delete - /api/observability/slos/_bulk_delete/{taskId}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: slo_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - name: taskId - in: path - required: true - schema: - type: string - operationId: get-observability-slos-bulk-delete-taskid - /api/fleet/check-permissions: - get: - summary: Check permissions - tags: - - Fleet internals - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - error: - type: string - enum: - - MISSING_SECURITY - - MISSING_PRIVILEGES - - MISSING_FLEET_SERVER_SETUP_PRIVILEGES - additionalProperties: false - required: - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: fleetServerSetup - in: query - required: false - schema: - type: boolean - operationId: get-fleet-check-permissions - /api/fleet/service_tokens: - post: - summary: Create a service token - tags: - - Fleet service tokens - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - remote: - type: boolean - default: false - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - name: - type: string - value: - type: string - additionalProperties: false - required: - - name - - value - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-service-tokens - /api/fleet/epm/categories: - get: - summary: Get package categories - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - title: - type: string - count: - type: number - parent_id: - type: string - parent_title: - type: string - additionalProperties: false - required: - - id - - title - - count - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: prerelease - in: query - required: false - schema: - type: boolean - - name: include_policy_templates - in: query - required: false - schema: - type: boolean - operationId: get-fleet-epm-categories - /api/fleet/epm/packages: - get: - summary: Get packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - status: - type: string - installationInfo: - type: object - properties: - type: - type: string - created_at: - type: string - updated_at: - type: string - namespaces: - type: array - items: - type: string - installed_kibana: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - additional_spaces_installed_kibana: - type: object - additionalProperties: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - installed_es: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: true - required: - - id - - type - name: - type: string - version: - type: string - install_status: - type: string - enum: - - installed - - installing - - install_failed - install_source: - type: string - enum: - - registry - - upload - - bundled - - custom - installed_kibana_space_id: - type: string - install_format_schema_version: - type: string - verification_status: - type: string - enum: - - unverified - - verified - - unknown - verification_key_id: - nullable: true - type: string - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: true - additionalProperties: true - required: - - data_stream - - features - latest_install_failed_attempts: - type: array - items: - type: object - properties: - created_at: - type: string - target_version: - type: string - error: - type: object - properties: - name: - type: string - message: - type: string - stack: - type: string - additionalProperties: true - required: - - name - - message - additionalProperties: true - required: - - created_at - - target_version - - error - latest_executed_state: - type: object - properties: - name: - type: string - started_at: - type: string - error: - type: string - additionalProperties: true - previous_version: - nullable: true - type: string - rolled_back: - type: boolean - is_rollback_ttl_expired: - type: boolean - additionalProperties: true - required: - - type - - installed_kibana - - installed_es - - name - - version - - install_status - - install_source - - verification_status - name: - type: string - version: - type: string - description: - type: string - title: - type: string - icons: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: true - required: - - src - conditions: - type: object - properties: - kibana: - type: object - properties: - version: - type: string - additionalProperties: true - elastic: - type: object - properties: - subscription: - type: string - capabilities: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - release: - type: string - enum: - - ga - - beta - - experimental - type: - anyOf: - - type: string - enum: - - integration - - type: string - enum: - - input - - type: string - enum: - - content - - type: string - path: - type: string - download: - type: string - internal: - type: boolean - data_streams: - type: array - items: - type: object - additionalProperties: {} - policy_templates: - type: array - items: - type: object - additionalProperties: {} - categories: - type: array - items: - type: string - owner: - type: object - properties: - github: - type: string - type: - type: string - enum: - - elastic - - partner - - community - additionalProperties: true - readme: - type: string - signature_path: - type: string - source: - type: object - properties: - license: - type: string - additionalProperties: true - required: - - license - format_version: - type: string - vars: - type: array - items: - type: object - additionalProperties: {} - latestVersion: - type: string - discovery: - type: object - properties: - fields: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - datasets: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - additionalProperties: true - id: - type: string - integration: - type: string - additionalProperties: true - required: - - name - - version - - title - - id - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: category - in: query - required: false - schema: - type: string - - name: prerelease - in: query - required: false - schema: - type: boolean - - name: excludeInstallStatus - in: query - required: false - schema: - type: boolean - - name: withPackagePoliciesCount - in: query - required: false - schema: - type: boolean - operationId: get-fleet-epm-packages - post: - summary: Install a package by upload - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/gzip; application/zip: - schema: - type: string - format: binary - responses: - '200': - description: 'OK: A successful request.' - content: - application/gzip; application/zip: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: false - required: - - id - - type - - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: false - required: - - id - - type - _meta: - type: object - properties: - install_source: - type: string - name: - type: string - additionalProperties: false - required: - - install_source - - name - additionalProperties: false - required: - - items - - _meta - '400': - description: A bad request. - content: - application/gzip; application/zip: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: ignoreMappingUpdateErrors - in: query - required: false - schema: - type: boolean - default: false - - name: skipDataStreamRollover - in: query - required: false - schema: - type: boolean - default: false - operationId: post-fleet-epm-packages - /api/fleet/epm/packages/installed: - get: - summary: Get installed packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - version: - type: string - status: - type: string - title: - type: string - description: - type: string - icons: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: false - required: - - src - dataStreams: - type: array - items: - type: object - properties: - name: - type: string - title: - type: string - additionalProperties: false - required: - - name - - title - additionalProperties: false - required: - - name - - version - - status - - dataStreams - total: - type: number - searchAfter: - type: array - items: - anyOf: - - type: string - - type: number - - type: boolean - - enum: [] - nullable: true - - {} - additionalProperties: false - required: - - items - - total - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: dataStreamType - in: query - required: false - schema: - type: string - enum: - - logs - - metrics - - traces - - synthetics - - profiling - - name: showOnlyActiveDataStreams - in: query - required: false - schema: - type: boolean - - name: nameQuery - in: query - required: false - schema: - type: string - - name: searchAfter - in: query - required: false - schema: - type: array - items: - anyOf: - - type: string - - type: number - - name: perPage - in: query - required: false - schema: - type: number - default: 15 - - name: sortOrder - in: query - required: false - schema: - default: asc - type: string - enum: - - asc - - desc - operationId: get-fleet-epm-packages-installed - /api/fleet/epm/packages/limited: - get: - summary: Get a limited package list - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: string - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-epm-packages-limited - /api/fleet/epm/packages/{pkgName}/stats: - get: - summary: Get package stats - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - response: - type: object - properties: - agent_policy_count: - type: number - package_policy_count: - type: number - additionalProperties: false - required: - - agent_policy_count - - package_policy_count - additionalProperties: false - required: - - response - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: pkgName - in: path - required: true - schema: - type: string - operationId: get-fleet-epm-packages-pkgname-stats - /api/fleet/epm/templates/{pkgName}/{pkgVersion}/inputs: - get: - summary: Get an inputs template - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - anyOf: - - type: string - - type: object - properties: - inputs: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - streams: - type: array - items: - type: object - properties: - id: - type: string - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - additionalProperties: true - required: - - dataset - additionalProperties: true - required: - - id - - data_stream - additionalProperties: false - required: - - id - - type - additionalProperties: false - required: - - inputs - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - default: json - type: string - enum: - - json - - yml - - yaml - - name: prerelease - in: query - required: false - schema: - type: boolean - - name: ignoreUnverified - in: query - required: false - schema: - type: boolean - operationId: get-fleet-epm-templates-pkgname-pkgversion-inputs - /api/fleet/epm/packages/{pkgName}/{pkgVersion}/{filePath}: - get: - summary: Get a package file - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: {} - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - - name: filePath - in: path - required: true - schema: - type: string - operationId: get-fleet-epm-packages-pkgname-pkgversion-filepath - /api/fleet/epm/packages/{pkgName}/{pkgVersion}: - get: - summary: Get a package - tags: - - Elastic Package Manager (EPM) - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - status: - type: string - installationInfo: - type: object - properties: - type: - type: string - created_at: - type: string - updated_at: - type: string - namespaces: - type: array - items: - type: string - installed_kibana: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - additional_spaces_installed_kibana: - type: object - additionalProperties: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - installed_es: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: true - required: - - id - - type - name: - type: string - version: - type: string - install_status: - type: string - enum: - - installed - - installing - - install_failed - install_source: - type: string - enum: - - registry - - upload - - bundled - - custom - installed_kibana_space_id: - type: string - install_format_schema_version: - type: string - verification_status: - type: string - enum: - - unverified - - verified - - unknown - verification_key_id: - nullable: true - type: string - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: true - additionalProperties: true - required: - - data_stream - - features - latest_install_failed_attempts: - type: array - items: - type: object - properties: - created_at: - type: string - target_version: - type: string - error: - type: object - properties: - name: - type: string - message: - type: string - stack: - type: string - additionalProperties: true - required: - - name - - message - additionalProperties: true - required: - - created_at - - target_version - - error - latest_executed_state: - type: object - properties: - name: - type: string - started_at: - type: string - error: - type: string - additionalProperties: true - previous_version: - nullable: true - type: string - rolled_back: - type: boolean - is_rollback_ttl_expired: - type: boolean - additionalProperties: true - required: - - type - - installed_kibana - - installed_es - - name - - version - - install_status - - install_source - - verification_status - name: - type: string - version: - type: string - description: - type: string - title: - type: string - icons: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: true - required: - - src - conditions: - type: object - properties: - kibana: - type: object - properties: - version: - type: string - additionalProperties: true - elastic: - type: object - properties: - subscription: - type: string - capabilities: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - release: - type: string - enum: - - ga - - beta - - experimental - type: - anyOf: - - type: string - enum: - - integration - - type: string - enum: - - input - - type: string - enum: - - content - - type: string - path: - type: string - download: - type: string - internal: - type: boolean - data_streams: - type: array - items: - type: object - additionalProperties: {} - policy_templates: - type: array - items: - type: object - additionalProperties: {} - categories: - type: array - items: - type: string - owner: - type: object - properties: - github: - type: string - type: - type: string - enum: - - elastic - - partner - - community - additionalProperties: true - readme: - type: string - signature_path: - type: string - source: - type: object - properties: - license: - type: string - additionalProperties: true - required: - - license - format_version: - type: string - vars: - type: array - items: - type: object - additionalProperties: {} - latestVersion: - type: string - discovery: - type: object - properties: - fields: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - datasets: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - additionalProperties: true - assets: - type: object - additionalProperties: {} - notice: - type: string - licensePath: - type: string - keepPoliciesUpToDate: - type: boolean - license: - type: string - screenshots: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: false - required: - - src - elasticsearch: - type: object - additionalProperties: {} - agent: - type: object - properties: - privileges: - type: object - properties: - root: - type: boolean - additionalProperties: false - additionalProperties: false - asset_tags: - type: array - items: - type: object - properties: - text: - type: string - asset_types: - type: array - items: - type: string - asset_ids: - type: array - items: - type: string - additionalProperties: false - required: - - text - additionalProperties: true - required: - - name - - version - - title - - assets - metadata: - type: object - properties: - has_policies: - type: boolean - additionalProperties: false - required: - - has_policies - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: false - schema: - type: string - - name: ignoreUnverified - in: query - required: false - schema: - type: boolean - - name: prerelease - in: query - required: false - schema: - type: boolean - - name: full - in: query - required: false - schema: - type: boolean - - name: withMetadata - in: query - required: false - schema: - type: boolean - default: false - operationId: get-fleet-epm-packages-pkgname-pkgversion - put: - summary: Update package settings - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - keepPoliciesUpToDate: - type: boolean - additionalProperties: false - required: - - keepPoliciesUpToDate - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - status: - type: string - installationInfo: - type: object - properties: - type: - type: string - created_at: - type: string - updated_at: - type: string - namespaces: - type: array - items: - type: string - installed_kibana: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - additional_spaces_installed_kibana: - type: object - additionalProperties: - type: array - items: - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: true - required: - - id - - type - installed_es: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: true - required: - - id - - type - name: - type: string - version: - type: string - install_status: - type: string - enum: - - installed - - installing - - install_failed - install_source: - type: string - enum: - - registry - - upload - - bundled - - custom - installed_kibana_space_id: - type: string - install_format_schema_version: - type: string - verification_status: - type: string - enum: - - unverified - - verified - - unknown - verification_key_id: - nullable: true - type: string - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: true - additionalProperties: true - required: - - data_stream - - features - latest_install_failed_attempts: - type: array - items: - type: object - properties: - created_at: - type: string - target_version: - type: string - error: - type: object - properties: - name: - type: string - message: - type: string - stack: - type: string - additionalProperties: true - required: - - name - - message - additionalProperties: true - required: - - created_at - - target_version - - error - latest_executed_state: - type: object - properties: - name: - type: string - started_at: - type: string - error: - type: string - additionalProperties: true - previous_version: - nullable: true - type: string - rolled_back: - type: boolean - is_rollback_ttl_expired: - type: boolean - additionalProperties: true - required: - - type - - installed_kibana - - installed_es - - name - - version - - install_status - - install_source - - verification_status - name: - type: string - version: - type: string - description: - type: string - title: - type: string - icons: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: true - required: - - src - conditions: - type: object - properties: - kibana: - type: object - properties: - version: - type: string - additionalProperties: true - elastic: - type: object - properties: - subscription: - type: string - capabilities: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - release: - type: string - enum: - - ga - - beta - - experimental - type: - anyOf: - - type: string - enum: - - integration - - type: string - enum: - - input - - type: string - enum: - - content - - type: string - path: - type: string - download: - type: string - internal: - type: boolean - data_streams: - type: array - items: - type: object - additionalProperties: {} - policy_templates: - type: array - items: - type: object - additionalProperties: {} - categories: - type: array - items: - type: string - owner: - type: object - properties: - github: - type: string - type: - type: string - enum: - - elastic - - partner - - community - additionalProperties: true - readme: - type: string - signature_path: - type: string - source: - type: object - properties: - license: - type: string - additionalProperties: true - required: - - license - format_version: - type: string - vars: - type: array - items: - type: object - additionalProperties: {} - latestVersion: - type: string - discovery: - type: object - properties: - fields: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - datasets: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: true - required: - - name - additionalProperties: true - assets: - type: object - additionalProperties: {} - notice: - type: string - licensePath: - type: string - keepPoliciesUpToDate: - type: boolean - license: - type: string - screenshots: - type: array - items: - type: object - properties: - path: - type: string - src: - type: string - title: - type: string - type: - type: string - size: - type: string - dark_mode: - type: boolean - additionalProperties: false - required: - - src - elasticsearch: - type: object - additionalProperties: {} - agent: - type: object - properties: - privileges: - type: object - properties: - root: - type: boolean - additionalProperties: false - additionalProperties: false - asset_tags: - type: array - items: - type: object - properties: - text: - type: string - asset_types: - type: array - items: - type: string - asset_ids: - type: array - items: - type: string - additionalProperties: false - required: - - text - additionalProperties: true - required: - - name - - version - - title - - assets - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: false - schema: - type: string - operationId: put-fleet-epm-packages-pkgname-pkgversion - post: - summary: Install a package from the registry - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - force: - type: boolean - default: false - ignore_constraints: - type: boolean - default: false - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: false - required: - - id - - type - - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: false - required: - - id - - type - _meta: - type: object - properties: - install_source: - type: string - name: - type: string - additionalProperties: false - required: - - install_source - - name - additionalProperties: false - required: - - items - - _meta - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: false - schema: - type: string - - name: prerelease - in: query - required: false - schema: - type: boolean - - name: ignoreMappingUpdateErrors - in: query - required: false - schema: - type: boolean - default: false - - name: skipDataStreamRollover - in: query - required: false - schema: - type: boolean - default: false - operationId: post-fleet-epm-packages-pkgname-pkgversion - delete: - summary: Delete a package - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: false - required: - - id - - type - - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: false - required: - - id - - type - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: false - schema: - type: string - - name: force - in: query - required: false - schema: - type: boolean - operationId: delete-fleet-epm-packages-pkgname-pkgversion - /api/fleet/epm/packages/{pkgName}/{pkgVersion}/rule_assets: - post: - summary: Install Kibana alert rule for a package - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - force: - type: boolean - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - additionalProperties: false - required: - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - operationId: post-fleet-epm-packages-pkgname-pkgversion-rule-assets - /api/fleet/epm/packages/{pkgName}/{pkgVersion}/kibana_assets: - post: - summary: Install Kibana assets for a package - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - force: - type: boolean - space_ids: - type: array - description: When provided install assets in the specified spaces instead of the current space. - minItems: 1 - items: - type: string - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - additionalProperties: false - required: - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - operationId: post-fleet-epm-packages-pkgname-pkgversion-kibana-assets - delete: - summary: Delete Kibana assets for a package - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - additionalProperties: false - required: - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - operationId: delete-fleet-epm-packages-pkgname-pkgversion-kibana-assets - /api/fleet/epm/packages/_bulk_upgrade: - post: - summary: Bulk upgrade packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packages: - type: array - minItems: 1 - items: - type: object - properties: - name: - type: string - version: - type: string - additionalProperties: false - required: - - name - prerelease: - type: boolean - force: - type: boolean - default: false - upgrade_package_policies: - type: boolean - default: false - additionalProperties: false - required: - - packages - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - taskId: - type: string - additionalProperties: false - required: - - taskId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-epm-packages-bulk-upgrade - /api/fleet/epm/packages/_bulk_uninstall: - post: - summary: Bulk uninstall packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packages: - type: array - minItems: 1 - items: - type: object - properties: - name: - type: string - version: - type: string - additionalProperties: false - required: - - name - - version - force: - type: boolean - default: false - additionalProperties: false - required: - - packages - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - taskId: - type: string - additionalProperties: false - required: - - taskId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-epm-packages-bulk-uninstall - /api/fleet/epm/packages/_bulk_rollback: - post: - summary: Bulk rollback packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packages: - type: array - minItems: 1 - items: - type: object - properties: - name: - type: string - description: Package name to rollback - additionalProperties: false - required: - - name - additionalProperties: false - required: - - packages - examples: - bulkRollbackRequest: - value: - packages: - - name: system - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - taskId: - type: string - additionalProperties: false - required: - - taskId - examples: - successResponse: - value: - taskId: taskId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - examples: - badRequestResponse: - value: - message: Bad Request - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-epm-packages-bulk-rollback - /api/fleet/epm/packages/_bulk_rollback/{taskId}: - get: - summary: Get Bulk rollback packages details - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - status: - type: string - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - results: - type: array - items: - type: object - properties: - name: - type: string - success: - type: boolean - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - additionalProperties: false - required: - - name - - success - additionalProperties: false - required: - - status - examples: - successResponse: - value: - status: success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - examples: - badRequestResponse: - value: - message: Bad Request - parameters: - - name: taskId - in: path - required: true - schema: - type: string - description: Task ID of the bulk operation - operationId: get-fleet-epm-packages-bulk-rollback-taskid - /api/fleet/epm/packages/_bulk_uninstall/{taskId}: - get: - summary: Get Bulk uninstall packages details - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - status: - type: string - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - results: - type: array - items: - type: object - properties: - name: - type: string - success: - type: boolean - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - additionalProperties: false - required: - - name - - success - additionalProperties: false - required: - - status - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: taskId - in: path - required: true - schema: - type: string - description: Task ID of the bulk operation - operationId: get-fleet-epm-packages-bulk-uninstall-taskid - /api/fleet/epm/packages/_bulk_upgrade/{taskId}: - get: - summary: Get Bulk upgrade packages details - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - status: - type: string - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - results: - type: array - items: - type: object - properties: - name: - type: string - success: - type: boolean - error: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - additionalProperties: false - required: - - name - - success - additionalProperties: false - required: - - status - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: taskId - in: path - required: true - schema: - type: string - description: Task ID of the bulk operation - operationId: get-fleet-epm-packages-bulk-upgrade-taskid - /api/fleet/epm/packages/_bulk: - post: - summary: Bulk install packages - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packages: - type: array - minItems: 1 - items: - anyOf: - - type: string - - type: object - properties: - name: - type: string - version: - type: string - prerelease: - type: boolean - additionalProperties: false - required: - - name - - version - force: - type: boolean - default: false - additionalProperties: false - required: - - packages - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - name: - type: string - version: - type: string - result: - type: object - properties: - assets: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: false - required: - - id - - type - - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: false - required: - - id - - type - status: - type: string - enum: - - installed - - already_installed - error: {} - installType: - type: string - installSource: - type: string - additionalProperties: false - required: - - error - - installType - additionalProperties: false - required: - - name - - version - - result - - type: object - properties: - name: - type: string - statusCode: - type: number - error: - anyOf: - - type: string - - {} - additionalProperties: false - required: - - name - - statusCode - - error - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: prerelease - in: query - required: false - schema: - type: boolean - operationId: post-fleet-epm-packages-bulk - /api/fleet/epm/custom_integrations: - post: - summary: Create a custom integration - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - integrationName: - type: string - datasets: - type: array - items: - type: object - properties: - name: - type: string - type: - type: string - enum: - - logs - - metrics - - traces - - synthetics - - profiling - additionalProperties: false - required: - - name - - type - force: - type: boolean - additionalProperties: false - required: - - integrationName - - datasets - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - originId: - type: string - deferred: - type: boolean - type: - anyOf: - - type: string - enum: - - dashboard - - lens - - visualization - - search - - index-pattern - - map - - ml-module - - security-rule - - csp-rule-template - - osquery-pack-asset - - osquery-saved-query - - tag - - type: string - additionalProperties: false - required: - - id - - type - - type: object - properties: - id: - type: string - type: - type: string - enum: - - index - - index_template - - component_template - - ingest_pipeline - - ilm_policy - - data_stream_ilm_policy - - transform - - ml_model - - knowledge_base - deferred: - type: boolean - version: - type: string - additionalProperties: false - required: - - id - - type - _meta: - type: object - properties: - install_source: - type: string - name: - type: string - additionalProperties: false - required: - - install_source - - name - additionalProperties: false - required: - - items - - _meta - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-epm-custom-integrations - /api/fleet/epm/verification_key_id: - get: - summary: Get a package signature verification key ID - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - nullable: true - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-epm-verification-key-id - /api/fleet/epm/data_streams: - get: - summary: Get data streams - tags: - - Data streams - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - additionalProperties: false - required: - - name - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: type - in: query - required: false - schema: - type: string - enum: - - logs - - metrics - - traces - - synthetics - - profiling - - name: datasetQuery - in: query - required: false - schema: - type: string - - name: sortOrder - in: query - required: false - schema: - default: asc - type: string - enum: - - asc - - desc - - name: uncategorisedOnly - in: query - required: false - schema: - type: boolean - default: false - operationId: get-fleet-epm-data-streams - /api/fleet/epm/bulk_assets: - post: - summary: Bulk get assets - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-read OR fleet-setup OR fleet-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - assetIds: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - additionalProperties: false - required: - - id - - type - additionalProperties: false - required: - - assetIds - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - appLink: - type: string - id: - type: string - type: - type: string - updatedAt: - type: string - attributes: - type: object - properties: - service: - type: string - title: - type: string - description: - type: string - additionalProperties: false - additionalProperties: false - required: - - id - - type - - attributes - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-epm-bulk-assets - /api/fleet/epm/packages/{pkgName}/{pkgVersion}/transforms/authorize: - post: - summary: Authorize transforms - tags: - - Elastic Package Manager (EPM) - requestBody: - content: - application/json: - schema: - type: object - properties: - transforms: - type: array - items: - type: object - properties: - transformId: - type: string - additionalProperties: false - required: - - transformId - additionalProperties: false - required: - - transforms - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: array - items: - type: object - properties: - transformId: - type: string - success: - type: boolean - error: - nullable: true - additionalProperties: false - required: - - transformId - - success - - error - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - - name: prerelease - in: query - required: false - schema: - type: boolean - operationId: post-fleet-epm-packages-pkgname-pkgversion-transforms-authorize - /api/fleet/epm/custom_integrations/{pkgName}: - put: - summary: Update a custom integration - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: fleet-settings-all AND integrations-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - readMeData: - type: string - categories: - type: array - items: - type: string - additionalProperties: false - required: - - readMeData - responses: - '200': - description: 'OK: A successful request.' - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - operationId: put-fleet-epm-custom-integrations-pkgname - /api/fleet/epm/packages/{pkgName}/{pkgVersion}/datastream_assets: - delete: - summary: Delete assets for an input package - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - success: - type: boolean - additionalProperties: false - required: - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - - name: pkgVersion - in: path - required: true - schema: - type: string - - name: packagePolicyId - in: query - required: true - schema: - type: string - operationId: delete-fleet-epm-packages-pkgname-pkgversion-datastream-assets - /api/fleet/epm/packages/{pkgName}/rollback: - post: - summary: Rollback a package to previous version - tags: - - Elastic Package Manager (EPM) - description: '[Required authorization] Route required privileges: integrations-all AND fleet-agent-policies-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - version: - type: string - success: - type: boolean - additionalProperties: false - required: - - version - - success - examples: - successResponse: - value: - version: 1.0.0 - success: true - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - examples: - badRequestResponse: - value: - message: Bad Request - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: pkgName - in: path - required: true - schema: - type: string - description: Package name to roll back - operationId: post-fleet-epm-packages-pkgname-rollback - x-state: Technical Preview; added in 9.1.0 - /api/fleet/setup: - post: - summary: Initiate Fleet setup - tags: - - Fleet internals - description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - description: A summary of the result of Fleet's `setup` lifecycle. If `isInitialized` is true, Fleet is ready to accept agent enrollment. `nonFatalErrors` may include useful insight into non-blocking issues with Fleet setup. - properties: - isInitialized: - type: boolean - nonFatalErrors: - type: array - items: - type: object - properties: - name: - type: string - message: - type: string - additionalProperties: false - required: - - name - - message - additionalProperties: false - required: - - isInitialized - - nonFatalErrors - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '500': - description: An internal server error occurred. - content: - application/json: - schema: - type: object - description: Internal Server Error - properties: - message: - type: string - additionalProperties: false - required: - - message - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-setup - /api/fleet/agents/setup: - get: - summary: Get agent setup info - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - description: A summary of the agent setup status. `isReady` indicates whether the setup is ready. If the setup is not ready, `missing_requirements` lists which requirements are missing. - properties: - isReady: - type: boolean - missing_requirements: - type: array - items: - type: string - enum: - - security_required - - tls_required - - api_keys - - fleet_admin_user - - fleet_server - missing_optional_features: - type: array - items: - type: string - enum: - - encrypted_saved_object_encryption_key_required - package_verification_key_id: - type: string - is_space_awareness_enabled: - type: boolean - is_secrets_storage_enabled: - type: boolean - is_action_secrets_storage_enabled: - type: boolean - additionalProperties: false - required: - - isReady - - missing_requirements - - missing_optional_features - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-agents-setup - post: - summary: Initiate agent setup - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read OR fleet-agent-policies-read OR fleet-settings-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - description: A summary of the result of Fleet's `setup` lifecycle. If `isInitialized` is true, Fleet is ready to accept agent enrollment. `nonFatalErrors` may include useful insight into non-blocking issues with Fleet setup. - properties: - isInitialized: - type: boolean - nonFatalErrors: - type: array - items: - type: object - properties: - name: - type: string - message: - type: string - additionalProperties: false - required: - - name - - message - additionalProperties: false - required: - - isInitialized - - nonFatalErrors - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-setup - /api/fleet/agent_policies: - get: - summary: Get agent policies - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: number - - name: perPage - in: query - required: false - schema: - type: number - - name: sortField - in: query - required: false - schema: - type: string - - name: sortOrder - in: query - required: false - schema: - type: string - enum: - - desc - - asc - - name: showUpgradeable - in: query - required: false - schema: - type: boolean - - name: kuery - in: query - required: false - schema: - type: string - - name: noAgentCount - in: query - required: false - schema: - type: boolean - deprecated: true - description: use withAgentCount instead - - name: withAgentCount - in: query - required: false - schema: - type: boolean - description: get policies with agent count - - name: full - in: query - required: false - schema: - type: boolean - description: get full policies with package policies populated - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: get-fleet-agent-policies - post: - summary: Create an agent policy - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - force: - type: boolean - additionalProperties: false - required: - - name - - namespace - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: sys_monitoring - in: query - required: false - schema: - type: boolean - operationId: post-fleet-agent-policies - /api/fleet/agent_policies/_bulk_get: - post: - summary: Bulk get agent policies - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: array - description: list of package policy ids - items: - type: string - ignoreMissing: - type: boolean - full: - type: boolean - description: get full policies with package policies populated - additionalProperties: false - required: - - ids - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: post-fleet-agent-policies-bulk-get - /api/fleet/agent_policies/{agentPolicyId}: - get: - summary: Get an agent policy - tags: - - Elastic Agent policies - description: 'Get an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-agents-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: get-fleet-agent-policies-agentpolicyid - put: - summary: Update an agent policy - tags: - - Elastic Agent policies - description: 'Update an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - force: - type: boolean - bumpRevision: - type: boolean - additionalProperties: false - required: - - name - - namespace - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentPolicyId - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: put-fleet-agent-policies-agentpolicyid - /api/fleet/agent_policies/{agentPolicyId}/auto_upgrade_agents_status: - get: - summary: Get auto upgrade agent status - tags: - - Elastic Agent policies - description: 'Get auto upgrade agent status

[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - currentVersions: - type: array - items: - type: object - properties: - version: - type: string - agents: - type: number - failedUpgradeAgents: - type: number - failedUpgradeActionIds: - type: array - items: - type: string - additionalProperties: false - required: - - version - - agents - - failedUpgradeAgents - totalAgents: - type: number - additionalProperties: false - required: - - currentVersions - - totalAgents - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: path - required: true - schema: - type: string - operationId: get-fleet-agent-policies-agentpolicyid-auto-upgrade-agents-status - /internal/fleet/agent_and_package_policies: - post: - summary: Create an agent policy and its package policies in one request - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - force: - type: boolean - package_policies: - type: array - items: - description: You should use inputs as an object and not use the deprecated inputs array. - anyOf: - - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - additionalProperties: false - required: - - type - - enabled - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - spaceIds: - type: array - items: - type: string - id: - type: string - description: Package policy unique identifier - force: - type: boolean - description: Force package policy creation even if package is not verified, or if the agent policy is managed. - additionalProperties: false - required: - - name - - inputs - - type: object - properties: - id: - type: string - name: - type: string - description: - type: string - namespace: - type: string - output_id: - nullable: true - type: string - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - inputs: - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - policy_id: - nullable: true - type: string - policy_ids: - type: array - items: - type: string - force: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - additionalProperties: false - required: - - name - - package - additionalProperties: false - required: - - name - - namespace - - package_policies - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: sys_monitoring - in: query - required: false - schema: - type: boolean - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: post-fleet-agent-and-package-policies - /api/fleet/agent_policies/{agentPolicyId}/copy: - post: - summary: Copy an agent policy - tags: - - Elastic Agent policies - description: 'Copy an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - description: - type: string - additionalProperties: false - required: - - name - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - space_ids: - type: array - items: - type: string - name: - type: string - minLength: 1 - namespace: - type: string - minLength: 1 - description: - type: string - is_managed: - type: boolean - has_fleet_server: - type: boolean - is_default: - type: boolean - is_default_fleet_server: - type: boolean - unenroll_timeout: - type: number - minimum: 0 - inactivity_timeout: - type: number - default: 1209600 - minimum: 0 - monitoring_enabled: - type: array - items: - type: string - enum: - - logs - - metrics - - traces - keep_monitoring_alive: - nullable: true - type: boolean - description: When set to true, monitoring will be enabled but logs/metrics collection will be disabled - default: false - data_output_id: - nullable: true - type: string - monitoring_output_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - fleet_server_host_id: - nullable: true - type: string - agent_features: - type: array - items: - type: object - properties: - name: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - name - - enabled - is_protected: - type: boolean - description: Indicates whether the agent policy has tamper protection enabled. Default false. - overrides: - nullable: true - type: object - description: Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure. - additionalProperties: {} - advanced_settings: - type: object - properties: - agent_limits_go_max_procs: - nullable: true - agent_download_timeout: - nullable: true - agent_download_target_directory: - nullable: true - agent_logging_metrics_period: - nullable: true - agent_logging_level: - nullable: true - agent_logging_to_files: - nullable: true - agent_logging_files_rotateeverybytes: - nullable: true - agent_logging_files_keepfiles: - nullable: true - agent_logging_files_interval: - nullable: true - agent_monitoring_runtime_experimental: - nullable: true - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the agent policy supports agentless integrations. - default: false - global_data_tags: - type: array - description: User defined data tags that are added to all of the inputs. The values can be strings or numbers. - items: - type: object - properties: - name: - type: string - value: - anyOf: - - type: string - - type: number - additionalProperties: false - required: - - name - - value - agentless: - type: object - properties: - cloud_connectors: - type: object - properties: - target_csp: - type: string - enabled: - type: boolean - additionalProperties: false - required: - - enabled - resources: - type: object - properties: - requests: - type: object - properties: - memory: - type: string - cpu: - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - monitoring_pprof_enabled: - type: boolean - monitoring_http: - type: object - properties: - enabled: - type: boolean - host: - type: string - port: - type: number - minimum: 0 - maximum: 65353 - buffer: - type: object - properties: - enabled: - type: boolean - default: false - additionalProperties: false - additionalProperties: false - monitoring_diagnostics: - type: object - properties: - limit: - type: object - properties: - interval: - type: string - burst: - type: number - additionalProperties: false - uploader: - type: object - properties: - max_retries: - type: number - init_dur: - type: string - max_dur: - type: string - additionalProperties: false - additionalProperties: false - required_versions: - nullable: true - type: array - items: - type: object - properties: - version: - type: string - description: Target version for automatic agent upgrade - percentage: - type: number - description: Target percentage of agents to auto upgrade - minimum: 0 - maximum: 100 - additionalProperties: false - required: - - version - - percentage - status: - type: string - enum: - - active - - inactive - package_policies: - anyOf: - - type: array - items: - type: string - - type: array - description: This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - updated_at: - type: string - updated_by: - type: string - revision: - type: number - agents: - type: number - unprivileged_agents: - type: number - fips_agents: - type: number - version: - type: string - is_preconfigured: - type: boolean - schema_version: - type: string - additionalProperties: false - required: - - id - - name - - namespace - - is_managed - - is_protected - - status - - updated_at - - updated_by - - revision - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentPolicyId - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: post-fleet-agent-policies-agentpolicyid-copy - /api/fleet/agent_policies/delete: - post: - summary: Delete an agent policy - tags: - - Elastic Agent policies - description: 'Delete an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agentPolicyId: - type: string - force: - type: boolean - description: bypass validation checks that can prevent agent policy deletion - additionalProperties: false - required: - - agentPolicyId - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agent-policies-delete - /api/fleet/agent_policies/{agentPolicyId}/full: - get: - summary: Get a full agent policy - tags: - - Elastic Agent policies - description: 'Get a full agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - anyOf: - - type: string - - type: object - properties: - id: - type: string - namespaces: - type: array - items: - type: string - outputs: - type: object - additionalProperties: - type: object - properties: - type: - type: string - hosts: - type: array - items: - type: string - ca_sha256: - nullable: true - type: string - proxy_url: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - additionalProperties: true - required: - - type - output_permissions: - type: object - additionalProperties: - type: object - additionalProperties: {} - fleet: - anyOf: - - type: object - properties: - hosts: - type: array - items: - type: string - proxy_url: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - ssl: - type: object - properties: - verification_mode: - type: string - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - renegotiation: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - type: object - properties: - id: - type: string - additionalProperties: true - additionalProperties: true - required: - - key - additionalProperties: true - additionalProperties: false - required: - - hosts - - type: object - properties: - kibana: - type: object - properties: - hosts: - type: array - items: - type: string - protocol: - type: string - path: - type: string - additionalProperties: false - required: - - hosts - - protocol - additionalProperties: false - required: - - kibana - inputs: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - revision: - type: number - type: - type: string - data_stream: - type: object - properties: - namespace: - type: string - additionalProperties: true - required: - - namespace - use_output: - type: string - package_policy_id: - type: string - meta: - type: object - properties: - package: - type: object - properties: - name: - type: string - version: - type: string - additionalProperties: true - required: - - name - - version - additionalProperties: true - streams: - type: array - items: - type: object - properties: - id: - type: string - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - additionalProperties: true - required: - - dataset - additionalProperties: true - required: - - id - - data_stream - processors: - type: array - items: - type: object - properties: - add_fields: - type: object - properties: - target: - type: string - fields: - type: object - additionalProperties: - anyOf: - - type: string - - type: number - additionalProperties: true - required: - - target - - fields - additionalProperties: true - required: - - add_fields - additionalProperties: true - required: - - id - - name - - revision - - type - - data_stream - - use_output - - package_policy_id - revision: - type: number - agent: - type: object - properties: - monitoring: - type: object - properties: - namespace: - type: string - use_output: - type: string - enabled: - type: boolean - metrics: - type: boolean - logs: - type: boolean - traces: - type: boolean - apm: {} - _runtime_experimental: - type: string - additionalProperties: false - required: - - enabled - - metrics - - logs - - traces - - apm - download: - type: object - properties: - sourceURI: - type: string - ssl: - type: object - properties: - verification_mode: - type: string - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - renegotiation: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - type: object - properties: - id: - type: string - additionalProperties: true - additionalProperties: true - required: - - key - additionalProperties: true - timeout: - type: string - target_directory: - type: string - proxy_url: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - additionalProperties: false - required: - - sourceURI - features: - type: object - additionalProperties: - type: object - properties: - enabled: - type: boolean - additionalProperties: false - required: - - enabled - protection: - type: object - properties: - enabled: - type: boolean - uninstall_token_hash: - type: string - signing_key: - type: string - additionalProperties: false - required: - - enabled - - uninstall_token_hash - - signing_key - logging: - type: object - properties: - level: - type: string - to_files: - type: boolean - files: - type: object - properties: - rotateeverybytes: - type: number - keepfiles: - type: number - interval: - type: string - additionalProperties: false - metrics: - type: object - properties: - period: - type: string - additionalProperties: false - additionalProperties: false - limits: - type: object - properties: - go_max_procs: - type: number - additionalProperties: false - additionalProperties: false - required: - - monitoring - - download - - features - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - signed: - type: object - properties: - data: - type: string - signature: - type: string - additionalProperties: false - required: - - data - - signature - extensions: - type: object - additionalProperties: {} - receivers: - type: object - additionalProperties: {} - processors: - type: object - additionalProperties: {} - connectors: - type: object - additionalProperties: {} - exporters: - type: object - additionalProperties: {} - service: - type: object - properties: - extensions: - type: array - items: - type: string - pipelines: - type: object - additionalProperties: - type: object - properties: - receivers: - type: array - items: - type: string - processors: - type: array - items: - type: string - exporters: - type: array - items: - type: string - additionalProperties: false - x-oas-optional: true - additionalProperties: false - additionalProperties: false - required: - - id - - outputs - - inputs - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: path - required: true - schema: - type: string - - name: download - in: query - required: false - schema: - type: boolean - - name: standalone - in: query - required: false - schema: - type: boolean - - name: kubernetes - in: query - required: false - schema: - type: boolean - operationId: get-fleet-agent-policies-agentpolicyid-full - /api/fleet/agent_policies/{agentPolicyId}/download: - get: - summary: Download an agent policy - tags: - - Elastic Agent policies - description: 'Download an agent policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: string - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: path - required: true - schema: - type: string - - name: download - in: query - required: false - schema: - type: boolean - - name: standalone - in: query - required: false - schema: - type: boolean - - name: kubernetes - in: query - required: false - schema: - type: boolean - operationId: get-fleet-agent-policies-agentpolicyid-download - /api/fleet/kubernetes: - get: - summary: Get a full K8s agent manifest - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: string - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: download - in: query - required: false - schema: - type: boolean - - name: fleetServer - in: query - required: false - schema: - type: string - - name: enrolToken - in: query - required: false - schema: - type: string - operationId: get-fleet-kubernetes - /api/fleet/kubernetes/download: - get: - summary: Download an agent manifest - tags: - - Elastic Agent policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: string - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: download - in: query - required: false - schema: - type: boolean - - name: fleetServer - in: query - required: false - schema: - type: string - - name: enrolToken - in: query - required: false - schema: - type: string - operationId: get-fleet-kubernetes-download - /api/fleet/agent_policies/outputs: - post: - summary: Get outputs for agent policies - tags: - - Elastic Agent policies - description: 'Get a list of outputs associated with agent policies.

[Required authorization] Route required privileges: fleet-agent-policies-read AND fleet-settings-read.' - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: array - description: list of package policy ids - items: - type: string - additionalProperties: false - required: - - ids - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - agentPolicyId: - type: string - monitoring: - type: object - properties: - output: - type: object - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - additionalProperties: false - required: - - output - data: - type: object - properties: - output: - type: object - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - integrations: - type: array - items: - type: object - properties: - pkgName: - type: string - integrationPolicyName: - type: string - id: - type: string - name: - type: string - additionalProperties: false - additionalProperties: false - required: - - output - additionalProperties: false - required: - - monitoring - - data - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agent-policies-outputs - /api/fleet/agent_policies/{agentPolicyId}/outputs: - get: - summary: Get outputs for an agent policy - tags: - - Elastic Agent policies - description: 'Get a list of outputs associated with agent policy by policy id.

[Required authorization] Route required privileges: fleet-agent-policies-read AND fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - agentPolicyId: - type: string - monitoring: - type: object - properties: - output: - type: object - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - additionalProperties: false - required: - - output - data: - type: object - properties: - output: - type: object - properties: - id: - type: string - name: - type: string - additionalProperties: false - required: - - id - - name - integrations: - type: array - items: - type: object - properties: - pkgName: - type: string - integrationPolicyName: - type: string - id: - type: string - name: - type: string - additionalProperties: false - additionalProperties: false - required: - - output - additionalProperties: false - required: - - monitoring - - data - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: path - required: true - schema: - type: string - operationId: get-fleet-agent-policies-agentpolicyid-outputs - /api/fleet/package_policies: - get: - summary: Get package policies - tags: - - Fleet package policies - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: number - - name: perPage - in: query - required: false - schema: - type: number - - name: sortField - in: query - required: false - schema: - type: string - - name: sortOrder - in: query - required: false - schema: - type: string - enum: - - desc - - asc - - name: showUpgradeable - in: query - required: false - schema: - type: boolean - - name: kuery - in: query - required: false - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - - name: withAgentCount - in: query - required: false - schema: - type: boolean - operationId: get-fleet-package-policies - post: - summary: Create a package policy - tags: - - Fleet package policies - requestBody: - content: - application/json: - schema: - description: You should use inputs as an object and not use the deprecated inputs array. - anyOf: - - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - additionalProperties: false - required: - - type - - enabled - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - spaceIds: - type: array - items: - type: string - id: - type: string - description: Package policy unique identifier - force: - type: boolean - description: Force package policy creation even if package is not verified, or if the agent policy is managed. - additionalProperties: false - required: - - name - - inputs - - type: object - properties: - id: - type: string - name: - type: string - description: - type: string - namespace: - type: string - output_id: - nullable: true - type: string - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - inputs: - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - policy_id: - nullable: true - type: string - policy_ids: - type: array - items: - type: string - force: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - additionalProperties: false - required: - - name - - package - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '409': - description: A conflict occurred. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: post-fleet-package-policies - /api/fleet/package_policies/_bulk_get: - post: - summary: Bulk get package policies - tags: - - Fleet package policies - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: array - description: list of package policy ids - items: - type: string - ignoreMissing: - type: boolean - additionalProperties: false - required: - - ids - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: post-fleet-package-policies-bulk-get - /api/fleet/package_policies/{packagePolicyId}: - get: - summary: Get a package policy - tags: - - Fleet package policies - description: Get a package policy by ID. - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - parameters: - - name: packagePolicyId - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: get-fleet-package-policies-packagepolicyid - put: - summary: Update a package policy - tags: - - Fleet package policies - description: Update a package policy by ID. - requestBody: - content: - application/json: - schema: - anyOf: - - type: object - properties: - name: - type: string - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - additionalProperties: false - required: - - type - - enabled - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - spaceIds: - type: array - items: - type: string - version: - type: string - force: - type: boolean - additionalProperties: false - - type: object - properties: - id: - type: string - name: - type: string - description: - type: string - namespace: - type: string - output_id: - nullable: true - type: string - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - inputs: - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - policy_id: - nullable: true - type: string - policy_ids: - type: array - items: - type: string - force: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - additionalProperties: false - required: - - name - - package - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '403': - description: Forbidden. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: packagePolicyId - in: path - required: true - schema: - type: string - - name: format - in: query - required: false - schema: - type: string - enum: - - simplified - - legacy - operationId: put-fleet-package-policies-packagepolicyid - delete: - summary: Delete a package policy - tags: - - Fleet package policies - description: 'Delete a package policy by ID.

[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: packagePolicyId - in: path - required: true - schema: - type: string - - name: force - in: query - required: false - schema: - type: boolean - operationId: delete-fleet-package-policies-packagepolicyid - /internal/fleet/orphaned_integration_policies: - get: - summary: '' - tags: [] - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - id - - revision - - updated_at - - updated_by - - created_at - - created_by - total: - type: number - additionalProperties: false - required: - - items - - total - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-orphaned-integration-policies - /api/fleet/package_policies/delete: - post: - summary: Bulk delete package policies - tags: - - Fleet package policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packagePolicyIds: - type: array - items: - type: string - force: - type: boolean - additionalProperties: false - required: - - packagePolicyIds - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: array - items: - type: object - properties: - id: - type: string - success: - type: boolean - name: - type: string - statusCode: - type: number - body: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - policy_id: - nullable: true - type: string - description: Use `policy_ids` instead - deprecated: true - policy_ids: - type: array - items: - type: string - output_id: - nullable: true - type: string - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - additionalProperties: false - required: - - id - - success - - policy_ids - - package - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-package-policies-delete - /api/fleet/package_policies/upgrade: - post: - summary: Upgrade a package policy - tags: - - Fleet package policies - description: 'Upgrade a package policy to a newer package version.

[Required authorization] Route required privileges: fleet-agent-policies-all AND integrations-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packagePolicyIds: - type: array - items: - type: string - additionalProperties: false - required: - - packagePolicyIds - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: array - items: - type: object - properties: - id: - type: string - success: - type: boolean - name: - type: string - statusCode: - type: number - body: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - additionalProperties: false - required: - - id - - success - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-package-policies-upgrade - /api/fleet/package_policies/upgrade/dryrun: - post: - summary: Dry run a package policy upgrade - tags: - - Fleet package policies - description: '[Required authorization] Route required privileges: fleet-agent-policies-read AND integrations-read.' - requestBody: - content: - application/json: - schema: - type: object - properties: - packagePolicyIds: - type: array - items: - type: string - packageVersion: - type: string - additionalProperties: false - required: - - packagePolicyIds - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: array - items: - type: object - properties: - name: - type: string - statusCode: - type: number - body: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - hasErrors: - type: boolean - diff: - type: array - items: - anyOf: - - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - anyOf: - - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - - type: object - description: Package policy inputs (see integration documentation to know what inputs are available) - x-oas-optional: true - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that input, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - streams: - type: object - description: Input streams (see integration documentation to know what streams are available) - additionalProperties: - type: object - properties: - enabled: - type: boolean - description: enable or disable that stream, (default to true) - vars: - type: object - description: Input/stream level variable (see integration documentation for more information) - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - additionalProperties: false - additionalProperties: false - vars: - anyOf: - - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - - type: object - description: Input/stream level variable (see integration documentation for more information) - x-oas-optional: true - additionalProperties: - nullable: true - anyOf: - - type: boolean - - type: string - - type: number - - type: array - items: - type: string - - type: array - items: - type: number - - type: object - properties: - id: - type: string - isSecretRef: - type: boolean - additionalProperties: false - required: - - id - - isSecretRef - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - spaceIds: - type: array - items: - type: string - agents: - type: number - additionalProperties: false - required: - - name - - enabled - - inputs - - revision - - updated_at - - updated_by - - created_at - - created_by - - type: object - properties: - name: - type: string - description: Package policy name (should be unique) - description: - type: string - description: Package policy description - namespace: - type: string - description: The package policy namespace. Leave blank to inherit the agent policy's namespace. - policy_id: - nullable: true - type: string - description: Agent policy ID where that package policy will be added - deprecated: true - policy_ids: - type: array - items: - type: string - description: Agent policy IDs where that package policy will be added - output_id: - nullable: true - type: string - cloud_connector_id: - nullable: true - type: string - description: ID of the cloud connector associated with this package policy. - enabled: - type: boolean - is_managed: - type: boolean - package: - type: object - properties: - name: - type: string - description: Package name - title: - type: string - version: - type: string - description: Package version - experimental_data_stream_features: - type: array - items: - type: object - properties: - data_stream: - type: string - features: - type: object - properties: - synthetic_source: - type: boolean - tsdb: - type: boolean - doc_value_only_numeric: - type: boolean - doc_value_only_other: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - data_stream - - features - requires_root: - type: boolean - fips_compatible: - type: boolean - additionalProperties: false - required: - - name - - version - inputs: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - policy_template: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - streams: - type: array - items: - type: object - properties: - id: - type: string - enabled: - type: boolean - keep_enabled: - type: boolean - release: - type: string - enum: - - ga - - beta - - experimental - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - indices: - type: array - items: - type: string - additionalProperties: false - dynamic_dataset: - type: boolean - dynamic_namespace: - type: boolean - additionalProperties: false - additionalProperties: false - required: - - dataset - - type - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - config: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - compiled_stream: {} - additionalProperties: false - required: - - enabled - - data_stream - - compiled_stream - compiled_input: {} - additionalProperties: false - required: - - type - - enabled - - streams - - compiled_input - vars: - type: object - description: Package variable (see integration documentation for more information) - additionalProperties: - type: object - properties: - type: - type: string - value: {} - frozen: - type: boolean - additionalProperties: false - required: - - value - overrides: - nullable: true - type: object - description: Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure. - properties: - inputs: - type: object - additionalProperties: {} - additionalProperties: false - supports_agentless: - nullable: true - type: boolean - description: Indicates whether the package policy belongs to an agentless agent policy. - default: false - supports_cloud_connector: - nullable: true - type: boolean - description: Indicates whether the package policy supports cloud connectors. - default: false - additional_datastreams_permissions: - nullable: true - type: array - description: Additional datastream permissions, that will be added to the agent policy. - items: - type: string - id: - type: string - version: - type: string - revision: - type: number - updated_at: - type: string - updated_by: - type: string - created_at: - type: string - created_by: - type: string - elasticsearch: - type: object - properties: - privileges: - type: object - properties: - cluster: - type: array - items: - type: string - additionalProperties: true - additionalProperties: true - secret_references: - type: array - items: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - force: - type: boolean - errors: - type: array - items: - type: object - properties: - message: - type: string - key: - type: string - additionalProperties: false - required: - - message - missingVars: - type: array - items: - type: string - additionalProperties: true - required: - - name - - enabled - - inputs - agent_diff: - type: array - items: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - revision: - type: number - type: - type: string - data_stream: - type: object - properties: - namespace: - type: string - additionalProperties: true - required: - - namespace - use_output: - type: string - package_policy_id: - type: string - meta: - type: object - properties: - package: - type: object - properties: - name: - type: string - version: - type: string - additionalProperties: true - required: - - name - - version - additionalProperties: true - required: - - package - streams: - type: array - items: - type: object - properties: - id: - type: string - data_stream: - type: object - properties: - dataset: - type: string - type: - type: string - additionalProperties: true - required: - - dataset - additionalProperties: true - required: - - data_stream - processors: - type: array - items: - type: object - properties: - add_fields: - type: object - properties: - target: - type: string - fields: - type: object - additionalProperties: - anyOf: - - type: string - - type: number - additionalProperties: true - required: - - target - - fields - additionalProperties: true - required: - - add_fields - additionalProperties: true - required: - - id - - name - - revision - - type - - data_stream - - use_output - - package_policy_id - additionalProperties: false - required: - - hasErrors - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-package-policies-upgrade-dryrun - /api/fleet/outputs: - get: - summary: Get outputs - tags: - - Fleet outputs - description: '[Required authorization] Route required privileges: fleet-settings-read OR fleet-agent-policies-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - required: - - key - additionalProperties: true - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: true - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: true - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: true - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: true - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: true - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: true - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-outputs - post: - summary: Create output - tags: - - Fleet outputs - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - required: - - key - additionalProperties: false - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: false - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: false - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: false - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: false - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: false - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: false - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - required: - - key - additionalProperties: true - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: true - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: true - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: true - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: true - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: true - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: true - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-outputs - /api/fleet/outputs/{outputId}: - get: - summary: Get output - tags: - - Fleet outputs - description: 'Get output by ID.

[Required authorization] Route required privileges: fleet-settings-read OR fleet-agent-policies-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - required: - - key - additionalProperties: true - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: true - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: true - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: true - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: true - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: true - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: true - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: outputId - in: path - required: true - schema: - type: string - operationId: get-fleet-outputs-outputid - put: - summary: Update output - tags: - - Fleet outputs - description: 'Update output by ID.

[Required authorization] Route required privileges: fleet-settings-all OR fleet-agent-policies-all.' - requestBody: - content: - application/json: - schema: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - is_default_monitoring: - type: boolean - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: false - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - is_default_monitoring: - type: boolean - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: false - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - is_default_monitoring: - type: boolean - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - required: - - key - additionalProperties: false - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: false - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: false - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: false - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: false - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: false - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: false - required: - - name - - compression_level - - connection_type - - username - - password - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - additionalProperties: true - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: true - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: true - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: true - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: true - required: - - id - - type: string - additionalProperties: true - required: - - key - additionalProperties: true - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: true - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: true - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: true - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: true - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: true - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: true - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: outputId - in: path - required: true - schema: - type: string - operationId: put-fleet-outputs-outputid - delete: - summary: Delete output - tags: - - Fleet outputs - description: 'Delete output by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: outputId - in: path - required: true - schema: - type: string - operationId: delete-fleet-outputs-outputid - /api/fleet/logstash_api_keys: - post: - summary: Generate a Logstash API key - tags: - - Fleet outputs - description: '[Required authorization] Route required privileges: fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - api_key: - type: string - additionalProperties: false - required: - - api_key - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-logstash-api-keys - /api/fleet/outputs/{outputId}/health: - get: - summary: Get the latest output health - tags: - - Fleet outputs - description: '[Required authorization] Route required privileges: fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - state: - type: string - description: state of output, HEALTHY or DEGRADED - message: - type: string - description: long message if unhealthy - timestamp: - type: string - description: timestamp of reported state - additionalProperties: false - required: - - state - - message - - timestamp - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: outputId - in: path - required: true - schema: - type: string - operationId: get-fleet-outputs-outputid-health - /api/fleet/space_settings: - get: - summary: Get space settings - tags: [] - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - managed_by: - type: string - allowed_namespace_prefixes: - type: array - items: - type: string - additionalProperties: false - required: - - allowed_namespace_prefixes - additionalProperties: false - required: - - item - parameters: [] - operationId: get-fleet-space-settings - x-state: Generally available; added in 9.1.0 - put: - summary: Create space settings - tags: [] - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - allowed_namespace_prefixes: - type: array - items: - type: string - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - managed_by: - type: string - allowed_namespace_prefixes: - type: array - items: - type: string - additionalProperties: false - required: - - allowed_namespace_prefixes - additionalProperties: false - required: - - item - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-fleet-space-settings - x-state: Generally available; added in 9.1.0 - /api/fleet/settings: - get: - summary: Get settings - tags: - - Fleet internals - description: '[Required authorization] Route required privileges: fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - has_seen_add_data_notice: - type: boolean - prerelease_integrations_enabled: - type: boolean - id: - type: string - version: - type: string - preconfigured_fields: - type: array - items: - type: string - enum: - - fleet_server_hosts - secret_storage_requirements_met: - type: boolean - output_secret_storage_requirements_met: - type: boolean - action_secret_storage_requirements_met: - type: boolean - use_space_awareness_migration_status: - type: string - enum: - - pending - - success - - error - use_space_awareness_migration_started_at: - nullable: true - type: string - delete_unenrolled_agents: - type: object - properties: - enabled: - type: boolean - is_preconfigured: - type: boolean - additionalProperties: false - required: - - enabled - - is_preconfigured - additionalProperties: false - required: - - id - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - parameters: [] - operationId: get-fleet-settings - put: - summary: Update settings - tags: - - Fleet internals - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - has_seen_add_data_notice: - type: boolean - deprecated: true - additional_yaml_config: - type: string - deprecated: true - kibana_urls: - type: array - items: - type: string - format: uri - deprecated: true - kibana_ca_sha256: - type: string - deprecated: true - prerelease_integrations_enabled: - type: boolean - delete_unenrolled_agents: - type: object - properties: - enabled: - type: boolean - is_preconfigured: - type: boolean - additionalProperties: false - required: - - enabled - - is_preconfigured - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - has_seen_add_data_notice: - type: boolean - prerelease_integrations_enabled: - type: boolean - id: - type: string - version: - type: string - preconfigured_fields: - type: array - items: - type: string - enum: - - fleet_server_hosts - secret_storage_requirements_met: - type: boolean - output_secret_storage_requirements_met: - type: boolean - action_secret_storage_requirements_met: - type: boolean - use_space_awareness_migration_status: - type: string - enum: - - pending - - success - - error - use_space_awareness_migration_started_at: - nullable: true - type: string - delete_unenrolled_agents: - type: object - properties: - enabled: - type: boolean - is_preconfigured: - type: boolean - additionalProperties: false - required: - - enabled - - is_preconfigured - additionalProperties: false - required: - - id - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-fleet-settings - /internal/fleet/settings/enrollment: - get: - summary: Get enrollment settings - tags: - - Fleet internals - description: '[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - fleet_server: - type: object - properties: - policies: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - is_managed: - type: boolean - is_default_fleet_server: - type: boolean - has_fleet_server: - type: boolean - fleet_server_host_id: - nullable: true - type: string - download_source_id: - nullable: true - type: string - space_ids: - type: array - items: - type: string - data_output_id: - nullable: true - type: string - additionalProperties: false - required: - - id - - name - - is_managed - has_active: - type: boolean - host: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - - id - host_proxy: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - es_output: - anyOf: - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - service_token: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - remote_elasticsearch - hosts: - type: array - minItems: 1 - items: - type: string - format: uri - preset: - type: string - enum: - - balanced - - custom - - throughput - - scale - - latency - write_to_logs_streams: - nullable: true - type: boolean - service_token: - nullable: true - type: string - sync_integrations: - type: boolean - kibana_url: - nullable: true - type: string - kibana_api_key: - nullable: true - type: string - sync_uninstalled_integrations: - type: boolean - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - type: - type: string - enum: - - logstash - hosts: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - name - - type - - hosts - - type: object - properties: - id: - type: string - name: - type: string - is_default: - type: boolean - default: false - is_default_monitoring: - type: boolean - default: false - is_internal: - type: boolean - is_preconfigured: - type: boolean - ca_sha256: - nullable: true - type: string - ca_trusted_fingerprint: - nullable: true - type: string - config_yaml: - nullable: true - type: string - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - verification_mode: - type: string - enum: - - full - - none - - certificate - - strict - additionalProperties: false - proxy_id: - nullable: true - type: string - shipper: - nullable: true - type: object - properties: - disk_queue_enabled: - nullable: true - type: boolean - default: false - disk_queue_path: - nullable: true - type: string - disk_queue_max_size: - nullable: true - type: number - disk_queue_encryption_enabled: - nullable: true - type: boolean - disk_queue_compression_enabled: - nullable: true - type: boolean - compression_level: - nullable: true - type: number - loadbalance: - nullable: true - type: boolean - mem_queue_events: - nullable: true - type: number - queue_flush_timeout: - nullable: true - type: number - max_batch_bytes: - nullable: true - type: number - additionalProperties: false - required: - - disk_queue_path - - disk_queue_max_size - - disk_queue_encryption_enabled - - disk_queue_compression_enabled - - compression_level - - loadbalance - - mem_queue_events - - queue_flush_timeout - - max_batch_bytes - allow_edit: - type: array - items: - type: string - secrets: - type: object - properties: - password: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - hash: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - required: - - key - additionalProperties: false - type: - type: string - enum: - - kafka - hosts: - type: array - minItems: 1 - items: - type: string - version: - type: string - key: - type: string - compression: - type: string - enum: - - gzip - - snappy - - lz4 - - none - compression_level: - oneOf: - - type: number - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - client_id: - type: string - auth_type: - type: string - enum: - - none - - user_pass - - ssl - - kerberos - connection_type: - oneOf: - - type: string - enum: - - plaintext - - encryption - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - username: - nullable: true - oneOf: - - type: string - - not: {} - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - password: - nullable: true - oneOf: - - not: {} - - oneOf: - - type: string - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - sasl: - nullable: true - type: object - properties: - mechanism: - type: string - enum: - - PLAIN - - SCRAM-SHA-256 - - SCRAM-SHA-512 - additionalProperties: false - partition: - type: string - enum: - - random - - round_robin - - hash - random: - type: object - properties: - group_events: - type: number - additionalProperties: false - round_robin: - type: object - properties: - group_events: - type: number - additionalProperties: false - hash: - type: object - properties: - hash: - type: string - random: - type: boolean - additionalProperties: false - topic: - type: string - headers: - type: array - items: - type: object - properties: - key: - type: string - value: - type: string - additionalProperties: false - required: - - key - - value - timeout: - type: number - broker_timeout: - type: number - required_acks: - type: integer - enum: - - 1 - - 0 - - -1 - additionalProperties: false - required: - - name - - type - - hosts - - compression_level - - auth_type - - connection_type - - username - - password - es_output_proxy: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - additionalProperties: false - required: - - policies - - has_active - download_source: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - id - - name - - host - download_source_proxy: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - additionalProperties: false - required: - - fleet_server - - download_source - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentPolicyId - in: query - required: false - schema: - type: string - operationId: get-fleet-settings-enrollment - /api/fleet/data_streams: - get: - summary: Get data streams - tags: - - Data streams - description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - data_streams: - type: array - items: - type: object - properties: - index: - type: string - dataset: - type: string - namespace: - type: string - type: - type: string - package: - type: string - package_version: - type: string - last_activity_ms: - type: number - size_in_bytes: - type: number - size_in_bytes_formatted: - anyOf: - - type: number - - type: string - dashboards: - type: array - items: - type: object - properties: - id: - type: string - title: - type: string - additionalProperties: false - required: - - id - - title - serviceDetails: - nullable: true - type: object - properties: - environment: - type: string - serviceName: - type: string - additionalProperties: false - required: - - environment - - serviceName - additionalProperties: false - required: - - index - - dataset - - namespace - - type - - package - - package_version - - last_activity_ms - - size_in_bytes - - size_in_bytes_formatted - - dashboards - - serviceDetails - additionalProperties: false - required: - - data_streams - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-data-streams - /internal/fleet/reset_preconfigured_agent_policies: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all AND integrations-read.' - responses: {} - parameters: [] - operationId: post-fleet-reset-preconfigured-agent-policies - /internal/fleet/reset_preconfigured_agent_policies/{agentPolicyId}: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all AND integrations-read.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentPolicyId - in: path - required: true - schema: - type: string - operationId: post-fleet-reset-preconfigured-agent-policies-agentpolicyid - /api/fleet/fleet_server_hosts: - get: - summary: Get Fleet Server hosts - tags: - - Fleet Server hosts - description: '[Required authorization] Route required privileges: fleet-agents-all OR fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - - id - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-fleet-server-hosts - post: - summary: Create a Fleet Server host - tags: - - Fleet Server hosts - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - - id - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-fleet-server-hosts - /api/fleet/fleet_server_hosts/{itemId}: - get: - summary: Get a Fleet Server host - tags: - - Fleet Server hosts - description: 'Get a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - - id - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: itemId - in: path - required: true - schema: - type: string - operationId: get-fleet-fleet-server-hosts-itemid - delete: - summary: Delete a Fleet Server host - tags: - - Fleet Server hosts - description: 'Delete a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: itemId - in: path - required: true - schema: - type: string - operationId: delete-fleet-fleet-server-hosts-itemid - put: - summary: Update a Fleet Server host - tags: - - Fleet Server hosts - description: 'Update a Fleet Server host by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - additionalProperties: false - required: - - proxy_id - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - name: - type: string - host_urls: - type: array - minItems: 1 - items: - type: string - is_default: - type: boolean - default: false - is_internal: - type: boolean - proxy_id: - nullable: true - type: string - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - es_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - agent_key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - ssl: - nullable: true - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - es_certificate_authorities: - type: array - items: - type: string - es_certificate: - type: string - es_key: - type: string - agent_certificate_authorities: - type: array - items: - type: string - agent_certificate: - type: string - agent_key: - type: string - client_auth: - type: string - enum: - - optional - - required - - none - additionalProperties: false - id: - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - name - - host_urls - - id - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: itemId - in: path - required: true - schema: - type: string - operationId: put-fleet-fleet-server-hosts-itemid - /api/fleet/proxies: - get: - summary: Get proxies - tags: - - Fleet proxies - description: '[Required authorization] Route required privileges: fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-proxies - post: - summary: Create a proxy - tags: - - Fleet proxies - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - url - - name - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-proxies - /api/fleet/proxies/{itemId}: - put: - summary: Update a proxy - tags: - - Fleet proxies - description: 'Update a proxy by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - url: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - additionalProperties: false - required: - - certificate_authorities - - certificate - - certificate_key - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: itemId - in: path - required: true - schema: - type: string - operationId: put-fleet-proxies-itemid - get: - summary: Get a proxy - tags: - - Fleet proxies - description: 'Get a proxy by ID.

[Required authorization] Route required privileges: fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - url: - type: string - name: - type: string - proxy_headers: - nullable: true - type: object - additionalProperties: - anyOf: - - type: string - - type: boolean - - type: number - certificate_authorities: - nullable: true - type: string - certificate: - nullable: true - type: string - certificate_key: - nullable: true - type: string - is_preconfigured: - type: boolean - default: false - additionalProperties: false - required: - - id - - url - - name - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: itemId - in: path - required: true - schema: - type: string - operationId: get-fleet-proxies-itemid - delete: - summary: Delete a proxy - tags: - - Fleet proxies - description: 'Delete a proxy by ID

[Required authorization] Route required privileges: fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: itemId - in: path - required: true - schema: - type: string - operationId: delete-fleet-proxies-itemid - /api/fleet/agent_download_sources: - get: - summary: Get agent binary download sources - tags: - - Elastic Agent binary download sources - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - id - - name - - host - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-agent-download-sources - post: - summary: Create an agent binary download source - tags: - - Elastic Agent binary download sources - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - name - - host - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - id - - name - - host - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agent-download-sources - /api/fleet/agent_download_sources/{sourceId}: - get: - summary: Get an agent binary download source - tags: - - Elastic Agent binary download sources - description: 'Get an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-agent-policies-read OR fleet-settings-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - id - - name - - host - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: sourceId - in: path - required: true - schema: - type: string - operationId: get-fleet-agent-download-sources-sourceid - put: - summary: Update an agent binary download source - tags: - - Elastic Agent binary download sources - description: 'Update an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - name - - host - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - host: - type: string - format: uri - is_default: - type: boolean - default: false - proxy_id: - nullable: true - type: string - description: The ID of the proxy to use for this download source. See the proxies API for more information. - ssl: - type: object - properties: - certificate_authorities: - type: array - items: - type: string - certificate: - type: string - key: - type: string - additionalProperties: false - secrets: - type: object - properties: - ssl: - type: object - properties: - key: - anyOf: - - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - - type: string - additionalProperties: false - additionalProperties: false - additionalProperties: false - required: - - id - - name - - host - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: sourceId - in: path - required: true - schema: - type: string - operationId: put-fleet-agent-download-sources-sourceid - delete: - summary: Delete an agent binary download source - tags: - - Elastic Agent binary download sources - description: 'Delete an agent binary download source by ID.

[Required authorization] Route required privileges: fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: sourceId - in: path - required: true - schema: - type: string - operationId: delete-fleet-agent-download-sources-sourceid - /api/fleet/health_check: - post: - summary: Check Fleet Server health - tags: - - Fleet internals - description: '[Required authorization] Route required privileges: fleet-settings-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - status: - type: string - name: - type: string - host_id: - type: string - additionalProperties: false - required: - - status - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '404': - description: Not found. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-health-check - /api/fleet/message_signing_service/rotate_key_pair: - post: - summary: Rotate a Fleet message signing key pair - tags: - - Message Signing Service - description: '[Required authorization] Route required privileges: fleet-agents-all AND fleet-agent-policies-all AND fleet-settings-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - message: - type: string - additionalProperties: false - required: - - message - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - '500': - description: An internal server error. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: acknowledge - in: query - required: false - schema: - type: boolean - default: false - operationId: post-fleet-message-signing-service-rotate-key-pair - /api/fleet/uninstall_tokens: - get: - summary: Get metadata for latest uninstall tokens - tags: - - Fleet uninstall tokens - description: 'List the metadata for the latest uninstall tokens per agent policy.

[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - policy_id: - type: string - policy_name: - nullable: true - type: string - created_at: - type: string - namespaces: - type: array - items: - type: string - additionalProperties: false - required: - - id - - policy_id - - created_at - total: - type: number - page: - type: number - perPage: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: policyId - in: query - required: false - schema: - type: string - maxLength: 50 - description: Partial match filtering for policy IDs - - name: search - in: query - required: false - schema: - type: string - maxLength: 50 - - name: perPage - in: query - required: false - schema: - type: number - minimum: 5 - description: The number of items to return - - name: page - in: query - required: false - schema: - type: number - minimum: 1 - operationId: get-fleet-uninstall-tokens - /api/fleet/uninstall_tokens/{uninstallTokenId}: - get: - summary: Get a decrypted uninstall token - tags: - - Fleet uninstall tokens - description: 'Get one decrypted uninstall token by its ID.

[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - policy_id: - type: string - policy_name: - nullable: true - type: string - created_at: - type: string - namespaces: - type: array - items: - type: string - token: - type: string - additionalProperties: false - required: - - id - - policy_id - - created_at - - token - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: uninstallTokenId - in: path - required: true - schema: - type: string - operationId: get-fleet-uninstall-tokens-uninstalltokenid - /api/fleet/remote_synced_integrations/status: - get: - summary: Get remote synced integrations status - tags: - - Fleet remote synced integrations - description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - integrations: - type: array - items: - type: object - properties: - id: - type: string - package_name: - type: string - package_version: - type: string - sync_status: - type: string - enum: - - completed - - synchronizing - - failed - - warning - error: - type: string - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - updated_at: - type: string - install_status: - type: object - properties: - main: - type: string - remote: - type: string - additionalProperties: false - required: - - main - additionalProperties: false - required: - - sync_status - - install_status - custom_assets: - type: object - additionalProperties: - type: object - properties: - type: - type: string - name: - type: string - package_name: - type: string - package_version: - type: string - sync_status: - type: string - enum: - - completed - - synchronizing - - failed - - warning - error: - type: string - is_deleted: - type: boolean - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - additionalProperties: false - required: - - type - - name - - package_name - - package_version - - sync_status - error: - type: string - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - additionalProperties: false - required: - - integrations - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-remote-synced-integrations-status - x-state: Generally available; added in 9.1.0 - /api/fleet/remote_synced_integrations/{outputId}/remote_status: - get: - summary: Get remote synced integrations status by outputId - tags: - - Fleet remote synced integrations - description: '[Required authorization] Route required privileges: fleet-settings-read AND integrations-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - integrations: - type: array - items: - type: object - properties: - id: - type: string - package_name: - type: string - package_version: - type: string - sync_status: - type: string - enum: - - completed - - synchronizing - - failed - - warning - error: - type: string - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - updated_at: - type: string - install_status: - type: object - properties: - main: - type: string - remote: - type: string - additionalProperties: false - required: - - main - additionalProperties: false - required: - - sync_status - - install_status - custom_assets: - type: object - additionalProperties: - type: object - properties: - type: - type: string - name: - type: string - package_name: - type: string - package_version: - type: string - sync_status: - type: string - enum: - - completed - - synchronizing - - failed - - warning - error: - type: string - is_deleted: - type: boolean - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - additionalProperties: false - required: - - type - - name - - package_name - - package_version - - sync_status - error: - type: string - warning: - type: object - properties: - title: - type: string - message: - type: string - additionalProperties: false - required: - - title - additionalProperties: false - required: - - integrations - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: outputId - in: path - required: true - schema: - type: string - operationId: get-fleet-remote-synced-integrations-outputid-remote-status - x-state: Generally available; added in 9.1.0 - /api/fleet/cloud_connectors: - post: - summary: Create cloud connector - tags: - - Fleet cloud connectors - description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 255 - cloudProvider: - type: string - enum: - - aws - - azure - - gcp - vars: - type: object - additionalProperties: - anyOf: - - type: string - maxLength: 1000 - - type: number - - type: boolean - - type: object - properties: - type: - type: string - maxLength: 50 - value: - anyOf: - - type: string - maxLength: 1000 - - type: object - properties: - isSecretRef: - type: boolean - id: - type: string - maxLength: 255 - additionalProperties: false - required: - - isSecretRef - - id - frozen: - type: boolean - additionalProperties: false - required: - - type - - value - additionalProperties: false - required: - - name - - cloudProvider - - vars - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - namespace: - type: string - cloudProvider: - type: string - vars: - type: object - additionalProperties: {} - packagePolicyCount: - type: number - created_at: - type: string - updated_at: - type: string - additionalProperties: false - required: - - id - - name - - cloudProvider - - vars - - packagePolicyCount - - created_at - - updated_at - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-cloud-connectors - x-state: Technical Preview; added in 9.2.0 - get: - summary: Get cloud connectors - tags: - - Fleet cloud connectors - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - namespace: - type: string - cloudProvider: - type: string - vars: - type: object - additionalProperties: {} - packagePolicyCount: - type: number - created_at: - type: string - updated_at: - type: string - additionalProperties: false - required: - - id - - name - - cloudProvider - - vars - - packagePolicyCount - - created_at - - updated_at - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: string - - name: perPage - in: query - required: false - schema: - type: string - operationId: get-fleet-cloud-connectors - x-state: Technical Preview; added in 9.2.0 - /api/fleet/cloud_connectors/{cloudConnectorId}: - get: - summary: Get cloud connector - tags: - - Fleet cloud connectors - description: '[Required authorization] Route required privileges: fleet-agent-policies-read OR integrations-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - namespace: - type: string - cloudProvider: - type: string - vars: - type: object - additionalProperties: {} - packagePolicyCount: - type: number - created_at: - type: string - updated_at: - type: string - additionalProperties: false - required: - - id - - name - - cloudProvider - - vars - - packagePolicyCount - - created_at - - updated_at - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: cloudConnectorId - in: path - required: true - schema: - type: string - operationId: get-fleet-cloud-connectors-cloudconnectorid - x-state: Technical Preview; added in 9.2.0 - put: - summary: Update cloud connector - tags: - - Fleet cloud connectors - description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - minLength: 1 - maxLength: 255 - vars: - type: object - additionalProperties: - anyOf: - - type: string - maxLength: 1000 - - type: number - - type: boolean - - type: object - properties: - type: - type: string - maxLength: 50 - value: - anyOf: - - type: string - maxLength: 1000 - - type: object - properties: - isSecretRef: - type: boolean - id: - type: string - maxLength: 255 - additionalProperties: false - required: - - isSecretRef - - id - frozen: - type: boolean - additionalProperties: false - required: - - type - - value - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - name: - type: string - namespace: - type: string - cloudProvider: - type: string - vars: - type: object - additionalProperties: {} - packagePolicyCount: - type: number - created_at: - type: string - updated_at: - type: string - additionalProperties: false - required: - - id - - name - - cloudProvider - - vars - - packagePolicyCount - - created_at - - updated_at - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: cloudConnectorId - in: path - required: true - schema: - type: string - operationId: put-fleet-cloud-connectors-cloudconnectorid - x-state: Technical Preview; added in 9.2.0 - delete: - summary: Delete cloud connector (supports force deletion) - tags: - - Fleet cloud connectors - description: '[Required authorization] Route required privileges: fleet-agent-policies-all OR integrations-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - additionalProperties: false - required: - - id - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: cloudConnectorId - in: path - required: true - schema: - type: string - - name: force - in: query - required: false - schema: - type: boolean - operationId: delete-fleet-cloud-connectors-cloudconnectorid - x-state: Technical Preview; added in 9.2.0 - /api/fleet/agents/{agentId}: - get: - summary: Get an agent - tags: - - Elastic Agents - description: 'Get an agent by ID.

[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - access_api_key: - type: string - default_api_key_history: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - deprecated: true - required: - - id - - retired_at - outputs: - type: object - additionalProperties: - type: object - properties: - api_key_id: - type: string - type: - type: string - to_retire_api_key_ids: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - required: - - id - - retired_at - additionalProperties: false - status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - last_known_status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - packages: - type: array - items: - type: string - sort: - type: array - items: {} - metrics: - type: object - properties: - cpu_avg: - type: number - memory_size_byte_avg: - type: number - additionalProperties: false - type: - type: string - enum: - - PERMANENT - - EPHEMERAL - - TEMPORARY - active: - type: boolean - enrolled_at: - type: string - unenrolled_at: - type: string - unenrollment_started_at: - type: string - audit_unenrolled_reason: - type: string - upgraded_at: - nullable: true - type: string - upgrade_started_at: - nullable: true - type: string - upgrade_details: - nullable: true - type: object - properties: - target_version: - type: string - action_id: - type: string - state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - metadata: - type: object - properties: - scheduled_at: - type: string - download_percent: - type: number - download_rate: - type: number - failed_state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - error_msg: - type: string - retry_error_msg: - type: string - retry_until: - type: string - additionalProperties: false - additionalProperties: false - required: - - target_version - - action_id - - state - upgrade_attempts: - nullable: true - type: array - items: - type: string - access_api_key_id: - type: string - default_api_key: - type: string - default_api_key_id: - type: string - policy_id: - type: string - policy_revision: - nullable: true - type: number - last_checkin: - type: string - last_checkin_status: - type: string - enum: - - error - - online - - degraded - - updating - - starting - last_checkin_message: - type: string - user_provided_metadata: - type: object - additionalProperties: {} - local_metadata: - type: object - additionalProperties: {} - tags: - type: array - items: - type: string - components: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - units: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - input - - output - - '' - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - payload: - type: object - additionalProperties: {} - additionalProperties: false - required: - - id - - type - - status - - message - additionalProperties: false - required: - - id - - type - - status - - message - agent: - type: object - properties: - id: - type: string - version: - type: string - additionalProperties: true - required: - - id - - version - unhealthy_reason: - nullable: true - type: array - items: - type: string - enum: - - input - - output - - other - namespaces: - type: array - items: - type: string - additionalProperties: false - required: - - id - - packages - - type - - active - - enrolled_at - - local_metadata - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentId - in: path - required: true - schema: - type: string - - name: withMetrics - in: query - required: false - schema: - type: boolean - default: false - operationId: get-fleet-agents-agentid - put: - summary: Update an agent by ID - tags: - - Elastic Agents - description: 'Update an agent by ID.

[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - user_provided_metadata: - type: object - additionalProperties: {} - tags: - type: array - items: - type: string - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - access_api_key: - type: string - default_api_key_history: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - deprecated: true - required: - - id - - retired_at - outputs: - type: object - additionalProperties: - type: object - properties: - api_key_id: - type: string - type: - type: string - to_retire_api_key_ids: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - required: - - id - - retired_at - additionalProperties: false - status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - last_known_status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - packages: - type: array - items: - type: string - sort: - type: array - items: {} - metrics: - type: object - properties: - cpu_avg: - type: number - memory_size_byte_avg: - type: number - additionalProperties: false - type: - type: string - enum: - - PERMANENT - - EPHEMERAL - - TEMPORARY - active: - type: boolean - enrolled_at: - type: string - unenrolled_at: - type: string - unenrollment_started_at: - type: string - audit_unenrolled_reason: - type: string - upgraded_at: - nullable: true - type: string - upgrade_started_at: - nullable: true - type: string - upgrade_details: - nullable: true - type: object - properties: - target_version: - type: string - action_id: - type: string - state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - metadata: - type: object - properties: - scheduled_at: - type: string - download_percent: - type: number - download_rate: - type: number - failed_state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - error_msg: - type: string - retry_error_msg: - type: string - retry_until: - type: string - additionalProperties: false - additionalProperties: false - required: - - target_version - - action_id - - state - upgrade_attempts: - nullable: true - type: array - items: - type: string - access_api_key_id: - type: string - default_api_key: - type: string - default_api_key_id: - type: string - policy_id: - type: string - policy_revision: - nullable: true - type: number - last_checkin: - type: string - last_checkin_status: - type: string - enum: - - error - - online - - degraded - - updating - - starting - last_checkin_message: - type: string - user_provided_metadata: - type: object - additionalProperties: {} - local_metadata: - type: object - additionalProperties: {} - tags: - type: array - items: - type: string - components: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - units: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - input - - output - - '' - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - payload: - type: object - additionalProperties: {} - additionalProperties: false - required: - - id - - type - - status - - message - additionalProperties: false - required: - - id - - type - - status - - message - agent: - type: object - properties: - id: - type: string - version: - type: string - additionalProperties: true - required: - - id - - version - unhealthy_reason: - nullable: true - type: array - items: - type: string - enum: - - input - - output - - other - namespaces: - type: array - items: - type: string - additionalProperties: false - required: - - id - - packages - - type - - active - - enrolled_at - - local_metadata - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: put-fleet-agents-agentid - delete: - summary: Delete an agent - tags: - - Elastic Agents - description: 'Delete an agent by ID.

[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - action: - type: string - enum: - - deleted - additionalProperties: false - required: - - action - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: delete-fleet-agents-agentid - /api/fleet/agents/{agentId}/migrate: - post: - summary: Migrate a single agent - tags: - - Elastic Agents - description: 'Migrate a single agent to another cluster.

[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - uri: - type: string - format: uri - enrollment_token: - type: string - settings: - type: object - properties: - ca_sha256: - type: string - certificate_authorities: - type: string - elastic_agent_cert: - type: string - elastic_agent_cert_key: - type: string - elastic_agent_cert_key_passphrase: - type: string - headers: - type: object - additionalProperties: - type: string - insecure: - type: boolean - proxy_disabled: - type: boolean - proxy_headers: - type: object - additionalProperties: - type: string - proxy_url: - type: string - staging: - type: string - tags: - type: array - items: - type: string - replace_token: - type: string - additionalProperties: false - additionalProperties: false - required: - - uri - - enrollment_token - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-migrate - /api/fleet/agents/bulk_migrate: - post: - summary: Migrate multiple agents - tags: - - Elastic Agents - description: 'Bulk migrate agents to another cluster.

[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agents: - anyOf: - - type: array - items: - type: string - - type: string - uri: - type: string - format: uri - enrollment_token: - type: string - settings: - type: object - properties: - ca_sha256: - type: string - certificate_authorities: - type: string - elastic_agent_cert: - type: string - elastic_agent_cert_key: - type: string - elastic_agent_cert_key_passphrase: - type: string - headers: - type: object - additionalProperties: - type: string - insecure: - type: boolean - proxy_disabled: - type: boolean - proxy_headers: - type: object - additionalProperties: - type: string - proxy_url: - type: string - staging: - type: string - tags: - type: array - items: - type: string - additionalProperties: false - batchSize: - type: number - additionalProperties: false - required: - - agents - - uri - - enrollment_token - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-migrate - /api/fleet/agents/bulk_update_agent_tags: - post: - summary: Bulk update agent tags - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agents: - anyOf: - - type: array - items: - type: string - - type: string - tagsToAdd: - type: array - items: - type: string - tagsToRemove: - type: array - items: - type: string - batchSize: - type: number - includeInactive: - type: boolean - default: false - additionalProperties: false - required: - - agents - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-update-agent-tags - /api/fleet/agents: - get: - summary: Get agents - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - access_api_key: - type: string - default_api_key_history: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - deprecated: true - required: - - id - - retired_at - outputs: - type: object - additionalProperties: - type: object - properties: - api_key_id: - type: string - type: - type: string - to_retire_api_key_ids: - type: array - items: - type: object - properties: - id: - type: string - retired_at: - type: string - additionalProperties: false - required: - - id - - retired_at - additionalProperties: false - status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - last_known_status: - type: string - enum: - - offline - - error - - online - - inactive - - enrolling - - unenrolling - - unenrolled - - updating - - degraded - - uninstalled - - orphaned - packages: - type: array - items: - type: string - sort: - type: array - items: {} - metrics: - type: object - properties: - cpu_avg: - type: number - memory_size_byte_avg: - type: number - additionalProperties: false - type: - type: string - enum: - - PERMANENT - - EPHEMERAL - - TEMPORARY - active: - type: boolean - enrolled_at: - type: string - unenrolled_at: - type: string - unenrollment_started_at: - type: string - audit_unenrolled_reason: - type: string - upgraded_at: - nullable: true - type: string - upgrade_started_at: - nullable: true - type: string - upgrade_details: - nullable: true - type: object - properties: - target_version: - type: string - action_id: - type: string - state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - metadata: - type: object - properties: - scheduled_at: - type: string - download_percent: - type: number - download_rate: - type: number - failed_state: - type: string - enum: - - UPG_REQUESTED - - UPG_SCHEDULED - - UPG_DOWNLOADING - - UPG_EXTRACTING - - UPG_REPLACING - - UPG_RESTARTING - - UPG_FAILED - - UPG_WATCHING - - UPG_ROLLBACK - error_msg: - type: string - retry_error_msg: - type: string - retry_until: - type: string - additionalProperties: false - additionalProperties: false - required: - - target_version - - action_id - - state - upgrade_attempts: - nullable: true - type: array - items: - type: string - access_api_key_id: - type: string - default_api_key: - type: string - default_api_key_id: - type: string - policy_id: - type: string - policy_revision: - nullable: true - type: number - last_checkin: - type: string - last_checkin_status: - type: string - enum: - - error - - online - - degraded - - updating - - starting - last_checkin_message: - type: string - user_provided_metadata: - type: object - additionalProperties: {} - local_metadata: - type: object - additionalProperties: {} - tags: - type: array - items: - type: string - components: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - units: - type: array - items: - type: object - properties: - id: - type: string - type: - type: string - enum: - - input - - output - - '' - status: - type: string - enum: - - STARTING - - CONFIGURING - - HEALTHY - - DEGRADED - - FAILED - - STOPPING - - STOPPED - message: - type: string - payload: - type: object - additionalProperties: {} - additionalProperties: false - required: - - id - - type - - status - - message - additionalProperties: false - required: - - id - - type - - status - - message - agent: - type: object - properties: - id: - type: string - version: - type: string - additionalProperties: true - required: - - id - - version - unhealthy_reason: - nullable: true - type: array - items: - type: string - enum: - - input - - output - - other - namespaces: - type: array - items: - type: string - additionalProperties: false - required: - - id - - packages - - type - - active - - enrolled_at - - local_metadata - total: - type: number - page: - type: number - perPage: - type: number - pit: - type: string - nextSearchAfter: - type: string - statusSummary: - type: object - additionalProperties: - type: number - additionalProperties: false - required: - - items - - total - - page - - perPage - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: number - - name: perPage - in: query - required: false - schema: - type: number - default: 20 - - name: kuery - in: query - required: false - schema: - type: string - - name: showAgentless - in: query - required: false - schema: - type: boolean - default: true - - name: showInactive - in: query - required: false - schema: - type: boolean - default: false - - name: withMetrics - in: query - required: false - schema: - type: boolean - default: false - - name: showUpgradeable - in: query - required: false - schema: - type: boolean - default: false - - name: getStatusSummary - in: query - required: false - schema: - type: boolean - default: false - - name: sortField - in: query - required: false - schema: - type: string - - name: sortOrder - in: query - required: false - schema: - type: string - enum: - - asc - - desc - - name: searchAfter - in: query - required: false - schema: - type: string - - name: openPit - in: query - required: false - schema: - type: boolean - - name: pitId - in: query - required: false - schema: - type: string - - name: pitKeepAlive - in: query - required: false - schema: - type: string - operationId: get-fleet-agents - post: - summary: Get agents by action ids - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - requestBody: - content: - application/json: - schema: - type: object - properties: - actionIds: - type: array - items: - type: string - additionalProperties: false - required: - - actionIds - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: string - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents - /api/fleet/agents/tags: - get: - summary: Get agent tags - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: string - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: kuery - in: query - required: false - schema: - type: string - - name: showInactive - in: query - required: false - schema: - type: boolean - default: false - operationId: get-fleet-agents-tags - /api/fleet/agents/{agentId}/actions: - post: - summary: Create an agent action - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - action: - anyOf: - - type: object - properties: - type: - type: string - enum: - - UNENROLL - - UPGRADE - - POLICY_REASSIGN - data: {} - ack_data: {} - additionalProperties: false - required: - - type - - data - - ack_data - - type: object - properties: - type: - type: string - enum: - - SETTINGS - data: - type: object - properties: - log_level: - nullable: true - type: string - enum: - - debug - - info - - warning - - error - additionalProperties: false - required: - - log_level - additionalProperties: false - required: - - type - - data - additionalProperties: false - required: - - action - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - type: - type: string - data: {} - sent_at: - type: string - created_at: - type: string - ack_data: {} - agents: - type: array - items: - type: string - namespaces: - type: array - items: - type: string - expiration: - type: string - start_time: - type: string - minimum_execution_duration: - type: number - rollout_duration_seconds: - type: number - source_uri: - type: string - total: - type: number - additionalProperties: false - required: - - id - - type - - data - - created_at - - ack_data - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-actions - /api/fleet/agents/actions/{actionId}/cancel: - post: - summary: Cancel an agent action - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - type: - type: string - data: {} - sent_at: - type: string - created_at: - type: string - ack_data: {} - agents: - type: array - items: - type: string - namespaces: - type: array - items: - type: string - expiration: - type: string - start_time: - type: string - minimum_execution_duration: - type: number - rollout_duration_seconds: - type: number - source_uri: - type: string - total: - type: number - additionalProperties: false - required: - - id - - type - - data - - created_at - - ack_data - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: actionId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-actions-actionid-cancel - /api/fleet/agents/{agentId}/unenroll: - post: - summary: Unenroll an agent - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - force: - type: boolean - revoke: - type: boolean - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-unenroll - /api/fleet/agents/{agentId}/reassign: - post: - summary: Reassign an agent - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - policy_id: - type: string - additionalProperties: false - required: - - policy_id - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-reassign - /api/fleet/agents/{agentId}/request_diagnostics: - post: - summary: Request agent diagnostics - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-read.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - additional_metrics: - type: array - items: - type: string - enum: - - CPU - additionalProperties: false - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-request-diagnostics - /api/fleet/agents/bulk_request_diagnostics: - post: - summary: Bulk request diagnostics from agents - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-read.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agents: - anyOf: - - type: array - items: - type: string - - type: string - batchSize: - type: number - additional_metrics: - type: array - items: - type: string - enum: - - CPU - additionalProperties: false - required: - - agents - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-request-diagnostics - /api/fleet/agents/{agentId}/uploads: - get: - summary: Get agent uploads - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - name: - type: string - filePath: - type: string - createTime: - type: string - status: - type: string - enum: - - READY - - AWAITING_UPLOAD - - DELETED - - EXPIRED - - IN_PROGRESS - - FAILED - actionId: - type: string - error: - type: string - additionalProperties: false - required: - - id - - name - - filePath - - createTime - - status - - actionId - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentId - in: path - required: true - schema: - type: string - operationId: get-fleet-agents-agentid-uploads - /api/fleet/agents/files/{fileId}/{fileName}: - get: - summary: Get an uploaded file - tags: - - Elastic Agents - description: 'Get a file uploaded by an agent.

[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: fileId - in: path - required: true - schema: - type: string - - name: fileName - in: path - required: true - schema: - type: string - operationId: get-fleet-agents-files-fileid-filename - /api/fleet/agents/files/{fileId}: - delete: - summary: Delete an uploaded file - tags: - - Elastic Agents - description: 'Delete a file uploaded by an agent.

[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - id: - type: string - deleted: - type: boolean - additionalProperties: false - required: - - id - - deleted - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: fileId - in: path - required: true - schema: - type: string - operationId: delete-fleet-agents-files-fileid - /api/fleet/agent_status: - get: - summary: Get an agent status summary - tags: - - Elastic Agent status - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - results: - type: object - properties: - events: - type: number - online: - type: number - error: - type: number - offline: - type: number - uninstalled: - type: number - orphaned: - type: number - other: - type: number - updating: - type: number - inactive: - type: number - unenrolled: - type: number - all: - type: number - active: - type: number - additionalProperties: false - required: - - events - - online - - error - - offline - - other - - updating - - inactive - - unenrolled - - all - - active - additionalProperties: false - required: - - results - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: policyId - in: query - required: false - schema: - type: string - - name: policyIds - in: query - required: false - schema: - anyOf: - - type: array - items: - type: string - - type: string - - name: kuery - in: query - required: false - schema: - type: string - operationId: get-fleet-agent-status - /api/fleet/agent_status/data: - get: - summary: Get incoming agent data - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - additionalProperties: - type: object - properties: - data: - type: boolean - additionalProperties: false - required: - - data - dataPreview: - type: array - items: {} - additionalProperties: false - required: - - items - - dataPreview - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: agentsIds - in: query - required: true - schema: - anyOf: - - type: array - items: - type: string - - type: string - - name: pkgName - in: query - required: false - schema: - type: string - - name: pkgVersion - in: query - required: false - schema: - type: string - - name: previewData - in: query - required: false - schema: - type: boolean - default: false - operationId: get-fleet-agent-status-data - /api/fleet/agents/{agentId}/upgrade: - post: - summary: Upgrade an agent - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - source_uri: - type: string - version: - type: string - force: - type: boolean - skipRateLimitCheck: - type: boolean - additionalProperties: false - required: - - version - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: {} - additionalProperties: false - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: agentId - in: path - required: true - schema: - type: string - operationId: post-fleet-agents-agentid-upgrade - /api/fleet/agents/bulk_upgrade: - post: - summary: Bulk upgrade agents - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agents: - anyOf: - - type: array - items: - type: string - - type: string - source_uri: - type: string - version: - type: string - force: - type: boolean - skipRateLimitCheck: - type: boolean - rollout_duration_seconds: - type: number - minimum: 600 - start_time: - type: string - batchSize: - type: number - includeInactive: - type: boolean - default: false - additionalProperties: false - required: - - agents - - version - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-upgrade - /api/fleet/agents/action_status: - get: - summary: Get an agent action status - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - actionId: - type: string - is_automatic: - type: boolean - nbAgentsActionCreated: - type: number - description: number of agents included in action from kibana - nbAgentsAck: - type: number - description: number of agents that acknowledged the action - nbAgentsFailed: - type: number - description: number of agents that failed to execute the action - version: - type: string - description: agent version number (UPGRADE action) - startTime: - type: string - description: start time of action (scheduled actions) - type: - type: string - enum: - - UPGRADE - - UNENROLL - - SETTINGS - - POLICY_REASSIGN - - CANCEL - - FORCE_UNENROLL - - REQUEST_DIAGNOSTICS - - UPDATE_TAGS - - POLICY_CHANGE - - INPUT_ACTION - - MIGRATE - - PRIVILEGE_LEVEL_CHANGE - nbAgentsActioned: - type: number - description: number of agents actioned - status: - type: string - enum: - - COMPLETE - - EXPIRED - - CANCELLED - - FAILED - - IN_PROGRESS - - ROLLOUT_PASSED - expiration: - type: string - completionTime: - type: string - cancellationTime: - type: string - newPolicyId: - type: string - description: new policy id (POLICY_REASSIGN action) - creationTime: - type: string - description: creation time of action - hasRolloutPeriod: - type: boolean - latestErrors: - type: array - items: - type: object - description: latest errors that happened when the agents executed the action - properties: - agentId: - type: string - error: - type: string - timestamp: - type: string - hostname: - type: string - additionalProperties: false - required: - - agentId - - error - - timestamp - revision: - type: number - description: new policy revision (POLICY_CHANGE action) - policyId: - type: string - description: policy id (POLICY_CHANGE action) - additionalProperties: false - required: - - actionId - - nbAgentsActionCreated - - nbAgentsAck - - nbAgentsFailed - - type - - nbAgentsActioned - - status - - creationTime - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: number - default: 0 - - name: perPage - in: query - required: false - schema: - type: number - default: 20 - - name: date - in: query - required: false - schema: - type: string - - name: latest - in: query - required: false - schema: - type: number - - name: errorSize - in: query - required: false - schema: - type: number - default: 5 - operationId: get-fleet-agents-action-status - /api/fleet/agents/bulk_reassign: - post: - summary: Bulk reassign agents - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - policy_id: - type: string - agents: - anyOf: - - type: array - items: - type: string - - type: string - batchSize: - type: number - includeInactive: - type: boolean - default: false - additionalProperties: false - required: - - policy_id - - agents - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-reassign - /api/fleet/agents/bulk_unenroll: - post: - summary: Bulk unenroll agents - tags: - - Elastic Agent actions - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - agents: - anyOf: - - type: array - items: - type: string - description: KQL query string, leave empty to action all agents - - type: string - description: list of agent IDs - force: - type: boolean - description: Unenrolls hosted agents too - revoke: - type: boolean - description: Revokes API keys of agents - batchSize: - type: number - includeInactive: - type: boolean - description: When passing agents by KQL query, unenrolls inactive agents too - additionalProperties: false - required: - - agents - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - actionId: - type: string - additionalProperties: false - required: - - actionId - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-agents-bulk-unenroll - /api/fleet/agents/available_versions: - get: - summary: Get available agent versions - tags: - - Elastic Agents - description: '[Required authorization] Route required privileges: fleet-agents-read.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: string - additionalProperties: false - required: - - items - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: [] - operationId: get-fleet-agents-available-versions - /api/fleet/enrollment_api_keys/{keyId}: - get: - summary: Get an enrollment API key - tags: - - Fleet enrollment API keys - description: 'Get an enrollment API key by ID.

[Required authorization] Route required privileges: fleet-agents-all OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - api_key_id: - type: string - description: The ID of the API key in the Security API. - api_key: - type: string - description: The enrollment API key (token) used for enrolling Elastic Agents. - name: - type: string - description: The name of the enrollment API key. - active: - type: boolean - description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - policy_id: - type: string - description: The ID of the agent policy the Elastic Agent will be enrolled in. - created_at: - type: string - hidden: - type: boolean - additionalProperties: false - required: - - id - - api_key_id - - api_key - - active - - created_at - additionalProperties: false - required: - - item - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: keyId - in: path - required: true - schema: - type: string - operationId: get-fleet-enrollment-api-keys-keyid - delete: - summary: Revoke an enrollment API key - tags: - - Fleet enrollment API keys - description: 'Revoke an enrollment API key by ID by marking it as inactive.

[Required authorization] Route required privileges: fleet-agents-all.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - action: - type: string - enum: - - deleted - additionalProperties: false - required: - - action - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: keyId - in: path - required: true - schema: - type: string - operationId: delete-fleet-enrollment-api-keys-keyid - /api/fleet/enrollment_api_keys: - get: - summary: Get enrollment API keys - tags: - - Fleet enrollment API keys - description: '[Required authorization] Route required privileges: fleet-agents-all OR fleet-setup.' - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - items: - type: array - items: - type: object - properties: - id: - type: string - api_key_id: - type: string - description: The ID of the API key in the Security API. - api_key: - type: string - description: The enrollment API key (token) used for enrolling Elastic Agents. - name: - type: string - description: The name of the enrollment API key. - active: - type: boolean - description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - policy_id: - type: string - description: The ID of the agent policy the Elastic Agent will be enrolled in. - created_at: - type: string - hidden: - type: boolean - additionalProperties: false - required: - - id - - api_key_id - - api_key - - active - - created_at - total: - type: number - page: - type: number - perPage: - type: number - list: - type: array - items: - type: object - properties: - id: - type: string - api_key_id: - type: string - description: The ID of the API key in the Security API. - api_key: - type: string - description: The enrollment API key (token) used for enrolling Elastic Agents. - name: - type: string - description: The name of the enrollment API key. - active: - type: boolean - description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - policy_id: - type: string - description: The ID of the agent policy the Elastic Agent will be enrolled in. - created_at: - type: string - hidden: - type: boolean - additionalProperties: false - required: - - id - - api_key_id - - api_key - - active - - created_at - deprecated: true - additionalProperties: false - required: - - items - - total - - page - - perPage - - list - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - name: page - in: query - required: false - schema: - type: number - default: 1 - - name: perPage - in: query - required: false - schema: - type: number - default: 20 - - name: kuery - in: query - required: false - schema: - type: string - operationId: get-fleet-enrollment-api-keys - post: - summary: Create an enrollment API key - tags: - - Fleet enrollment API keys - description: '[Required authorization] Route required privileges: fleet-agents-all.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - policy_id: - type: string - expiration: - type: string - additionalProperties: false - required: - - policy_id - responses: - '200': - description: 'OK: A successful request.' - content: - application/json: - schema: - type: object - properties: - item: - type: object - properties: - id: - type: string - api_key_id: - type: string - description: The ID of the API key in the Security API. - api_key: - type: string - description: The enrollment API key (token) used for enrolling Elastic Agents. - name: - type: string - description: The name of the enrollment API key. - active: - type: boolean - description: When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents. - policy_id: - type: string - description: The ID of the agent policy the Elastic Agent will be enrolled in. - created_at: - type: string - hidden: - type: boolean - additionalProperties: false - required: - - id - - api_key_id - - api_key - - active - - created_at - action: - type: string - enum: - - created - additionalProperties: false - required: - - item - - action - '400': - description: A bad request. - content: - application/json: - schema: - type: object - description: Generic Error - properties: - statusCode: - type: number - error: - type: string - errorType: - type: string - message: - type: string - attributes: {} - additionalProperties: false - required: - - message - - attributes - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-fleet-enrollment-api-keys - /api/uptime/settings: - get: - summary: '' - tags: - - uptime - description: 'Get uptime settings

[Required authorization] Route required privileges: uptime-read.' - responses: - '200': - content: - application/json: - schema: - type: object - properties: - heartbeatIndices: - type: string - minLength: 1 - certAgeThreshold: - type: number - minimum: 1 - certExpirationThreshold: - type: number - minimum: 1 - defaultConnectors: - type: array - items: - type: string - defaultEmail: - type: object - properties: - to: - type: array - items: - type: string - cc: - type: array - items: - type: string - bcc: - type: array - items: - type: string - additionalProperties: false - required: - - to - additionalProperties: false - parameters: [] - operationId: get-uptime-settings - put: - summary: '' - tags: - - uptime - description: 'Update uptime settings

[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - heartbeatIndices: - type: string - minLength: 1 - certAgeThreshold: - type: number - minimum: 1 - certExpirationThreshold: - type: number - minimum: 1 - defaultConnectors: - type: array - items: - type: string - defaultEmail: - type: object - properties: - to: - type: array - items: - type: string - cc: - type: array - items: - type: string - bcc: - type: array - items: - type: string - additionalProperties: false - required: - - to - additionalProperties: false - responses: - '200': - content: - application/json: - schema: - type: object - properties: - heartbeatIndices: - type: string - minLength: 1 - certAgeThreshold: - type: number - minimum: 1 - certExpirationThreshold: - type: number - minimum: 1 - defaultConnectors: - type: array - items: - type: string - defaultEmail: - type: object - properties: - to: - type: array - items: - type: string - cc: - type: array - items: - type: string - bcc: - type: array - items: - type: string - additionalProperties: false - required: - - to - additionalProperties: false - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-uptime-settings - /api/synthetics/params/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read.' - responses: {} - parameters: - - name: id - in: path - required: false - schema: - type: string - operationId: get-synthetics-params-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - key: - type: string - minLength: 1 - value: - type: string - minLength: 1 - description: - type: string - tags: - type: array - items: - type: string - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-synthetics-params-id - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - ids: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: false - schema: - type: string - operationId: delete-synthetics-params-id - /api/synthetics/params: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - anyOf: - - type: object - properties: - key: - type: string - minLength: 1 - value: - type: string - minLength: 1 - description: - type: string - tags: - type: array - items: - type: string - share_across_spaces: - type: boolean - additionalProperties: false - required: - - key - - value - - type: array - items: - type: object - properties: - key: - type: string - minLength: 1 - value: - type: string - minLength: 1 - description: - type: string - tags: - type: array - items: - type: string - share_across_spaces: - type: boolean - additionalProperties: false - required: - - key - - value - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-synthetics-params - /api/synthetics/private_locations: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - label: - type: string - agentPolicyId: - type: string - tags: - type: array - items: - type: string - geo: - type: object - properties: - lat: - type: number - lon: - type: number - additionalProperties: false - required: - - lat - - lon - spaces: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - label - - agentPolicyId - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-synthetics-private-locations - /api/synthetics/private_locations/{locationId}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: locationId - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1024 - operationId: delete-synthetics-private-locations-locationid - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND private-location-write AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - label: - type: string - minLength: 1 - tags: - type: array - items: - type: string - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: locationId - in: path - required: true - schema: - type: string - operationId: put-synthetics-private-locations-locationid - /api/synthetics/private_locations/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read.' - responses: {} - parameters: - - name: id - in: path - required: false - schema: - type: string - operationId: get-synthetics-private-locations-id - /api/synthetics/monitors: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read.' - responses: {} - parameters: - - name: query - in: query - required: false - schema: - type: string - - name: filter - in: query - required: false - schema: - type: string - - name: tags - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: monitorTypes - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: locations - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: projects - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: schedules - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: status - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: monitorQueryIds - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - - name: showFromAllSpaces - in: query - required: false - schema: - type: boolean - - name: useLogicalAndFor - in: query - required: false - schema: - anyOf: - - type: string - - type: array - items: - type: string - enum: - - tags - - locations - - name: page - in: query - required: false - schema: - type: number - - name: perPage - in: query - required: false - schema: - type: number - - name: sortField - in: query - required: false - schema: - type: string - enum: - - enabled - - status - - updated_at - - name.keyword - - tags.keyword - - project_id.keyword - - type.keyword - - schedule.keyword - - journey_id - - name: sortOrder - in: query - required: false - schema: - type: string - enum: - - desc - - asc - - name: searchAfter - in: query - required: false - schema: - type: array - items: - type: string - - name: internal - in: query - required: false - schema: - type: boolean - operationId: get-synthetics-monitors - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: query - required: false - schema: - type: string - - name: preserve_namespace - in: query - required: false - schema: - type: boolean - - name: gettingStarted - in: query - required: false - schema: - type: boolean - - name: internal - in: query - required: false - schema: - type: boolean - - name: savedObjectType - in: query - required: false - schema: - type: string - enum: - - synthetics-monitor-multi-space - - synthetics-monitor - operationId: post-synthetics-monitors - /api/synthetics/monitors/{monitorId}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read.' - responses: {} - parameters: - - name: monitorId - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1024 - - name: internal - in: query - required: false - schema: - type: boolean - operationId: get-synthetics-monitors-monitorid - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: monitorId - in: path - required: true - schema: - type: string - - name: internal - in: query - required: false - schema: - type: boolean - operationId: put-synthetics-monitors-monitorid - /api/synthetics/monitors/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - nullable: true - type: object - properties: - ids: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: false - schema: - type: string - operationId: delete-synthetics-monitors-id - /api/synthetics/monitors/_bulk_delete: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: array - minItems: 1 - items: - type: string - additionalProperties: false - required: - - ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-synthetics-monitors-bulk-delete - /api/synthetics/params/_bulk_delete: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - requestBody: - content: - application/json: - schema: - type: object - properties: - ids: - type: array - items: - type: string - additionalProperties: false - required: - - ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-synthetics-params-bulk-delete - /api/synthetics/latest_test_run: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read.' - responses: {} - parameters: - - name: from - in: query - required: false - schema: - type: string - - name: to - in: query - required: false - schema: - type: string - - name: locationLabel - in: query - required: false - schema: - type: string - - name: monitorId - in: query - required: true - schema: - type: string - operationId: get-synthetics-latest-test-run - /api/synthetics/monitor/test/{monitorId}: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: uptime-read AND uptime-write.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: monitorId - in: path - required: true - schema: - type: string - minLength: 1 - maxLength: 1024 - operationId: post-synthetics-monitor-test-monitorid - /api/apm/services/{serviceName}/annotation/search: - get: - summary: '' - tags: - - APM annotations - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - name: serviceName - in: path - required: true - schema: - type: string - operationId: get-apm-services-servicename-annotation-search - /api/apm/services/{serviceName}/annotation: - post: - summary: '' - tags: - - APM annotations - description: '[Required authorization] Route required privileges: apm AND apm_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: serviceName - in: path - required: true - schema: - type: string - operationId: post-apm-services-servicename-annotation - /api/apm/settings/agent-configuration: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-apm-settings-agent-configuration - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-apm-settings-agent-configuration - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-apm-settings-agent-configuration - /api/apm/settings/agent-configuration/view: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-apm-settings-agent-configuration-view - /api/apm/settings/agent-configuration/search: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-apm-settings-agent-configuration-search - /api/apm/settings/agent-configuration/environments: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-apm-settings-agent-configuration-environments - /api/apm/settings/agent-configuration/agent_name: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-apm-settings-agent-configuration-agent-name - /api/apm/sourcemaps: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: [] - operationId: get-apm-sourcemaps - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm AND apm_write.' - requestBody: - content: - multipart/form-data: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-apm-sourcemaps - /api/apm/sourcemaps/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm AND apm_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: delete-apm-sourcemaps-id - /api/apm/fleet/apm_server_schema: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: apm AND apm_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-apm-fleet-apm-server-schema - /api/apm/agent_keys: - post: - summary: '' - tags: - - APM agent keys - description: '[Required authorization] Route required privileges: apm AND apm_settings_write.' - requestBody: - content: - application/json: - schema: - description: Pass through any value without validation. - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-apm-agent-keys - /api/osquery/live_queries: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' - responses: {} - parameters: [] - operationId: get-osquery-live-queries - post: - summary: '' - tags: [] - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-osquery-live-queries - /api/osquery/live_queries/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' - responses: {} - parameters: [] - operationId: get-osquery-live-queries-id - /api/osquery/live_queries/{id}/results/{actionId}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readLiveQueries.' - responses: {} - parameters: [] - operationId: get-osquery-live-queries-id-results-actionid - /api/osquery/packs: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writePacks.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-osquery-packs - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readPacks.' - responses: {} - parameters: [] - operationId: get-osquery-packs - /api/osquery/packs/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writePacks.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-osquery-packs-id - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readPacks.' - responses: {} - parameters: [] - operationId: get-osquery-packs-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writePacks.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-osquery-packs-id - /api/osquery/saved_queries: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-osquery-saved-queries - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readSavedQueries.' - responses: {} - parameters: [] - operationId: get-osquery-saved-queries - /api/osquery/saved_queries/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-osquery-saved-queries-id - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-readSavedQueries.' - responses: {} - parameters: [] - operationId: get-osquery-saved-queries-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-writeSavedQueries.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-osquery-saved-queries-id - /api/osquery/action_results/{actionId}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: osquery-read.' - responses: {} - parameters: [] - operationId: get-osquery-action-results-actionid - /api/detection_engine/rules/prepackaged/_status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-rules-prepackaged-status - /api/detection_engine/rules/prepackaged: - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: put-detection-engine-rules-prepackaged - /api/detection_engine/rules/{id}/exceptions: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules-id-exceptions - /api/exceptions/shared: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-exceptions-shared - /api/detection_engine/rules: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-rules - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-detection-engine-rules - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-detection-engine-rules - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-detection-engine-rules - /api/detection_engine/rules/_bulk_action: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules-bulk-action - /api/detection_engine/rules/_export: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules-export - /api/detection_engine/rules/_import: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules-import - /api/detection_engine/rules/_find: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-rules-find - /api/detection_engine/tags: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-tags - /api/detection_engine/rules/preview: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-rules-preview - /api/timeline: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-timeline - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-timeline - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_read.' - responses: {} - parameters: [] - operationId: get-timeline - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-timeline - /api/timeline/_import: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-timeline-import - /api/timeline/_export: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_read.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-timeline-export - /api/timeline/_draft: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_read.' - responses: {} - parameters: [] - operationId: get-timeline-draft - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-timeline-draft - /api/timeline/resolve: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_read.' - responses: {} - parameters: [] - operationId: get-timeline-resolve - /api/timelines: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_read.' - responses: {} - parameters: [] - operationId: get-timelines - /api/timeline/_favorite: - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-timeline-favorite - /api/timeline/_prepackaged: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-timeline-prepackaged - /api/note: - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: notes_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-note - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: notes_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-note - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: notes_read.' - responses: {} - parameters: [] - operationId: get-note - /api/pinned_event: - patch: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: timeline_write.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: patch-pinned-event - /api/detection_engine/signals/status: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-status - /api/detection_engine/signals/tags: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-tags - /api/detection_engine/signals/assignees: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-assignees - /api/detection_engine/signals/search: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-search - /api/detection_engine/signals/migration_status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - deprecated: true - responses: {} - parameters: [] - operationId: get-detection-engine-signals-migration-status - /api/detection_engine/signals/migration: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - deprecated: true - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-migration - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - deprecated: true - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-detection-engine-signals-migration - /api/detection_engine/signals/finalize_migration: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - deprecated: true - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-detection-engine-signals-finalize-migration - /api/detection_engine/index: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: post-detection-engine-index - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-index - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: delete-detection-engine-index - /api/detection_engine/privileges: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-detection-engine-privileges - /api/asset_criticality/upload_csv: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: object - additionalProperties: false - required: - - file - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-asset-criticality-upload-csv - /api/asset_criticality/bulk: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-asset-criticality-bulk - /api/asset_criticality: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-asset-criticality - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-asset-criticality - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-asset-criticality - /api/asset_criticality/list: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-asset-criticality-list - /internal/risk_score/engine/schedule_now: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-risk-score-engine-schedule-now - /api/risk_score/engine/dangerously_delete_data: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-risk-score-engine-dangerously-delete-data - /api/risk_score/engine/saved_object/configure: - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-risk-score-engine-saved-object-configure - /api/entity_store/enable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-store-enable - /api/entity_store/status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-store-status - /api/entity_store/engines/{entityType}/init: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-store-engines-entitytype-init - /api/entity_store/engines/{entityType}/start: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-store-engines-entitytype-start - /api/entity_store/engines/{entityType}/stop: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-store-engines-entitytype-stop - /api/entity_store/engines/{entityType}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-entity-store-engines-entitytype - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-store-engines-entitytype - /api/entity_store/engines: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-store-engines - /api/entity_store/entities/list: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-store-entities-list - /api/entity_store/engines/apply_dataview_indices: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-store-engines-apply-dataview-indices - /api/entity_store/entities/{entityType}: - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-entity-store-entities-entitytype - x-state: Beta - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-entity-store-entities-entitytype - x-state: Beta; added in 9.3.0 - /api/entity_store/entities/bulk: - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-entity-store-entities-bulk - x-state: Beta - /api/entity_analytics/privileged_user_monitoring/pad/install: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-privileged-user-monitoring-pad-install - /api/entity_analytics/privileged_user_monitoring/pad/status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-analytics-privileged-user-monitoring-pad-status - /api/entity_analytics/monitoring/engine/init: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-engine-init - /api/entity_analytics/monitoring/engine/schedule_now: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-engine-schedule-now - /api/entity_analytics/monitoring/engine/delete: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: delete-entity-analytics-monitoring-engine-delete - x-state: Generally available; added in 9.1.0 - /api/entity_analytics/monitoring/privileges/health: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-analytics-monitoring-privileges-health - /api/entity_analytics/monitoring/privileges/privileges: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-analytics-monitoring-privileges-privileges - /api/entity_analytics/monitoring/privileges/indices: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-analytics-monitoring-privileges-indices - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: put-entity-analytics-monitoring-privileges-indices - /api/entity_analytics/monitoring/users: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: - type: object - properties: - user: - type: object - properties: - name: - type: string - additionalProperties: false - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-users - /api/entity_analytics/monitoring/users/{id}: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: delete-entity-analytics-monitoring-users-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: - type: object - properties: - id: - type: string - user: - type: object - properties: - name: - type: string - is_privileged: - type: boolean - additionalProperties: false - labels: - type: object - properties: - sources: - type: array - items: {} - source_ids: - type: array - items: - type: string - source_integrations: - type: array - items: - type: string - additionalProperties: false - entity_analytics_monitoring: - type: object - properties: - labels: - type: array - items: - type: object - properties: - field: - type: string - value: - type: string - source: - type: string - required: - - field - - value - - source - additionalProperties: false - additionalProperties: false - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-entity-analytics-monitoring-users-id - /api/entity_analytics/monitoring/users/list: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - name: kql - in: query - required: false - schema: - type: string - operationId: get-entity-analytics-monitoring-users-list - /api/entity_analytics/monitoring/users/_csv: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - file: - type: object - additionalProperties: false - required: - - file - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-users-csv - /api/entity_analytics/monitoring/engine/disable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-engine-disable - x-state: Generally available; added in 9.1.0 - /api/entity_analytics/monitoring/entity_source: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: - type: object - properties: - type: - type: string - name: - type: string - managed: - type: boolean - indexPattern: - type: string - enabled: - type: boolean - error: - type: string - integrationName: - type: string - matchers: - type: array - items: - type: object - properties: - fields: - type: array - items: - type: string - values: - type: array - items: - type: string - required: - - fields - - values - additionalProperties: false - filter: - type: object - properties: - kuery: - anyOf: - - type: string - - type: object - properties: {} - additionalProperties: false - additionalProperties: false - integrations: - type: object - properties: - syncMarkerIndex: - type: string - syncData: - type: object - properties: - lastFullSync: - type: string - format: date-time - lastUpdateProcessed: - type: string - format: date-time - additionalProperties: false - additionalProperties: false - required: - - type - - name - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-entity-analytics-monitoring-entity-source - /api/entity_analytics/monitoring/entity_source/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - operationId: get-entity-analytics-monitoring-entity-source-id - put: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - requestBody: - content: - application/json: - schema: - type: object - properties: - name: - type: string - type: - type: string - managed: - type: boolean - indexPattern: - type: string - integrationName: - type: string - enabled: - type: boolean - matchers: - type: array - items: - type: object - properties: - fields: - type: array - items: - type: string - values: - type: array - items: - type: string - required: - - fields - - values - additionalProperties: false - filter: - type: object - properties: - kuery: - anyOf: - - type: string - - type: object - properties: {} - additionalProperties: false - additionalProperties: false - integrations: - type: object - properties: - syncMarkerIndex: - type: string - syncData: - type: object - properties: - lastFullSync: - type: string - format: date-time - lastUpdateProcessed: - type: string - format: date-time - additionalProperties: false - additionalProperties: false - additionalProperties: false - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: id - in: path - required: true - schema: - type: string - operationId: put-entity-analytics-monitoring-entity-source-id - /api/entity_analytics/monitoring/entity_source/list: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution AND securitySolution-entity-analytics.' - responses: {} - parameters: [] - operationId: get-entity-analytics-monitoring-entity-source-list - /api/asset_inventory/enable: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: {} - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-asset-inventory-enable - /api/asset_inventory/delete: - delete: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: delete-asset-inventory-delete - /api/asset_inventory/status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-asset-inventory-status - /api/asset_inventory/install_data_view: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-asset-inventory-install-data-view - /api/siem_readiness/post_task: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - task_id: - type: string - status: - type: string - enum: - - completed - - incomplete - meta: - type: object - properties: {} - additionalProperties: true - additionalProperties: false - required: - - task_id - - status - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-siem-readiness-post-task - /api/siem_readiness/get_latest_tasks: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-siem-readiness-get-latest-tasks - /api/endpoint/metadata: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: page - in: query - required: false - schema: - type: number - default: 0 - minimum: 0 - - name: pageSize - in: query - required: false - schema: - type: number - default: 10 - minimum: 1 - maximum: 10000 - - name: kuery - in: query - required: false - schema: - type: string - - name: sortField - in: query - required: false - schema: - type: string - enum: - - enrolled_at - - metadata.host.hostname - - host_status - - metadata.Endpoint.policy.applied.name - - metadata.Endpoint.policy.applied.status - - metadata.host.os.name - - metadata.host.ip - - metadata.agent.version - - last_checkin - - name: sortDirection - in: query - required: false - schema: - type: string - enum: - - asc - - desc - - name: hostStatuses - in: query - required: false - schema: - type: array - items: - type: string - enum: - - healthy - - offline - - updating - - unhealthy - - inactive - operationId: get-endpoint-metadata - /api/endpoint/metadata/{id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: id - in: path - required: true - schema: - type: string - operationId: get-endpoint-metadata-id - /api/endpoint/policy_response: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: agentId - in: query - required: true - schema: - type: string - operationId: get-endpoint-policy-response - /api/endpoint/protection_updates_note/{package_policy_id}: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - note: - type: string - additionalProperties: false - required: - - note - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - - name: package_policy_id - in: path - required: true - schema: - type: string - operationId: post-endpoint-protection-updates-note-package-policy-id - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: package_policy_id - in: path - required: true - schema: - type: string - operationId: get-endpoint-protection-updates-note-package-policy-id - /api/endpoint/action_status: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: agent_ids - in: query - required: true - schema: - anyOf: - - type: array - minItems: 1 - maxItems: 50 - items: - type: string - minLength: 1 - - type: string - minLength: 1 - operationId: get-endpoint-action-status - /api/endpoint/action/state: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: [] - operationId: get-endpoint-action-state - /api/endpoint/action: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: agentIds - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - items: - type: string - minLength: 1 - - type: string - minLength: 1 - - name: agentTypes - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - maxItems: 4 - items: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - - name: commands - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - items: - type: string - enum: - - isolate - - unisolate - - kill-process - - suspend-process - - running-processes - - get-file - - execute - - upload - - scan - - runscript - - cancel - - memory-dump - - type: string - enum: - - isolate - - unisolate - - kill-process - - suspend-process - - running-processes - - get-file - - execute - - upload - - scan - - runscript - - cancel - - memory-dump - - name: page - in: query - required: false - schema: - type: number - minimum: 1 - - name: pageSize - in: query - required: false - schema: - type: number - minimum: 1 - maximum: 10000 - - name: startDate - in: query - required: false - schema: - type: string - - name: endDate - in: query - required: false - schema: - type: string - - name: statuses - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - maxItems: 3 - items: - type: string - enum: - - failed - - pending - - successful - - type: string - enum: - - failed - - pending - - successful - - name: userIds - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - items: - type: string - minLength: 1 - - type: string - minLength: 1 - - name: withOutputs - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - items: - type: string - minLength: 1 - - type: string - minLength: 1 - - name: types - in: query - required: false - schema: - anyOf: - - type: array - minItems: 1 - maxItems: 2 - items: - type: string - enum: - - automated - - manual - - type: string - enum: - - automated - - manual - operationId: get-endpoint-action - /api/endpoint/action/{action_id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: action_id - in: path - required: true - schema: - type: string - operationId: get-endpoint-action-action-id - /api/endpoint/action/isolate: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: {} - additionalProperties: false - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-isolate - /api/endpoint/action/unisolate: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: {} - additionalProperties: false - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-unisolate - /api/endpoint/action/kill_process: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - anyOf: - - type: object - properties: - pid: - type: number - minimum: 1 - additionalProperties: false - required: - - pid - - type: object - properties: - entity_id: - type: string - minLength: 1 - additionalProperties: false - required: - - entity_id - - type: object - properties: - process_name: - type: string - minLength: 1 - additionalProperties: false - required: - - process_name - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-kill-process - /api/endpoint/action/suspend_process: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - anyOf: - - type: object - properties: - pid: - type: number - minimum: 1 - additionalProperties: false - required: - - pid - - type: object - properties: - entity_id: - type: string - minLength: 1 - additionalProperties: false - required: - - entity_id - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-suspend-process - /api/endpoint/action/running_procs: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: {} - additionalProperties: false - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-running-procs - /api/endpoint/action/get_file: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: - path: - type: string - minLength: 1 - additionalProperties: false - required: - - path - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-get-file - /api/endpoint/action/execute: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: - command: - type: string - minLength: 1 - timeout: - type: number - minimum: 1 - additionalProperties: false - required: - - command - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-execute - /api/endpoint/action/upload: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - multipart/form-data: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: - overwrite: - type: boolean - additionalProperties: false - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - file: - type: object - additionalProperties: false - required: - - endpoint_ids - - parameters - - file - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-upload - /api/endpoint/action/scan: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: - path: - type: string - minLength: 1 - additionalProperties: false - required: - - path - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-scan - /api/endpoint/action/run_script: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - parameters: - oneOf: - - type: object - properties: - raw: - type: string - minLength: 1 - hostPath: - type: string - minLength: 1 - cloudFile: - type: string - minLength: 1 - commandLine: - type: string - minLength: 1 - timeout: - type: number - minimum: 1 - additionalProperties: false - - oneOf: - - type: object - properties: - scriptName: - type: string - minLength: 1 - args: - type: string - minLength: 1 - additionalProperties: false - required: - - scriptName - - oneOf: - - type: object - properties: - scriptId: - type: string - minLength: 1 - scriptInput: - type: string - minLength: 1 - additionalProperties: false - required: - - scriptId - - not: {} - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - nullable: true - anyOf: - - type: array - items: {} - - type: boolean - - type: number - - type: object - - type: string - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-run-script - /api/endpoint/action/cancel: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - type: object - properties: - id: - type: string - minLength: 1 - additionalProperties: false - required: - - id - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-cancel - /api/endpoint/action/memory_dump: - post: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - requestBody: - content: - application/json: - schema: - type: object - properties: - endpoint_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - alert_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - case_ids: - type: array - minItems: 1 - items: - type: string - minLength: 1 - comment: - type: string - parameters: - anyOf: - - type: object - properties: - type: - type: string - enum: - - kernel - additionalProperties: false - required: - - type - - type: object - properties: - type: - type: string - enum: - - process - pid: - type: number - minimum: 1 - additionalProperties: false - required: - - type - - pid - - type: object - properties: - type: - type: string - enum: - - process - entity_id: - type: string - minLength: 1 - additionalProperties: false - required: - - type - - entity_id - agent_type: - type: string - enum: - - endpoint - - sentinel_one - - crowdstrike - - microsoft_defender_endpoint - additionalProperties: false - required: - - endpoint_ids - - parameters - responses: {} - parameters: - - description: A required header to protect against CSRF attacks - in: header - name: kbn-xsrf - required: true - schema: - example: 'true' - type: string - operationId: post-endpoint-action-memory-dump - /api/endpoint/action/{action_id}/file/{file_id}/download: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: action_id - in: path - required: true - schema: - type: string - minLength: 1 - - name: file_id - in: path - required: true - schema: - type: string - minLength: 1 - operationId: get-endpoint-action-action-id-file-file-id-download - /api/endpoint/action/{action_id}/file/{file_id}: - get: - summary: '' - tags: [] - description: '[Required authorization] Route required privileges: securitySolution.' - responses: {} - parameters: - - name: action_id - in: path - required: true - schema: - type: string - minLength: 1 - - name: file_id - in: path - required: true - schema: - type: string - minLength: 1 - operationId: get-endpoint-action-action-id-file-file-id -components: - schemas: - core_status_response: - type: object - description: Kibana's operational status as well as a detailed breakdown of plugin statuses indication of various loads (like event loop utilization and network traffic) at time of request. - properties: - name: - type: string - description: Kibana instance name. - uuid: - type: string - description: Unique, generated Kibana instance UUID. This UUID should persist even if the Kibana process restarts. - version: - type: object - properties: - number: - type: string - description: A semantic version number. - build_hash: - type: string - description: A unique hash value representing the git commit of this Kibana build. - build_number: - type: number - description: A monotonically increasing number, each subsequent build will have a higher number. - build_snapshot: - type: boolean - description: Whether this build is a snapshot build. - build_flavor: - description: The build flavour determines configuration and behavior of Kibana. On premise users will almost always run the "traditional" flavour, while other flavours are reserved for Elastic-specific use cases. - type: string - enum: - - serverless - - traditional - build_date: - type: string - description: The date and time of this build. - additionalProperties: false - required: - - number - - build_hash - - build_number - - build_snapshot - - build_flavor - - build_date - status: - type: object - properties: - overall: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - summary: - type: string - description: A human readable summary of the service status. - detail: - type: string - description: Human readable detail of the service status. - documentationUrl: - type: string - description: A URL to further documentation regarding this service. - meta: - type: object - description: An unstructured set of extra metadata about this service. - additionalProperties: {} - additionalProperties: false - required: - - level - - summary - - meta - core: - type: object - description: Statuses of core Kibana services. - properties: - elasticsearch: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - summary: - type: string - description: A human readable summary of the service status. - detail: - type: string - description: Human readable detail of the service status. - documentationUrl: - type: string - description: A URL to further documentation regarding this service. - meta: - type: object - description: An unstructured set of extra metadata about this service. - additionalProperties: {} - additionalProperties: false - required: - - level - - summary - - meta - http: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - summary: - type: string - description: A human readable summary of the service status. - detail: - type: string - description: Human readable detail of the service status. - documentationUrl: - type: string - description: A URL to further documentation regarding this service. - meta: - type: object - description: An unstructured set of extra metadata about this service. - additionalProperties: {} - additionalProperties: false - required: - - level - - summary - - meta - savedObjects: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - summary: - type: string - description: A human readable summary of the service status. - detail: - type: string - description: Human readable detail of the service status. - documentationUrl: - type: string - description: A URL to further documentation regarding this service. - meta: - type: object - description: An unstructured set of extra metadata about this service. - additionalProperties: {} - additionalProperties: false - required: - - level - - summary - - meta - additionalProperties: false - required: - - elasticsearch - - savedObjects - plugins: - type: object - description: A dynamic mapping of plugin ID to plugin status. - additionalProperties: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - summary: - type: string - description: A human readable summary of the service status. - detail: - type: string - description: Human readable detail of the service status. - documentationUrl: - type: string - description: A URL to further documentation regarding this service. - meta: - type: object - description: An unstructured set of extra metadata about this service. - additionalProperties: {} - additionalProperties: false - required: - - level - - summary - - meta - additionalProperties: false - required: - - overall - - core - - plugins - metrics: - type: object - description: Metric groups collected by Kibana. - properties: - elasticsearch_client: - type: object - description: Current network metrics of Kibana's Elasticsearch client. - properties: - totalActiveSockets: - type: number - description: Count of network sockets currently in use. - totalIdleSockets: - type: number - description: Count of network sockets currently idle. - totalQueuedRequests: - type: number - description: Count of requests not yet assigned to sockets. - additionalProperties: false - required: - - totalActiveSockets - - totalIdleSockets - - totalQueuedRequests - last_updated: - type: string - description: The time metrics were collected. - collection_interval_in_millis: - type: number - description: The interval at which metrics should be collected. - additionalProperties: false - required: - - elasticsearch_client - - last_updated - - collection_interval_in_millis - additionalProperties: false - required: - - name - - uuid - - version - - status - - metrics - core_status_redactedResponse: - type: object - description: A minimal representation of Kibana's operational status. - properties: - status: - type: object - properties: - overall: - type: object - properties: - level: - description: Service status levels as human and machine readable values. - type: string - enum: - - available - - degraded - - unavailable - - critical - additionalProperties: false - required: - - level - additionalProperties: false - required: - - overall - additionalProperties: false - required: - - status - StreamlangCondition: - anyOf: - - type: object - properties: - type: - type: string - enum: - - filter - field: - type: string - minLength: 1 - eq: - anyOf: - - type: string - - type: number - - type: boolean - neq: - anyOf: - - type: string - - type: number - - type: boolean - lt: - anyOf: - - type: string - - type: number - - type: boolean - lte: - anyOf: - - type: string - - type: number - - type: boolean - gt: - anyOf: - - type: string - - type: number - - type: boolean - gte: - anyOf: - - type: string - - type: number - - type: boolean - contains: - anyOf: - - type: string - - type: number - - type: boolean - startsWith: - anyOf: - - type: string - - type: number - - type: boolean - endsWith: - anyOf: - - type: string - - type: number - - type: boolean - range: - type: object - properties: - gt: - anyOf: - - type: string - - type: number - - type: boolean - gte: - anyOf: - - type: string - - type: number - - type: boolean - lt: - anyOf: - - type: string - - type: number - - type: boolean - lte: - anyOf: - - type: string - - type: number - - type: boolean - additionalProperties: false - exists: - type: boolean - required: - - type - - field - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - and - and: - type: array - items: - $ref: '#/components/schemas/StreamlangCondition' - required: - - type - - and - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - or - or: - type: array - items: - $ref: '#/components/schemas/StreamlangCondition' - required: - - type - - or - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - not - not: - $ref: '#/components/schemas/StreamlangCondition' - required: - - type - - not - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - never - never: - type: object - properties: {} - additionalProperties: false - required: - - type - - never - additionalProperties: false - - type: object - properties: - type: - type: string - enum: - - always - always: - type: object - properties: {} - additionalProperties: false - required: - - type - - always - additionalProperties: false - StreamlangStep: - anyOf: - - allOf: - - anyOf: - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - grok - from: - type: string - minLength: 1 - patterns: - type: array - items: - type: string - minLength: 1 - minItems: 1 - ignore_missing: - type: boolean - required: - - action - - from - - patterns - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - dissect - from: - type: string - minLength: 1 - pattern: - type: string - minLength: 1 - append_separator: - type: string - minLength: 1 - ignore_missing: - type: boolean - required: - - action - - from - - pattern - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - date - from: - type: string - minLength: 1 - to: - type: string - minLength: 1 - formats: - type: array - items: - type: string - minLength: 1 - output_format: - type: string - minLength: 1 - timezone: - type: string - minLength: 1 - locale: - type: string - minLength: 1 - required: - - action - - from - - formats - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - rename - from: - type: string - minLength: 1 - to: - type: string - minLength: 1 - ignore_missing: - type: boolean - override: - type: boolean - required: - - action - - from - - to - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - set - to: - type: string - minLength: 1 - override: - type: boolean - value: {} - copy_from: - type: string - minLength: 1 - required: - - action - - to - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - append - to: - type: string - minLength: 1 - value: - type: array - items: {} - minItems: 1 - allow_duplicates: - type: boolean - required: - - action - - to - - value - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - action: - type: string - enum: - - remove_by_prefix - from: - type: string - minLength: 1 - required: - - action - - from - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - remove - from: - type: string - minLength: 1 - ignore_missing: - type: boolean - required: - - action - - from - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - convert - from: - type: string - minLength: 1 - to: - type: string - minLength: 1 - type: - type: string - enum: - - integer - - long - - double - - boolean - - string - ignore_missing: - type: boolean - required: - - action - - from - - type - additionalProperties: false - - type: object - properties: - customIdentifier: - type: string - minLength: 1 - description: - type: string - ignore_failure: - type: boolean - where: - $ref: '#/components/schemas/StreamlangCondition' - action: - type: string - enum: - - manual_ingest_pipeline - processors: - type: array - items: - type: object - required: - - append - - attachment - - bytes - - circle - - community_id - - convert - - csv - - date - - date_index_name - - dissect - - dot_expander - - drop - - enrich - - fail - - fingerprint - - foreach - - ip_location - - geo_grid - - geoip - - grok - - gsub - - html_strip - - inference - - join - - json - - kv - - lowercase - - network_direction - - pipeline - - redact - - registered_domain - - remove - - rename - - reroute - - script - - set - - set_security_user - - sort - - split - - terminate - - trim - - uppercase - - urldecode - - uri_parts - - user_agent - properties: - append: {} - attachment: {} - bytes: {} - circle: {} - community_id: {} - convert: {} - csv: {} - date: {} - date_index_name: {} - dissect: {} - dot_expander: {} - drop: {} - enrich: {} - fail: {} - fingerprint: {} - foreach: {} - ip_location: {} - geo_grid: {} - geoip: {} - grok: {} - gsub: {} - html_strip: {} - inference: {} - join: {} - json: {} - kv: {} - lowercase: {} - network_direction: {} - pipeline: {} - redact: {} - registered_domain: {} - remove: {} - rename: {} - reroute: {} - script: {} - set: {} - set_security_user: {} - sort: {} - split: {} - terminate: {} - trim: {} - uppercase: {} - urldecode: {} - uri_parts: {} - user_agent: {} - additionalProperties: false - tag: - type: string - on_failure: - type: array - items: - type: object - additionalProperties: {} - required: - - action - - processors - additionalProperties: false - - type: object - properties: - kind: - type: string - enum: - - processor - - type: object - properties: - kind: - type: string - enum: - - where - customIdentifier: - type: string - where: - allOf: - - $ref: '#/components/schemas/StreamlangCondition' - - type: object - properties: - steps: - type: array - items: - $ref: '#/components/schemas/StreamlangStep' - required: - - steps - required: - - where - additionalProperties: false - securitySchemes: - basicAuth: - type: http - scheme: basic - apiKeyAuth: - type: apiKey - in: header - name: Authorization diff --git a/generated/kbstreams/streams.gen.go b/generated/kbstreams/streams.gen.go deleted file mode 100644 index 6ad45759c..000000000 --- a/generated/kbstreams/streams.gen.go +++ /dev/null @@ -1,6249 +0,0 @@ -// Package kbstreams provides primitives to interact with the openapi HTTP API. -// -// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT. -package kbstreams - -import ( - "bytes" - "context" - "encoding/json" - "fmt" - "io" - "net/http" - "net/url" - "strings" - - "github.com/oapi-codegen/runtime" -) - -const ( - BasicAuthScopes = "basicAuth.Scopes" -) - -// Defines values for StreamlangCondition0Type. -const ( - Filter StreamlangCondition0Type = "filter" -) - -// Defines values for StreamlangCondition1Type. -const ( - And StreamlangCondition1Type = "and" -) - -// Defines values for StreamlangCondition2Type. -const ( - Or StreamlangCondition2Type = "or" -) - -// Defines values for StreamlangCondition3Type. -const ( - Not StreamlangCondition3Type = "not" -) - -// Defines values for StreamlangCondition4Type. -const ( - Never StreamlangCondition4Type = "never" -) - -// Defines values for StreamlangCondition5Type. -const ( - Always StreamlangCondition5Type = "always" -) - -// Defines values for StreamlangStep0Kind. -const ( - Processor StreamlangStep0Kind = "processor" -) - -// Defines values for StreamlangStep1Kind. -const ( - Where StreamlangStep1Kind = "where" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle0Type. -const ( - PutStreamsNameJSONBody00StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody00StreamIngestLifecycle0Type = "dsl" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle1Type. -const ( - PutStreamsNameJSONBody00StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody00StreamIngestLifecycle1Type = "ilm" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestLifecycle2Type. -const ( - PutStreamsNameJSONBody00StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody00StreamIngestLifecycle2Type = "inherit" -) - -// Defines values for PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 = -1 -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle0Type. -const ( - PutStreamsNameJSONBody01StreamIngestLifecycle0TypeDsl PutStreamsNameJSONBody01StreamIngestLifecycle0Type = "dsl" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle1Type. -const ( - PutStreamsNameJSONBody01StreamIngestLifecycle1TypeIlm PutStreamsNameJSONBody01StreamIngestLifecycle1Type = "ilm" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestLifecycle2Type. -const ( - PutStreamsNameJSONBody01StreamIngestLifecycle2TypeInherit PutStreamsNameJSONBody01StreamIngestLifecycle2Type = "inherit" -) - -// Defines values for PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 = -1 -) - -// Defines values for PostStreamsNameForkJSONBodyStatus. -const ( - PostStreamsNameForkJSONBodyStatusDisabled PostStreamsNameForkJSONBodyStatus = "disabled" - PostStreamsNameForkJSONBodyStatusEnabled PostStreamsNameForkJSONBodyStatus = "enabled" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type. -const ( - PutStreamsNameIngestJSONBodyIngest0Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type = "dsl" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type. -const ( - PutStreamsNameIngestJSONBodyIngest0Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type = "ilm" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type. -const ( - PutStreamsNameIngestJSONBodyIngest0Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type = "inherit" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 = -1 -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0Type. -const ( - Wired PutStreamsNameIngestJSONBodyIngest0Type = "wired" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus. -const ( - PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatusDisabled PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus = "disabled" - PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatusEnabled PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus = "enabled" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type. -const ( - PutStreamsNameIngestJSONBodyIngest1Lifecycle0TypeDsl PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type = "dsl" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type. -const ( - PutStreamsNameIngestJSONBodyIngest1Lifecycle1TypeIlm PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type = "ilm" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type. -const ( - PutStreamsNameIngestJSONBodyIngest1Lifecycle2TypeInherit PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type = "inherit" -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1. -const ( - PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1Minus1 PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 = -1 -) - -// Defines values for PutStreamsNameIngestJSONBodyIngest1Type. -const ( - Classic PutStreamsNameIngestJSONBodyIngest1Type = "classic" -) - -// StreamlangCondition defines model for StreamlangCondition. -type StreamlangCondition struct { - union json.RawMessage -} - -// StreamlangCondition0 defines model for . -type StreamlangCondition0 struct { - Contains *StreamlangCondition_0_Contains `json:"contains,omitempty"` - EndsWith *StreamlangCondition_0_EndsWith `json:"endsWith,omitempty"` - Eq *StreamlangCondition_0_Eq `json:"eq,omitempty"` - Exists *bool `json:"exists,omitempty"` - Field string `json:"field"` - Gt *StreamlangCondition_0_Gt `json:"gt,omitempty"` - Gte *StreamlangCondition_0_Gte `json:"gte,omitempty"` - Lt *StreamlangCondition_0_Lt `json:"lt,omitempty"` - Lte *StreamlangCondition_0_Lte `json:"lte,omitempty"` - Neq *StreamlangCondition_0_Neq `json:"neq,omitempty"` - Range *struct { - Gt *StreamlangCondition_0_Range_Gt `json:"gt,omitempty"` - Gte *StreamlangCondition_0_Range_Gte `json:"gte,omitempty"` - Lt *StreamlangCondition_0_Range_Lt `json:"lt,omitempty"` - Lte *StreamlangCondition_0_Range_Lte `json:"lte,omitempty"` - } `json:"range,omitempty"` - StartsWith *StreamlangCondition_0_StartsWith `json:"startsWith,omitempty"` - Type StreamlangCondition0Type `json:"type"` -} - -// StreamlangCondition0Contains0 defines model for . -type StreamlangCondition0Contains0 = string - -// StreamlangCondition0Contains1 defines model for . -type StreamlangCondition0Contains1 = float32 - -// StreamlangCondition0Contains2 defines model for . -type StreamlangCondition0Contains2 = bool - -// StreamlangCondition_0_Contains defines model for StreamlangCondition.0.Contains. -type StreamlangCondition_0_Contains struct { - union json.RawMessage -} - -// StreamlangCondition0EndsWith0 defines model for . -type StreamlangCondition0EndsWith0 = string - -// StreamlangCondition0EndsWith1 defines model for . -type StreamlangCondition0EndsWith1 = float32 - -// StreamlangCondition0EndsWith2 defines model for . -type StreamlangCondition0EndsWith2 = bool - -// StreamlangCondition_0_EndsWith defines model for StreamlangCondition.0.EndsWith. -type StreamlangCondition_0_EndsWith struct { - union json.RawMessage -} - -// StreamlangCondition0Eq0 defines model for . -type StreamlangCondition0Eq0 = string - -// StreamlangCondition0Eq1 defines model for . -type StreamlangCondition0Eq1 = float32 - -// StreamlangCondition0Eq2 defines model for . -type StreamlangCondition0Eq2 = bool - -// StreamlangCondition_0_Eq defines model for StreamlangCondition.0.Eq. -type StreamlangCondition_0_Eq struct { - union json.RawMessage -} - -// StreamlangCondition0Gt0 defines model for . -type StreamlangCondition0Gt0 = string - -// StreamlangCondition0Gt1 defines model for . -type StreamlangCondition0Gt1 = float32 - -// StreamlangCondition0Gt2 defines model for . -type StreamlangCondition0Gt2 = bool - -// StreamlangCondition_0_Gt defines model for StreamlangCondition.0.Gt. -type StreamlangCondition_0_Gt struct { - union json.RawMessage -} - -// StreamlangCondition0Gte0 defines model for . -type StreamlangCondition0Gte0 = string - -// StreamlangCondition0Gte1 defines model for . -type StreamlangCondition0Gte1 = float32 - -// StreamlangCondition0Gte2 defines model for . -type StreamlangCondition0Gte2 = bool - -// StreamlangCondition_0_Gte defines model for StreamlangCondition.0.Gte. -type StreamlangCondition_0_Gte struct { - union json.RawMessage -} - -// StreamlangCondition0Lt0 defines model for . -type StreamlangCondition0Lt0 = string - -// StreamlangCondition0Lt1 defines model for . -type StreamlangCondition0Lt1 = float32 - -// StreamlangCondition0Lt2 defines model for . -type StreamlangCondition0Lt2 = bool - -// StreamlangCondition_0_Lt defines model for StreamlangCondition.0.Lt. -type StreamlangCondition_0_Lt struct { - union json.RawMessage -} - -// StreamlangCondition0Lte0 defines model for . -type StreamlangCondition0Lte0 = string - -// StreamlangCondition0Lte1 defines model for . -type StreamlangCondition0Lte1 = float32 - -// StreamlangCondition0Lte2 defines model for . -type StreamlangCondition0Lte2 = bool - -// StreamlangCondition_0_Lte defines model for StreamlangCondition.0.Lte. -type StreamlangCondition_0_Lte struct { - union json.RawMessage -} - -// StreamlangCondition0Neq0 defines model for . -type StreamlangCondition0Neq0 = string - -// StreamlangCondition0Neq1 defines model for . -type StreamlangCondition0Neq1 = float32 - -// StreamlangCondition0Neq2 defines model for . -type StreamlangCondition0Neq2 = bool - -// StreamlangCondition_0_Neq defines model for StreamlangCondition.0.Neq. -type StreamlangCondition_0_Neq struct { - union json.RawMessage -} - -// StreamlangCondition0RangeGt0 defines model for . -type StreamlangCondition0RangeGt0 = string - -// StreamlangCondition0RangeGt1 defines model for . -type StreamlangCondition0RangeGt1 = float32 - -// StreamlangCondition0RangeGt2 defines model for . -type StreamlangCondition0RangeGt2 = bool - -// StreamlangCondition_0_Range_Gt defines model for StreamlangCondition.0.Range.Gt. -type StreamlangCondition_0_Range_Gt struct { - union json.RawMessage -} - -// StreamlangCondition0RangeGte0 defines model for . -type StreamlangCondition0RangeGte0 = string - -// StreamlangCondition0RangeGte1 defines model for . -type StreamlangCondition0RangeGte1 = float32 - -// StreamlangCondition0RangeGte2 defines model for . -type StreamlangCondition0RangeGte2 = bool - -// StreamlangCondition_0_Range_Gte defines model for StreamlangCondition.0.Range.Gte. -type StreamlangCondition_0_Range_Gte struct { - union json.RawMessage -} - -// StreamlangCondition0RangeLt0 defines model for . -type StreamlangCondition0RangeLt0 = string - -// StreamlangCondition0RangeLt1 defines model for . -type StreamlangCondition0RangeLt1 = float32 - -// StreamlangCondition0RangeLt2 defines model for . -type StreamlangCondition0RangeLt2 = bool - -// StreamlangCondition_0_Range_Lt defines model for StreamlangCondition.0.Range.Lt. -type StreamlangCondition_0_Range_Lt struct { - union json.RawMessage -} - -// StreamlangCondition0RangeLte0 defines model for . -type StreamlangCondition0RangeLte0 = string - -// StreamlangCondition0RangeLte1 defines model for . -type StreamlangCondition0RangeLte1 = float32 - -// StreamlangCondition0RangeLte2 defines model for . -type StreamlangCondition0RangeLte2 = bool - -// StreamlangCondition_0_Range_Lte defines model for StreamlangCondition.0.Range.Lte. -type StreamlangCondition_0_Range_Lte struct { - union json.RawMessage -} - -// StreamlangCondition0StartsWith0 defines model for . -type StreamlangCondition0StartsWith0 = string - -// StreamlangCondition0StartsWith1 defines model for . -type StreamlangCondition0StartsWith1 = float32 - -// StreamlangCondition0StartsWith2 defines model for . -type StreamlangCondition0StartsWith2 = bool - -// StreamlangCondition_0_StartsWith defines model for StreamlangCondition.0.StartsWith. -type StreamlangCondition_0_StartsWith struct { - union json.RawMessage -} - -// StreamlangCondition0Type defines model for StreamlangCondition.0.Type. -type StreamlangCondition0Type string - -// StreamlangCondition1 defines model for . -type StreamlangCondition1 struct { - And []StreamlangCondition `json:"and"` - Type StreamlangCondition1Type `json:"type"` -} - -// StreamlangCondition1Type defines model for StreamlangCondition.1.Type. -type StreamlangCondition1Type string - -// StreamlangCondition2 defines model for . -type StreamlangCondition2 struct { - Or []StreamlangCondition `json:"or"` - Type StreamlangCondition2Type `json:"type"` -} - -// StreamlangCondition2Type defines model for StreamlangCondition.2.Type. -type StreamlangCondition2Type string - -// StreamlangCondition3 defines model for . -type StreamlangCondition3 struct { - Not StreamlangCondition `json:"not"` - Type StreamlangCondition3Type `json:"type"` -} - -// StreamlangCondition3Type defines model for StreamlangCondition.3.Type. -type StreamlangCondition3Type string - -// StreamlangCondition4 defines model for . -type StreamlangCondition4 struct { - Never map[string]interface{} `json:"never"` - Type StreamlangCondition4Type `json:"type"` -} - -// StreamlangCondition4Type defines model for StreamlangCondition.4.Type. -type StreamlangCondition4Type string - -// StreamlangCondition5 defines model for . -type StreamlangCondition5 struct { - Always map[string]interface{} `json:"always"` - Type StreamlangCondition5Type `json:"type"` -} - -// StreamlangCondition5Type defines model for StreamlangCondition.5.Type. -type StreamlangCondition5Type string - -// StreamlangStep defines model for StreamlangStep. -type StreamlangStep struct { - union json.RawMessage -} - -// StreamlangStep0 defines model for . -type StreamlangStep0 struct { - Kind *StreamlangStep0Kind `json:"kind,omitempty"` -} - -// StreamlangStep0Kind defines model for StreamlangStep.0.Kind. -type StreamlangStep0Kind string - -// StreamlangStep1 defines model for . -type StreamlangStep1 struct { - CustomIdentifier *string `json:"customIdentifier,omitempty"` - Kind *StreamlangStep1Kind `json:"kind,omitempty"` - Where struct { - Steps []StreamlangStep `json:"steps"` - } `json:"where"` -} - -// StreamlangStep1Kind defines model for StreamlangStep.1.Kind. -type StreamlangStep1Kind string - -// PostStreamsDisableParams defines parameters for PostStreamsDisable. -type PostStreamsDisableParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsEnableParams defines parameters for PostStreamsEnable. -type PostStreamsEnableParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsResyncParams defines parameters for PostStreamsResync. -type PostStreamsResyncParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// DeleteStreamsNameParams defines parameters for DeleteStreamsName. -type DeleteStreamsNameParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameJSONBody defines parameters for PutStreamsName. -type PutStreamsNameJSONBody struct { - union json.RawMessage -} - -// PutStreamsNameParams defines parameters for PutStreamsName. -type PutStreamsNameParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameJSONBody0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody0 struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00 struct { - Dashboards []string `json:"dashboards"` - Queries []struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"queries"` - Rules []string `json:"rules"` - Stream struct { - Ingest struct { - Lifecycle PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []StreamlangStep `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - } `json:"ingest"` - Name interface{} `json:"name,omitempty"` - } `json:"stream"` -} - -// PutStreamsNameJSONBody00StreamIngestLifecycle0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` - Type PutStreamsNameJSONBody00StreamIngestLifecycle0Type `json:"type"` -} - -// PutStreamsNameJSONBody00StreamIngestLifecycle0Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle0Type string - -// PutStreamsNameJSONBody00StreamIngestLifecycle1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` - Type PutStreamsNameJSONBody00StreamIngestLifecycle1Type `json:"type"` -} - -// PutStreamsNameJSONBody00StreamIngestLifecycle1Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle1Type string - -// PutStreamsNameJSONBody00StreamIngestLifecycle2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` - Type PutStreamsNameJSONBody00StreamIngestLifecycle2Type `json:"type"` -} - -// PutStreamsNameJSONBody00StreamIngestLifecycle2Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestLifecycle2Type string - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody00StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_0_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01 struct { - Dashboards []string `json:"dashboards"` - Queries []struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"queries"` - Rules []string `json:"rules"` - Stream struct { - Ingest struct { - Lifecycle PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []StreamlangStep `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - } `json:"ingest"` - Name interface{} `json:"name,omitempty"` - } `json:"stream"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` - Type PutStreamsNameJSONBody01StreamIngestLifecycle0Type `json:"type"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle0Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle0Type string - -// PutStreamsNameJSONBody01StreamIngestLifecycle1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` - Type PutStreamsNameJSONBody01StreamIngestLifecycle1Type `json:"type"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle1Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle1Type string - -// PutStreamsNameJSONBody01StreamIngestLifecycle2 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` - Type PutStreamsNameJSONBody01StreamIngestLifecycle2Type `json:"type"` -} - -// PutStreamsNameJSONBody01StreamIngestLifecycle2Type defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestLifecycle2Type string - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody01StreamIngestSettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsName. -type PutStreamsNameJSONBody_0_1_Stream_Ingest_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameJSONBody1 defines parameters for PutStreamsName. -type PutStreamsNameJSONBody1 struct { - Dashboards []string `json:"dashboards"` - Queries []struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"queries"` - Rules []string `json:"rules"` - Stream struct { - Group struct { - Members []string `json:"members"` - Metadata map[string]string `json:"metadata"` - Tags []string `json:"tags"` - } `json:"group"` - Name interface{} `json:"name,omitempty"` - } `json:"stream"` -} - -// PostStreamsNameForkJSONBody defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBody struct { - Status *PostStreamsNameForkJSONBodyStatus `json:"status,omitempty"` - Stream struct { - Name string `json:"name"` - } `json:"stream"` - Where StreamlangCondition `json:"where"` -} - -// PostStreamsNameForkParams defines parameters for PostStreamsNameFork. -type PostStreamsNameForkParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameForkJSONBodyStatus defines parameters for PostStreamsNameFork. -type PostStreamsNameForkJSONBodyStatus string - -// PutStreamsNameGroupJSONBody defines parameters for PutStreamsNameGroup. -type PutStreamsNameGroupJSONBody struct { - Group struct { - Members []string `json:"members"` - Metadata map[string]string `json:"metadata"` - Tags []string `json:"tags"` - } `json:"group"` -} - -// PutStreamsNameGroupParams defines parameters for PutStreamsNameGroup. -type PutStreamsNameGroupParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameIngestJSONBody defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody struct { - Ingest PutStreamsNameIngestJSONBody_Ingest `json:"ingest"` -} - -// PutStreamsNameIngestParams defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameIngestJSONBodyIngest0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0 struct { - Lifecycle PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []StreamlangStep `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - Type PutStreamsNameIngestJSONBodyIngest0Type `json:"type"` - Wired struct { - Fields map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties `json:"fields"` - Routing []struct { - Destination string `json:"destination"` - Status *PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus `json:"status,omitempty"` - Where StreamlangCondition `json:"where"` - } `json:"routing"` - } `json:"wired"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` - Type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle0Type string - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` - Type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle1Type string - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` - Type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Lifecycle2Type string - -// PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0Type string - -// PutStreamsNameIngestJSONBodyIngest0WiredFields0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields00 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredFields01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields01 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredFields02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields02 = bool - -// PutStreamsNameIngestJSONBodyIngest0WiredFields03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields03 = interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields1 = []PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item - -// PutStreamsNameIngestJSONBodyIngest0WiredFields10 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields10 = string - -// PutStreamsNameIngestJSONBodyIngest0WiredFields11 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields11 = float32 - -// PutStreamsNameIngestJSONBodyIngest0WiredFields12 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields12 = bool - -// PutStreamsNameIngestJSONBodyIngest0WiredFields13 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields13 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_1_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest0WiredFields3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredFields3 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_0_Wired_Fields_AdditionalProperties struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest0WiredRoutingStatus string - -// PutStreamsNameIngestJSONBodyIngest1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1 struct { - Classic struct { - FieldOverrides *map[string]map[string]PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties `json:"field_overrides,omitempty"` - } `json:"classic"` - Lifecycle PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle `json:"lifecycle"` - Processing struct { - Steps []StreamlangStep `json:"steps"` - } `json:"processing"` - Settings struct { - IndexNumberOfReplicas *struct { - Value float32 `json:"value"` - } `json:"index.number_of_replicas,omitempty"` - IndexNumberOfShards *struct { - Value float32 `json:"value"` - } `json:"index.number_of_shards,omitempty"` - IndexRefreshInterval *struct { - Value PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value `json:"value"` - } `json:"index.refresh_interval,omitempty"` - } `json:"settings"` - Type PutStreamsNameIngestJSONBodyIngest1Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides0 struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides00 = string - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides01 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides02 = bool - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides03 = interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides1 = []PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides10 = string - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides11 = float32 - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides12 = bool - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides13 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_1_Item struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides2 = []interface{} - -// PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1ClassicFieldOverrides3 = interface{} - -// PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Classic_FieldOverrides_AdditionalProperties struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle0 struct { - Dsl struct { - DataRetention *string `json:"data_retention,omitempty"` - } `json:"dsl"` - Type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle0Type string - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle1 struct { - Ilm struct { - Policy string `json:"policy"` - } `json:"ilm"` - Type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle1Type string - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle2 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle2 struct { - Inherit map[string]interface{} `json:"inherit"` - Type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type `json:"type"` -} - -// PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Lifecycle2Type string - -// PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Lifecycle struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue0 = string - -// PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1SettingsIndexRefreshIntervalValue1 float32 - -// PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest_1_Settings_IndexRefreshInterval_Value struct { - union json.RawMessage -} - -// PutStreamsNameIngestJSONBodyIngest1Type defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBodyIngest1Type string - -// PutStreamsNameIngestJSONBody_Ingest defines parameters for PutStreamsNameIngest. -type PutStreamsNameIngestJSONBody_Ingest struct { - union json.RawMessage -} - -// PostStreamsNameContentExportJSONBody defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBody struct { - Description string `json:"description"` - Include PostStreamsNameContentExportJSONBody_Include `json:"include"` - Name string `json:"name"` - Version string `json:"version"` -} - -// PostStreamsNameContentExportParams defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameContentExportJSONBodyInclude0 defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBodyInclude0 struct { - Objects struct { - All map[string]interface{} `json:"all"` - } `json:"objects"` -} - -// PostStreamsNameContentExportJSONBodyInclude1 defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBodyInclude1 struct { - Objects struct { - Mappings bool `json:"mappings"` - Queries []struct { - Id string `json:"id"` - } `json:"queries"` - Routing []struct { - Destination string `json:"destination"` - } `json:"routing"` - } `json:"objects"` -} - -// PostStreamsNameContentExportJSONBody_Include defines parameters for PostStreamsNameContentExport. -type PostStreamsNameContentExportJSONBody_Include struct { - union json.RawMessage -} - -// PostStreamsNameContentImportMultipartBody defines parameters for PostStreamsNameContentImport. -type PostStreamsNameContentImportMultipartBody struct { - Content interface{} `json:"content"` - Include string `json:"include"` -} - -// PostStreamsNameContentImportParams defines parameters for PostStreamsNameContentImport. -type PostStreamsNameContentImportParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameDashboardsBulkJSONBody defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBody struct { - Operations []PostStreamsNameDashboardsBulkJSONBody_Operations_Item `json:"operations"` -} - -// PostStreamsNameDashboardsBulkParams defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameDashboardsBulkJSONBodyOperations0 defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBodyOperations0 struct { - Index struct { - Id string `json:"id"` - } `json:"index"` -} - -// PostStreamsNameDashboardsBulkJSONBodyOperations1 defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBodyOperations1 struct { - Delete struct { - Id string `json:"id"` - } `json:"delete"` -} - -// PostStreamsNameDashboardsBulkJSONBody_Operations_Item defines parameters for PostStreamsNameDashboardsBulk. -type PostStreamsNameDashboardsBulkJSONBody_Operations_Item struct { - union json.RawMessage -} - -// DeleteStreamsNameDashboardsDashboardidParams defines parameters for DeleteStreamsNameDashboardsDashboardid. -type DeleteStreamsNameDashboardsDashboardidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameDashboardsDashboardidParams defines parameters for PutStreamsNameDashboardsDashboardid. -type PutStreamsNameDashboardsDashboardidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameQueriesBulkJSONBody defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody struct { - Operations []PostStreamsNameQueriesBulkJSONBody_Operations_Item `json:"operations"` -} - -// PostStreamsNameQueriesBulkParams defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations0 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations0 struct { - Index struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Id string `json:"id"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` - } `json:"index"` -} - -// PostStreamsNameQueriesBulkJSONBodyOperations1 defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBodyOperations1 struct { - Delete struct { - Id string `json:"id"` - } `json:"delete"` -} - -// PostStreamsNameQueriesBulkJSONBody_Operations_Item defines parameters for PostStreamsNameQueriesBulk. -type PostStreamsNameQueriesBulkJSONBody_Operations_Item struct { - union json.RawMessage -} - -// DeleteStreamsNameQueriesQueryidParams defines parameters for DeleteStreamsNameQueriesQueryid. -type DeleteStreamsNameQueriesQueryidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameQueriesQueryidJSONBody defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidJSONBody struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - Title string `json:"title"` -} - -// PutStreamsNameQueriesQueryidParams defines parameters for PutStreamsNameQueriesQueryid. -type PutStreamsNameQueriesQueryidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// DeleteStreamsNameRulesRuleidParams defines parameters for DeleteStreamsNameRulesRuleid. -type DeleteStreamsNameRulesRuleidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameRulesRuleidParams defines parameters for PutStreamsNameRulesRuleid. -type PutStreamsNameRulesRuleidParams struct { - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// GetStreamsNameSignificantEventsParams defines parameters for GetStreamsNameSignificantEvents. -type GetStreamsNameSignificantEventsParams struct { - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` - BucketSize string `form:"bucketSize" json:"bucketSize"` -} - -// PostStreamsNameSignificantEventsGenerateJSONBody defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateJSONBody struct { - Feature *struct { - Description string `json:"description"` - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` -} - -// PostStreamsNameSignificantEventsGenerateParams defines parameters for PostStreamsNameSignificantEventsGenerate. -type PostStreamsNameSignificantEventsGenerateParams struct { - ConnectorId string `form:"connectorId" json:"connectorId"` - CurrentDate *string `form:"currentDate,omitempty" json:"currentDate,omitempty"` - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` - - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PostStreamsNameSignificantEventsPreviewJSONBody defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewJSONBody struct { - Query struct { - Feature *struct { - Filter StreamlangCondition `json:"filter"` - Name string `json:"name"` - } `json:"feature,omitempty"` - Kql struct { - Query string `json:"query"` - } `json:"kql"` - } `json:"query"` -} - -// PostStreamsNameSignificantEventsPreviewParams defines parameters for PostStreamsNameSignificantEventsPreview. -type PostStreamsNameSignificantEventsPreviewParams struct { - From string `form:"from" json:"from"` - To string `form:"to" json:"to"` - BucketSize string `form:"bucketSize" json:"bucketSize"` - - // KbnXsrf A required header to protect against CSRF attacks - KbnXsrf string `json:"kbn-xsrf"` -} - -// PutStreamsNameJSONRequestBody defines body for PutStreamsName for application/json ContentType. -type PutStreamsNameJSONRequestBody PutStreamsNameJSONBody - -// PostStreamsNameForkJSONRequestBody defines body for PostStreamsNameFork for application/json ContentType. -type PostStreamsNameForkJSONRequestBody PostStreamsNameForkJSONBody - -// PutStreamsNameGroupJSONRequestBody defines body for PutStreamsNameGroup for application/json ContentType. -type PutStreamsNameGroupJSONRequestBody PutStreamsNameGroupJSONBody - -// PutStreamsNameIngestJSONRequestBody defines body for PutStreamsNameIngest for application/json ContentType. -type PutStreamsNameIngestJSONRequestBody PutStreamsNameIngestJSONBody - -// PostStreamsNameContentExportJSONRequestBody defines body for PostStreamsNameContentExport for application/json ContentType. -type PostStreamsNameContentExportJSONRequestBody PostStreamsNameContentExportJSONBody - -// PostStreamsNameContentImportMultipartRequestBody defines body for PostStreamsNameContentImport for multipart/form-data ContentType. -type PostStreamsNameContentImportMultipartRequestBody PostStreamsNameContentImportMultipartBody - -// PostStreamsNameDashboardsBulkJSONRequestBody defines body for PostStreamsNameDashboardsBulk for application/json ContentType. -type PostStreamsNameDashboardsBulkJSONRequestBody PostStreamsNameDashboardsBulkJSONBody - -// PostStreamsNameQueriesBulkJSONRequestBody defines body for PostStreamsNameQueriesBulk for application/json ContentType. -type PostStreamsNameQueriesBulkJSONRequestBody PostStreamsNameQueriesBulkJSONBody - -// PutStreamsNameQueriesQueryidJSONRequestBody defines body for PutStreamsNameQueriesQueryid for application/json ContentType. -type PutStreamsNameQueriesQueryidJSONRequestBody PutStreamsNameQueriesQueryidJSONBody - -// PostStreamsNameSignificantEventsGenerateJSONRequestBody defines body for PostStreamsNameSignificantEventsGenerate for application/json ContentType. -type PostStreamsNameSignificantEventsGenerateJSONRequestBody PostStreamsNameSignificantEventsGenerateJSONBody - -// PostStreamsNameSignificantEventsPreviewJSONRequestBody defines body for PostStreamsNameSignificantEventsPreview for application/json ContentType. -type PostStreamsNameSignificantEventsPreviewJSONRequestBody PostStreamsNameSignificantEventsPreviewJSONBody - -// AsStreamlangCondition0 returns the union data inside the StreamlangCondition as a StreamlangCondition0 -func (t StreamlangCondition) AsStreamlangCondition0() (StreamlangCondition0, error) { - var body StreamlangCondition0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition0 -func (t *StreamlangCondition) FromStreamlangCondition0(v StreamlangCondition0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition0 -func (t *StreamlangCondition) MergeStreamlangCondition0(v StreamlangCondition0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition1 returns the union data inside the StreamlangCondition as a StreamlangCondition1 -func (t StreamlangCondition) AsStreamlangCondition1() (StreamlangCondition1, error) { - var body StreamlangCondition1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition1 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition1 -func (t *StreamlangCondition) FromStreamlangCondition1(v StreamlangCondition1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition1 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition1 -func (t *StreamlangCondition) MergeStreamlangCondition1(v StreamlangCondition1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition2 returns the union data inside the StreamlangCondition as a StreamlangCondition2 -func (t StreamlangCondition) AsStreamlangCondition2() (StreamlangCondition2, error) { - var body StreamlangCondition2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition2 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition2 -func (t *StreamlangCondition) FromStreamlangCondition2(v StreamlangCondition2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition2 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition2 -func (t *StreamlangCondition) MergeStreamlangCondition2(v StreamlangCondition2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition3 returns the union data inside the StreamlangCondition as a StreamlangCondition3 -func (t StreamlangCondition) AsStreamlangCondition3() (StreamlangCondition3, error) { - var body StreamlangCondition3 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition3 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition3 -func (t *StreamlangCondition) FromStreamlangCondition3(v StreamlangCondition3) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition3 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition3 -func (t *StreamlangCondition) MergeStreamlangCondition3(v StreamlangCondition3) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition4 returns the union data inside the StreamlangCondition as a StreamlangCondition4 -func (t StreamlangCondition) AsStreamlangCondition4() (StreamlangCondition4, error) { - var body StreamlangCondition4 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition4 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition4 -func (t *StreamlangCondition) FromStreamlangCondition4(v StreamlangCondition4) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition4 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition4 -func (t *StreamlangCondition) MergeStreamlangCondition4(v StreamlangCondition4) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition5 returns the union data inside the StreamlangCondition as a StreamlangCondition5 -func (t StreamlangCondition) AsStreamlangCondition5() (StreamlangCondition5, error) { - var body StreamlangCondition5 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition5 overwrites any union data inside the StreamlangCondition as the provided StreamlangCondition5 -func (t *StreamlangCondition) FromStreamlangCondition5(v StreamlangCondition5) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition5 performs a merge with any union data inside the StreamlangCondition, using the provided StreamlangCondition5 -func (t *StreamlangCondition) MergeStreamlangCondition5(v StreamlangCondition5) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Contains0 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains0 -func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains0() (StreamlangCondition0Contains0, error) { - var body StreamlangCondition0Contains0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Contains0 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains0 -func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains0(v StreamlangCondition0Contains0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Contains0 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains0 -func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains0(v StreamlangCondition0Contains0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Contains1 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains1 -func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains1() (StreamlangCondition0Contains1, error) { - var body StreamlangCondition0Contains1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Contains1 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains1 -func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains1(v StreamlangCondition0Contains1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Contains1 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains1 -func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains1(v StreamlangCondition0Contains1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Contains2 returns the union data inside the StreamlangCondition_0_Contains as a StreamlangCondition0Contains2 -func (t StreamlangCondition_0_Contains) AsStreamlangCondition0Contains2() (StreamlangCondition0Contains2, error) { - var body StreamlangCondition0Contains2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Contains2 overwrites any union data inside the StreamlangCondition_0_Contains as the provided StreamlangCondition0Contains2 -func (t *StreamlangCondition_0_Contains) FromStreamlangCondition0Contains2(v StreamlangCondition0Contains2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Contains2 performs a merge with any union data inside the StreamlangCondition_0_Contains, using the provided StreamlangCondition0Contains2 -func (t *StreamlangCondition_0_Contains) MergeStreamlangCondition0Contains2(v StreamlangCondition0Contains2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Contains) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Contains) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0EndsWith0 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith0 -func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith0() (StreamlangCondition0EndsWith0, error) { - var body StreamlangCondition0EndsWith0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0EndsWith0 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith0 -func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith0(v StreamlangCondition0EndsWith0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0EndsWith0 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith0 -func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith0(v StreamlangCondition0EndsWith0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0EndsWith1 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith1 -func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith1() (StreamlangCondition0EndsWith1, error) { - var body StreamlangCondition0EndsWith1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0EndsWith1 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith1 -func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith1(v StreamlangCondition0EndsWith1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0EndsWith1 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith1 -func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith1(v StreamlangCondition0EndsWith1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0EndsWith2 returns the union data inside the StreamlangCondition_0_EndsWith as a StreamlangCondition0EndsWith2 -func (t StreamlangCondition_0_EndsWith) AsStreamlangCondition0EndsWith2() (StreamlangCondition0EndsWith2, error) { - var body StreamlangCondition0EndsWith2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0EndsWith2 overwrites any union data inside the StreamlangCondition_0_EndsWith as the provided StreamlangCondition0EndsWith2 -func (t *StreamlangCondition_0_EndsWith) FromStreamlangCondition0EndsWith2(v StreamlangCondition0EndsWith2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0EndsWith2 performs a merge with any union data inside the StreamlangCondition_0_EndsWith, using the provided StreamlangCondition0EndsWith2 -func (t *StreamlangCondition_0_EndsWith) MergeStreamlangCondition0EndsWith2(v StreamlangCondition0EndsWith2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_EndsWith) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_EndsWith) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Eq0 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq0 -func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq0() (StreamlangCondition0Eq0, error) { - var body StreamlangCondition0Eq0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Eq0 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq0 -func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq0(v StreamlangCondition0Eq0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Eq0 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq0 -func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq0(v StreamlangCondition0Eq0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Eq1 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq1 -func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq1() (StreamlangCondition0Eq1, error) { - var body StreamlangCondition0Eq1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Eq1 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq1 -func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq1(v StreamlangCondition0Eq1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Eq1 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq1 -func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq1(v StreamlangCondition0Eq1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Eq2 returns the union data inside the StreamlangCondition_0_Eq as a StreamlangCondition0Eq2 -func (t StreamlangCondition_0_Eq) AsStreamlangCondition0Eq2() (StreamlangCondition0Eq2, error) { - var body StreamlangCondition0Eq2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Eq2 overwrites any union data inside the StreamlangCondition_0_Eq as the provided StreamlangCondition0Eq2 -func (t *StreamlangCondition_0_Eq) FromStreamlangCondition0Eq2(v StreamlangCondition0Eq2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Eq2 performs a merge with any union data inside the StreamlangCondition_0_Eq, using the provided StreamlangCondition0Eq2 -func (t *StreamlangCondition_0_Eq) MergeStreamlangCondition0Eq2(v StreamlangCondition0Eq2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Eq) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Eq) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Gt0 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt0 -func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt0() (StreamlangCondition0Gt0, error) { - var body StreamlangCondition0Gt0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gt0 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt0 -func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt0(v StreamlangCondition0Gt0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gt0 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt0 -func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt0(v StreamlangCondition0Gt0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Gt1 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt1 -func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt1() (StreamlangCondition0Gt1, error) { - var body StreamlangCondition0Gt1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gt1 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt1 -func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt1(v StreamlangCondition0Gt1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gt1 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt1 -func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt1(v StreamlangCondition0Gt1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Gt2 returns the union data inside the StreamlangCondition_0_Gt as a StreamlangCondition0Gt2 -func (t StreamlangCondition_0_Gt) AsStreamlangCondition0Gt2() (StreamlangCondition0Gt2, error) { - var body StreamlangCondition0Gt2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gt2 overwrites any union data inside the StreamlangCondition_0_Gt as the provided StreamlangCondition0Gt2 -func (t *StreamlangCondition_0_Gt) FromStreamlangCondition0Gt2(v StreamlangCondition0Gt2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gt2 performs a merge with any union data inside the StreamlangCondition_0_Gt, using the provided StreamlangCondition0Gt2 -func (t *StreamlangCondition_0_Gt) MergeStreamlangCondition0Gt2(v StreamlangCondition0Gt2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Gt) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Gt) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Gte0 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte0 -func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte0() (StreamlangCondition0Gte0, error) { - var body StreamlangCondition0Gte0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gte0 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte0 -func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte0(v StreamlangCondition0Gte0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gte0 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte0 -func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte0(v StreamlangCondition0Gte0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Gte1 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte1 -func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte1() (StreamlangCondition0Gte1, error) { - var body StreamlangCondition0Gte1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gte1 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte1 -func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte1(v StreamlangCondition0Gte1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gte1 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte1 -func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte1(v StreamlangCondition0Gte1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Gte2 returns the union data inside the StreamlangCondition_0_Gte as a StreamlangCondition0Gte2 -func (t StreamlangCondition_0_Gte) AsStreamlangCondition0Gte2() (StreamlangCondition0Gte2, error) { - var body StreamlangCondition0Gte2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Gte2 overwrites any union data inside the StreamlangCondition_0_Gte as the provided StreamlangCondition0Gte2 -func (t *StreamlangCondition_0_Gte) FromStreamlangCondition0Gte2(v StreamlangCondition0Gte2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Gte2 performs a merge with any union data inside the StreamlangCondition_0_Gte, using the provided StreamlangCondition0Gte2 -func (t *StreamlangCondition_0_Gte) MergeStreamlangCondition0Gte2(v StreamlangCondition0Gte2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Gte) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Gte) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Lt0 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt0 -func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt0() (StreamlangCondition0Lt0, error) { - var body StreamlangCondition0Lt0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lt0 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt0 -func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt0(v StreamlangCondition0Lt0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lt0 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt0 -func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt0(v StreamlangCondition0Lt0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Lt1 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt1 -func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt1() (StreamlangCondition0Lt1, error) { - var body StreamlangCondition0Lt1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lt1 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt1 -func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt1(v StreamlangCondition0Lt1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lt1 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt1 -func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt1(v StreamlangCondition0Lt1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Lt2 returns the union data inside the StreamlangCondition_0_Lt as a StreamlangCondition0Lt2 -func (t StreamlangCondition_0_Lt) AsStreamlangCondition0Lt2() (StreamlangCondition0Lt2, error) { - var body StreamlangCondition0Lt2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lt2 overwrites any union data inside the StreamlangCondition_0_Lt as the provided StreamlangCondition0Lt2 -func (t *StreamlangCondition_0_Lt) FromStreamlangCondition0Lt2(v StreamlangCondition0Lt2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lt2 performs a merge with any union data inside the StreamlangCondition_0_Lt, using the provided StreamlangCondition0Lt2 -func (t *StreamlangCondition_0_Lt) MergeStreamlangCondition0Lt2(v StreamlangCondition0Lt2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Lt) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Lt) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Lte0 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte0 -func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte0() (StreamlangCondition0Lte0, error) { - var body StreamlangCondition0Lte0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lte0 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte0 -func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte0(v StreamlangCondition0Lte0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lte0 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte0 -func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte0(v StreamlangCondition0Lte0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Lte1 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte1 -func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte1() (StreamlangCondition0Lte1, error) { - var body StreamlangCondition0Lte1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lte1 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte1 -func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte1(v StreamlangCondition0Lte1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lte1 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte1 -func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte1(v StreamlangCondition0Lte1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Lte2 returns the union data inside the StreamlangCondition_0_Lte as a StreamlangCondition0Lte2 -func (t StreamlangCondition_0_Lte) AsStreamlangCondition0Lte2() (StreamlangCondition0Lte2, error) { - var body StreamlangCondition0Lte2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Lte2 overwrites any union data inside the StreamlangCondition_0_Lte as the provided StreamlangCondition0Lte2 -func (t *StreamlangCondition_0_Lte) FromStreamlangCondition0Lte2(v StreamlangCondition0Lte2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Lte2 performs a merge with any union data inside the StreamlangCondition_0_Lte, using the provided StreamlangCondition0Lte2 -func (t *StreamlangCondition_0_Lte) MergeStreamlangCondition0Lte2(v StreamlangCondition0Lte2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Lte) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Lte) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0Neq0 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq0 -func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq0() (StreamlangCondition0Neq0, error) { - var body StreamlangCondition0Neq0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Neq0 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq0 -func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq0(v StreamlangCondition0Neq0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Neq0 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq0 -func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq0(v StreamlangCondition0Neq0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Neq1 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq1 -func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq1() (StreamlangCondition0Neq1, error) { - var body StreamlangCondition0Neq1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Neq1 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq1 -func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq1(v StreamlangCondition0Neq1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Neq1 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq1 -func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq1(v StreamlangCondition0Neq1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0Neq2 returns the union data inside the StreamlangCondition_0_Neq as a StreamlangCondition0Neq2 -func (t StreamlangCondition_0_Neq) AsStreamlangCondition0Neq2() (StreamlangCondition0Neq2, error) { - var body StreamlangCondition0Neq2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0Neq2 overwrites any union data inside the StreamlangCondition_0_Neq as the provided StreamlangCondition0Neq2 -func (t *StreamlangCondition_0_Neq) FromStreamlangCondition0Neq2(v StreamlangCondition0Neq2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0Neq2 performs a merge with any union data inside the StreamlangCondition_0_Neq, using the provided StreamlangCondition0Neq2 -func (t *StreamlangCondition_0_Neq) MergeStreamlangCondition0Neq2(v StreamlangCondition0Neq2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Neq) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Neq) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0RangeGt0 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt0 -func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt0() (StreamlangCondition0RangeGt0, error) { - var body StreamlangCondition0RangeGt0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGt0 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt0 -func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt0(v StreamlangCondition0RangeGt0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGt0 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt0 -func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt0(v StreamlangCondition0RangeGt0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeGt1 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt1 -func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt1() (StreamlangCondition0RangeGt1, error) { - var body StreamlangCondition0RangeGt1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGt1 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt1 -func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt1(v StreamlangCondition0RangeGt1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGt1 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt1 -func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt1(v StreamlangCondition0RangeGt1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeGt2 returns the union data inside the StreamlangCondition_0_Range_Gt as a StreamlangCondition0RangeGt2 -func (t StreamlangCondition_0_Range_Gt) AsStreamlangCondition0RangeGt2() (StreamlangCondition0RangeGt2, error) { - var body StreamlangCondition0RangeGt2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGt2 overwrites any union data inside the StreamlangCondition_0_Range_Gt as the provided StreamlangCondition0RangeGt2 -func (t *StreamlangCondition_0_Range_Gt) FromStreamlangCondition0RangeGt2(v StreamlangCondition0RangeGt2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGt2 performs a merge with any union data inside the StreamlangCondition_0_Range_Gt, using the provided StreamlangCondition0RangeGt2 -func (t *StreamlangCondition_0_Range_Gt) MergeStreamlangCondition0RangeGt2(v StreamlangCondition0RangeGt2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Range_Gt) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Range_Gt) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0RangeGte0 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte0 -func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte0() (StreamlangCondition0RangeGte0, error) { - var body StreamlangCondition0RangeGte0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGte0 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte0 -func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte0(v StreamlangCondition0RangeGte0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGte0 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte0 -func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte0(v StreamlangCondition0RangeGte0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeGte1 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte1 -func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte1() (StreamlangCondition0RangeGte1, error) { - var body StreamlangCondition0RangeGte1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGte1 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte1 -func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte1(v StreamlangCondition0RangeGte1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGte1 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte1 -func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte1(v StreamlangCondition0RangeGte1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeGte2 returns the union data inside the StreamlangCondition_0_Range_Gte as a StreamlangCondition0RangeGte2 -func (t StreamlangCondition_0_Range_Gte) AsStreamlangCondition0RangeGte2() (StreamlangCondition0RangeGte2, error) { - var body StreamlangCondition0RangeGte2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeGte2 overwrites any union data inside the StreamlangCondition_0_Range_Gte as the provided StreamlangCondition0RangeGte2 -func (t *StreamlangCondition_0_Range_Gte) FromStreamlangCondition0RangeGte2(v StreamlangCondition0RangeGte2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeGte2 performs a merge with any union data inside the StreamlangCondition_0_Range_Gte, using the provided StreamlangCondition0RangeGte2 -func (t *StreamlangCondition_0_Range_Gte) MergeStreamlangCondition0RangeGte2(v StreamlangCondition0RangeGte2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Range_Gte) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Range_Gte) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0RangeLt0 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt0 -func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt0() (StreamlangCondition0RangeLt0, error) { - var body StreamlangCondition0RangeLt0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLt0 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt0 -func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt0(v StreamlangCondition0RangeLt0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLt0 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt0 -func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt0(v StreamlangCondition0RangeLt0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeLt1 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt1 -func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt1() (StreamlangCondition0RangeLt1, error) { - var body StreamlangCondition0RangeLt1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLt1 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt1 -func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt1(v StreamlangCondition0RangeLt1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLt1 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt1 -func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt1(v StreamlangCondition0RangeLt1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeLt2 returns the union data inside the StreamlangCondition_0_Range_Lt as a StreamlangCondition0RangeLt2 -func (t StreamlangCondition_0_Range_Lt) AsStreamlangCondition0RangeLt2() (StreamlangCondition0RangeLt2, error) { - var body StreamlangCondition0RangeLt2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLt2 overwrites any union data inside the StreamlangCondition_0_Range_Lt as the provided StreamlangCondition0RangeLt2 -func (t *StreamlangCondition_0_Range_Lt) FromStreamlangCondition0RangeLt2(v StreamlangCondition0RangeLt2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLt2 performs a merge with any union data inside the StreamlangCondition_0_Range_Lt, using the provided StreamlangCondition0RangeLt2 -func (t *StreamlangCondition_0_Range_Lt) MergeStreamlangCondition0RangeLt2(v StreamlangCondition0RangeLt2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Range_Lt) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Range_Lt) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0RangeLte0 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte0 -func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte0() (StreamlangCondition0RangeLte0, error) { - var body StreamlangCondition0RangeLte0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLte0 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte0 -func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte0(v StreamlangCondition0RangeLte0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLte0 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte0 -func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte0(v StreamlangCondition0RangeLte0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeLte1 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte1 -func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte1() (StreamlangCondition0RangeLte1, error) { - var body StreamlangCondition0RangeLte1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLte1 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte1 -func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte1(v StreamlangCondition0RangeLte1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLte1 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte1 -func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte1(v StreamlangCondition0RangeLte1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0RangeLte2 returns the union data inside the StreamlangCondition_0_Range_Lte as a StreamlangCondition0RangeLte2 -func (t StreamlangCondition_0_Range_Lte) AsStreamlangCondition0RangeLte2() (StreamlangCondition0RangeLte2, error) { - var body StreamlangCondition0RangeLte2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0RangeLte2 overwrites any union data inside the StreamlangCondition_0_Range_Lte as the provided StreamlangCondition0RangeLte2 -func (t *StreamlangCondition_0_Range_Lte) FromStreamlangCondition0RangeLte2(v StreamlangCondition0RangeLte2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0RangeLte2 performs a merge with any union data inside the StreamlangCondition_0_Range_Lte, using the provided StreamlangCondition0RangeLte2 -func (t *StreamlangCondition_0_Range_Lte) MergeStreamlangCondition0RangeLte2(v StreamlangCondition0RangeLte2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_Range_Lte) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_Range_Lte) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangCondition0StartsWith0 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith0 -func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith0() (StreamlangCondition0StartsWith0, error) { - var body StreamlangCondition0StartsWith0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0StartsWith0 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith0 -func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith0(v StreamlangCondition0StartsWith0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0StartsWith0 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith0 -func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith0(v StreamlangCondition0StartsWith0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0StartsWith1 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith1 -func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith1() (StreamlangCondition0StartsWith1, error) { - var body StreamlangCondition0StartsWith1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0StartsWith1 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith1 -func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith1(v StreamlangCondition0StartsWith1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0StartsWith1 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith1 -func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith1(v StreamlangCondition0StartsWith1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangCondition0StartsWith2 returns the union data inside the StreamlangCondition_0_StartsWith as a StreamlangCondition0StartsWith2 -func (t StreamlangCondition_0_StartsWith) AsStreamlangCondition0StartsWith2() (StreamlangCondition0StartsWith2, error) { - var body StreamlangCondition0StartsWith2 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangCondition0StartsWith2 overwrites any union data inside the StreamlangCondition_0_StartsWith as the provided StreamlangCondition0StartsWith2 -func (t *StreamlangCondition_0_StartsWith) FromStreamlangCondition0StartsWith2(v StreamlangCondition0StartsWith2) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangCondition0StartsWith2 performs a merge with any union data inside the StreamlangCondition_0_StartsWith, using the provided StreamlangCondition0StartsWith2 -func (t *StreamlangCondition_0_StartsWith) MergeStreamlangCondition0StartsWith2(v StreamlangCondition0StartsWith2) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangCondition_0_StartsWith) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangCondition_0_StartsWith) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// AsStreamlangStep0 returns the union data inside the StreamlangStep as a StreamlangStep0 -func (t StreamlangStep) AsStreamlangStep0() (StreamlangStep0, error) { - var body StreamlangStep0 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangStep0 overwrites any union data inside the StreamlangStep as the provided StreamlangStep0 -func (t *StreamlangStep) FromStreamlangStep0(v StreamlangStep0) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangStep0 performs a merge with any union data inside the StreamlangStep, using the provided StreamlangStep0 -func (t *StreamlangStep) MergeStreamlangStep0(v StreamlangStep0) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -// AsStreamlangStep1 returns the union data inside the StreamlangStep as a StreamlangStep1 -func (t StreamlangStep) AsStreamlangStep1() (StreamlangStep1, error) { - var body StreamlangStep1 - err := json.Unmarshal(t.union, &body) - return body, err -} - -// FromStreamlangStep1 overwrites any union data inside the StreamlangStep as the provided StreamlangStep1 -func (t *StreamlangStep) FromStreamlangStep1(v StreamlangStep1) error { - b, err := json.Marshal(v) - t.union = b - return err -} - -// MergeStreamlangStep1 performs a merge with any union data inside the StreamlangStep, using the provided StreamlangStep1 -func (t *StreamlangStep) MergeStreamlangStep1(v StreamlangStep1) error { - b, err := json.Marshal(v) - if err != nil { - return err - } - - merged, err := runtime.JSONMerge(t.union, b) - t.union = merged - return err -} - -func (t StreamlangStep) MarshalJSON() ([]byte, error) { - b, err := t.union.MarshalJSON() - return b, err -} - -func (t *StreamlangStep) UnmarshalJSON(b []byte) error { - err := t.union.UnmarshalJSON(b) - return err -} - -// RequestEditorFn is the function signature for the RequestEditor callback function -type RequestEditorFn func(ctx context.Context, req *http.Request) error - -// Doer performs HTTP requests. -// -// The standard http.Client implements this interface. -type HttpRequestDoer interface { - Do(req *http.Request) (*http.Response, error) -} - -// Client which conforms to the OpenAPI3 specification for this service. -type Client struct { - // The endpoint of the server conforming to this interface, with scheme, - // https://api.deepmap.com for example. This can contain a path relative - // to the server, such as https://api.deepmap.com/dev-test, and all the - // paths in the swagger spec will be appended to the server. - Server string - - // Doer for performing requests, typically a *http.Client with any - // customized settings, such as certificate chains. - Client HttpRequestDoer - - // A list of callbacks for modifying requests which are generated before sending over - // the network. - RequestEditors []RequestEditorFn -} - -// ClientOption allows setting custom parameters during construction -type ClientOption func(*Client) error - -// Creates a new Client, with reasonable defaults -func NewClient(server string, opts ...ClientOption) (*Client, error) { - // create a client with sane default values - client := Client{ - Server: server, - } - // mutate client and add all optional params - for _, o := range opts { - if err := o(&client); err != nil { - return nil, err - } - } - // ensure the server URL always has a trailing slash - if !strings.HasSuffix(client.Server, "/") { - client.Server += "/" - } - // create httpClient, if not already present - if client.Client == nil { - client.Client = &http.Client{} - } - return &client, nil -} - -// WithHTTPClient allows overriding the default Doer, which is -// automatically created using http.Client. This is useful for tests. -func WithHTTPClient(doer HttpRequestDoer) ClientOption { - return func(c *Client) error { - c.Client = doer - return nil - } -} - -// WithRequestEditorFn allows setting up a callback function, which will be -// called right before sending the request. This can be used to mutate the request. -func WithRequestEditorFn(fn RequestEditorFn) ClientOption { - return func(c *Client) error { - c.RequestEditors = append(c.RequestEditors, fn) - return nil - } -} - -// The interface specification for the client above. -type ClientInterface interface { - // GetStreams request - GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsDisable request - PostStreamsDisable(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsEnable request - PostStreamsEnable(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsResync request - PostStreamsResync(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteStreamsName request - DeleteStreamsName(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsName request - GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameWithBody request with any body - PutStreamsNameWithBody(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutStreamsName(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameForkWithBody request with any body - PostStreamsNameForkWithBody(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameFork(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameGroup request - GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameGroupWithBody request with any body - PutStreamsNameGroupWithBody(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutStreamsNameGroup(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameIngest request - GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameIngestWithBody request with any body - PutStreamsNameIngestWithBody(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutStreamsNameIngest(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameContentExportWithBody request with any body - PostStreamsNameContentExportWithBody(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameContentExport(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameContentImportWithBody request with any body - PostStreamsNameContentImportWithBody(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameDashboards request - GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameDashboardsBulkWithBody request with any body - PostStreamsNameDashboardsBulkWithBody(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameDashboardsBulk(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteStreamsNameDashboardsDashboardid request - DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameDashboardsDashboardid request - PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameQueries request - GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameQueriesBulkWithBody request with any body - PostStreamsNameQueriesBulkWithBody(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameQueriesBulk(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteStreamsNameQueriesQueryid request - DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameQueriesQueryidWithBody request with any body - PutStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PutStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameRules request - GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) - - // DeleteStreamsNameRulesRuleid request - DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PutStreamsNameRulesRuleid request - PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // GetStreamsNameSignificantEvents request - GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameSignificantEventsGenerateWithBody request with any body - PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) - - // PostStreamsNameSignificantEventsPreviewWithBody request with any body - PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) - - PostStreamsNameSignificantEventsPreview(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) -} - -func (c *Client) GetStreams(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsRequest(c.Server) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsDisable(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsDisableRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsEnable(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsEnableRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsResync(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsResyncRequest(c.Server, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsName(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRequest(c.Server, name, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsName(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameWithBody(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsName(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameForkWithBody(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameForkRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameFork(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameForkRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameGroup(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameGroupRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameGroupWithBody(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameGroupRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameGroup(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameGroupRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameIngest(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameIngestRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameIngestWithBody(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameIngestRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameIngest(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameIngestRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameContentExportWithBody(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameContentExportRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameContentExport(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameContentExportRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameContentImportWithBody(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameContentImportRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameDashboards(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameDashboardsRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameDashboardsBulkWithBody(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameDashboardsBulkRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameDashboardsBulk(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameDashboardsBulkRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameDashboardsDashboardid(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameDashboardsDashboardidRequest(c.Server, name, dashboardId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameQueries(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameQueriesRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameQueriesBulkWithBody(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameQueriesBulkRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameQueriesBulk(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameQueriesBulkRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameQueriesQueryidRequest(c.Server, name, queryId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameQueriesQueryidWithBody(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameQueriesQueryidRequestWithBody(c.Server, name, queryId, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameQueriesQueryid(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameQueriesQueryidRequest(c.Server, name, queryId, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameRules(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameRulesRequest(c.Server, name) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) DeleteStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewDeleteStreamsNameRulesRuleidRequest(c.Server, name, ruleId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PutStreamsNameRulesRuleid(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPutStreamsNameRulesRuleidRequest(c.Server, name, ruleId, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) GetStreamsNameSignificantEvents(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewGetStreamsNameSignificantEventsRequest(c.Server, name, params) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameSignificantEventsGenerateWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsGenerateRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameSignificantEventsGenerate(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsGenerateRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameSignificantEventsPreviewWithBody(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsPreviewRequestWithBody(c.Server, name, params, contentType, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -func (c *Client) PostStreamsNameSignificantEventsPreview(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) { - req, err := NewPostStreamsNameSignificantEventsPreviewRequest(c.Server, name, params, body) - if err != nil { - return nil, err - } - req = req.WithContext(ctx) - if err := c.applyEditors(ctx, req, reqEditors); err != nil { - return nil, err - } - return c.Client.Do(req) -} - -// NewGetStreamsRequest generates requests for GetStreams -func NewGetStreamsRequest(server string) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostStreamsDisableRequest generates requests for PostStreamsDisable -func NewPostStreamsDisableRequest(server string, params *PostStreamsDisableParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/_disable") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsEnableRequest generates requests for PostStreamsEnable -func NewPostStreamsEnableRequest(server string, params *PostStreamsEnableParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/_enable") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsResyncRequest generates requests for PostStreamsResync -func NewPostStreamsResyncRequest(server string, params *PostStreamsResyncParams) (*http.Request, error) { - var err error - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/_resync") - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewDeleteStreamsNameRequest generates requests for DeleteStreamsName -func NewDeleteStreamsNameRequest(server string, name string, params *DeleteStreamsNameParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameRequest generates requests for GetStreamsName -func NewGetStreamsNameRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutStreamsNameRequest calls the generic PutStreamsName builder with application/json body -func NewPutStreamsNameRequest(server string, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPutStreamsNameRequestWithBody generates requests for PutStreamsName with any type of body -func NewPutStreamsNameRequestWithBody(server string, name string, params *PutStreamsNameParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsNameForkRequest calls the generic PostStreamsNameFork builder with application/json body -func NewPostStreamsNameForkRequest(server string, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameForkRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameForkRequestWithBody generates requests for PostStreamsNameFork with any type of body -func NewPostStreamsNameForkRequestWithBody(server string, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/_fork", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameGroupRequest generates requests for GetStreamsNameGroup -func NewGetStreamsNameGroupRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/_group", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutStreamsNameGroupRequest calls the generic PutStreamsNameGroup builder with application/json body -func NewPutStreamsNameGroupRequest(server string, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameGroupRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPutStreamsNameGroupRequestWithBody generates requests for PutStreamsNameGroup with any type of body -func NewPutStreamsNameGroupRequestWithBody(server string, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/_group", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameIngestRequest generates requests for GetStreamsNameIngest -func NewGetStreamsNameIngestRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/_ingest", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPutStreamsNameIngestRequest calls the generic PutStreamsNameIngest builder with application/json body -func NewPutStreamsNameIngestRequest(server string, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameIngestRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPutStreamsNameIngestRequestWithBody generates requests for PutStreamsNameIngest with any type of body -func NewPutStreamsNameIngestRequestWithBody(server string, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/_ingest", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsNameContentExportRequest calls the generic PostStreamsNameContentExport builder with application/json body -func NewPostStreamsNameContentExportRequest(server string, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameContentExportRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameContentExportRequestWithBody generates requests for PostStreamsNameContentExport with any type of body -func NewPostStreamsNameContentExportRequestWithBody(server string, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/content/export", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsNameContentImportRequestWithBody generates requests for PostStreamsNameContentImport with any type of body -func NewPostStreamsNameContentImportRequestWithBody(server string, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/content/import", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameDashboardsRequest generates requests for GetStreamsNameDashboards -func NewGetStreamsNameDashboardsRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/dashboards", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostStreamsNameDashboardsBulkRequest calls the generic PostStreamsNameDashboardsBulk builder with application/json body -func NewPostStreamsNameDashboardsBulkRequest(server string, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameDashboardsBulkRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameDashboardsBulkRequestWithBody generates requests for PostStreamsNameDashboardsBulk with any type of body -func NewPostStreamsNameDashboardsBulkRequestWithBody(server string, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/dashboards/_bulk", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewDeleteStreamsNameDashboardsDashboardidRequest generates requests for DeleteStreamsNameDashboardsDashboardid -func NewDeleteStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "dashboardId", runtime.ParamLocationPath, dashboardId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/dashboards/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPutStreamsNameDashboardsDashboardidRequest generates requests for PutStreamsNameDashboardsDashboardid -func NewPutStreamsNameDashboardsDashboardidRequest(server string, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "dashboardId", runtime.ParamLocationPath, dashboardId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/dashboards/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameQueriesRequest generates requests for GetStreamsNameQueries -func NewGetStreamsNameQueriesRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/queries", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostStreamsNameQueriesBulkRequest calls the generic PostStreamsNameQueriesBulk builder with application/json body -func NewPostStreamsNameQueriesBulkRequest(server string, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameQueriesBulkRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameQueriesBulkRequestWithBody generates requests for PostStreamsNameQueriesBulk with any type of body -func NewPostStreamsNameQueriesBulkRequestWithBody(server string, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/queries/_bulk", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewDeleteStreamsNameQueriesQueryidRequest generates requests for DeleteStreamsNameQueriesQueryid -func NewDeleteStreamsNameQueriesQueryidRequest(server string, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "queryId", runtime.ParamLocationPath, queryId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/queries/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPutStreamsNameQueriesQueryidRequest calls the generic PutStreamsNameQueriesQueryid builder with application/json body -func NewPutStreamsNameQueriesQueryidRequest(server string, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPutStreamsNameQueriesQueryidRequestWithBody(server, name, queryId, params, "application/json", bodyReader) -} - -// NewPutStreamsNameQueriesQueryidRequestWithBody generates requests for PutStreamsNameQueriesQueryid with any type of body -func NewPutStreamsNameQueriesQueryidRequestWithBody(server string, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "queryId", runtime.ParamLocationPath, queryId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/queries/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameRulesRequest generates requests for GetStreamsNameRules -func NewGetStreamsNameRulesRequest(server string, name string) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/rules", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewDeleteStreamsNameRulesRuleidRequest generates requests for DeleteStreamsNameRulesRuleid -func NewDeleteStreamsNameRulesRuleidRequest(server string, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "ruleId", runtime.ParamLocationPath, ruleId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/rules/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("DELETE", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPutStreamsNameRulesRuleidRequest generates requests for PutStreamsNameRulesRuleid -func NewPutStreamsNameRulesRuleidRequest(server string, name string, ruleId string, params *PutStreamsNameRulesRuleidParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - var pathParam1 string - - pathParam1, err = runtime.StyleParamWithLocation("simple", false, "ruleId", runtime.ParamLocationPath, ruleId) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/rules/%s", pathParam0, pathParam1) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - req, err := http.NewRequest("PUT", queryURL.String(), nil) - if err != nil { - return nil, err - } - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewGetStreamsNameSignificantEventsRequest generates requests for GetStreamsNameSignificantEvents -func NewGetStreamsNameSignificantEventsRequest(server string, name string, params *GetStreamsNameSignificantEventsParams) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/significant_events", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bucketSize", runtime.ParamLocationQuery, params.BucketSize); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("GET", queryURL.String(), nil) - if err != nil { - return nil, err - } - - return req, nil -} - -// NewPostStreamsNameSignificantEventsGenerateRequest calls the generic PostStreamsNameSignificantEventsGenerate builder with application/json body -func NewPostStreamsNameSignificantEventsGenerateRequest(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameSignificantEventsGenerateRequestWithBody generates requests for PostStreamsNameSignificantEventsGenerate with any type of body -func NewPostStreamsNameSignificantEventsGenerateRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/significant_events/_generate", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "connectorId", runtime.ParamLocationQuery, params.ConnectorId); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if params.CurrentDate != nil { - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "currentDate", runtime.ParamLocationQuery, *params.CurrentDate); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -// NewPostStreamsNameSignificantEventsPreviewRequest calls the generic PostStreamsNameSignificantEventsPreview builder with application/json body -func NewPostStreamsNameSignificantEventsPreviewRequest(server string, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody) (*http.Request, error) { - var bodyReader io.Reader - buf, err := json.Marshal(body) - if err != nil { - return nil, err - } - bodyReader = bytes.NewReader(buf) - return NewPostStreamsNameSignificantEventsPreviewRequestWithBody(server, name, params, "application/json", bodyReader) -} - -// NewPostStreamsNameSignificantEventsPreviewRequestWithBody generates requests for PostStreamsNameSignificantEventsPreview with any type of body -func NewPostStreamsNameSignificantEventsPreviewRequestWithBody(server string, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader) (*http.Request, error) { - var err error - - var pathParam0 string - - pathParam0, err = runtime.StyleParamWithLocation("simple", false, "name", runtime.ParamLocationPath, name) - if err != nil { - return nil, err - } - - serverURL, err := url.Parse(server) - if err != nil { - return nil, err - } - - operationPath := fmt.Sprintf("/api/streams/%s/significant_events/_preview", pathParam0) - if operationPath[0] == '/' { - operationPath = "." + operationPath - } - - queryURL, err := serverURL.Parse(operationPath) - if err != nil { - return nil, err - } - - if params != nil { - queryValues := queryURL.Query() - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "from", runtime.ParamLocationQuery, params.From); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "to", runtime.ParamLocationQuery, params.To); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - if queryFrag, err := runtime.StyleParamWithLocation("form", true, "bucketSize", runtime.ParamLocationQuery, params.BucketSize); err != nil { - return nil, err - } else if parsed, err := url.ParseQuery(queryFrag); err != nil { - return nil, err - } else { - for k, v := range parsed { - for _, v2 := range v { - queryValues.Add(k, v2) - } - } - } - - queryURL.RawQuery = queryValues.Encode() - } - - req, err := http.NewRequest("POST", queryURL.String(), body) - if err != nil { - return nil, err - } - - req.Header.Add("Content-Type", contentType) - - if params != nil { - - var headerParam0 string - - headerParam0, err = runtime.StyleParamWithLocation("simple", false, "kbn-xsrf", runtime.ParamLocationHeader, params.KbnXsrf) - if err != nil { - return nil, err - } - - req.Header.Set("kbn-xsrf", headerParam0) - - } - - return req, nil -} - -func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error { - for _, r := range c.RequestEditors { - if err := r(ctx, req); err != nil { - return err - } - } - for _, r := range additionalEditors { - if err := r(ctx, req); err != nil { - return err - } - } - return nil -} - -// ClientWithResponses builds on ClientInterface to offer response payloads -type ClientWithResponses struct { - ClientInterface -} - -// NewClientWithResponses creates a new ClientWithResponses, which wraps -// Client with return type handling -func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) { - client, err := NewClient(server, opts...) - if err != nil { - return nil, err - } - return &ClientWithResponses{client}, nil -} - -// WithBaseURL overrides the baseURL. -func WithBaseURL(baseURL string) ClientOption { - return func(c *Client) error { - newBaseURL, err := url.Parse(baseURL) - if err != nil { - return err - } - c.Server = newBaseURL.String() - return nil - } -} - -// ClientWithResponsesInterface is the interface specification for the client with responses above. -type ClientWithResponsesInterface interface { - // GetStreamsWithResponse request - GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) - - // PostStreamsDisableWithResponse request - PostStreamsDisableWithResponse(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) - - // PostStreamsEnableWithResponse request - PostStreamsEnableWithResponse(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) - - // PostStreamsResyncWithResponse request - PostStreamsResyncWithResponse(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) - - // DeleteStreamsNameWithResponse request - DeleteStreamsNameWithResponse(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) - - // GetStreamsNameWithResponse request - GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) - - // PutStreamsNameWithBodyWithResponse request with any body - PutStreamsNameWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) - - PutStreamsNameWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) - - // PostStreamsNameForkWithBodyWithResponse request with any body - PostStreamsNameForkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) - - PostStreamsNameForkWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) - - // GetStreamsNameGroupWithResponse request - GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) - - // PutStreamsNameGroupWithBodyWithResponse request with any body - PutStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) - - PutStreamsNameGroupWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) - - // GetStreamsNameIngestWithResponse request - GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) - - // PutStreamsNameIngestWithBodyWithResponse request with any body - PutStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) - - PutStreamsNameIngestWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) - - // PostStreamsNameContentExportWithBodyWithResponse request with any body - PostStreamsNameContentExportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) - - PostStreamsNameContentExportWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) - - // PostStreamsNameContentImportWithBodyWithResponse request with any body - PostStreamsNameContentImportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentImportResponse, error) - - // GetStreamsNameDashboardsWithResponse request - GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) - - // PostStreamsNameDashboardsBulkWithBodyWithResponse request with any body - PostStreamsNameDashboardsBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) - - PostStreamsNameDashboardsBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) - - // DeleteStreamsNameDashboardsDashboardidWithResponse request - DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) - - // PutStreamsNameDashboardsDashboardidWithResponse request - PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) - - // GetStreamsNameQueriesWithResponse request - GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) - - // PostStreamsNameQueriesBulkWithBodyWithResponse request with any body - PostStreamsNameQueriesBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) - - PostStreamsNameQueriesBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) - - // DeleteStreamsNameQueriesQueryidWithResponse request - DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) - - // PutStreamsNameQueriesQueryidWithBodyWithResponse request with any body - PutStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) - - PutStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) - - // GetStreamsNameRulesWithResponse request - GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) - - // DeleteStreamsNameRulesRuleidWithResponse request - DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) - - // PutStreamsNameRulesRuleidWithResponse request - PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) - - // GetStreamsNameSignificantEventsWithResponse request - GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) - - // PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with any body - PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) - - PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) - - // PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with any body - PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) - - PostStreamsNameSignificantEventsPreviewWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) -} - -type GetStreamsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsDisableResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsDisableResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsDisableResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsEnableResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsEnableResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsEnableResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsResyncResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsResyncResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsResyncResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteStreamsNameResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteStreamsNameResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteStreamsNameResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameForkResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameForkResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameForkResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameGroupResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameGroupResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameGroupResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameGroupResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameGroupResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameGroupResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameIngestResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameIngestResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameIngestResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameIngestResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameIngestResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameIngestResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameContentExportResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameContentExportResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameContentExportResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameContentImportResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameContentImportResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameContentImportResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameDashboardsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameDashboardsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameDashboardsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameDashboardsBulkResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameDashboardsBulkResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameDashboardsBulkResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteStreamsNameDashboardsDashboardidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteStreamsNameDashboardsDashboardidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteStreamsNameDashboardsDashboardidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameDashboardsDashboardidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameDashboardsDashboardidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameDashboardsDashboardidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameQueriesResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameQueriesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameQueriesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameQueriesBulkResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameQueriesBulkResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameQueriesBulkResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteStreamsNameQueriesQueryidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteStreamsNameQueriesQueryidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteStreamsNameQueriesQueryidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameQueriesQueryidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameQueriesQueryidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameQueriesQueryidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameRulesResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameRulesResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameRulesResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type DeleteStreamsNameRulesRuleidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r DeleteStreamsNameRulesRuleidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r DeleteStreamsNameRulesRuleidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PutStreamsNameRulesRuleidResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PutStreamsNameRulesRuleidResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PutStreamsNameRulesRuleidResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type GetStreamsNameSignificantEventsResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r GetStreamsNameSignificantEventsResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r GetStreamsNameSignificantEventsResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameSignificantEventsGenerateResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameSignificantEventsGenerateResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameSignificantEventsGenerateResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -type PostStreamsNameSignificantEventsPreviewResponse struct { - Body []byte - HTTPResponse *http.Response -} - -// Status returns HTTPResponse.Status -func (r PostStreamsNameSignificantEventsPreviewResponse) Status() string { - if r.HTTPResponse != nil { - return r.HTTPResponse.Status - } - return http.StatusText(0) -} - -// StatusCode returns HTTPResponse.StatusCode -func (r PostStreamsNameSignificantEventsPreviewResponse) StatusCode() int { - if r.HTTPResponse != nil { - return r.HTTPResponse.StatusCode - } - return 0 -} - -// GetStreamsWithResponse request returning *GetStreamsResponse -func (c *ClientWithResponses) GetStreamsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetStreamsResponse, error) { - rsp, err := c.GetStreams(ctx, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsResponse(rsp) -} - -// PostStreamsDisableWithResponse request returning *PostStreamsDisableResponse -func (c *ClientWithResponses) PostStreamsDisableWithResponse(ctx context.Context, params *PostStreamsDisableParams, reqEditors ...RequestEditorFn) (*PostStreamsDisableResponse, error) { - rsp, err := c.PostStreamsDisable(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsDisableResponse(rsp) -} - -// PostStreamsEnableWithResponse request returning *PostStreamsEnableResponse -func (c *ClientWithResponses) PostStreamsEnableWithResponse(ctx context.Context, params *PostStreamsEnableParams, reqEditors ...RequestEditorFn) (*PostStreamsEnableResponse, error) { - rsp, err := c.PostStreamsEnable(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsEnableResponse(rsp) -} - -// PostStreamsResyncWithResponse request returning *PostStreamsResyncResponse -func (c *ClientWithResponses) PostStreamsResyncWithResponse(ctx context.Context, params *PostStreamsResyncParams, reqEditors ...RequestEditorFn) (*PostStreamsResyncResponse, error) { - rsp, err := c.PostStreamsResync(ctx, params, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsResyncResponse(rsp) -} - -// DeleteStreamsNameWithResponse request returning *DeleteStreamsNameResponse -func (c *ClientWithResponses) DeleteStreamsNameWithResponse(ctx context.Context, name string, params *DeleteStreamsNameParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameResponse, error) { - rsp, err := c.DeleteStreamsName(ctx, name, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameResponse(rsp) -} - -// GetStreamsNameWithResponse request returning *GetStreamsNameResponse -func (c *ClientWithResponses) GetStreamsNameWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameResponse, error) { - rsp, err := c.GetStreamsName(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameResponse(rsp) -} - -// PutStreamsNameWithBodyWithResponse request with arbitrary body returning *PutStreamsNameResponse -func (c *ClientWithResponses) PutStreamsNameWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) { - rsp, err := c.PutStreamsNameWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameResponse(rsp) -} - -func (c *ClientWithResponses) PutStreamsNameWithResponse(ctx context.Context, name string, params *PutStreamsNameParams, body PutStreamsNameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameResponse, error) { - rsp, err := c.PutStreamsName(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameResponse(rsp) -} - -// PostStreamsNameForkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameForkResponse -func (c *ClientWithResponses) PostStreamsNameForkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) { - rsp, err := c.PostStreamsNameForkWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameForkResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameForkWithResponse(ctx context.Context, name string, params *PostStreamsNameForkParams, body PostStreamsNameForkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameForkResponse, error) { - rsp, err := c.PostStreamsNameFork(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameForkResponse(rsp) -} - -// GetStreamsNameGroupWithResponse request returning *GetStreamsNameGroupResponse -func (c *ClientWithResponses) GetStreamsNameGroupWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameGroupResponse, error) { - rsp, err := c.GetStreamsNameGroup(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameGroupResponse(rsp) -} - -// PutStreamsNameGroupWithBodyWithResponse request with arbitrary body returning *PutStreamsNameGroupResponse -func (c *ClientWithResponses) PutStreamsNameGroupWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) { - rsp, err := c.PutStreamsNameGroupWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameGroupResponse(rsp) -} - -func (c *ClientWithResponses) PutStreamsNameGroupWithResponse(ctx context.Context, name string, params *PutStreamsNameGroupParams, body PutStreamsNameGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameGroupResponse, error) { - rsp, err := c.PutStreamsNameGroup(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameGroupResponse(rsp) -} - -// GetStreamsNameIngestWithResponse request returning *GetStreamsNameIngestResponse -func (c *ClientWithResponses) GetStreamsNameIngestWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameIngestResponse, error) { - rsp, err := c.GetStreamsNameIngest(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameIngestResponse(rsp) -} - -// PutStreamsNameIngestWithBodyWithResponse request with arbitrary body returning *PutStreamsNameIngestResponse -func (c *ClientWithResponses) PutStreamsNameIngestWithBodyWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) { - rsp, err := c.PutStreamsNameIngestWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameIngestResponse(rsp) -} - -func (c *ClientWithResponses) PutStreamsNameIngestWithResponse(ctx context.Context, name string, params *PutStreamsNameIngestParams, body PutStreamsNameIngestJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameIngestResponse, error) { - rsp, err := c.PutStreamsNameIngest(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameIngestResponse(rsp) -} - -// PostStreamsNameContentExportWithBodyWithResponse request with arbitrary body returning *PostStreamsNameContentExportResponse -func (c *ClientWithResponses) PostStreamsNameContentExportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) { - rsp, err := c.PostStreamsNameContentExportWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameContentExportResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameContentExportWithResponse(ctx context.Context, name string, params *PostStreamsNameContentExportParams, body PostStreamsNameContentExportJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameContentExportResponse, error) { - rsp, err := c.PostStreamsNameContentExport(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameContentExportResponse(rsp) -} - -// PostStreamsNameContentImportWithBodyWithResponse request with arbitrary body returning *PostStreamsNameContentImportResponse -func (c *ClientWithResponses) PostStreamsNameContentImportWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameContentImportParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameContentImportResponse, error) { - rsp, err := c.PostStreamsNameContentImportWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameContentImportResponse(rsp) -} - -// GetStreamsNameDashboardsWithResponse request returning *GetStreamsNameDashboardsResponse -func (c *ClientWithResponses) GetStreamsNameDashboardsWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameDashboardsResponse, error) { - rsp, err := c.GetStreamsNameDashboards(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameDashboardsResponse(rsp) -} - -// PostStreamsNameDashboardsBulkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameDashboardsBulkResponse -func (c *ClientWithResponses) PostStreamsNameDashboardsBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) { - rsp, err := c.PostStreamsNameDashboardsBulkWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameDashboardsBulkResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameDashboardsBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameDashboardsBulkParams, body PostStreamsNameDashboardsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameDashboardsBulkResponse, error) { - rsp, err := c.PostStreamsNameDashboardsBulk(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameDashboardsBulkResponse(rsp) -} - -// DeleteStreamsNameDashboardsDashboardidWithResponse request returning *DeleteStreamsNameDashboardsDashboardidResponse -func (c *ClientWithResponses) DeleteStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *DeleteStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.DeleteStreamsNameDashboardsDashboardid(ctx, name, dashboardId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp) -} - -// PutStreamsNameDashboardsDashboardidWithResponse request returning *PutStreamsNameDashboardsDashboardidResponse -func (c *ClientWithResponses) PutStreamsNameDashboardsDashboardidWithResponse(ctx context.Context, name string, dashboardId string, params *PutStreamsNameDashboardsDashboardidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameDashboardsDashboardidResponse, error) { - rsp, err := c.PutStreamsNameDashboardsDashboardid(ctx, name, dashboardId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameDashboardsDashboardidResponse(rsp) -} - -// GetStreamsNameQueriesWithResponse request returning *GetStreamsNameQueriesResponse -func (c *ClientWithResponses) GetStreamsNameQueriesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameQueriesResponse, error) { - rsp, err := c.GetStreamsNameQueries(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameQueriesResponse(rsp) -} - -// PostStreamsNameQueriesBulkWithBodyWithResponse request with arbitrary body returning *PostStreamsNameQueriesBulkResponse -func (c *ClientWithResponses) PostStreamsNameQueriesBulkWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) { - rsp, err := c.PostStreamsNameQueriesBulkWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameQueriesBulkResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameQueriesBulkWithResponse(ctx context.Context, name string, params *PostStreamsNameQueriesBulkParams, body PostStreamsNameQueriesBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameQueriesBulkResponse, error) { - rsp, err := c.PostStreamsNameQueriesBulk(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameQueriesBulkResponse(rsp) -} - -// DeleteStreamsNameQueriesQueryidWithResponse request returning *DeleteStreamsNameQueriesQueryidResponse -func (c *ClientWithResponses) DeleteStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *DeleteStreamsNameQueriesQueryidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameQueriesQueryidResponse, error) { - rsp, err := c.DeleteStreamsNameQueriesQueryid(ctx, name, queryId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameQueriesQueryidResponse(rsp) -} - -// PutStreamsNameQueriesQueryidWithBodyWithResponse request with arbitrary body returning *PutStreamsNameQueriesQueryidResponse -func (c *ClientWithResponses) PutStreamsNameQueriesQueryidWithBodyWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) { - rsp, err := c.PutStreamsNameQueriesQueryidWithBody(ctx, name, queryId, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameQueriesQueryidResponse(rsp) -} - -func (c *ClientWithResponses) PutStreamsNameQueriesQueryidWithResponse(ctx context.Context, name string, queryId string, params *PutStreamsNameQueriesQueryidParams, body PutStreamsNameQueriesQueryidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutStreamsNameQueriesQueryidResponse, error) { - rsp, err := c.PutStreamsNameQueriesQueryid(ctx, name, queryId, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameQueriesQueryidResponse(rsp) -} - -// GetStreamsNameRulesWithResponse request returning *GetStreamsNameRulesResponse -func (c *ClientWithResponses) GetStreamsNameRulesWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetStreamsNameRulesResponse, error) { - rsp, err := c.GetStreamsNameRules(ctx, name, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameRulesResponse(rsp) -} - -// DeleteStreamsNameRulesRuleidWithResponse request returning *DeleteStreamsNameRulesRuleidResponse -func (c *ClientWithResponses) DeleteStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *DeleteStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*DeleteStreamsNameRulesRuleidResponse, error) { - rsp, err := c.DeleteStreamsNameRulesRuleid(ctx, name, ruleId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseDeleteStreamsNameRulesRuleidResponse(rsp) -} - -// PutStreamsNameRulesRuleidWithResponse request returning *PutStreamsNameRulesRuleidResponse -func (c *ClientWithResponses) PutStreamsNameRulesRuleidWithResponse(ctx context.Context, name string, ruleId string, params *PutStreamsNameRulesRuleidParams, reqEditors ...RequestEditorFn) (*PutStreamsNameRulesRuleidResponse, error) { - rsp, err := c.PutStreamsNameRulesRuleid(ctx, name, ruleId, params, reqEditors...) - if err != nil { - return nil, err - } - return ParsePutStreamsNameRulesRuleidResponse(rsp) -} - -// GetStreamsNameSignificantEventsWithResponse request returning *GetStreamsNameSignificantEventsResponse -func (c *ClientWithResponses) GetStreamsNameSignificantEventsWithResponse(ctx context.Context, name string, params *GetStreamsNameSignificantEventsParams, reqEditors ...RequestEditorFn) (*GetStreamsNameSignificantEventsResponse, error) { - rsp, err := c.GetStreamsNameSignificantEvents(ctx, name, params, reqEditors...) - if err != nil { - return nil, err - } - return ParseGetStreamsNameSignificantEventsResponse(rsp) -} - -// PostStreamsNameSignificantEventsGenerateWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsGenerateResponse -func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsGenerateWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameSignificantEventsGenerateWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsGenerateParams, body PostStreamsNameSignificantEventsGenerateJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsGenerateResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsGenerate(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameSignificantEventsGenerateResponse(rsp) -} - -// PostStreamsNameSignificantEventsPreviewWithBodyWithResponse request with arbitrary body returning *PostStreamsNameSignificantEventsPreviewResponse -func (c *ClientWithResponses) PostStreamsNameSignificantEventsPreviewWithBodyWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsPreviewWithBody(ctx, name, params, contentType, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameSignificantEventsPreviewResponse(rsp) -} - -func (c *ClientWithResponses) PostStreamsNameSignificantEventsPreviewWithResponse(ctx context.Context, name string, params *PostStreamsNameSignificantEventsPreviewParams, body PostStreamsNameSignificantEventsPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*PostStreamsNameSignificantEventsPreviewResponse, error) { - rsp, err := c.PostStreamsNameSignificantEventsPreview(ctx, name, params, body, reqEditors...) - if err != nil { - return nil, err - } - return ParsePostStreamsNameSignificantEventsPreviewResponse(rsp) -} - -// ParseGetStreamsResponse parses an HTTP response from a GetStreamsWithResponse call -func ParseGetStreamsResponse(rsp *http.Response) (*GetStreamsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsDisableResponse parses an HTTP response from a PostStreamsDisableWithResponse call -func ParsePostStreamsDisableResponse(rsp *http.Response) (*PostStreamsDisableResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsDisableResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsEnableResponse parses an HTTP response from a PostStreamsEnableWithResponse call -func ParsePostStreamsEnableResponse(rsp *http.Response) (*PostStreamsEnableResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsEnableResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsResyncResponse parses an HTTP response from a PostStreamsResyncWithResponse call -func ParsePostStreamsResyncResponse(rsp *http.Response) (*PostStreamsResyncResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsResyncResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteStreamsNameResponse parses an HTTP response from a DeleteStreamsNameWithResponse call -func ParseDeleteStreamsNameResponse(rsp *http.Response) (*DeleteStreamsNameResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteStreamsNameResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameResponse parses an HTTP response from a GetStreamsNameWithResponse call -func ParseGetStreamsNameResponse(rsp *http.Response) (*GetStreamsNameResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameResponse parses an HTTP response from a PutStreamsNameWithResponse call -func ParsePutStreamsNameResponse(rsp *http.Response) (*PutStreamsNameResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameForkResponse parses an HTTP response from a PostStreamsNameForkWithResponse call -func ParsePostStreamsNameForkResponse(rsp *http.Response) (*PostStreamsNameForkResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameForkResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameGroupResponse parses an HTTP response from a GetStreamsNameGroupWithResponse call -func ParseGetStreamsNameGroupResponse(rsp *http.Response) (*GetStreamsNameGroupResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameGroupResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameGroupResponse parses an HTTP response from a PutStreamsNameGroupWithResponse call -func ParsePutStreamsNameGroupResponse(rsp *http.Response) (*PutStreamsNameGroupResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameGroupResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameIngestResponse parses an HTTP response from a GetStreamsNameIngestWithResponse call -func ParseGetStreamsNameIngestResponse(rsp *http.Response) (*GetStreamsNameIngestResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameIngestResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameIngestResponse parses an HTTP response from a PutStreamsNameIngestWithResponse call -func ParsePutStreamsNameIngestResponse(rsp *http.Response) (*PutStreamsNameIngestResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameIngestResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameContentExportResponse parses an HTTP response from a PostStreamsNameContentExportWithResponse call -func ParsePostStreamsNameContentExportResponse(rsp *http.Response) (*PostStreamsNameContentExportResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameContentExportResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameContentImportResponse parses an HTTP response from a PostStreamsNameContentImportWithResponse call -func ParsePostStreamsNameContentImportResponse(rsp *http.Response) (*PostStreamsNameContentImportResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameContentImportResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameDashboardsResponse parses an HTTP response from a GetStreamsNameDashboardsWithResponse call -func ParseGetStreamsNameDashboardsResponse(rsp *http.Response) (*GetStreamsNameDashboardsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameDashboardsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameDashboardsBulkResponse parses an HTTP response from a PostStreamsNameDashboardsBulkWithResponse call -func ParsePostStreamsNameDashboardsBulkResponse(rsp *http.Response) (*PostStreamsNameDashboardsBulkResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameDashboardsBulkResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteStreamsNameDashboardsDashboardidResponse parses an HTTP response from a DeleteStreamsNameDashboardsDashboardidWithResponse call -func ParseDeleteStreamsNameDashboardsDashboardidResponse(rsp *http.Response) (*DeleteStreamsNameDashboardsDashboardidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteStreamsNameDashboardsDashboardidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameDashboardsDashboardidResponse parses an HTTP response from a PutStreamsNameDashboardsDashboardidWithResponse call -func ParsePutStreamsNameDashboardsDashboardidResponse(rsp *http.Response) (*PutStreamsNameDashboardsDashboardidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameDashboardsDashboardidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameQueriesResponse parses an HTTP response from a GetStreamsNameQueriesWithResponse call -func ParseGetStreamsNameQueriesResponse(rsp *http.Response) (*GetStreamsNameQueriesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameQueriesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameQueriesBulkResponse parses an HTTP response from a PostStreamsNameQueriesBulkWithResponse call -func ParsePostStreamsNameQueriesBulkResponse(rsp *http.Response) (*PostStreamsNameQueriesBulkResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameQueriesBulkResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteStreamsNameQueriesQueryidResponse parses an HTTP response from a DeleteStreamsNameQueriesQueryidWithResponse call -func ParseDeleteStreamsNameQueriesQueryidResponse(rsp *http.Response) (*DeleteStreamsNameQueriesQueryidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteStreamsNameQueriesQueryidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameQueriesQueryidResponse parses an HTTP response from a PutStreamsNameQueriesQueryidWithResponse call -func ParsePutStreamsNameQueriesQueryidResponse(rsp *http.Response) (*PutStreamsNameQueriesQueryidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameQueriesQueryidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameRulesResponse parses an HTTP response from a GetStreamsNameRulesWithResponse call -func ParseGetStreamsNameRulesResponse(rsp *http.Response) (*GetStreamsNameRulesResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameRulesResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseDeleteStreamsNameRulesRuleidResponse parses an HTTP response from a DeleteStreamsNameRulesRuleidWithResponse call -func ParseDeleteStreamsNameRulesRuleidResponse(rsp *http.Response) (*DeleteStreamsNameRulesRuleidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &DeleteStreamsNameRulesRuleidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePutStreamsNameRulesRuleidResponse parses an HTTP response from a PutStreamsNameRulesRuleidWithResponse call -func ParsePutStreamsNameRulesRuleidResponse(rsp *http.Response) (*PutStreamsNameRulesRuleidResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PutStreamsNameRulesRuleidResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParseGetStreamsNameSignificantEventsResponse parses an HTTP response from a GetStreamsNameSignificantEventsWithResponse call -func ParseGetStreamsNameSignificantEventsResponse(rsp *http.Response) (*GetStreamsNameSignificantEventsResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &GetStreamsNameSignificantEventsResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameSignificantEventsGenerateResponse parses an HTTP response from a PostStreamsNameSignificantEventsGenerateWithResponse call -func ParsePostStreamsNameSignificantEventsGenerateResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsGenerateResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameSignificantEventsGenerateResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} - -// ParsePostStreamsNameSignificantEventsPreviewResponse parses an HTTP response from a PostStreamsNameSignificantEventsPreviewWithResponse call -func ParsePostStreamsNameSignificantEventsPreviewResponse(rsp *http.Response) (*PostStreamsNameSignificantEventsPreviewResponse, error) { - bodyBytes, err := io.ReadAll(rsp.Body) - defer func() { _ = rsp.Body.Close() }() - if err != nil { - return nil, err - } - - response := &PostStreamsNameSignificantEventsPreviewResponse{ - Body: bodyBytes, - HTTPResponse: rsp, - } - - return response, nil -} diff --git a/generated/kbstreams/transform_schema.go b/generated/kbstreams/transform_schema.go deleted file mode 100644 index b80c31f38..000000000 --- a/generated/kbstreams/transform_schema.go +++ /dev/null @@ -1,74 +0,0 @@ -//go:build ignore -// +build ignore - -// TEMPORARY (POC): Minimal transformer that trims a full Kibana OAS down to the -// Streams-related paths only. This keeps oapi-codegen focused on the Streams -// surface while avoiding issues in unrelated APIs (attack discovery, cases, -// fleet settings, etc.). -// -// This program is intentionally small and self-contained so that it can be -// iterated on or replaced once Streams is fully integrated into the main -// Kibana OAS pipeline. -package main - -import ( - "flag" - "log" - "os" - "strings" - - "gopkg.in/yaml.v3" -) - -func main() { - inFile := flag.String("i", "", "input file") - outFile := flag.String("o", "", "output file") - flag.Parse() - - if *inFile == "" || *outFile == "" { - flag.Usage() - os.Exit(1) - } - - data, err := os.ReadFile(*inFile) - if err != nil { - log.Fatalf("failed to read input schema %q: %v", *inFile, err) - } - - var root map[string]any - if err := yaml.Unmarshal(data, &root); err != nil { - log.Fatalf("failed to unmarshal input schema %q: %v", *inFile, err) - } - - pathsAny, ok := root["paths"] - if !ok { - log.Fatalf("input schema has no top-level \"paths\" key") - } - - pathsMap, ok := pathsAny.(map[string]any) - if !ok { - log.Fatalf("input schema \"paths\" is not an object") - } - - streamsPaths := map[string]any{} - for p, v := range pathsMap { - if strings.HasPrefix(p, "/api/streams") { - streamsPaths[p] = v - } - } - - if len(streamsPaths) == 0 { - log.Fatalf("no /api/streams* paths found in input schema %q", *inFile) - } - - root["paths"] = streamsPaths - - out, err := yaml.Marshal(root) - if err != nil { - log.Fatalf("failed to marshal filtered schema %q: %v", *outFile, err) - } - - if err := os.WriteFile(*outFile, out, 0o664); err != nil { - log.Fatalf("failed to write filtered schema %q: %v", *outFile, err) - } -} diff --git a/internal/clients/fleet/fleet.go b/internal/clients/fleet/fleet.go index b2086174b..59897f9b2 100644 --- a/internal/clients/fleet/fleet.go +++ b/internal/clients/fleet/fleet.go @@ -343,7 +343,7 @@ func CreatePackagePolicy(ctx context.Context, client *Client, spaceID string, re // UpdatePackagePolicy updates an existing package policy. func UpdatePackagePolicy(ctx context.Context, client *Client, id string, spaceID string, req kbapi.PackagePolicyRequest) (*kbapi.PackagePolicy, diag.Diagnostics) { params := kbapi.PutFleetPackagePoliciesPackagepolicyidParams{ - Format: utils.Pointer(kbapi.Simplified), + Format: utils.Pointer(kbapi.PutFleetPackagePoliciesPackagepolicyidParamsFormatSimplified), } resp, err := client.API.PutFleetPackagePoliciesPackagepolicyidWithResponse(ctx, id, ¶ms, req, spaceAwarePathRequestEditor(spaceID)) diff --git a/internal/clients/kibana_oapi/streams.go b/internal/clients/kibana_oapi/streams.go index 3e41da38b..448f372c2 100644 --- a/internal/clients/kibana_oapi/streams.go +++ b/internal/clients/kibana_oapi/streams.go @@ -7,40 +7,15 @@ import ( "net/http" "strings" - "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/elastic/terraform-provider-elasticstack/generated/kbapi" "github.com/elastic/terraform-provider-elasticstack/internal/diagutil" "github.com/hashicorp/terraform-plugin-framework/diag" ) -// newStreamsClient constructs a Streams-only API client on top of the shared -// Kibana HTTP client. This keeps Streams experimentation isolated from the -// main kbapi client. -func newStreamsClient(c *Client) (*kbstreams.ClientWithResponses, diag.Diagnostics) { - var diags diag.Diagnostics - - endpoint := c.URL - if !strings.HasSuffix(endpoint, "/") { - endpoint += "/" - } - - streamsClient, err := kbstreams.NewClientWithResponses(endpoint, kbstreams.WithHTTPClient(c.HTTP)) - if err != nil { - diags.AddError("Failed to create Kibana Streams client", err.Error()) - return nil, diags - } - - return streamsClient, diags -} - // GetStreamJSON reads a single stream definition (GET /api/streams/{name}). // Returns nil, nil on 404. func GetStreamJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return nil, diags - } - - resp, err := streamsClient.GetStreamsNameWithResponse(ctx, name) + resp, err := client.API.GetStreamsNameWithResponse(ctx, name) if err != nil { return nil, diagutil.FrameworkDiagFromError(err) } @@ -56,30 +31,9 @@ func GetStreamJSON(ctx context.Context, client *Client, name string) ([]byte, di } } -// PutStream upserts a stream (PUT /api/streams/{name}). -// The caller is responsible for building a valid kbstreams.PutStreamsNameJSONRequestBody. -func PutStream(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameJSONRequestBody) diag.Diagnostics { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return diags - } - - resp, err := streamsClient.PutStreamsNameWithResponse(ctx, name, nil, body) - if err != nil { - return diagutil.FrameworkDiagFromError(err) - } - - status := resp.StatusCode() - if status >= 200 && status < 300 { - return nil - } - - return reportUnknownError(status, resp.Body) -} - // PutStreamRaw upserts a stream by sending a pre-built JSON payload to // PUT /api/streams/{name}. This is used in cases where the generated -// kbstreams union types are too awkward to construct directly from +// union types are too awkward to construct directly from // Terraform models. func PutStreamRaw(ctx context.Context, client *Client, name string, body []byte) diag.Diagnostics { var diags diag.Diagnostics @@ -121,6 +75,11 @@ func PutStreamRaw(ctx context.Context, client *Client, name string, body []byte) // generated clients may serialize a nil body as JSON "null", which then // fails validation with 'expected undefined, received null'. Using the raw // HTTP client guarantees we send no body at all. +// +// Additionally, some Streams deployments validate the DELETE request body as +// "undefined" and may respond with a 400 "Expected undefined, received null" +// even when no body was sent. We treat that specific error as success to keep +// Terraform idempotent. func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnostics { var diags diag.Diagnostics @@ -150,10 +109,6 @@ func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnos case http.StatusOK, http.StatusNoContent: return diags case http.StatusBadRequest: - // Some Streams deployments validate the DELETE request body as - // "undefined" and will respond with a 400 "Expected undefined, - // received null" even though no body was sent. Treat this specific - // validation error as a successful delete to keep Terraform idempotent. if bytes.Contains(respBody, []byte("Expected undefined, received null")) { return diags } @@ -164,14 +119,9 @@ func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnos } // GetStreamIngestJSON reads ingest settings (GET /api/streams/{name}/_ingest). -// Returns nil, nil on 404. +// Returns nil, nil on 404 or when the stream is not an ingest stream. func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return nil, diags - } - - resp, err := streamsClient.GetStreamsNameIngestWithResponse(ctx, name) + resp, err := client.API.GetStreamsNameIngestWithResponse(ctx, name) if err != nil { return nil, diagutil.FrameworkDiagFromError(err) } @@ -182,7 +132,7 @@ func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]by // No ingest definition for this stream. return nil, nil case status == http.StatusBadRequest: - // For non‑ingest streams (e.g. group streams) Kibana returns 400 + // For non‑ingest streams (e.g. group streams) Kibana may return 400 // "Stream is not an ingest stream". In that case we simply omit the // ingest block from Terraform state instead of treating it as an error. return nil, nil @@ -194,13 +144,8 @@ func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]by } // PutStreamIngest upserts ingest settings (PUT /api/streams/{name}/_ingest). -func PutStreamIngest(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameIngestJSONRequestBody) diag.Diagnostics { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return diags - } - - resp, err := streamsClient.PutStreamsNameIngestWithResponse(ctx, name, nil, body) +func PutStreamIngest(ctx context.Context, client *Client, name string, body kbapi.PutStreamsNameIngestJSONRequestBody) diag.Diagnostics { + resp, err := client.API.PutStreamsNameIngestWithResponse(ctx, name, body) if err != nil { return diagutil.FrameworkDiagFromError(err) } @@ -216,12 +161,7 @@ func PutStreamIngest(ctx context.Context, client *Client, name string, body kbst // GetStreamGroupJSON reads group settings (GET /api/streams/{name}/_group). // Returns nil, nil on 404. func GetStreamGroupJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return nil, diags - } - - resp, err := streamsClient.GetStreamsNameGroupWithResponse(ctx, name) + resp, err := client.API.GetStreamsNameGroupWithResponse(ctx, name) if err != nil { return nil, diagutil.FrameworkDiagFromError(err) } @@ -238,13 +178,8 @@ func GetStreamGroupJSON(ctx context.Context, client *Client, name string) ([]byt } // PutStreamGroup upserts group settings (PUT /api/streams/{name}/_group). -func PutStreamGroup(ctx context.Context, client *Client, name string, body kbstreams.PutStreamsNameGroupJSONRequestBody) diag.Diagnostics { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return diags - } - - resp, err := streamsClient.PutStreamsNameGroupWithResponse(ctx, name, nil, body) +func PutStreamGroup(ctx context.Context, client *Client, name string, body kbapi.PutStreamsNameGroupJSONRequestBody) diag.Diagnostics { + resp, err := client.API.PutStreamsNameGroupWithResponse(ctx, name, body) if err != nil { return diagutil.FrameworkDiagFromError(err) } @@ -259,12 +194,7 @@ func PutStreamGroup(ctx context.Context, client *Client, name string, body kbstr // EnableStreams enables Streams (POST /api/streams/_enable). func EnableStreams(ctx context.Context, client *Client) diag.Diagnostics { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return diags - } - - resp, err := streamsClient.PostStreamsEnableWithResponse(ctx, nil) + resp, err := client.API.PostStreamsEnableWithResponse(ctx) if err != nil { return diagutil.FrameworkDiagFromError(err) } @@ -279,12 +209,7 @@ func EnableStreams(ctx context.Context, client *Client) diag.Diagnostics { // DisableStreams disables Streams (POST /api/streams/_disable). func DisableStreams(ctx context.Context, client *Client) diag.Diagnostics { - streamsClient, diags := newStreamsClient(client) - if diags.HasError() { - return diags - } - - resp, err := streamsClient.PostStreamsDisableWithResponse(ctx, nil) + resp, err := client.API.PostStreamsDisableWithResponse(ctx) if err != nil { return diagutil.FrameworkDiagFromError(err) } diff --git a/internal/kibana/streams/conditions_test.go b/internal/kibana/streams/conditions_test.go index f62a3e009..399d1bd3a 100644 --- a/internal/kibana/streams/conditions_test.go +++ b/internal/kibana/streams/conditions_test.go @@ -97,5 +97,3 @@ func TestMarshalCondition_SimpleAndOr(t *testing.T) { }) } } - - diff --git a/internal/kibana/streams/resource.go b/internal/kibana/streams/resource.go index d0bc8d066..f2ad1274f 100644 --- a/internal/kibana/streams/resource.go +++ b/internal/kibana/streams/resource.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/elastic/terraform-provider-elasticstack/generated/kbapi" "github.com/elastic/terraform-provider-elasticstack/internal/clients" "github.com/elastic/terraform-provider-elasticstack/internal/clients/kibana_oapi" "github.com/elastic/terraform-provider-elasticstack/internal/diagutil" @@ -132,7 +132,7 @@ func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp } // Upsert group configuration for the stream. - apiBody := kbstreams.PutStreamsNameGroupJSONRequestBody(*groupBody) + apiBody := kbapi.PutStreamsNameGroupJSONRequestBody(*groupBody) d = kibana_oapi.PutStreamGroup(ctx, client, name, apiBody) resp.Diagnostics.Append(d...) if resp.Diagnostics.HasError() { @@ -373,7 +373,7 @@ func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp return } - apiBody := kbstreams.PutStreamsNameGroupJSONRequestBody(*groupBody) + apiBody := kbapi.PutStreamsNameGroupJSONRequestBody(*groupBody) d = kibana_oapi.PutStreamGroup(ctx, client, name, apiBody) resp.Diagnostics.Append(d...) if resp.Diagnostics.HasError() { From e083c073f84cd2bc8baa6d2d970e17d351c4b8ae Mon Sep 17 00:00:00 2001 From: Robert Stelmach Date: Fri, 21 Nov 2025 13:17:55 +0100 Subject: [PATCH 3/3] remove unnecessary comments --- internal/clients/kibana_oapi/streams.go | 32 +------------------ internal/kibana/streams/conditions.go | 30 +----------------- internal/kibana/streams/flatten_expand.go | 38 +++++------------------ streams/main.tf | 4 +-- 4 files changed, 11 insertions(+), 93 deletions(-) diff --git a/internal/clients/kibana_oapi/streams.go b/internal/clients/kibana_oapi/streams.go index 448f372c2..fcf13890a 100644 --- a/internal/clients/kibana_oapi/streams.go +++ b/internal/clients/kibana_oapi/streams.go @@ -12,8 +12,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/diag" ) -// GetStreamJSON reads a single stream definition (GET /api/streams/{name}). -// Returns nil, nil on 404. func GetStreamJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { resp, err := client.API.GetStreamsNameWithResponse(ctx, name) if err != nil { @@ -31,10 +29,6 @@ func GetStreamJSON(ctx context.Context, client *Client, name string) ([]byte, di } } -// PutStreamRaw upserts a stream by sending a pre-built JSON payload to -// PUT /api/streams/{name}. This is used in cases where the generated -// union types are too awkward to construct directly from -// Terraform models. func PutStreamRaw(ctx context.Context, client *Client, name string, body []byte) diag.Diagnostics { var diags diag.Diagnostics @@ -67,19 +61,6 @@ func PutStreamRaw(ctx context.Context, client *Client, name string, body []byte) return reportUnknownError(status, respBody) } -// DeleteStream deletes a stream (DELETE /api/streams/{name}). -// 404 is treated as success. -// -// We intentionally avoid the generated client here because the request body -// for this endpoint is defined as "undefined" in Kibana's schema. Some -// generated clients may serialize a nil body as JSON "null", which then -// fails validation with 'expected undefined, received null'. Using the raw -// HTTP client guarantees we send no body at all. -// -// Additionally, some Streams deployments validate the DELETE request body as -// "undefined" and may respond with a 400 "Expected undefined, received null" -// even when no body was sent. We treat that specific error as success to keep -// Terraform idempotent. func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnostics { var diags diag.Diagnostics @@ -118,8 +99,6 @@ func DeleteStream(ctx context.Context, client *Client, name string) diag.Diagnos } } -// GetStreamIngestJSON reads ingest settings (GET /api/streams/{name}/_ingest). -// Returns nil, nil on 404 or when the stream is not an ingest stream. func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { resp, err := client.API.GetStreamsNameIngestWithResponse(ctx, name) if err != nil { @@ -129,12 +108,9 @@ func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]by status := resp.StatusCode() switch { case status == http.StatusNotFound: - // No ingest definition for this stream. return nil, nil case status == http.StatusBadRequest: - // For non‑ingest streams (e.g. group streams) Kibana may return 400 - // "Stream is not an ingest stream". In that case we simply omit the - // ingest block from Terraform state instead of treating it as an error. + return nil, nil case status >= 200 && status < 300: return resp.Body, nil @@ -143,7 +119,6 @@ func GetStreamIngestJSON(ctx context.Context, client *Client, name string) ([]by } } -// PutStreamIngest upserts ingest settings (PUT /api/streams/{name}/_ingest). func PutStreamIngest(ctx context.Context, client *Client, name string, body kbapi.PutStreamsNameIngestJSONRequestBody) diag.Diagnostics { resp, err := client.API.PutStreamsNameIngestWithResponse(ctx, name, body) if err != nil { @@ -158,8 +133,6 @@ func PutStreamIngest(ctx context.Context, client *Client, name string, body kbap return reportUnknownError(status, resp.Body) } -// GetStreamGroupJSON reads group settings (GET /api/streams/{name}/_group). -// Returns nil, nil on 404. func GetStreamGroupJSON(ctx context.Context, client *Client, name string) ([]byte, diag.Diagnostics) { resp, err := client.API.GetStreamsNameGroupWithResponse(ctx, name) if err != nil { @@ -177,7 +150,6 @@ func GetStreamGroupJSON(ctx context.Context, client *Client, name string) ([]byt } } -// PutStreamGroup upserts group settings (PUT /api/streams/{name}/_group). func PutStreamGroup(ctx context.Context, client *Client, name string, body kbapi.PutStreamsNameGroupJSONRequestBody) diag.Diagnostics { resp, err := client.API.PutStreamsNameGroupWithResponse(ctx, name, body) if err != nil { @@ -192,7 +164,6 @@ func PutStreamGroup(ctx context.Context, client *Client, name string, body kbapi return reportUnknownError(status, resp.Body) } -// EnableStreams enables Streams (POST /api/streams/_enable). func EnableStreams(ctx context.Context, client *Client) diag.Diagnostics { resp, err := client.API.PostStreamsEnableWithResponse(ctx) if err != nil { @@ -207,7 +178,6 @@ func EnableStreams(ctx context.Context, client *Client) diag.Diagnostics { return reportUnknownError(status, resp.Body) } -// DisableStreams disables Streams (POST /api/streams/_disable). func DisableStreams(ctx context.Context, client *Client) diag.Diagnostics { resp, err := client.API.PostStreamsDisableWithResponse(ctx) if err != nil { diff --git a/internal/kibana/streams/conditions.go b/internal/kibana/streams/conditions.go index 2b8523fda..29fbbcc08 100644 --- a/internal/kibana/streams/conditions.go +++ b/internal/kibana/streams/conditions.go @@ -4,30 +4,17 @@ import "encoding/json" // Condition represents a logical condition tree that can be serialized // into a JSON-friendly DSL structure. -// -// This is intentionally generic and internal to the provider so that we -// can evolve the exact JSON shape to match the Streams condition DSL -// without leaking details into the rest of the codebase. + type Condition interface { - // ToDSL returns the condition encoded as a nested map/list structure - // suitable for JSON marshaling. ToDSL() map[string]any } -// FieldComparison is a simple leaf condition like: -// -// field value -// -// Example JSON (one possible shape): -// -// {"field": "host.name", "op": "eq", "value": "web-01"} type FieldComparison struct { Field string Op string Value any } -// ToDSL implements Condition. func (c FieldComparison) ToDSL() map[string]any { return map[string]any{ "field": c.Field, @@ -36,16 +23,10 @@ func (c FieldComparison) ToDSL() map[string]any { } } -// And represents a logical AND over its children. -// -// Example JSON: -// -// {"and": [ , , ... ]} type And struct { Children []Condition } -// ToDSL implements Condition. func (a And) ToDSL() map[string]any { children := make([]any, 0, len(a.Children)) for _, child := range a.Children { @@ -59,16 +40,10 @@ func (a And) ToDSL() map[string]any { } } -// Or represents a logical OR over its children. -// -// Example JSON: -// -// {"or": [ , , ... ]} type Or struct { Children []Condition } -// ToDSL implements Condition. func (o Or) ToDSL() map[string]any { children := make([]any, 0, len(o.Children)) for _, child := range o.Children { @@ -82,11 +57,8 @@ func (o Or) ToDSL() map[string]any { } } -// MarshalCondition encodes a Condition into JSON. This is a helper used -// by unit tests (and potentially by Streams helpers in the future). func MarshalCondition(c Condition) ([]byte, error) { if c == nil { - // Encode as JSON null for now; callers can decide how to handle this. return []byte("null"), nil } return json.Marshal(c.ToDSL()) diff --git a/internal/kibana/streams/flatten_expand.go b/internal/kibana/streams/flatten_expand.go index c555b7d64..ff500f7a5 100644 --- a/internal/kibana/streams/flatten_expand.go +++ b/internal/kibana/streams/flatten_expand.go @@ -4,28 +4,24 @@ import ( "context" "encoding/json" - "github.com/elastic/terraform-provider-elasticstack/generated/kbstreams" + "github.com/elastic/terraform-provider-elasticstack/generated/kbapi" "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/diag" "github.com/hashicorp/terraform-plugin-framework/types" ) -// expandGroupToAPI converts the Terraform groupModel into the kbstreams payload used -// by PUT /api/streams/{name}/_group. -func expandGroupToAPI(ctx context.Context, m *groupModel) (*kbstreams.PutStreamsNameGroupJSONBody, diag.Diagnostics) { +func expandGroupToAPI(ctx context.Context, m *groupModel) (*kbapi.PutStreamsNameGroupJSONBody, diag.Diagnostics) { var diags diag.Diagnostics - body := &kbstreams.PutStreamsNameGroupJSONBody{} + body := &kbapi.PutStreamsNameGroupJSONBody{} if m == nil { - // Ensure we always send empty arrays/objects rather than nulls to match - // the Streams Group schema expectations. + body.Group.Members = []string{} body.Group.Metadata = map[string]string{} body.Group.Tags = []string{} return body, diags } - // Start with empty values so we never send null for these fields. body.Group.Members = []string{} body.Group.Metadata = map[string]string{} body.Group.Tags = []string{} @@ -67,8 +63,6 @@ func expandGroupToAPI(ctx context.Context, m *groupModel) (*kbstreams.PutStreams return body, diags } -// flattenGroupFromAPI populates a groupModel from the JSON returned by -// GET /api/streams/{name}/_group. func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) diag.Diagnostics { var diags diag.Diagnostics @@ -76,7 +70,7 @@ func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) di return diags } - var body kbstreams.PutStreamsNameGroupJSONBody + var body kbapi.PutStreamsNameGroupJSONBody if err := json.Unmarshal(apiBytes, &body); err != nil { diags.AddError("Failed to decode group stream settings", err.Error()) return diags @@ -94,8 +88,7 @@ func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) di // metadata if len(body.Group.Metadata) == 0 { - // Preserve empty map rather than null to avoid post-apply inconsistencies - // when the plan contained `metadata = {}`. + mv, d := types.MapValueFrom(ctx, types.StringType, map[string]string{}) diags.Append(d...) if diags.HasError() { @@ -113,8 +106,7 @@ func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) di // tags if len(body.Group.Tags) == 0 { - // Preserve empty list rather than null to avoid post-apply inconsistencies - // when the plan contained `tags = []`. + m.Tags = []types.String{} } else { m.Tags = make([]types.String, len(body.Group.Tags)) @@ -126,9 +118,6 @@ func flattenGroupFromAPI(ctx context.Context, apiBytes []byte, m *groupModel) di return diags } -// flattenIngestFromAPI decodes the JSON returned by GET /api/streams/{name}/_ingest -// into a Terraform Object value for the computed `ingest` attribute. For the -// current POC we only surface the ingest `type` field. func flattenIngestFromAPI(ctx context.Context, apiBytes []byte) (types.Object, diag.Diagnostics) { var diags diag.Diagnostics @@ -157,21 +146,9 @@ func flattenIngestFromAPI(ctx context.Context, apiBytes []byte) (types.Object, d return obj, diags } -// expandGroupToStreamUpsertJSON builds the minimal JSON body required to create -// or upsert a group stream via PUT /api/streams/{name}. It mirrors the -// Streams.GroupStream.UpsertRequest shape by sending: -// - dashboards, rules, queries as empty arrays (emptyAssets) -// - stream.description (when set) -// - stream.group.metadata, stream.group.tags, stream.group.members from the plan. func expandGroupToStreamUpsertJSON(ctx context.Context, name string, plan *streamModel) ([]byte, diag.Diagnostics) { var diags diag.Diagnostics - // The stream name is taken from the URL path in the Streams API and is - // intentionally omitted from the JSON body. The server-side schema expects - // `stream.name` to be undefined in the payload. - // For the group-stream upsert branch, `stream.description` is required, - // while `stream.ingest` must not be present (it is validated separately - // via the _ingest endpoint for ingest streams). desc := "" if plan != nil && !plan.Description.IsNull() && !plan.Description.IsUnknown() { desc = plan.Description.ValueString() @@ -223,7 +200,6 @@ func expandGroupToStreamUpsertJSON(ctx context.Context, name string, plan *strea } group["members"] = members } else { - // The schema allows an empty members array; we preserve that here. group["members"] = []string{} } diff --git a/streams/main.tf b/streams/main.tf index 1a157db13..6ea979f78 100644 --- a/streams/main.tf +++ b/streams/main.tf @@ -8,13 +8,13 @@ terraform { } provider "elasticstack" { elasticsearch { - endpoints = ["http://localhost:9200"] # adjust to your ES URL + endpoints = ["http://localhost:9200"] username = var.elasticsearch_username password = var.elasticsearch_password } kibana { - endpoints = ["http://localhost:5601/rStelmach"] + endpoints = ["http://localhost:5601"] # adjust to your Kibana URL(remember about prefix) username = var.kibana_username password = var.kibana_password }