Skip to content

fix wrong height on rows - #39

Merged
rashidkpc merged 1 commit into
elastic:masterfrom
rashidkpc:master
Apr 10, 2013
Merged

rashidkpc merged 1 commit into
elastic:masterfrom
rashidkpc:master

Conversation

@rashidkpc

Copy link
Copy Markdown
Contributor

No description provided.

rashidkpc pushed a commit that referenced this pull request Apr 10, 2013
fix wrong height on rows
@rashidkpc
rashidkpc merged commit dd15b2c into elastic:master Apr 10, 2013
spalger pushed a commit to spalger/kibana that referenced this pull request Mar 3, 2016
Relates to elastic#39 (not closing as it still under discussion)
spalger added a commit to spalger/kibana that referenced this pull request Mar 3, 2016
@KnightOfNight KnightOfNight mentioned this pull request Jul 19, 2016
liza-mae added a commit to liza-mae/kibana that referenced this pull request Feb 21, 2019
CoenWarmer pushed a commit to CoenWarmer/kibana that referenced this pull request Aug 11, 2023
Ikuni17 pushed a commit that referenced this pull request Oct 11, 2024
<Actions>
<action
id="ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215">
        <h3>deps: Bump ironbank version</h3>
<details
id="99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734">
            <summary>deps(ironbank): Bump ubi version to 9.4</summary>
<p>change detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated
from &#34;&#39;9.4&#39;&#34; to &#34;\&#34;9.4\&#34;&#34;, in file
&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>
        </details>
<a
href="https://github.com/elastic/kibana/actions/runs/11287176047">GitHub
Action workflow link</a>
    </action>
</Actions>

---

<table>
  <tr>
    <td width="77">
<img src="https://www.updatecli.io/images/updatecli.png" alt="Updatecli
logo" width="50" height="50">
    </td>
    <td>
      <p>
Created automatically by <a
href="https://www.updatecli.io/">Updatecli</a>
      </p>
      <details><summary>Options:</summary>
        <br />
<p>Most of Updatecli configuration is done via <a
href="https://www.updatecli.io/docs/prologue/quick-start/">its
manifest(s)</a>.</p>
        <ul>
<li>If you close this pull request, Updatecli will automatically reopen
it, the next time it runs.</li>
<li>If you close this pull request and delete the base branch, Updatecli
will automatically recreate it, erasing all previous commits made.</li>
        </ul>
        <p>
Feel free to report any issues at <a
href="https://github.com/updatecli/updatecli/issues">github.com/updatecli/updatecli</a>.<br
/>
If you find this tool useful, do not hesitate to star <a
href="https://github.com/updatecli/updatecli/stargazers">our GitHub
repository</a> as a sign of appreciation, and/or to tell us directly on
our <a
href="https://matrix.to/#/#Updatecli_community:gitter.im">chat</a>!
        </p>
      </details>
    </td>
  </tr>
</table>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Victor Martinez <[email protected]>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 11, 2024
<Actions>
<action
id="ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215">
        <h3>deps: Bump ironbank version</h3>
<details
id="99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734">
            <summary>deps(ironbank): Bump ubi version to 9.4</summary>
<p>change detected:&#xA;&#x9;* key &elastic#34;$.args.BASE_TAG&elastic#34; updated
from &elastic#34;&elastic#39;9.4&elastic#39;&elastic#34; to &elastic#34;\&elastic#34;9.4\&elastic#34;&elastic#34;, in file
&elastic#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&elastic#34;</p>
        </details>
<a
href="https://github.com/elastic/kibana/actions/runs/11287176047">GitHub
Action workflow link</a>
    </action>
</Actions>

---

<table>
  <tr>
    <td width="77">
<img src="https://www.updatecli.io/images/updatecli.png" alt="Updatecli
logo" width="50" height="50">
    </td>
    <td>
      <p>
Created automatically by <a
href="https://www.updatecli.io/">Updatecli</a>
      </p>
      <details><summary>Options:</summary>
        <br />
<p>Most of Updatecli configuration is done via <a
href="https://www.updatecli.io/docs/prologue/quick-start/">its
manifest(s)</a>.</p>
        <ul>
<li>If you close this pull request, Updatecli will automatically reopen
it, the next time it runs.</li>
<li>If you close this pull request and delete the base branch, Updatecli
will automatically recreate it, erasing all previous commits made.</li>
        </ul>
        <p>
Feel free to report any issues at <a
href="https://github.com/updatecli/updatecli/issues">github.com/updatecli/updatecli</a>.<br
/>
If you find this tool useful, do not hesitate to star <a
href="https://github.com/updatecli/updatecli/stargazers">our GitHub
repository</a> as a sign of appreciation, and/or to tell us directly on
our <a
href="https://matrix.to/#/#Updatecli_community:gitter.im">chat</a>!
        </p>
      </details>
    </td>
  </tr>
</table>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Victor Martinez <[email protected]>
(cherry picked from commit 4ab5916)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 11, 2024
<Actions>
<action
id="ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215">
        <h3>deps: Bump ironbank version</h3>
<details
id="99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734">
            <summary>deps(ironbank): Bump ubi version to 9.4</summary>
<p>change detected:&#xA;&#x9;* key &elastic#34;$.args.BASE_TAG&elastic#34; updated
from &elastic#34;&elastic#39;9.4&elastic#39;&elastic#34; to &elastic#34;\&elastic#34;9.4\&elastic#34;&elastic#34;, in file
&elastic#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&elastic#34;</p>
        </details>
<a
href="https://github.com/elastic/kibana/actions/runs/11287176047">GitHub
Action workflow link</a>
    </action>
</Actions>

---

<table>
  <tr>
    <td width="77">
<img src="https://www.updatecli.io/images/updatecli.png" alt="Updatecli
logo" width="50" height="50">
    </td>
    <td>
      <p>
Created automatically by <a
href="https://www.updatecli.io/">Updatecli</a>
      </p>
      <details><summary>Options:</summary>
        <br />
<p>Most of Updatecli configuration is done via <a
href="https://www.updatecli.io/docs/prologue/quick-start/">its
manifest(s)</a>.</p>
        <ul>
<li>If you close this pull request, Updatecli will automatically reopen
it, the next time it runs.</li>
<li>If you close this pull request and delete the base branch, Updatecli
will automatically recreate it, erasing all previous commits made.</li>
        </ul>
        <p>
Feel free to report any issues at <a
href="https://github.com/updatecli/updatecli/issues">github.com/updatecli/updatecli</a>.<br
/>
If you find this tool useful, do not hesitate to star <a
href="https://github.com/updatecli/updatecli/stargazers">our GitHub
repository</a> as a sign of appreciation, and/or to tell us directly on
our <a
href="https://matrix.to/#/#Updatecli_community:gitter.im">chat</a>!
        </p>
      </details>
    </td>
  </tr>
</table>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Victor Martinez <[email protected]>
(cherry picked from commit 4ab5916)
kibanamachine added a commit that referenced this pull request Oct 11, 2024
# Backport

This will backport the following commits from `main` to `8.15`:
- [deps: Bump ironbank version to 9.4
(#195864)](#195864)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"github-actions[bot]","email":"41898282+github-actions[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-11T15:44:05Z","message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","dependencies","💝community","v9.0.0","backport:prev-major"],"title":"deps:
Bump ironbank version to
9.4","number":195864,"url":"https://github.com/elastic/kibana/pull/195864","mergeCommit":{"message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195864","number":195864,"mergeCommit":{"message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b"}}]}]
BACKPORT-->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Oct 11, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [deps: Bump ironbank version to 9.4
(#195864)](#195864)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"github-actions[bot]","email":"41898282+github-actions[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-11T15:44:05Z","message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","dependencies","💝community","v9.0.0","backport:prev-major"],"title":"deps:
Bump ironbank version to
9.4","number":195864,"url":"https://github.com/elastic/kibana/pull/195864","mergeCommit":{"message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195864","number":195864,"mergeCommit":{"message":"deps:
Bump ironbank version to 9.4
(#195864)\n\n<Actions>\r\n<action\r\nid=\"ad27da7f660d61c82c61599e0e6945827ced1590f4bf36a5f74db07e99c04215\">\r\n
<h3>deps: Bump ironbank
version</h3>\r\n<details\r\nid=\"99cabf4d5a2b44b2d93b4c18590b8ccd5df3002e8d9d506c038c9011e8e93734\">\r\n
<summary>deps(ironbank): Bump ubi version to 9.4</summary>\r\n<p>change
detected:&#xA;&#x9;* key &#34;$.args.BASE_TAG&#34; updated\r\nfrom
&#34;&#39;9.4&#39;&#34; to &#34;\\&#34;9.4\\&#34;&#34;, in
file\r\n&#34;src/dev/build/tasks/os_packages/docker_generator/templates/ironbank/hardening_manifest.yaml&#34;</p>\r\n
</details>\r\n<a\r\nhref=\"https://github.com/elastic/kibana/actions/runs/11287176047\">GitHub\r\nAction
workflow link</a>\r\n
</action>\r\n</Actions>\r\n\r\n---\r\n\r\n<table>\r\n <tr>\r\n <td
width=\"77\">\r\n<img
src=\"https://www.updatecli.io/images/updatecli.png\"
alt=\"Updatecli\r\nlogo\" width=\"50\" height=\"50\">\r\n </td>\r\n
<td>\r\n <p>\r\nCreated automatically by
<a\r\nhref=\"https://www.updatecli.io/\">Updatecli</a>\r\n </p>\r\n
<details><summary>Options:</summary>\r\n <br />\r\n<p>Most of Updatecli
configuration is done via
<a\r\nhref=\"https://www.updatecli.io/docs/prologue/quick-start/\">its\r\nmanifest(s)</a>.</p>\r\n
<ul>\r\n<li>If you close this pull request, Updatecli will automatically
reopen\r\nit, the next time it runs.</li>\r\n<li>If you close this pull
request and delete the base branch, Updatecli\r\nwill automatically
recreate it, erasing all previous commits made.</li>\r\n </ul>\r\n
<p>\r\nFeel free to report any issues at
<a\r\nhref=\"https://github.com/updatecli/updatecli/issues\">github.com/updatecli/updatecli</a>.<br\r\n/>\r\nIf
you find this tool useful, do not hesitate to star
<a\r\nhref=\"https://github.com/updatecli/updatecli/stargazers\">our
GitHub\r\nrepository</a> as a sign of appreciation, and/or to tell us
directly on\r\nour
<a\r\nhref=\"https://matrix.to/#/#Updatecli_community:gitter.im\">chat</a>!\r\n
</p>\r\n </details>\r\n </td>\r\n
</tr>\r\n</table>\r\n\r\nCo-authored-by: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>\r\nCo-authored-by:
Victor Martinez
<[email protected]>","sha":"4ab5916429f86a145a4842b6434193eafd00310b"}}]}]
BACKPORT-->

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
CAWilson94 added a commit that referenced this pull request Jan 19, 2026
## Summary

This PR solves the issue of the wrong number of users being displayed
for csv file upload.

Previously uploading 999 users resulted in a total of 989 users uploaded
and 10 users processed twice, and saving as not privileged:
Dev tools output (prior to bug fix): 
<img width="2348" height="808" alt="y as strsog&#39; false,"
src="https://github.com/user-attachments/assets/f0fe7750-a76b-4247-a596-3bc35e96ecc3"
/>

When processing 999 users only the final batch of 99 users were retained
in processed.users, causing the soft-delete step to treat the other 900
users as omitted and incorrectly remove their privileged status

**Desk Testing Steps:** 
1. Navigate to Entity analytics > Privileged user monitoring
2. Upload a CSV file with a file of 999 users in a space without
privileged users
3. This should now show the correct number of users in the upload modal,
the tiles and from dev tools using the below command, showing all
uploaded csv users as privileged:

```
GET .entity_analytics.monitoring.users-*/_search
{
  "size": 0,
  "aggs": {
    "by_priv": {
      "terms": {
        "field": "user.is_privileged"
      }
    }
  }
}
```

**Results:**


https://github.com/user-attachments/assets/b8f4f18c-c76a-4182-b294-df216ba67b2b

## Analysis and Cause: Code Explanation 🐛

#### TL;DR 🐞
Soft deletions were incorrect because upsert results were reset on each
batch, so only the final batch of users was excluded from the
soft-delete query. This caused earlier users to be treated as omitted.
The issue was partially masked by Elasticsearch’s default size = 10,
which limited how many omitted users were actually soft-deleted. Fixing
the accumulator and increasing the query size resolves the issue.

## Overall, there were two issues found: 

### 1. Accumulator reseting on each batch:

Inside the batch loop when upserting results, accumulator reset on every
iteration:

```
    for await (const batch of batches) {
      const usrs = await queryExistingUsers(esClient, index)(batch);
      const upserted = await bulkUpsertBatch(esClient, index, options)(usrs);
      results = accumulateUpsertResults(
        { users: [], errors: [], failed: 0, successful: 0 },
        upserted
      );
    }
    const softDeletedResults = await softDeleteOmittedUsers(esClient, index, options)(results);
```

As a result, processed.users passed into **softDeleteOmittedUsers** only
contained users from the final batch, not all users processed during the
run.

This meant that: 
- Earlier batches were upserted into the internal index, but 
- Only the final batch were excluded (or used) in the soft delete query
- Soft delete query saw only the last users as not previously processed

Soft delete query check: `must_not: { terms: { 'user.name':
processed.users } }`

Effectively - all users from earlier batches were treated as 'omitted'
and soft deleted.

Question here - why did we then have 989 users privileged and 10 not
privileged?

### 2. Size limit on the **softDeleteOmittedUsers** query was 10
- [The soft delete query used the default size of 10 - limiting matching
documents to 10.
](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#:~:text=the%20previous%20page.-,size%20NUMBER,Default%20value%20is%2010.,-slice%20OBJECT)
- Explains the behaviour where: 
    - 999 users were processed. 
    - Only 10 users were soft deleted (set to not privileged). 

```
// No size specified, defaults to 10
export const softDeleteOmittedUsers =
  (esClient: ElasticsearchClient, index: string, { flushBytes, retries }: Options) =>
  async (processed: BulkProcessingResults) => {
    const res = await esClient.helpers.search<MonitoredUserDoc>({
      index,
      query: {
        bool: {
          must: [{ term: { 'user.is_privileged': true } }, { term: { 'labels.sources': 'csv' } }],
          must_not: [{ terms: { 'user.name': processed.users.map((u) => u.username) } }],
        },
      },
    });
```
Setting size = processed.users.length does not fix this, because the
number of omitted users can be much larger than the number of processed
users.

**Example: If batch size is 10 instead of 100 (see batchPartitions on
csv_upload)**
	•	22 users processed in batches of 10 / 10 / 2
	•	only the final 2 users are retained in processed.users
	•	soft-delete excludes those 2 users
	•	remaining 20 users are eligible for soft deletion
If size is too small, only a subset of those 20 are actually updated; if
large enough, all 20 are.
### Fix: ###

The fix was to accumulate results across batches and increase the soft
delete query size to cover expected scale.

1. `results = accumulateUpsertResults(results, upserted);`
2. Use a larger size to return omitted users - scale expected is in the
100's so this may even be a bit too big. (50,000)

---------

Co-authored-by: kibanamachine <[email protected]>
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jan 19, 2026
## Summary

This PR solves the issue of the wrong number of users being displayed
for csv file upload.

Previously uploading 999 users resulted in a total of 989 users uploaded
and 10 users processed twice, and saving as not privileged:
Dev tools output (prior to bug fix):
<img width="2348" height="808" alt="y as strsog&elastic#39; false,"
src="https://github.com/user-attachments/assets/f0fe7750-a76b-4247-a596-3bc35e96ecc3"
/>

When processing 999 users only the final batch of 99 users were retained
in processed.users, causing the soft-delete step to treat the other 900
users as omitted and incorrectly remove their privileged status

**Desk Testing Steps:**
1. Navigate to Entity analytics > Privileged user monitoring
2. Upload a CSV file with a file of 999 users in a space without
privileged users
3. This should now show the correct number of users in the upload modal,
the tiles and from dev tools using the below command, showing all
uploaded csv users as privileged:

```
GET .entity_analytics.monitoring.users-*/_search
{
  "size": 0,
  "aggs": {
    "by_priv": {
      "terms": {
        "field": "user.is_privileged"
      }
    }
  }
}
```

**Results:**

https://github.com/user-attachments/assets/b8f4f18c-c76a-4182-b294-df216ba67b2b

## Analysis and Cause: Code Explanation 🐛

#### TL;DR 🐞
Soft deletions were incorrect because upsert results were reset on each
batch, so only the final batch of users was excluded from the
soft-delete query. This caused earlier users to be treated as omitted.
The issue was partially masked by Elasticsearch’s default size = 10,
which limited how many omitted users were actually soft-deleted. Fixing
the accumulator and increasing the query size resolves the issue.

## Overall, there were two issues found:

### 1. Accumulator reseting on each batch:

Inside the batch loop when upserting results, accumulator reset on every
iteration:

```
    for await (const batch of batches) {
      const usrs = await queryExistingUsers(esClient, index)(batch);
      const upserted = await bulkUpsertBatch(esClient, index, options)(usrs);
      results = accumulateUpsertResults(
        { users: [], errors: [], failed: 0, successful: 0 },
        upserted
      );
    }
    const softDeletedResults = await softDeleteOmittedUsers(esClient, index, options)(results);
```

As a result, processed.users passed into **softDeleteOmittedUsers** only
contained users from the final batch, not all users processed during the
run.

This meant that:
- Earlier batches were upserted into the internal index, but
- Only the final batch were excluded (or used) in the soft delete query
- Soft delete query saw only the last users as not previously processed

Soft delete query check: `must_not: { terms: { 'user.name':
processed.users } }`

Effectively - all users from earlier batches were treated as 'omitted'
and soft deleted.

Question here - why did we then have 989 users privileged and 10 not
privileged?

### 2. Size limit on the **softDeleteOmittedUsers** query was 10
- [The soft delete query used the default size of 10 - limiting matching
documents to 10.
](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#:~:text=the%20previous%20page.-,size%20NUMBER,Default%20value%20is%2010.,-slice%20OBJECT)
- Explains the behaviour where:
    - 999 users were processed.
    - Only 10 users were soft deleted (set to not privileged).

```
// No size specified, defaults to 10
export const softDeleteOmittedUsers =
  (esClient: ElasticsearchClient, index: string, { flushBytes, retries }: Options) =>
  async (processed: BulkProcessingResults) => {
    const res = await esClient.helpers.search<MonitoredUserDoc>({
      index,
      query: {
        bool: {
          must: [{ term: { 'user.is_privileged': true } }, { term: { 'labels.sources': 'csv' } }],
          must_not: [{ terms: { 'user.name': processed.users.map((u) => u.username) } }],
        },
      },
    });
```
Setting size = processed.users.length does not fix this, because the
number of omitted users can be much larger than the number of processed
users.

**Example: If batch size is 10 instead of 100 (see batchPartitions on
csv_upload)**
	•	22 users processed in batches of 10 / 10 / 2
	•	only the final 2 users are retained in processed.users
	•	soft-delete excludes those 2 users
	•	remaining 20 users are eligible for soft deletion
If size is too small, only a subset of those 20 are actually updated; if
large enough, all 20 are.
### Fix: ###

The fix was to accumulate results across batches and increase the soft
delete query size to cover expected scale.

1. `results = accumulateUpsertResults(results, upserted);`
2. Use a larger size to return omitted users - scale expected is in the
100's so this may even be a bit too big. (50,000)

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 8327900)
kibanamachine added a commit that referenced this pull request Jan 19, 2026
…249555)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[PrivMon] [Bug] Wrong Number Users Displayed CSV Bug
(#249032)](#249032)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Charlotte Alexandra
Wilson","email":"[email protected]"},"sourceCommit":{"committedDate":"2026-01-19T12:37:33Z","message":"[PrivMon]
[Bug] Wrong Number Users Displayed CSV Bug (#249032)\n\n##
Summary\n\nThis PR solves the issue of the wrong number of users being
displayed\nfor csv file upload.\n\nPreviously uploading 999 users
resulted in a total of 989 users uploaded\nand 10 users processed twice,
and saving as not privileged:\nDev tools output (prior to bug fix):
\n<img width=\"2348\" height=\"808\" alt=\"y as strsog&#39;
false,\"\nsrc=\"https://github.com/user-attachments/assets/f0fe7750-a76b-4247-a596-3bc35e96ecc3\"\n/>\n\nWhen
processing 999 users only the final batch of 99 users were retained\nin
processed.users, causing the soft-delete step to treat the other
900\nusers as omitted and incorrectly remove their privileged
status\n\n**Desk Testing Steps:** \n1. Navigate to Entity analytics >
Privileged user monitoring\n2. Upload a CSV file with a file of 999
users in a space without\nprivileged users\n3. This should now show the
correct number of users in the upload modal,\nthe tiles and from dev
tools using the below command, showing all\nuploaded csv users as
privileged:\n\n```\nGET
.entity_analytics.monitoring.users-*/_search\n{\n \"size\": 0,\n
\"aggs\": {\n \"by_priv\": {\n \"terms\": {\n \"field\":
\"user.is_privileged\"\n }\n }\n
}\n}\n```\n\n**Results:**\n\n\nhttps://github.com/user-attachments/assets/b8f4f18c-c76a-4182-b294-df216ba67b2b\n\n##
Analysis and Cause: Code Explanation 🐛\n\n#### TL;DR 🐞\nSoft deletions
were incorrect because upsert results were reset on each\nbatch, so only
the final batch of users was excluded from the\nsoft-delete query. This
caused earlier users to be treated as omitted.\nThe issue was partially
masked by Elasticsearch’s default size = 10,\nwhich limited how many
omitted users were actually soft-deleted. Fixing\nthe accumulator and
increasing the query size resolves the issue.\n\n## Overall, there were
two issues found: \n\n### 1. Accumulator reseting on each
batch:\n\nInside the batch loop when upserting results, accumulator
reset on every\niteration:\n\n```\n for await (const batch of batches)
{\n const usrs = await queryExistingUsers(esClient, index)(batch);\n
const upserted = await bulkUpsertBatch(esClient, index,
options)(usrs);\n results = accumulateUpsertResults(\n { users: [],
errors: [], failed: 0, successful: 0 },\n upserted\n );\n }\n const
softDeletedResults = await softDeleteOmittedUsers(esClient, index,
options)(results);\n```\n\nAs a result, processed.users passed into
**softDeleteOmittedUsers** only\ncontained users from the final batch,
not all users processed during the\nrun.\n\nThis meant that: \n- Earlier
batches were upserted into the internal index, but \n- Only the final
batch were excluded (or used) in the soft delete query\n- Soft delete
query saw only the last users as not previously processed\n\nSoft delete
query check: `must_not: { terms: { 'user.name':\nprocessed.users }
}`\n\nEffectively - all users from earlier batches were treated as
'omitted'\nand soft deleted.\n\nQuestion here - why did we then have 989
users privileged and 10 not\nprivileged?\n\n### 2. Size limit on the
**softDeleteOmittedUsers** query was 10\n- [The soft delete query used
the default size of 10 - limiting matching\ndocuments to
10.\n](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#:~:text=the%20previous%20page.-,size%20NUMBER,Default%20value%20is%2010.,-slice%20OBJECT)\n-
Explains the behaviour where: \n - 999 users were processed. \n - Only
10 users were soft deleted (set to not privileged). \n\n```\n// No size
specified, defaults to 10\nexport const softDeleteOmittedUsers =\n
(esClient: ElasticsearchClient, index: string, { flushBytes, retries }:
Options) =>\n async (processed: BulkProcessingResults) => {\n const res
= await esClient.helpers.search<MonitoredUserDoc>({\n index,\n query:
{\n bool: {\n must: [{ term: { 'user.is_privileged': true } }, { term: {
'labels.sources': 'csv' } }],\n must_not: [{ terms: { 'user.name':
processed.users.map((u) => u.username) } }],\n },\n },\n
});\n```\nSetting size = processed.users.length does not fix this,
because the\nnumber of omitted users can be much larger than the number
of processed\nusers.\n\n**Example: If batch size is 10 instead of 100
(see batchPartitions on\ncsv_upload)**\n\t•\t22 users processed in
batches of 10 / 10 / 2\n\t•\tonly the final 2 users are retained in
processed.users\n\t•\tsoft-delete excludes those 2 users\n\t•\tremaining
20 users are eligible for soft deletion\nIf size is too small, only a
subset of those 20 are actually updated; if\nlarge enough, all 20
are.\n### Fix: ###\n\nThe fix was to accumulate results across batches
and increase the soft\ndelete query size to cover expected scale.\n\n1.
`results = accumulateUpsertResults(results, upserted);`\n2. Use a larger
size to return omitted users - scale expected is in the\n100's so this
may even be a bit too big. (50,000)\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"8327900f7378dbb1e6261b69b9fcf3b4a898f5cb","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Entity
Analytics","backport:version","v9.3.0","v9.4.0"],"title":"[PrivMon]
[Bug] Wrong Number Users Displayed CSV
Bug","number":249032,"url":"https://github.com/elastic/kibana/pull/249032","mergeCommit":{"message":"[PrivMon]
[Bug] Wrong Number Users Displayed CSV Bug (#249032)\n\n##
Summary\n\nThis PR solves the issue of the wrong number of users being
displayed\nfor csv file upload.\n\nPreviously uploading 999 users
resulted in a total of 989 users uploaded\nand 10 users processed twice,
and saving as not privileged:\nDev tools output (prior to bug fix):
\n<img width=\"2348\" height=\"808\" alt=\"y as strsog&#39;
false,\"\nsrc=\"https://github.com/user-attachments/assets/f0fe7750-a76b-4247-a596-3bc35e96ecc3\"\n/>\n\nWhen
processing 999 users only the final batch of 99 users were retained\nin
processed.users, causing the soft-delete step to treat the other
900\nusers as omitted and incorrectly remove their privileged
status\n\n**Desk Testing Steps:** \n1. Navigate to Entity analytics >
Privileged user monitoring\n2. Upload a CSV file with a file of 999
users in a space without\nprivileged users\n3. This should now show the
correct number of users in the upload modal,\nthe tiles and from dev
tools using the below command, showing all\nuploaded csv users as
privileged:\n\n```\nGET
.entity_analytics.monitoring.users-*/_search\n{\n \"size\": 0,\n
\"aggs\": {\n \"by_priv\": {\n \"terms\": {\n \"field\":
\"user.is_privileged\"\n }\n }\n
}\n}\n```\n\n**Results:**\n\n\nhttps://github.com/user-attachments/assets/b8f4f18c-c76a-4182-b294-df216ba67b2b\n\n##
Analysis and Cause: Code Explanation 🐛\n\n#### TL;DR 🐞\nSoft deletions
were incorrect because upsert results were reset on each\nbatch, so only
the final batch of users was excluded from the\nsoft-delete query. This
caused earlier users to be treated as omitted.\nThe issue was partially
masked by Elasticsearch’s default size = 10,\nwhich limited how many
omitted users were actually soft-deleted. Fixing\nthe accumulator and
increasing the query size resolves the issue.\n\n## Overall, there were
two issues found: \n\n### 1. Accumulator reseting on each
batch:\n\nInside the batch loop when upserting results, accumulator
reset on every\niteration:\n\n```\n for await (const batch of batches)
{\n const usrs = await queryExistingUsers(esClient, index)(batch);\n
const upserted = await bulkUpsertBatch(esClient, index,
options)(usrs);\n results = accumulateUpsertResults(\n { users: [],
errors: [], failed: 0, successful: 0 },\n upserted\n );\n }\n const
softDeletedResults = await softDeleteOmittedUsers(esClient, index,
options)(results);\n```\n\nAs a result, processed.users passed into
**softDeleteOmittedUsers** only\ncontained users from the final batch,
not all users processed during the\nrun.\n\nThis meant that: \n- Earlier
batches were upserted into the internal index, but \n- Only the final
batch were excluded (or used) in the soft delete query\n- Soft delete
query saw only the last users as not previously processed\n\nSoft delete
query check: `must_not: { terms: { 'user.name':\nprocessed.users }
}`\n\nEffectively - all users from earlier batches were treated as
'omitted'\nand soft deleted.\n\nQuestion here - why did we then have 989
users privileged and 10 not\nprivileged?\n\n### 2. Size limit on the
**softDeleteOmittedUsers** query was 10\n- [The soft delete query used
the default size of 10 - limiting matching\ndocuments to
10.\n](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#:~:text=the%20previous%20page.-,size%20NUMBER,Default%20value%20is%2010.,-slice%20OBJECT)\n-
Explains the behaviour where: \n - 999 users were processed. \n - Only
10 users were soft deleted (set to not privileged). \n\n```\n// No size
specified, defaults to 10\nexport const softDeleteOmittedUsers =\n
(esClient: ElasticsearchClient, index: string, { flushBytes, retries }:
Options) =>\n async (processed: BulkProcessingResults) => {\n const res
= await esClient.helpers.search<MonitoredUserDoc>({\n index,\n query:
{\n bool: {\n must: [{ term: { 'user.is_privileged': true } }, { term: {
'labels.sources': 'csv' } }],\n must_not: [{ terms: { 'user.name':
processed.users.map((u) => u.username) } }],\n },\n },\n
});\n```\nSetting size = processed.users.length does not fix this,
because the\nnumber of omitted users can be much larger than the number
of processed\nusers.\n\n**Example: If batch size is 10 instead of 100
(see batchPartitions on\ncsv_upload)**\n\t•\t22 users processed in
batches of 10 / 10 / 2\n\t•\tonly the final 2 users are retained in
processed.users\n\t•\tsoft-delete excludes those 2 users\n\t•\tremaining
20 users are eligible for soft deletion\nIf size is too small, only a
subset of those 20 are actually updated; if\nlarge enough, all 20
are.\n### Fix: ###\n\nThe fix was to accumulate results across batches
and increase the soft\ndelete query size to cover expected scale.\n\n1.
`results = accumulateUpsertResults(results, upserted);`\n2. Use a larger
size to return omitted users - scale expected is in the\n100's so this
may even be a bit too big. (50,000)\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"8327900f7378dbb1e6261b69b9fcf3b4a898f5cb"}},"sourceBranch":"main","suggestedTargetBranches":["9.3"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/249032","number":249032,"mergeCommit":{"message":"[PrivMon]
[Bug] Wrong Number Users Displayed CSV Bug (#249032)\n\n##
Summary\n\nThis PR solves the issue of the wrong number of users being
displayed\nfor csv file upload.\n\nPreviously uploading 999 users
resulted in a total of 989 users uploaded\nand 10 users processed twice,
and saving as not privileged:\nDev tools output (prior to bug fix):
\n<img width=\"2348\" height=\"808\" alt=\"y as strsog&#39;
false,\"\nsrc=\"https://github.com/user-attachments/assets/f0fe7750-a76b-4247-a596-3bc35e96ecc3\"\n/>\n\nWhen
processing 999 users only the final batch of 99 users were retained\nin
processed.users, causing the soft-delete step to treat the other
900\nusers as omitted and incorrectly remove their privileged
status\n\n**Desk Testing Steps:** \n1. Navigate to Entity analytics >
Privileged user monitoring\n2. Upload a CSV file with a file of 999
users in a space without\nprivileged users\n3. This should now show the
correct number of users in the upload modal,\nthe tiles and from dev
tools using the below command, showing all\nuploaded csv users as
privileged:\n\n```\nGET
.entity_analytics.monitoring.users-*/_search\n{\n \"size\": 0,\n
\"aggs\": {\n \"by_priv\": {\n \"terms\": {\n \"field\":
\"user.is_privileged\"\n }\n }\n
}\n}\n```\n\n**Results:**\n\n\nhttps://github.com/user-attachments/assets/b8f4f18c-c76a-4182-b294-df216ba67b2b\n\n##
Analysis and Cause: Code Explanation 🐛\n\n#### TL;DR 🐞\nSoft deletions
were incorrect because upsert results were reset on each\nbatch, so only
the final batch of users was excluded from the\nsoft-delete query. This
caused earlier users to be treated as omitted.\nThe issue was partially
masked by Elasticsearch’s default size = 10,\nwhich limited how many
omitted users were actually soft-deleted. Fixing\nthe accumulator and
increasing the query size resolves the issue.\n\n## Overall, there were
two issues found: \n\n### 1. Accumulator reseting on each
batch:\n\nInside the batch loop when upserting results, accumulator
reset on every\niteration:\n\n```\n for await (const batch of batches)
{\n const usrs = await queryExistingUsers(esClient, index)(batch);\n
const upserted = await bulkUpsertBatch(esClient, index,
options)(usrs);\n results = accumulateUpsertResults(\n { users: [],
errors: [], failed: 0, successful: 0 },\n upserted\n );\n }\n const
softDeletedResults = await softDeleteOmittedUsers(esClient, index,
options)(results);\n```\n\nAs a result, processed.users passed into
**softDeleteOmittedUsers** only\ncontained users from the final batch,
not all users processed during the\nrun.\n\nThis meant that: \n- Earlier
batches were upserted into the internal index, but \n- Only the final
batch were excluded (or used) in the soft delete query\n- Soft delete
query saw only the last users as not previously processed\n\nSoft delete
query check: `must_not: { terms: { 'user.name':\nprocessed.users }
}`\n\nEffectively - all users from earlier batches were treated as
'omitted'\nand soft deleted.\n\nQuestion here - why did we then have 989
users privileged and 10 not\nprivileged?\n\n### 2. Size limit on the
**softDeleteOmittedUsers** query was 10\n- [The soft delete query used
the default size of 10 - limiting matching\ndocuments to
10.\n](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#:~:text=the%20previous%20page.-,size%20NUMBER,Default%20value%20is%2010.,-slice%20OBJECT)\n-
Explains the behaviour where: \n - 999 users were processed. \n - Only
10 users were soft deleted (set to not privileged). \n\n```\n// No size
specified, defaults to 10\nexport const softDeleteOmittedUsers =\n
(esClient: ElasticsearchClient, index: string, { flushBytes, retries }:
Options) =>\n async (processed: BulkProcessingResults) => {\n const res
= await esClient.helpers.search<MonitoredUserDoc>({\n index,\n query:
{\n bool: {\n must: [{ term: { 'user.is_privileged': true } }, { term: {
'labels.sources': 'csv' } }],\n must_not: [{ terms: { 'user.name':
processed.users.map((u) => u.username) } }],\n },\n },\n
});\n```\nSetting size = processed.users.length does not fix this,
because the\nnumber of omitted users can be much larger than the number
of processed\nusers.\n\n**Example: If batch size is 10 instead of 100
(see batchPartitions on\ncsv_upload)**\n\t•\t22 users processed in
batches of 10 / 10 / 2\n\t•\tonly the final 2 users are retained in
processed.users\n\t•\tsoft-delete excludes those 2 users\n\t•\tremaining
20 users are eligible for soft deletion\nIf size is too small, only a
subset of those 20 are actually updated; if\nlarge enough, all 20
are.\n### Fix: ###\n\nThe fix was to accumulate results across batches
and increase the soft\ndelete query size to cover expected scale.\n\n1.
`results = accumulateUpsertResults(results, upserted);`\n2. Use a larger
size to return omitted users - scale expected is in the\n100's so this
may even be a bit too big. (50,000)\n\n---------\n\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"8327900f7378dbb1e6261b69b9fcf3b4a898f5cb"}}]}]
BACKPORT-->

Co-authored-by: Charlotte Alexandra Wilson <[email protected]>
dennis-tismenko added a commit that referenced this pull request Jun 1, 2026
)

## Summary

Adds the Cloud serverless project ID to the UIAM `createOAuthClient`
payload, which UIAM now requires. The `POST
/internal/security/oauth/clients` route derives `project_id` server-side
from `cloud.serverless.projectId`.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
dennis-tismenko added a commit that referenced this pull request Jun 4, 2026
)

## Summary

Adds human-in-the-loop (HITL) authorization prompts to the
`executeConnectorSubAction` platform tool and introduces EARS as a
supported auth method. When a connector subaction fails with a
`ConnectorAuthorizationError`, the tool now raises an authorization
prompt so the user can complete the auth flow, instead of returning a
plain error to the agent.

Includes a bugfix for v2 connector icons not resolving when using the
`ConnectorTypeIcon` component.

### Demo


https://github.com/user-attachments/assets/436c9310-0ecc-421f-9560-e45ab4a9f6e1

_Minor correction from the demo: Sonnet attempts to correct its
understanding of what the current date is, but still gets it wrong.
Regardless, the connector returns the correct schedules for each date I
requested._

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
dennis-tismenko added a commit that referenced this pull request Jun 19, 2026
## Summary

Minor UX updates to the Application connections page:
- Moves the "Manage MCP clients" action from an inline description link
into a header button
- Replaces the page description with a callout
- Updates the empty-state copy to "No application connections" / "Get
started by creating MCP clients (OAuth)."

### Demo
<img width="1778" height="979" alt="Screenshot 2026-06-04 at 10 25 28"
src="https://github.com/user-attachments/assets/6bab98bf-0b6c-4677-a733-9a1c40fbec33"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
flash1293 pushed a commit to flash1293/kibana that referenced this pull request Jun 23, 2026
## Summary

Minor UX updates to the Application connections page:
- Moves the "Manage MCP clients" action from an inline description link
into a header button
- Replaces the page description with a callout
- Updates the empty-state copy to "No application connections" / "Get
started by creating MCP clients (OAuth)."

### Demo
<img width="1778" height="979" alt="Screenshot 2026-06-04 at 10 25 28"
src="https://github.com/user-attachments/assets/6bab98bf-0b6c-4677-a733-9a1c40fbec33"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
dennis-tismenko added a commit that referenced this pull request Jul 22, 2026
…t user (#279972)

## Summary

Surfaces OAuth connections whose client is not owned by the current user
as their own rows on the Application Connections page.

Previously, the table only listed connections grouped under clients the
current user owns, so connections on MCP clients created by other users
were hidden. Revoke and edit will also function as intended once the
corresponding UIAM change is deployed.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
denar50 pushed a commit to denar50/kibana that referenced this pull request Jul 23, 2026
## Summary

The Context Engine app was reachable via global search in serverless
Search but missing from the side navigation. Classic (hosted)
auto-populates the side nav from apps declaring `classicSideNav`, but
serverless renders an explicit navigation tree, so the app has to be
added there. This PR adds a Context Engine entry to the serverless
Search side nav.

> [!NOTE]
> The menu icon (`sparkles`) is temporary and should be replaced with
the final Context Engine icon.

To type the nav `link`, a small `@kbn/deeplinks-context-engine` package
was added and wired into the `AppDeepLinkId` union. The entry auto-hides
when the app is disabled (feature flag + advanced setting), so no extra
gating is needed.

### Visuals

<img width="293" alt="Context Engine in serverless Search side nav"
src="https://github.com/user-attachments/assets/dbd00ece-ca7a-4805-92b3-4378233399c0"/>

### How to test

1. Start Kibana in serverless Search mode.
2. Enable the Context Engine feature flag and advanced setting.
```
uiSettings.overrides:
  contextEngine:enabled: true
  
feature_flags.overrides:
  contextEngine.enabled: true
```
3. Confirm **Context** appears in the left side navigation and opens
`/app/context_engine`.

### Checklist

- [ ] Any text added follows [EUI&elastic#39;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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- Low risk: navigation-only change, scoped to serverless Search. The
entry is hidden unless the Context Engine feature flag and advanced
setting are enabled.

---------

Co-authored-by: kibanamachine <[email protected]>
dennis-tismenko added a commit that referenced this pull request Jul 23, 2026
…review labels (#279976)

## Summary

Promotes OAuth client management (UIAM) out of technical preview by
removing the `agentBuilder:uiamOAuthClientManagement` advanced setting
and the tech preview labels from the associated UIs. The feature is now
gated solely by UIAM enablement. Changes include:

- Removed the `agentBuilder:uiamOAuthClientManagement` advanced setting
entirely, including its registration, telemetry schema and types, and
its inclusion in the observability, search, vectordb, and security
serverless project settings.
- Dropped the server-side gate on all OAuth client and connection
endpoints, so create, read, list, update, and revoke now depend only on
UIAM being configured instead of the removed setting.
- Removed the "Technical preview" badges and their i18n strings from the
Agent Builder MCP clients page and the Security application connections
page.
- Simplified client-side routing and management-app enablement to key
off UIAM alone, removing the now-unused feature flag, route flag, and
supporting hook.

I also bundled in a small copy change after creating a confidential MCP
client: "Here's your confidential MCP client. We won't show it again,
make sure to copy or download it now." → "Here's your confidential MCP
client secret. We won't show it again, make sure to copy or download it
now.". This reads clearer to me.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
dennis-tismenko added a commit that referenced this pull request Jul 24, 2026
…ion (#280585)

## Summary

Passes the serverless project type through to UIAM when creating an
OAuth client, so UIAM can associate the client with the correct project
type in addition to the project id.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
dennis-tismenko added a commit that referenced this pull request Jul 24, 2026
## Summary

Moves the UIAM OAuth feature out of technical preview. This re-applies
the gating and tech-preview removals from #279976, which was reverted in
#280738 because it also un-registered the
`agentBuilder:uiamOAuthClientManagement` UI setting while
`serverless-gitops` still injected that value, breaking the serverless
telemetry snapshot test (#280659).

This PR keeps the setting intact and only removes the feature gating and
the tech-preview labels. Un-registering the setting and cleaning up
persisted values via a `data_removal` migration is deferred to after
this PR and the corresponding `serverless-gitops` change is deployed to
production.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
dennis-tismenko added a commit that referenced this pull request Jul 29, 2026
## Summary

Adds `@kbn/agent-builder-skill-loader` as a shared server package that
reads an Agent Builder skill from a directory and produces a validated
`SkillDefinition`. This is the groundwork for defining skills as
markdown instead of TypeScript, so they can eventually be synced in from
`elastic/agent-skills`. Changes include:

- `loadSkillFromDirectory(absoluteDir, basePath, { logger })` requires a
top-level `SKILL.md`, maps its YAML frontmatter (`name`, `description`,
optional `id` defaulting to `name`, optional `experimental`) onto the
definition, and validates the result against `skillDefinitionSchema`.
- Frontmatter keys with no `SkillDefinition` equivalent are ignored
rather than rejected. Upstream skills may carry `metadata`,
`compatibility`, and Claude Code slash-command fields (`allowed-tools`,
`disable-model-invocation`, `argument-hint`).
- Every other `.md` file in the directory becomes referenced content,
named after the file, with `relativePath` derived from its position in
the tree (`.`, `./queries`, `./queries/esql`). Non-markdown files are
skipped and logged at debug.
- Relaxes `referencedContentSchema.relativePath` in
`@kbn/agent-builder-server` from a single segment to arbitrary nesting,
still rejecting `../`, and exports `skillDefinitionSchema` and
`DirectoryPath`.
- Reference filenames and directory segments must match
`/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/`, stricter than
`referencedContentSchema.name` so derived names are also valid skill
names. A root-level `SKILL.md` is reserved. Invalid names,
missing/malformed frontmatter, and schema violations all throw an
`Error`.
- `parseSkillFile` in the `agent_builder` plugin now uses this package's
exported `splitFrontmatter` instead of its own regex and `js-yaml`.

__Out of scope:__
- Syncing universal `elastic/agent-skills` to Kibana
- Converting the existing TypeScript skills to markdown (if needed)
- Non-Markdown text content (e.g. JSON, YAML).

### Testing

Ran a sanity check by copying the `kibana-agent-builder` skill from
`elastic/agent-skills` to a temporary directory in Kibana and then
loading it with `loadSkillFromDirectory`.

<img width="2560" height="1317" alt="Screenshot 2026-07-27 at 13 34 57"
src="https://github.com/user-attachments/assets/f06f1562-963a-4e03-b69f-88d12492e690"/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
machadoum added a commit that referenced this pull request Jul 30, 2026
## Summary

Three things, all in the `context_engine` plugin:

1. **Connectors as AI index sources.** An AI index source can now be an
action connector (Google Drive, GitHub, Notion, …) instead of only an
ES|QL query, end to end: API type, route validation, and a tabbed source
picker.
2. **UI for managed AI indexes.** The `managed` flag already existed on
the API; the UI now surfaces it — a lock badge, read-only panels, and an
owner filter.
3. **Landing page list rework.** The flat card grid becomes a
searchable, filterable, paginated list.

### Architecture

**Connector sources store the connector id, not its name.**
`AiIndexSourceType` gains `'connector'`, and a connector source persists
the connector id as its `value`. The human-readable name is resolved at
render time from the space's connector list (`useDataConnectors` →
`connectorNameById`), so renaming a connector in Stack Management does
not leave a stale label on the AI index. When the name cannot be
resolved the row falls back to the id rather than rendering blank.

**Server-side validation of connector sources, fail-closed.**
`validateConnectorSources` runs on `POST` and `PUT` *before* the write.
It resolves the ids through a **request-scoped** actions client
(`getActionsClientWithRequest`), so a caller cannot attach a connector
they have no privilege to read. Unknown ids and connectors whose type is
not on the data-connector allowlist are rejected with a 400. Lookup
failures collapse into a single generic message so the endpoint does not
become a connector-existence oracle.

The managed registration path (`registry.startupRegister` →
`aiIndexService.putManaged`) deliberately **skips** this validation:
there is no request to scope an actions client to, and those
registrations come from trusted plugins at startup.

**One allowlist, shared by browser and server.**
`common/data_connectors.ts` owns `DATA_CONNECTOR_TYPE_IDS`. Both the
picker's filter and the server's validation read it, so the two cannot
drift. ⚠️ **This list is hard-coded and needs team review** — see the
inline TODO. I could not find any property on a connector that marks it
as a data-retrieval connector, so ideally this would be derived
dynamically instead of maintained by hand every time a connector ships.
It is also important to highlight that we don't do any auth/config
validation on connectors, so they could fail at runtime.

### API and contracts

- `POST /api/context_engine/ai_index` and `PUT
/api/context_engine/ai_index/{aiIndexId}`: `sources[]` is now a
`schema.oneOf` of `{ type: 'esql' }` and `{ type: 'connector' }`. A
connector `value` requires `minLength: 1`.
- Both write routes gain a **400** when a connector source cannot be
resolved or is not an allowlisted data connector.
- **Not breaking.** The change is additive — existing ES|QL-only
payloads validate exactly as before, and no response shape changed.
- `contextEngine` now depends on the `actions` plugin
(`requiredPlugins`, plus `actions` in `requiredBundles` for the
browser).
- No config keys, no saved object mapping changes.

### Visuals

<img width="1156" height="711" alt="Screenshot 2026-07-29 at 09 56 04"
src="https://github.com/user-attachments/assets/461256f9-8076-403f-9429-9f968b9293d7"
/>
<img width="1156" height="444" alt="Screenshot 2026-07-29 at 09 56 29"
src="https://github.com/user-attachments/assets/70140f68-12aa-42f8-a05d-fbdcd25cd336"
/>

### How to test

Prerequisites: enable the context engine UI setting, and create a few
data connectors in Stack Management (e.g. Google Drive and GitHub) plus
one non-data connector (e.g. Slack) to test rejection.

1. **Connector sources.** Create an AI index, open the **Connectors**
tab in the source picker, select a couple of connectors, save. Reopen
the detail page — the source rows should show connector *names*, not
ids.
2. **Name resolution.** Rename one of those connectors in Stack
Management, reload the detail page. The new name should appear without
touching the AI index.
3. **Lazy fetching.** With the picker on the **ES|QL** tab and no
connector sources selected, confirm no request goes out to
`/api/actions/connectors`. Switching to the Connectors tab should
trigger it.
4. **Rejection.** `PUT` an AI index with a `connector` source pointing
at the Slack connector id, then at a random id. Both should return 400
and leave the AI index unchanged.
5. **Managed AI indexes.** Register a managed AI index. The detail page
should show the **Managed** lock badge with no edit affordances on any
panel, and the list's **Owner → Managed** filter should find it.
6. **List behaviour.** With more than 12 AI indexes, check pagination;
search by id, description and destination value; combine the type and
owner filters; confirm the "no matches" state offers **Clear filters**.
7. **Connector error state.** Break the connectors request (e.g. remove
actions privileges for the user). The Connectors tab should show the
"Unable to load connectors" prompt rather than an empty list.


### Compromises

- **Hard dependency on the `actions` plugin.** `contextEngine` now lists
`actions` in `requiredPlugins`, so it will not start with
`xpack.actions.enabled: false`. _Severity: low_ — `actions` is enabled
in all standard distributions and several platform plugins already
hard-depend on it. Mitigation if this turns out to matter: move it to
`optionalPlugins` and reject connector sources outright when the
contract is absent, which keeps the validation fail-closed.
- **The data-connector allowlist is maintained by hand.** A newly
shipped data connector will silently not appear in the picker, and would
be rejected by the server if attached directly through the API.
_Severity: low–medium_ — mitigation is the TODO in
`common/data_connectors.ts` to derive the list dynamically; keeping the
allowlist in `common/` at least guarantees the UI and the API agree on
what is allowed.
- **Client-side search, filter and pagination.** The landing page holds
every AI index in memory. If `MAX_AI_INDICES` grows substantially this
becomes heavy and would need a server-side list API. _Severity: low_ at
the current cap.
- **Connector names depend on read access to the actions API.** A user
who can read AI indexes but not connectors sees raw connector ids in the
detail panel instead of names. _Severity: low_ — degrades gracefully
rather than erroring.
- No connector auth validation. We could add a connector that will fail
when the agent tries to run it.


### Checklist

- [x] Any text added follows [EUI&#39;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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
mdefazio pushed a commit to mdefazio/kibana that referenced this pull request Aug 3, 2026
## Summary

Adds `@kbn/agent-builder-skill-loader` as a shared server package that
reads an Agent Builder skill from a directory and produces a validated
`SkillDefinition`. This is the groundwork for defining skills as
markdown instead of TypeScript, so they can eventually be synced in from
`elastic/agent-skills`. Changes include:

- `loadSkillFromDirectory(absoluteDir, basePath, { logger })` requires a
top-level `SKILL.md`, maps its YAML frontmatter (`name`, `description`,
optional `id` defaulting to `name`, optional `experimental`) onto the
definition, and validates the result against `skillDefinitionSchema`.
- Frontmatter keys with no `SkillDefinition` equivalent are ignored
rather than rejected. Upstream skills may carry `metadata`,
`compatibility`, and Claude Code slash-command fields (`allowed-tools`,
`disable-model-invocation`, `argument-hint`).
- Every other `.md` file in the directory becomes referenced content,
named after the file, with `relativePath` derived from its position in
the tree (`.`, `./queries`, `./queries/esql`). Non-markdown files are
skipped and logged at debug.
- Relaxes `referencedContentSchema.relativePath` in
`@kbn/agent-builder-server` from a single segment to arbitrary nesting,
still rejecting `../`, and exports `skillDefinitionSchema` and
`DirectoryPath`.
- Reference filenames and directory segments must match
`/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/`, stricter than
`referencedContentSchema.name` so derived names are also valid skill
names. A root-level `SKILL.md` is reserved. Invalid names,
missing/malformed frontmatter, and schema violations all throw an
`Error`.
- `parseSkillFile` in the `agent_builder` plugin now uses this package's
exported `splitFrontmatter` instead of its own regex and `js-yaml`.

__Out of scope:__
- Syncing universal `elastic/agent-skills` to Kibana
- Converting the existing TypeScript skills to markdown (if needed)
- Non-Markdown text content (e.g. JSON, YAML).

### Testing

Ran a sanity check by copying the `kibana-agent-builder` skill from
`elastic/agent-skills` to a temporary directory in Kibana and then
loading it with `loadSkillFromDirectory`.

<img width="2560" height="1317" alt="Screenshot 2026-07-27 at 13 34 57"
src="https://github.com/user-attachments/assets/f06f1562-963a-4e03-b69f-88d12492e690"/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
mdefazio pushed a commit to mdefazio/kibana that referenced this pull request Aug 3, 2026
…81265)

## Summary

Three things, all in the `context_engine` plugin:

1. **Connectors as AI index sources.** An AI index source can now be an
action connector (Google Drive, GitHub, Notion, …) instead of only an
ES|QL query, end to end: API type, route validation, and a tabbed source
picker.
2. **UI for managed AI indexes.** The `managed` flag already existed on
the API; the UI now surfaces it — a lock badge, read-only panels, and an
owner filter.
3. **Landing page list rework.** The flat card grid becomes a
searchable, filterable, paginated list.

### Architecture

**Connector sources store the connector id, not its name.**
`AiIndexSourceType` gains `'connector'`, and a connector source persists
the connector id as its `value`. The human-readable name is resolved at
render time from the space's connector list (`useDataConnectors` →
`connectorNameById`), so renaming a connector in Stack Management does
not leave a stale label on the AI index. When the name cannot be
resolved the row falls back to the id rather than rendering blank.

**Server-side validation of connector sources, fail-closed.**
`validateConnectorSources` runs on `POST` and `PUT` *before* the write.
It resolves the ids through a **request-scoped** actions client
(`getActionsClientWithRequest`), so a caller cannot attach a connector
they have no privilege to read. Unknown ids and connectors whose type is
not on the data-connector allowlist are rejected with a 400. Lookup
failures collapse into a single generic message so the endpoint does not
become a connector-existence oracle.

The managed registration path (`registry.startupRegister` →
`aiIndexService.putManaged`) deliberately **skips** this validation:
there is no request to scope an actions client to, and those
registrations come from trusted plugins at startup.

**One allowlist, shared by browser and server.**
`common/data_connectors.ts` owns `DATA_CONNECTOR_TYPE_IDS`. Both the
picker's filter and the server's validation read it, so the two cannot
drift. ⚠️ **This list is hard-coded and needs team review** — see the
inline TODO. I could not find any property on a connector that marks it
as a data-retrieval connector, so ideally this would be derived
dynamically instead of maintained by hand every time a connector ships.
It is also important to highlight that we don't do any auth/config
validation on connectors, so they could fail at runtime.

### API and contracts

- `POST /api/context_engine/ai_index` and `PUT
/api/context_engine/ai_index/{aiIndexId}`: `sources[]` is now a
`schema.oneOf` of `{ type: 'esql' }` and `{ type: 'connector' }`. A
connector `value` requires `minLength: 1`.
- Both write routes gain a **400** when a connector source cannot be
resolved or is not an allowlisted data connector.
- **Not breaking.** The change is additive — existing ES|QL-only
payloads validate exactly as before, and no response shape changed.
- `contextEngine` now depends on the `actions` plugin
(`requiredPlugins`, plus `actions` in `requiredBundles` for the
browser).
- No config keys, no saved object mapping changes.

### Visuals

<img width="1156" height="711" alt="Screenshot 2026-07-29 at 09 56 04"
src="https://github.com/user-attachments/assets/461256f9-8076-403f-9429-9f968b9293d7"
/>
<img width="1156" height="444" alt="Screenshot 2026-07-29 at 09 56 29"
src="https://github.com/user-attachments/assets/70140f68-12aa-42f8-a05d-fbdcd25cd336"
/>

### How to test

Prerequisites: enable the context engine UI setting, and create a few
data connectors in Stack Management (e.g. Google Drive and GitHub) plus
one non-data connector (e.g. Slack) to test rejection.

1. **Connector sources.** Create an AI index, open the **Connectors**
tab in the source picker, select a couple of connectors, save. Reopen
the detail page — the source rows should show connector *names*, not
ids.
2. **Name resolution.** Rename one of those connectors in Stack
Management, reload the detail page. The new name should appear without
touching the AI index.
3. **Lazy fetching.** With the picker on the **ES|QL** tab and no
connector sources selected, confirm no request goes out to
`/api/actions/connectors`. Switching to the Connectors tab should
trigger it.
4. **Rejection.** `PUT` an AI index with a `connector` source pointing
at the Slack connector id, then at a random id. Both should return 400
and leave the AI index unchanged.
5. **Managed AI indexes.** Register a managed AI index. The detail page
should show the **Managed** lock badge with no edit affordances on any
panel, and the list's **Owner → Managed** filter should find it.
6. **List behaviour.** With more than 12 AI indexes, check pagination;
search by id, description and destination value; combine the type and
owner filters; confirm the "no matches" state offers **Clear filters**.
7. **Connector error state.** Break the connectors request (e.g. remove
actions privileges for the user). The Connectors tab should show the
"Unable to load connectors" prompt rather than an empty list.


### Compromises

- **Hard dependency on the `actions` plugin.** `contextEngine` now lists
`actions` in `requiredPlugins`, so it will not start with
`xpack.actions.enabled: false`. _Severity: low_ — `actions` is enabled
in all standard distributions and several platform plugins already
hard-depend on it. Mitigation if this turns out to matter: move it to
`optionalPlugins` and reject connector sources outright when the
contract is absent, which keeps the validation fail-closed.
- **The data-connector allowlist is maintained by hand.** A newly
shipped data connector will silently not appear in the picker, and would
be rejected by the server if attached directly through the API.
_Severity: low–medium_ — mitigation is the TODO in
`common/data_connectors.ts` to derive the list dynamically; keeping the
allowlist in `common/` at least guarantees the UI and the API agree on
what is allowed.
- **Client-side search, filter and pagination.** The landing page holds
every AI index in memory. If `MAX_AI_INDICES` grows substantially this
becomes heavy and would need a server-side list API. _Severity: low_ at
the current cap.
- **Connector names depend on read access to the actions API.** A user
who can read AI indexes but not connectors sees raw connector ids in the
detail panel instead of names. _Severity: low_ — degrades gracefully
rather than erroring.
- No connector auth validation. We could add a connector that will fail
when the agent tries to run it.


### Checklist

- [x] Any text added follows [EUI&elastic#39;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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
arturoliduena added a commit that referenced this pull request Aug 4, 2026
…opt in high-spec-count suites (#280997)

Closes elastic/nightshift-program#812

## Summary
- Adds a `workers` option to `createPlaywrightEvalsConfig` so suite
authors can run spec files in parallel.
- Opts in `workflows` (`workers: 3`) and `agent-builder` (`workers: 2`),
the two highest spec-file-count suites from the weekly run baseline.
- Documents the option in the `@kbn/evals` README with a safety guide
for suite authors.

## Motivation

The Playwright runner executes all spec files in a suite serially
(`workers: 1` by default). `@kbn/scout` already exposes `workers?: 1 | 2
| 3` through `ScoutPlaywrightOptions`, and `createPlaywrightConfig`
already passes it through. However, `createPlaywrightEvalsConfig` never
accepted or forwarded the option, leaving it unavailable to all eval
suites.

From the weekly run #66 baseline, the two largest suites were both
hitting or approaching the 2-hour CI step limit:

| Suite.             | Spec files | Typical runtime |
|-----------------|---:|--------------------:|
| `agent-builder` | 14 | ~2h+ per connector |
| `workflows`       | 9   | ~2h+                          |

The spec files in both suites are independent, so running them in
parallel reduces wall-clock time without requiring additional CI
capacity.

## Changes

### `packages/kbn-evals/src/config/create_playwright_eval_config.ts`

- Adds `workers?: 1 | 2 | 3` to the configuration options.
- Passes the value through to `createPlaywrightConfig`.
- Existing suites remain unchanged when `workers` is omitted (`workers:
1` remains the default).

### `agent-builder/playwright.config.ts`

- Opts in with `workers: 2`.
- Most spec files are fully stateless.
- `find_rules.spec.ts` and `investigate_rule_diagnosis.spec.ts` both
create detection rules and alerts in the same index using hard-coded
names and expected counts. Increasing to `workers: 3` would increase the
chance of those setup windows overlapping and invalidating the
assertions.
- `workers: 2` provides most of the runtime improvement while keeping
that race unlikely.
- A follow-up to eliminate the race entirely by generating unique rule
names per run is tracked separately.

### `workflows/playwright.config.ts`

- Opts in with `workers: 3`.
- All nine spec files are fully stateless.
- No `beforeAll`/`afterAll` hooks modify Elasticsearch or Kibana state.
- Three parallel rounds across nine spec files with no expected
correctness risk.

### `packages/kbn-evals/README.md`

Adds a `workers` subsection to the Playwright configuration
documentation covering:

- Allowed values.
- When to use `workers`.
- Three concrete safety questions suite authors should answer before
opting in.

## Test plan

- [ ] Run the `workflows` suite against a single model and confirm the
runtime is reduced compared to the weekly run baseline.
- [ ] Run the `agent-builder` suite against a single model and confirm
the runtime is reduced.
- [ ] Confirm suites that do not specify `workers` are unaffected
(`workers: 1` remains the default).


## Validation

Baseline and PR runs were compared using **openai-gpt-5.4** (task model)
and **google-gemini-3.1-pro** (judge).
**Baseline (main):** [kibana-evals-on-demand-llm-evals
#314](https://buildkite.com/elastic/kibana-evals-on-demand-llm-evals/builds/314)
**PR:** [kibana-evals-pr-llm-evals
#39](https://buildkite.com/elastic/kibana-evals-pr-llm-evals/builds/39)

### `workflows` (`workers: 3`)

| Metric | Baseline | PR |
|--------|---------:|---:|
| Result | 78 passed | 78 passed |
| Runtime | 1h 48m | **48m** |
| Runtime saved | — | **~55%** |

**Score comparison:** Evaluation scores remained stable with no
correctness regressions.

Comparison:
https://kbn-evals-serverless-ed035a.kb.us-central1.gcp.elastic.cloud/app/management/ai/evals/compare?type=execution&baseline=bk-019fa377-f043-48fa-aaa2-48e1540ce6f5%3A%3Aworkflows%3A%3Aopenai-gpt-5.4&target=bk-019fa361-af56-4b23-b960-d92648d33860%3A%3Aworkflows%3A%3Aopenai-gpt-5.4

### `agent-builder` (`workers: 2`)

| Metric | Baseline | PR |
|--------|---------:|---:|
| Result | 1 failed, 28 passed | 1 failed, 28 passed |
| Runtime | 1h 36m | **1h 10m** |
| Runtime saved | — | **~28%** |

The failing test is pre-existing and occurs on both the baseline and the
PR.

**Score comparison:** Evaluation scores remained stable with no
correctness regressions.

Comparison:
https://kbn-evals-serverless-ed035a.kb.us-central1.gcp.elastic.cloud/app/management/ai/evals/compare?type=execution&baseline=bk-019fa377-f043-48fa-aaa2-48e1540ce6f5%3A%3Aagent-builder%3A%3Aopenai-gpt-5.4&target=bk-019fa361-af56-4b23-b960-d92648d33860%3A%3Aagent-builder%3A%3Aopenai-gpt-5.4

### Conclusion

The `workers` option is correctly passed through to Playwright and
introduces no correctness regressions. The only failing test is
pre-existing and occurs on both `main` and this PR. The change provides
meaningful runtime improvements:

- **`workflows` (`workers: 3`):** ~55% faster (1h 48m → 48m)
- **`agent-builder` (`workers: 2`):** ~28% faster (1h 36m → 1h 10m)
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…ic#276300)

## Summary

Adds Scout UI test coverage for the UIAM OAuth feature for both Agent
Builder MCP Clients management and Kibana Security Application
Connections management, along with the shared test infrastructure needed
to drive them (incl. OAuth connection seeding helpers, page objects, and
necessary `data-test-subj` attributes).

### Testing

__Agent Builder__

<img width="1871" height="955" alt="Screenshot 2026-07-03 at 17 26 01"
src="https://github.com/user-attachments/assets/e7fd07e0-ca9f-49ab-82df-5f7ef24cc7fa"
/>


__Kibana Security__

<img width="1276" height="799" alt="Screenshot 2026-07-03 at 17 29 40"
src="https://github.com/user-attachments/assets/e5aba4c2-3161-4a3b-a7a4-bbacb4b29836"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…c#276542)

## Summary

UX enhancements and alignment fixes for the application connections
management views. Changes include:

- Client names in the revoke connections modal are now clickable and
open a popover with the full client details, so admins can review what
they're revoking without leaving the modal.
- Cleaned up the connections table layout with consistent column widths
and text truncation, keeping rows readable and aligned regardless of
content length.
- Fixed the connections table so columns collapse correctly at smaller
viewport sizes.
- Fixed minor alignment issues in table rows and in the shared client
details fields.

### Demo

__Client Details Popover in revoke modal__

<img width="1737" height="679" alt="Screenshot 2026-07-06 at 17 26 44"
src="https://github.com/user-attachments/assets/ebef2597-3153-4260-b3ee-b027a459c4b7"
/>

__Application Connections table__

<img width="1506" height="767" alt="Screenshot 2026-07-06 at 17 28 44"
src="https://github.com/user-attachments/assets/e1aefc47-c2d9-4d88-a0d9-27196b62b11e"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…gle-able in Kibana (elastic#277300)

## Summary

Makes the `AGENT_BUILDER_UIAM_OAUTH_CLIENT_MANAGEMENT_SETTING_ID`
advanced setting user-toggleable instead of a strictly readonly internal
gate. Changes include:

- Removed the `readonly`/`readonlyMode: 'strict'` flags on the setting
so admins can enable OAuth client management for MCP from Advanced
Settings.
- Reworded the setting's name and description to be user-facing.
- Allowlisted the setting across serverless project types
(Observability, Search, VectorDB, and Security) so it surfaces in
serverless environments.

The setting remains `technicalPreview: true` and defaults to `false`, so
it stays opt-in.

### Demo

<img width="2440" height="1260" alt="Screenshot 2026-07-09 at 14 46 56"
src="https://github.com/user-attachments/assets/e537c761-6705-40c9-b8b1-749b9ab9882e"
/>

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Marks the OAuth-based Application connections and Agent Builder MCP
clients experiences as technical preview.

### Demo

<img width="1749" height="938" alt="Screenshot 2026-07-10 at 10 57 14"
src="https://github.com/user-attachments/assets/081e867a-78c1-417e-b5a1-7b5ead68f685"
/>
<img width="1560" height="1172" alt="Screenshot 2026-07-10 at 11 21 17"
src="https://github.com/user-attachments/assets/d6941c94-6dce-4477-86ef-6b5c0e6ecd39"
/>



### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Replaces the placeholder `#` documentation links (and their `TODO`
comments) in the MCP clients and application connections empty states
with a real doc link.

Note: The docs PR (elastic/docs-content#7104)
hasn't been merged yet, but given visibility of the pages with these
links are gated, there isn't any risk of user confusion. Also happy to
wait for the docs PR to be merged 😄.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

Co-authored-by: Elastic Machine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Adds an attachment allow list to Agent Builder that mirrors the existing
tool, agent, and plugin allow lists.

`AttachmentService.setup().registerType` now rejects any attachment
whose id is not present in the `AGENT_BUILDER_BUILTIN_ATTACHMENTS`
array, so Kibana fails to start with an explicit error:

```
[FATAL][root] Reason: Built-in attachment with id "<attachment-id>" is not in the list of allowed built-in attachments.
             Please add it to the list of allowed built-in attachments in the "@kbn/agent-builder-server/allow_lists.ts" file.
```

This forces a code review from Agent Builder whenever another team
registers a new built-in attachment type. The `CONTRIBUTOR_GUIDE.md` has
been updated accordingly.


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…tic#271786)

## Summary

Adds the Cloud serverless project ID to the UIAM `createOAuthClient`
payload, which UIAM now requires. The `POST
/internal/security/oauth/clients` route derives `project_id` server-side
from `cloud.serverless.projectId`.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…tic#272208)

## Summary

Adds human-in-the-loop (HITL) authorization prompts to the
`executeConnectorSubAction` platform tool and introduces EARS as a
supported auth method. When a connector subaction fails with a
`ConnectorAuthorizationError`, the tool now raises an authorization
prompt so the user can complete the auth flow, instead of returning a
plain error to the agent.

Includes a bugfix for v2 connector icons not resolving when using the
`ConnectorTypeIcon` component.

### Demo


https://github.com/user-attachments/assets/436c9310-0ecc-421f-9560-e45ab4a9f6e1

_Minor correction from the demo: Sonnet attempts to correct its
understanding of what the current date is, but still gets it wrong.
Regardless, the connector returns the correct schedules for each date I
requested._

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Minor UX updates to the Application connections page:
- Moves the "Manage MCP clients" action from an inline description link
into a header button
- Replaces the page description with a callout
- Updates the empty-state copy to "No application connections" / "Get
started by creating MCP clients (OAuth)."

### Demo
<img width="1778" height="979" alt="Screenshot 2026-06-04 at 10 25 28"
src="https://github.com/user-attachments/assets/6bab98bf-0b6c-4677-a733-9a1c40fbec33"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
… connections (elastic#275239)

## Summary

Surfaces OAuth clients that have zero connections in the "Group by
Client" view of the Application Connections page instead of hiding them.
Previously such clients were filtered out entirely, which made newly
registered apps invisible and fell back to the empty prompt when no
client had any connections.

### Demo

__Group by client__

<img width="2560" height="1319" alt="Screenshot 2026-06-26 at 17 29 38"
src="https://github.com/user-attachments/assets/1d313c60-c7e9-49ff-9e07-94dd5e66d998"
/>

__List view: Remains omitted as intended__

<img width="2560" height="1318" alt="Screenshot 2026-06-26 at 17 30 16"
src="https://github.com/user-attachments/assets/67d9ce4b-2d4e-4006-bf0c-f50a46752657"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…278295)

Closes elastic#278287.

## Summary

Renames the MCP clients page column label from "Connections" to "Active
connections" to clarify that the count reflects only active connections
and excludes revoked ones.

<img width="3024" height="1648" alt="Screenshot 2026-07-14 at 17 30
46@2x"
src="https://github.com/user-attachments/assets/3581be5c-7fbb-4d0b-a179-7e9b3881d647"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Adds the browser (public) side of the `context_engine` plugin, which was
server-only after elastic#277316. This scaffolds the Context app UI so
follow-up PRs can build features on top of it.

- Registers a top-level Kibana app (`context_engine` at
`/app/context_engine`) and adds a new **Context** navigation menu item
(side nav + global search), **hidden by default** and shown only when
**both** the `contextEngine.enabled` feature flag **and** the
`contextEngine:enabled` advanced setting are enabled.
- Adds the **Context landing page** listing AI Indexes as cards (backed
by the existing `GET /api/context_engine/ai_index` route), with loading
/ empty / error states and a `Create AI Index` action.
- Bootstraps **Create AI Index** and **AI Index detail** pages as
placeholders (skeleton UI, navigation wired, no real behavior yet).


### Visuals
<img width="1169" height="623" alt="Screenshot 2026-07-20 at 15 56 46"
src="https://github.com/user-attachments/assets/f20c2782-68d1-4f44-b020-f1114b88fe6e"/>


**Landing (populated)**


**Loading**
<img width="1165" height="359" alt="Screenshot 2026-07-20 at 16 00 04"
src="https://github.com/user-attachments/assets/fa03dd24-3df2-4b90-95c5-09b4e7734c68"/>


**Landing (empty)**
<img width="1168" height="410" alt="Screenshot 2026-07-20 at 16 04 25"
src="https://github.com/user-attachments/assets/476865c2-3b1f-452a-b642-93730b8fcdb4"/>



### How to test

1. Enable **both** gates that control the app, and ensure an Enterprise
license (the feature requires `minimumLicense: &elastic#39;enterprise&elastic#39;`):
   - the `contextEngine.enabled` **feature flag**, and
- the `contextEngine:enabled` **advanced setting** (Stack Management →
Advanced Settings → "Context Engine", `experimental`, default off). This
same setting also gates the `GET /api/context_engine/ai_index` route on
the server.
2. Confirm the **Context** menu item appears in the side nav and global
search only when **both** are on; turning off either the feature flag or
the advanced setting hides it.
3. Open the Context landing page:
- With AI Indexes present: a card renders per index with correct
source/automation counts and a relative &elastic#34;Updated&elastic#34; time; clicking
a card navigates to `/indexes/:id`.
   - With none: the empty prompt is shown.
- Force the list API to fail (e.g. turn the `contextEngine:enabled`
advanced setting off so the route returns `notFound`): the error prompt
shows the error message.
4. Click **Create AI Index** → lands on the create placeholder; the
&elastic#34;Continue to AI index&elastic#34; link navigates to the detail placeholder.

### Checklist

- [x] Any text added follows [EUI&elastic#39;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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…t user (elastic#279972)

## Summary

Surfaces OAuth connections whose client is not owned by the current user
as their own rows on the Application Connections page.

Previously, the table only listed connections grouped under clients the
current user owns, so connections on MCP clients created by other users
were hidden. Revoke and edit will also function as intended once the
corresponding UIAM change is deployed.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

The Context Engine app was reachable via global search in serverless
Search but missing from the side navigation. Classic (hosted)
auto-populates the side nav from apps declaring `classicSideNav`, but
serverless renders an explicit navigation tree, so the app has to be
added there. This PR adds a Context Engine entry to the serverless
Search side nav.

> [!NOTE]
> The menu icon (`sparkles`) is temporary and should be replaced with
the final Context Engine icon.

To type the nav `link`, a small `@kbn/deeplinks-context-engine` package
was added and wired into the `AppDeepLinkId` union. The entry auto-hides
when the app is disabled (feature flag + advanced setting), so no extra
gating is needed.

### Visuals

<img width="293" alt="Context Engine in serverless Search side nav"
src="https://github.com/user-attachments/assets/dbd00ece-ca7a-4805-92b3-4378233399c0"/>

### How to test

1. Start Kibana in serverless Search mode.
2. Enable the Context Engine feature flag and advanced setting.
```
uiSettings.overrides:
  contextEngine:enabled: true
  
feature_flags.overrides:
  contextEngine.enabled: true
```
3. Confirm **Context** appears in the left side navigation and opens
`/app/context_engine`.

### Checklist

- [ ] Any text added follows [EUI&elastic#39;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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [ ] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

### Identify risks

- [ ] [See some risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
- Low risk: navigation-only change, scoped to serverless Search. The
entry is hidden unless the Context Engine feature flag and advanced
setting are enabled.

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…review labels (elastic#279976)

## Summary

Promotes OAuth client management (UIAM) out of technical preview by
removing the `agentBuilder:uiamOAuthClientManagement` advanced setting
and the tech preview labels from the associated UIs. The feature is now
gated solely by UIAM enablement. Changes include:

- Removed the `agentBuilder:uiamOAuthClientManagement` advanced setting
entirely, including its registration, telemetry schema and types, and
its inclusion in the observability, search, vectordb, and security
serverless project settings.
- Dropped the server-side gate on all OAuth client and connection
endpoints, so create, read, list, update, and revoke now depend only on
UIAM being configured instead of the removed setting.
- Removed the "Technical preview" badges and their i18n strings from the
Agent Builder MCP clients page and the Security application connections
page.
- Simplified client-side routing and management-app enablement to key
off UIAM alone, removing the now-unused feature flag, route flag, and
supporting hook.

I also bundled in a small copy change after creating a confidential MCP
client: "Here's your confidential MCP client. We won't show it again,
make sure to copy or download it now." → "Here's your confidential MCP
client secret. We won't show it again, make sure to copy or download it
now.". This reads clearer to me.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…ion (elastic#280585)

## Summary

Passes the serverless project type through to UIAM when creating an
OAuth client, so UIAM can associate the client with the correct project
type in addition to the project id.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
…80810)

## Summary

Moves the UIAM OAuth feature out of technical preview. This re-applies
the gating and tech-preview removals from elastic#279976, which was reverted in
elastic#280738 because it also un-registered the
`agentBuilder:uiamOAuthClientManagement` UI setting while
`serverless-gitops` still injected that value, breaking the serverless
telemetry snapshot test (elastic#280659).

This PR keeps the setting intact and only removes the feature gating and
the tech-preview labels. Un-registering the setting and cleaning up
persisted values via a `data_removal` migration is deferred to after
this PR and the corresponding `serverless-gitops` change is deployed to
production.

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
patrykkopycinski pushed a commit to patrykkopycinski/kibana that referenced this pull request Aug 5, 2026
## Summary

Adds `@kbn/agent-builder-skill-loader` as a shared server package that
reads an Agent Builder skill from a directory and produces a validated
`SkillDefinition`. This is the groundwork for defining skills as
markdown instead of TypeScript, so they can eventually be synced in from
`elastic/agent-skills`. Changes include:

- `loadSkillFromDirectory(absoluteDir, basePath, { logger })` requires a
top-level `SKILL.md`, maps its YAML frontmatter (`name`, `description`,
optional `id` defaulting to `name`, optional `experimental`) onto the
definition, and validates the result against `skillDefinitionSchema`.
- Frontmatter keys with no `SkillDefinition` equivalent are ignored
rather than rejected. Upstream skills may carry `metadata`,
`compatibility`, and Claude Code slash-command fields (`allowed-tools`,
`disable-model-invocation`, `argument-hint`).
- Every other `.md` file in the directory becomes referenced content,
named after the file, with `relativePath` derived from its position in
the tree (`.`, `./queries`, `./queries/esql`). Non-markdown files are
skipped and logged at debug.
- Relaxes `referencedContentSchema.relativePath` in
`@kbn/agent-builder-server` from a single segment to arbitrary nesting,
still rejecting `../`, and exports `skillDefinitionSchema` and
`DirectoryPath`.
- Reference filenames and directory segments must match
`/^[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?$/`, stricter than
`referencedContentSchema.name` so derived names are also valid skill
names. A root-level `SKILL.md` is reserved. Invalid names,
missing/malformed frontmatter, and schema violations all throw an
`Error`.
- `parseSkillFile` in the `agent_builder` plugin now uses this package's
exported `splitFrontmatter` instead of its own regex and `js-yaml`.

__Out of scope:__
- Syncing universal `elastic/agent-skills` to Kibana
- Converting the existing TypeScript skills to markdown (if needed)
- Non-Markdown text content (e.g. JSON, YAML).

### Testing

Ran a sanity check by copying the `kibana-agent-builder` skill from
`elastic/agent-skills` to a temporary directory in Kibana and then
loading it with `loadSkillFromDirectory`.

<img width="2560" height="1317" alt="Screenshot 2026-07-27 at 13 34 57"
src="https://github.com/user-attachments/assets/f06f1562-963a-4e03-b69f-88d12492e690"/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&elastic#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]>
dennis-tismenko added a commit that referenced this pull request Aug 6, 2026
## Summary

Reworks the MCP client preset logo options to the following:

- MCP client logo
- Claude
- Cursor
- OpenAI
- Google Gemini
- GitHub Copilot
- Azure OpenAI
- Microsoft Foundry
- Amazon Kiro

### Demo

<img width="1325" height="1114" alt="Screenshot 2026-08-05 at 09 53 05"
src="https://github.com/user-attachments/assets/7f130c3e-f255-44c2-9b18-a1f90adb8428"
/>


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] Any text added follows [EUI&#39;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] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] This was checked for breaking HTTP API changes, and any breaking
changes have been approved by the breaking-change committee. The
`release_note:breaking` label should be applied in these situations.
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/docs/extend/kibana/contributing/workflow/how-we-use-github#release-notes)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant