Skip to content

[Entity Store v1] Update docs to comply with OpenAPI Specification (OAS)#262526

Merged
kubasobon merged 19 commits intomainfrom
document-entity-store-v1-api
Apr 17, 2026
Merged

[Entity Store v1] Update docs to comply with OpenAPI Specification (OAS)#262526
kubasobon merged 19 commits intomainfrom
document-entity-store-v1-api

Conversation

@kubasobon
Copy link
Copy Markdown
Member

@kubasobon kubasobon commented Apr 10, 2026

Summary

Updates Entity Store v1 API to be compliant with Kibana's OpenAPI Specification.

Towards #258982

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@kubasobon kubasobon self-assigned this Apr 10, 2026
@kubasobon kubasobon added backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes labels Apr 10, 2026
@kubasobon kubasobon requested a review from a team April 10, 2026 14:04
@kubasobon kubasobon linked an issue Apr 10, 2026 that may be closed by this pull request
4 tasks
@kubasobon kubasobon marked this pull request as ready for review April 13, 2026 09:58
@kubasobon kubasobon requested review from a team as code owners April 13, 2026 09:58
@kubasobon kubasobon requested review from sdesalas and ymao1 April 13, 2026 09:58
Copy link
Copy Markdown
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elastic-vault-github-plugin-prod elastic-vault-github-plugin-prod Bot requested a review from a team as a code owner April 13, 2026 20:36
Copy link
Copy Markdown
Contributor

@uri-weisman uri-weisman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
This should be backported only for 9.3/8.19, right?

Copy link
Copy Markdown
Contributor

@natasha-moore-elastic natasha-moore-elastic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one minor suggestion, thanks!

schema:
$ref: '../common.schema.yaml#/components/schemas/EntityType'
description: The entity type of the engine (either 'user' or 'host').
description: The entity type of the engine (user, host, service, or generic).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: The entity type of the engine (user, host, service, or generic).
description: The entity type of the engine.

The possible values are listed in an enum, so we can omit them from the description.

Image

@kubasobon kubasobon removed the request for review from sdesalas April 17, 2026 10:44
@kubasobon kubasobon enabled auto-merge (squash) April 17, 2026 10:45
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Apr 17, 2026

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #139 / Serverless Observability - Deployment-agnostic Synthetics API integration tests SyntheticsAPITests PrivateLocationCreateMonitor handles auto upgrading policies
  • [job] [logs] FTR Configs #139 / Serverless Observability - Deployment-agnostic Synthetics API integration tests SyntheticsAPITests PrivateLocationCreateMonitor handles auto upgrading policies

Metrics [docs]

✅ unchanged

History

cc @kubasobon

@kubasobon kubasobon merged commit 8a918fc into main Apr 17, 2026
19 checks passed
@kubasobon kubasobon deleted the document-entity-store-v1-api branch April 17, 2026 14:55
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.3, 9.4

https://github.com/elastic/kibana/actions/runs/24571575403

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.3 Backport failed because of merge conflicts
9.4 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 262526

Questions ?

Please refer to the Backport tool documentation

kubasobon added a commit that referenced this pull request Apr 20, 2026
…AS) (#262526)

Updates Entity Store v1 API to be compliant with Kibana's OpenAPI
Specification.

Towards <#258982>

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 8a918fc)
kubasobon added a commit that referenced this pull request Apr 20, 2026
…ion (OAS) (#262526)

Source schema changes only - generated files need regeneration.

(cherry picked from commit 8a918fc)
kubasobon added a commit that referenced this pull request Apr 20, 2026
…tion (OAS) (#262526)

Source schema changes only - generated files need regeneration.
Only includes changes for APIs that exist on 8.19.

(cherry picked from commit 8a918fc)
kubasobon added a commit that referenced this pull request Apr 20, 2026
…ion (OAS) (#262526) (#264348)

# Backport

This will backport the following commits from `main` to `9.4`:
- [[Entity Store v1] Update docs to comply with OpenAPI Specification
(OAS) (#262526)](#262526)

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 20, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @kubasobon

kubasobon added a commit that referenced this pull request Apr 20, 2026
…ion (OAS) (#262526) (#264349)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[Entity Store v1] Update docs to comply with OpenAPI Specification
(OAS) (#262526)](#262526)

Note: OAS output files (`oas_docs/`) and error baseline still need
regeneration after bootstrap.

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kubasobon added a commit that referenced this pull request Apr 20, 2026
…tion (OAS) (#262526) (#264350)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Entity Store v1] Update docs to comply with OpenAPI Specification
(OAS) (#262526)](#262526)

Note: Only includes changes for APIs that exist on 8.19 (excludes
delete_entity, upsert_entity, upsert_entities_bulk, GenericEntity, and
other schemas not present on this branch). Generated files (.gen.ts,
bundled yamls, OAS output) still need regeneration after bootstrap.

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.19.15 v9.3.4 v9.4.0 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OAS] Entity Store — descriptions & examples (public API + plugin routes)

9 participants