Skip to content

[UII] Hide agentless agents and policies#219175

Merged
jen-huang merged 23 commits intoelastic:mainfrom
jen-huang:agentless/hide-agentless
Jun 3, 2025
Merged

[UII] Hide agentless agents and policies#219175
jen-huang merged 23 commits intoelastic:mainfrom
jen-huang:agentless/hide-agentless

Conversation

@jen-huang
Copy link
Contributor

@jen-huang jen-huang commented Apr 25, 2025

Summary

Resolves https://github.com/elastic/security-team/issues/9857.

This PR hides agentless agents and agentless policies from the Fleet tables by default:

image image

For debugging purposes, ?showAgentless=true url parameter can be added to show them:

image image

The same behavior is applied to the agent details and policy details page: trying to enter an agentless one will result in a Not found error by default, but adding ?showAgentless=true will reveal the page:

image image

Dev notes

  • Agent service listAgents()/getAgentsByKuery() has a new optional parameter showAgentless: boolean which is true by default. This means that the default behavior of this service doesn't change - normal agents & agentless agents are retrieved by default.
  • If showAgentless is set to false when calling this service, then agentless agents are excluded from retrieval. "Is this agent an agentless agent?" is determined by retrieving the first 1000 agent policies IDs and compiling a NOT query. See comment in code for more details.
  • This new parameter is therefore exposed in the API endpoint at /api/fleet/agents and used by UI in this PR.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
@jen-huang jen-huang self-assigned this Apr 25, 2025
kibanamachine and others added 3 commits April 25, 2025 00:20
…t --include-path /api/status --include-path /api/alerting/rule/ --include-path /api/alerting/rules --include-path /api/actions --include-path /api/security/role --include-path /api/spaces --include-path /api/streams --include-path /api/fleet --include-path /api/dashboards --include-path /api/saved_objects/_import --include-path /api/saved_objects/_export --include-path /api/alerting/maintenance_window --update'
unenroll_timeout: { type: 'integer' },
updated_at: { type: 'date' },
updated_by: { type: 'keyword' },
supports_agentless: { type: 'boolean' },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

not a mapping change. the objects here are used to validate properties that can be used in KQL filtering, so just adding supports_agentless to this allow list

@jen-huang jen-huang 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 v9.1.0 labels May 30, 2025
@jen-huang jen-huang marked this pull request as ready for review May 30, 2025 23:51
@jen-huang jen-huang requested review from a team as code owners May 30, 2025 23:51
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@jen-huang jen-huang deleted the agentless/hide-agentless branch June 3, 2025 19:11
zacharyparikh pushed a commit to zacharyparikh/kibana that referenced this pull request Jun 4, 2025
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Jun 12, 2025
jen-huang added a commit 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
#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>
@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
@jen-huang jen-huang added backport:skip This PR does not require backporting and removed backport:version Backport to applied version labels v9.2.0 v9.3.0 v9.1.6 labels Oct 7, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1, 9.2

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

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.1, 9.2

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 219175

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 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

💔 All backports failed

Status Branch Result
9.1 Backport failed because of merge conflicts
9.2 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 219175

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>
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.1.0

6 participants