Skip to content

[Fleet] Improve agentless UX for single datastreams integrations#254721

Merged
nchaulet merged 14 commits intomainfrom
feature-improve-agentless-ux
Feb 26, 2026
Merged

[Fleet] Improve agentless UX for single datastreams integrations#254721
nchaulet merged 14 commits intomainfrom
feature-improve-agentless-ux

Conversation

@nchaulet
Copy link
Copy Markdown
Member

@nchaulet nchaulet commented Feb 24, 2026

Summary

Related to https://github.com/elastic/ingest-dev/issues/6979

Improve agentless UX for integration with single input datastreams

  • Do not show the switch to disable the input
  • Move the deployment mode selection to his own step

Introduce a new feature flag

UI Changes

Example with Okta integration

Screenshot 2026-02-23 at 1 50 15 PM

TODO

  • Test
  • Feature flag

@@ -243,6 +243,7 @@ const CloudIntegrationSetup = memo<CloudIntegrationSetupProps>(
<EuiSpacer size="m" />
<SetupTechnologySelector
disabled={isEditPage}
packageInfo={packageInfo}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added the packageInfo here to be able to display package title in the selector

@nchaulet nchaulet marked this pull request as ready for review February 24, 2026 17:47
@nchaulet nchaulet requested review from a team as code owners February 24, 2026 17:47
@nchaulet nchaulet added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Fleet Team label for Observability Data Collection Fleet team labels Feb 24, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@juliaElastic
Copy link
Copy Markdown
Contributor

Code LGTM. Tried to test it locally, but I'm not seeing the Agentless option, do we need to use a modified package version for testing?

@nchaulet
Copy link
Copy Markdown
Member Author

@juliaElastic Yes sorry I forgot to put testing instructions you can use okta from that branch for testing elastic/integrations#17495 (need to be served with local package registry, not uploaded)

and you need to have agentless enabled kibana.dev.yml

# Emulate cloud
xpack.cloud.id: 'ftr_fake_cloud_id:YXdzOjQ0MyRFUzEyM2FiYyRrYm4xMjNhYmM='
xpack.cloud.base_url: https://cloud.elastic.co
xpack.cloud.deployment_url: /deployments/deploymentId
# # Agentless Fleet config
xpack.fleet.agentless.enabled: true
xpack.fleet.agentless.api.url: 'https://api.agentless.url/api/v1/ess'
xpack.fleet.agentless.api.tls.certificate: './config/node.crt'
xpack.fleet.agentless.api.tls.key: './config/node.key'
xpack.fleet.agentless.api.tls.ca: './config/ca.crt'
xpack.fleet.agentless.customIntegrations.enabled: true

Copy link
Copy Markdown
Contributor

@juliaElastic juliaElastic left a comment

Choose a reason for hiding this comment

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

LGTM, tested locally.

@nchaulet
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Copy Markdown
Contributor

merge conflict between base and head

@nchaulet
Copy link
Copy Markdown
Member Author

@elasticmachine merge upstream

@nchaulet nchaulet merged commit 13023e1 into main Feb 26, 2026
17 checks passed
@nchaulet nchaulet deleted the feature-improve-agentless-ux branch February 26, 2026 20:25
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Scout: [ platform / dashboard-serverless-observability_complete ] plugin / local-serverless-observability_complete - Flights dashboard (sample data) - loads dashboard and renders panels

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cloudSecurityPosture 607.6KB 607.7KB +14.0B
fleet 2.2MB 2.2MB +1.1KB
securitySolution 11.2MB 11.2MB +14.0B
total +1.1KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
fleet 193.2KB 195.6KB +2.4KB

History

jen-huang added a commit that referenced this pull request Apr 23, 2026
…y editor (#264866)

## Summary

Resolves #256854

This PR fixes the release badge (`Beta` label) not showing at the input
title level for OTel packages (config needed to be expanded in order to
see the label).

While fixing that, I went down a bit of rabbit hole and found that the
release badges and whitespace were just
[odd](#256854 (comment))
for input-only packages and single-stream inputs. _(Jen going down a UI
rabbit hole? Groundbreaking...)_ I believe this was due to
#219287,
#254721, and maybe other PRs as
part of elastic/ingest-dev#6979.

So this PR ended up tweaking conditions for various spacers and flex
groups, so that they render (or don't render) correctly. **I recommend
reviewing this PR with whitespace turned off.**

<img width="794" height="476" alt="image"
src="https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110"
/>
.
<img width="800" height="569" alt="image"
src="https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293"
/>

## Testing
Test the policy editor - both in standalone page and in add integration
flyout (from agent policy) - with various packages that have GA and
non-GA data streams, input-only integrations and regular ones, etc. I
tested ones like these:
- Azure Event Hub Input
- Istio
- Nginx OTel
- Apache
- etc...

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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] 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.
smith pushed a commit to smith/kibana that referenced this pull request Apr 23, 2026
…y editor (elastic#264866)

## Summary

Resolves elastic#256854

This PR fixes the release badge (`Beta` label) not showing at the input
title level for OTel packages (config needed to be expanded in order to
see the label).

While fixing that, I went down a bit of rabbit hole and found that the
release badges and whitespace were just
[odd](elastic#256854 (comment))
for input-only packages and single-stream inputs. _(Jen going down a UI
rabbit hole? Groundbreaking...)_ I believe this was due to
elastic#219287,
elastic#254721, and maybe other PRs as
part of elastic/ingest-dev#6979.

So this PR ended up tweaking conditions for various spacers and flex
groups, so that they render (or don't render) correctly. **I recommend
reviewing this PR with whitespace turned off.**

<img width="794" height="476" alt="image"
src="https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110"
/>
.
<img width="800" height="569" alt="image"
src="https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293"
/>

## Testing
Test the policy editor - both in standalone page and in add integration
flyout (from agent policy) - with various packages that have GA and
non-GA data streams, input-only integrations and regular ones, etc. I
tested ones like these:
- Azure Event Hub Input
- Istio
- Nginx OTel
- Apache
- etc...

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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] 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.
jen-huang added a commit that referenced this pull request Apr 23, 2026
… policy editor (#264866) (#265394)

# Backport

This will backport the following commits from `main` to `9.4`:
- [[UII] Fix floating release badges and whitespace in integration
policy editor (#264866)](#264866)

<!--- Backport version: 11.0.1 -->

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

<!--BACKPORT [{"author":{"name":"Jen
Huang","email":"its.jenetic@gmail.com"},"sourceCommit":{"committedDate":"2026-04-23T03:43:04Z","message":"[UII]
Fix floating release badges and whitespace in integration policy editor
(#264866)\n\n## Summary\n\nResolves
https://github.com/elastic/kibana/issues/256854\n\nThis PR fixes the
release badge (`Beta` label) not showing at the input\ntitle level for
OTel packages (config needed to be expanded in order to\nsee the
label).\n\nWhile fixing that, I went down a bit of rabbit hole and found
that the\nrelease badges and whitespace were
just\n[odd](https://github.com/elastic/kibana/issues/256854#issuecomment-4284722964)\nfor
input-only packages and single-stream inputs. _(Jen going down a
UI\nrabbit hole? Groundbreaking...)_ I believe this was due
to\nhttps://github.com//pull/219287,\nhttps://github.com//pull/254721,
and maybe other PRs as\npart of
https://github.com/elastic/ingest-dev/issues/6979.\n\nSo this PR ended
up tweaking conditions for various spacers and flex\ngroups, so that
they render (or don't render) correctly. **I recommend\nreviewing this
PR with whitespace turned off.**\n\n<img width=\"794\" height=\"476\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110\"\n/>\n.\n<img
width=\"800\" height=\"569\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293\"\n/>\n\n##
Testing\nTest the policy editor - both in standalone page and in add
integration\nflyout (from agent policy) - with various packages that
have GA and\nnon-GA data streams, input-only integrations and regular
ones, etc. I\ntested ones like these:\n- Azure Event Hub Input\n-
Istio\n- Nginx OTel\n- Apache\n- etc...\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"8377aeaf3d7bfef40d814d85efa126b7a5e3cd10","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:version","v9.4.0","v9.5.0"],"title":"[UII]
Fix floating release badges and whitespace in integration policy
editor","number":264866,"url":"https://github.com/elastic/kibana/pull/264866","mergeCommit":{"message":"[UII]
Fix floating release badges and whitespace in integration policy editor
(#264866)\n\n## Summary\n\nResolves
https://github.com/elastic/kibana/issues/256854\n\nThis PR fixes the
release badge (`Beta` label) not showing at the input\ntitle level for
OTel packages (config needed to be expanded in order to\nsee the
label).\n\nWhile fixing that, I went down a bit of rabbit hole and found
that the\nrelease badges and whitespace were
just\n[odd](https://github.com/elastic/kibana/issues/256854#issuecomment-4284722964)\nfor
input-only packages and single-stream inputs. _(Jen going down a
UI\nrabbit hole? Groundbreaking...)_ I believe this was due
to\nhttps://github.com//pull/219287,\nhttps://github.com//pull/254721,
and maybe other PRs as\npart of
https://github.com/elastic/ingest-dev/issues/6979.\n\nSo this PR ended
up tweaking conditions for various spacers and flex\ngroups, so that
they render (or don't render) correctly. **I recommend\nreviewing this
PR with whitespace turned off.**\n\n<img width=\"794\" height=\"476\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110\"\n/>\n.\n<img
width=\"800\" height=\"569\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293\"\n/>\n\n##
Testing\nTest the policy editor - both in standalone page and in add
integration\nflyout (from agent policy) - with various packages that
have GA and\nnon-GA data streams, input-only integrations and regular
ones, etc. I\ntested ones like these:\n- Azure Event Hub Input\n-
Istio\n- Nginx OTel\n- Apache\n- etc...\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"8377aeaf3d7bfef40d814d85efa126b7a5e3cd10"}},"sourceBranch":"main","suggestedTargetBranches":["9.4"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/264866","number":264866,"mergeCommit":{"message":"[UII]
Fix floating release badges and whitespace in integration policy editor
(#264866)\n\n## Summary\n\nResolves
https://github.com/elastic/kibana/issues/256854\n\nThis PR fixes the
release badge (`Beta` label) not showing at the input\ntitle level for
OTel packages (config needed to be expanded in order to\nsee the
label).\n\nWhile fixing that, I went down a bit of rabbit hole and found
that the\nrelease badges and whitespace were
just\n[odd](https://github.com/elastic/kibana/issues/256854#issuecomment-4284722964)\nfor
input-only packages and single-stream inputs. _(Jen going down a
UI\nrabbit hole? Groundbreaking...)_ I believe this was due
to\nhttps://github.com//pull/219287,\nhttps://github.com//pull/254721,
and maybe other PRs as\npart of
https://github.com/elastic/ingest-dev/issues/6979.\n\nSo this PR ended
up tweaking conditions for various spacers and flex\ngroups, so that
they render (or don't render) correctly. **I recommend\nreviewing this
PR with whitespace turned off.**\n\n<img width=\"794\" height=\"476\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110\"\n/>\n.\n<img
width=\"800\" height=\"569\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293\"\n/>\n\n##
Testing\nTest the policy editor - both in standalone page and in add
integration\nflyout (from agent policy) - with various packages that
have GA and\nnon-GA data streams, input-only integrations and regular
ones, etc. I\ntested ones like these:\n- Azure Event Hub Input\n-
Istio\n- Nginx OTel\n- Apache\n- etc...\n\n### Checklist\n\nCheck the PR
satisfies following conditions. \n\nReviewers should verify this PR
satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.","sha":"8377aeaf3d7bfef40d814d85efa126b7a5e3cd10"}}]}]
BACKPORT-->
rbrtj pushed a commit to walterra/kibana that referenced this pull request Apr 27, 2026
…y editor (elastic#264866)

## Summary

Resolves elastic#256854

This PR fixes the release badge (`Beta` label) not showing at the input
title level for OTel packages (config needed to be expanded in order to
see the label).

While fixing that, I went down a bit of rabbit hole and found that the
release badges and whitespace were just
[odd](elastic#256854 (comment))
for input-only packages and single-stream inputs. _(Jen going down a UI
rabbit hole? Groundbreaking...)_ I believe this was due to
elastic#219287,
elastic#254721, and maybe other PRs as
part of elastic/ingest-dev#6979.

So this PR ended up tweaking conditions for various spacers and flex
groups, so that they render (or don't render) correctly. **I recommend
reviewing this PR with whitespace turned off.**

<img width="794" height="476" alt="image"
src="https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110"
/>
.
<img width="800" height="569" alt="image"
src="https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293"
/>

## Testing
Test the policy editor - both in standalone page and in add integration
flyout (from agent policy) - with various packages that have GA and
non-GA data streams, input-only integrations and regular ones, etc. I
tested ones like these:
- Azure Event Hub Input
- Istio
- Nginx OTel
- Apache
- etc...

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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] 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.
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Apr 27, 2026
…y editor (elastic#264866)

## Summary

Resolves elastic#256854

This PR fixes the release badge (`Beta` label) not showing at the input
title level for OTel packages (config needed to be expanded in order to
see the label).

While fixing that, I went down a bit of rabbit hole and found that the
release badges and whitespace were just
[odd](elastic#256854 (comment))
for input-only packages and single-stream inputs. _(Jen going down a UI
rabbit hole? Groundbreaking...)_ I believe this was due to
elastic#219287,
elastic#254721, and maybe other PRs as
part of elastic/ingest-dev#6979.

So this PR ended up tweaking conditions for various spacers and flex
groups, so that they render (or don't render) correctly. **I recommend
reviewing this PR with whitespace turned off.**

<img width="794" height="476" alt="image"
src="https://github.com/user-attachments/assets/c5253f08-785c-4524-8590-776b0577b110"
/>
.
<img width="800" height="569" alt="image"
src="https://github.com/user-attachments/assets/c6cd619f-9179-4a22-89eb-60699b91a293"
/>

## Testing
Test the policy editor - both in standalone page and in add integration
flyout (from agent policy) - with various packages that have GA and
non-GA data streams, input-only integrations and regular ones, etc. I
tested ones like these:
- Azure Event Hub Input
- Istio
- Nginx OTel
- Apache
- etc...

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [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] 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants