[UII] Hide agentless agents and policies#219175
Merged
jen-huang merged 23 commits intoelastic:mainfrom Jun 3, 2025
Merged
Conversation
…o change this to agent policy lookup
…se it for the agent list table
…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'
jen-huang
commented
Apr 25, 2025
| unenroll_timeout: { type: 'integer' }, | ||
| updated_at: { type: 'date' }, | ||
| updated_by: { type: 'keyword' }, | ||
| supports_agentless: { type: 'boolean' }, |
Contributor
Author
There was a problem hiding this comment.
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
…a into agentless/hide-agentless
Contributor
|
Pinging @elastic/fleet (Team:Fleet) |
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
6 tasks
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:  ## 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>
Contributor
|
Starting backport for target branches: 9.1, 9.2 |
Contributor
|
Starting backport for target branches: 9.1, 9.2 |
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: 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:  ## 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:  ## 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)
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: 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:  ## 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\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\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\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\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\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\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:  ## 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:  ## 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:  ## 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves https://github.com/elastic/security-team/issues/9857.
This PR hides agentless agents and agentless policies from the Fleet tables by default:
For debugging purposes,
?showAgentless=trueurl parameter can be added to show them:The same behavior is applied to the agent details and policy details page: trying to enter an agentless one will result in a
Not founderror by default, but adding?showAgentless=truewill reveal the page:Dev notes
listAgents()/getAgentsByKuery()has a new optional parametershowAgentless: booleanwhich is true by default. This means that the default behavior of this service doesn't change - normal agents & agentless agents are retrieved by default.showAgentlessis set tofalsewhen 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 aNOTquery. See comment in code for more details./api/fleet/agentsand used by UI in this PR.Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:*label is applied per the guidelines