Skip to content

[UII] Add "Show agentless resources" toggle#237528

Merged
jen-huang merged 9 commits intoelastic:mainfrom
jen-huang:feat/agentless-dev-mode
Oct 7, 2025
Merged

[UII] Add "Show agentless resources" toggle#237528
jen-huang merged 9 commits intoelastic:mainfrom
jen-huang:feat/agentless-dev-mode

Conversation

@jen-huang
Copy link
Contributor

@jen-huang jen-huang commented Oct 3, 2025

Summary

Resolves https://github.com/elastic/ingest-dev/issues/5932.

This PR replaces the ?showAgentless query param (implemented in #219175) with a local storage setting called fleet:showAgentlessResources that can be toggled from Fleet > Settings. When enabled, agentless agents and policies are visible in the Fleet UI:

Oct-03-2025 11-56-35

Release note

"Show agentless resources" toggle added to Fleet > Settings for debugging and diagnostics purposes.

To-do

Checklist

@jen-huang jen-huang self-assigned this Oct 3, 2025
@jen-huang jen-huang added release_note:enhancement backport:skip This PR does not require backporting Team:Fleet Team label for Observability Data Collection Fleet team labels Oct 3, 2025
@jen-huang jen-huang marked this pull request as ready for review October 3, 2025 19:09
@jen-huang jen-huang requested a review from a team as a code owner October 3, 2025 19:09
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

<p>
<FormattedMessage
id="xpack.fleet.settings.showAgentlessResourcesDescription"
defaultMessage="Enable this toggle to display agentless agents and policies in Fleet for debugging and diagnostics purposes. This setting is stored locally and is only visible to you."
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vishaangelova would appreciate a review of this copy :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I think this looks good!

Copy link
Contributor

@vishaangelova vishaangelova Oct 7, 2025

Choose a reason for hiding this comment

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

@jen-huang sorry it took me so long to see this PR :/ the emails I get for being mentioned on PRs get lost among all the other PR-related emails, and I only just noticed I was mentioned here—- I need to create a proper filter to highlight these and make sure I see them in time. (I’ll just go ahead and create one now 💡 )

Copy link
Contributor Author

@jen-huang jen-huang Oct 7, 2025

Choose a reason for hiding this comment

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

@vishaangelova no problem! we do get a lot of Github emails. I tend to rely on GH's Notifications page and prioritize "Mentioned" items

@nchaulet nchaulet self-requested a review October 3, 2025 19:20
Copy link
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

@jen-huang jen-huang requested a review from nchaulet October 6, 2025 23:09
@nimarezainia
Copy link
Contributor

@jen-huang @nchaulet can I confirm that the end user won't have access to this section nor the toggle. correct?

@jen-huang
Copy link
Contributor Author

@jen-huang @nchaulet can I confirm that the end user won't have access to this section nor the toggle. correct?

Requirements in the issue said for power users, so the toggle does appear to end users who have access to Fleet Settings page.

@kpollich
Copy link
Member

kpollich commented Oct 7, 2025

@jen-huang @nchaulet can I confirm that the end user won't have access to this section nor the toggle. correct?

Until we have a functional workflow for support engineers to generate these diagnostics, we need an escape hatch for users to generate these diagnostics and debug these agents. This setting is user-facing to facilitate that need. Eventually, this will be handled internally and users won't be responsible for debugging their agentless deployments, as it's a fully-managed service. See https://github.com/elastic/ingest-dev/issues/6142 (internal link)

Copy link
Member

@nchaulet nchaulet left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link
Contributor

@vishaangelova vishaangelova left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀
(Only left a tiny suggestion, which seems to be unrelated to your changes..)

<p>
<FormattedMessage
id="xpack.fleet.settings.showAgentlessResourcesDescription"
defaultMessage="Enable this toggle to display agentless agents and policies in Fleet for debugging and diagnostics purposes. This setting is stored locally and is only visible to you."
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this looks good!

Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
@jen-huang jen-huang enabled auto-merge (squash) October 7, 2025 18:21
@jen-huang jen-huang merged commit 1874653 into elastic:main Oct 7, 2025
12 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
fleet 1349 1350 +1

Async chunks

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

id before after diff
fleet 2.1MB 2.1MB +684.0B

Page load bundle

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

id before after diff
fleet 177.0KB 177.3KB +311.0B

History

cc @jen-huang

@jen-huang jen-huang deleted the feat/agentless-dev-mode branch October 7, 2025 21:13
@jen-huang jen-huang added backport:version Backport to applied version labels v9.2.0 v9.1.6 and removed backport:skip This PR does not require backporting labels Oct 7, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1, 9.2

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

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1, 9.2

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 7, 2025
## Summary

Resolves https://github.com/elastic/ingest-dev/issues/5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
(cherry picked from commit 1874653)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
9.1 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.1:
- [Fleet] Add action to Add tags to Agent details page (#225433)
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 237528

Questions ?

Please refer to the Backport tool documentation

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 7, 2025
## Summary

Resolves https://github.com/elastic/ingest-dev/issues/5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
(cherry picked from commit 1874653)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
9.1 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.1:
- [Fleet] Add action to Add tags to Agent details page (#225433)
9.2

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 237528

Questions ?

Please refer to the Backport tool documentation

@jen-huang
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

jen-huang added a commit to jen-huang/kibana that referenced this pull request Oct 7, 2025
## Summary

Resolves https://github.com/elastic/ingest-dev/issues/5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
(cherry picked from commit 1874653)

# Conflicts:
#	x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agents/agent_details_page/index.tsx
kibanamachine added a commit that referenced this pull request Oct 7, 2025
# Backport

This will backport the following commits from `main` to `9.2`:
- [[UII] Add "Show agentless resources" toggle
(#237528)](#237528)

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

### 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":"2025-10-07T20:39:03Z","message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Fleet","backport:version","v9.2.0","v9.3.0","v9.1.6"],"title":"[UII]
Add \"Show agentless resources\"
toggle","number":237528,"url":"https://github.com/elastic/kibana/pull/237528","mergeCommit":{"message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0"}},"sourceBranch":"main","suggestedTargetBranches":["9.2","9.1"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237528","number":237528,"mergeCommit":{"message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jen Huang <its.jenetic@gmail.com>
Co-authored-by: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
jen-huang added a commit that referenced this pull request Oct 7, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[UII] Add "Show agentless resources" toggle
(#237528)](#237528)

<!--- Backport version: 10.0.2 -->

### 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":"2025-10-07T20:39:03Z","message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Fleet","backport:version","v9.2.0","v9.3.0","v9.1.6"],"title":"[UII]
Add \"Show agentless resources\"
toggle","number":237528,"url":"https://github.com/elastic/kibana/pull/237528","mergeCommit":{"message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0"}},"sourceBranch":"main","suggestedTargetBranches":["9.1"],"targetPullRequestStates":[{"branch":"9.2","label":"v9.2.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/237922","number":237922,"state":"OPEN"},{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237528","number":237528,"mergeCommit":{"message":"[UII]
Add \"Show agentless resources\" toggle (#237528)\n\n##
Summary\n\nResolves
https://github.com/elastic/ingest-dev/issues/5932.\n\nThis PR replaces
the `?showAgentless` query param (implemented
in\nhttps://github.com//pull/219175) with a local
storage\nsetting called `fleet:showAgentlessResources` that can be
toggled from\nFleet > Settings. When enabled, agentless agents and
policies are\nvisible in the Fleet
UI:\n\n![Oct-03-2025\n11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)\n\n##
Release note\n\"Show agentless resources\" toggle added to Fleet >
Settings for\ndebugging and diagnostics purposes.\n\n## To-do\n- [ ]
Public
documentation:\nhttps://github.com/elastic/ingest-docs/issues/1865\n\n###
Checklist\n\n- [x] Any text added follows [EUI's
writing\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\nsentence case text and includes
[i18n\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)\n-
[
]\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\nwas
added for features that require explanation or tutorials\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.\n\n---------\n\nCo-authored-by:
Visha Angelova
<91186315+vishaangelova@users.noreply.github.com>","sha":"187465307bd8605687049a773116bcc4f7940ca0"}},{"branch":"9.1","label":"v9.1.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
ymao1 pushed a commit to ymao1/kibana that referenced this pull request Oct 8, 2025
## Summary

Resolves elastic/ingest-dev#5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
rylnd pushed a commit to rylnd/kibana that referenced this pull request Oct 17, 2025
## Summary

Resolves https://github.com/elastic/ingest-dev/issues/5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
NicholasPeretti pushed a commit to NicholasPeretti/kibana that referenced this pull request Oct 27, 2025
## Summary

Resolves elastic/ingest-dev#5932.

This PR replaces the `?showAgentless` query param (implemented in
elastic#219175) with a local storage
setting called `fleet:showAgentlessResources` that can be toggled from
Fleet > Settings. When enabled, agentless agents and policies are
visible in the Fleet UI:

![Oct-03-2025
11-56-35](https://github.com/user-attachments/assets/ebba0964-698c-4556-8798-2317fce938df)

## Release note
"Show agentless resources" toggle added to Fleet > Settings for
debugging and diagnostics purposes.

## To-do
- [ ] Public documentation:
elastic/ingest-docs#1865

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)
- [ ]
[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] 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: Visha Angelova <91186315+vishaangelova@users.noreply.github.com>
vishaangelova added a commit to elastic/docs-content that referenced this pull request Nov 3, 2025
…gs (#3760)

This PR adds documentation for the "Show agentless resources” toggle in
the Fleet UI settings, which was added in
elastic/kibana#237528. The toggle is available
in 9.1.6 and 9.2.0.

Resolves elastic/ingest-docs#1865

---------

Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:enhancement Team:Fleet Team label for Observability Data Collection Fleet team v9.1.6 v9.2.0 v9.3.0

8 participants