kibana/x-pack/test/fleet_api_integration
Mason Herron 1184cc2832
[Fleet] Update /uninstall_tokens API to use exact matching for policy_id query (#225113)
## Summary

Closes #215725 

- Updated the regex to not wrap the policy_id in wildcards so that only
exact matches based on the query would be returned.

Before: 


https://github.com/user-attachments/assets/ad2bd58a-4dad-48a6-85e1-980630753a93




After: 


https://github.com/user-attachments/assets/2e7ebc97-e5ac-401e-8b23-ea54f758e35f


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

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

### Identify risks

N/A

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-06-25 07:52:11 -06:00
..
apis [Fleet] Update /uninstall_tokens API to use exact matching for policy_id query (#225113) 2025-06-25 07:52:11 -06:00
config.agent.ts [functional tests] split fleet_api_integration config into smaller ones (#156407) 2023-05-03 16:26:58 +02:00
config.agent_policy.ts [functional tests] split fleet_api_integration config into smaller ones (#156407) 2023-05-03 16:26:58 +02:00
config.base.ts [Fleet] Add feature-flag gate for single agent migrations UI/API & bulk migration API (#224143) 2025-06-18 18:11:45 +02:00
config.epm.ts [functional tests] split fleet_api_integration config into smaller ones (#156407) 2023-05-03 16:26:58 +02:00
config.event_ingested.ts [Fleet] added eventIngestedEnabled flag (#199733) 2024-11-13 12:41:40 +01:00
config.fleet.ts [functional tests] split fleet_api_integration config into smaller ones (#156407) 2023-05-03 16:26:58 +02:00
config.package_policy.ts [functional tests] split fleet_api_integration config into smaller ones (#156407) 2023-05-03 16:26:58 +02:00
config.space_awareness.ts [Fleet] Clean up feature flag enablePackagesStateMachine (#191052) 2024-08-26 04:18:32 -05:00
helpers.ts [Fleet] Auto upgrade fixes: filter out inactive agents in status API, fix agent fetcher (#217024) 2025-04-07 10:55:16 +02:00
privileges_helpers.ts [FTR] move supertestWithoutAuth service to kbn-ftr-common-functional-services (#189613) 2024-08-05 04:20:38 -05:00