Commit d56e264
committed
feat(policy): add search support to ListKeys (#3558)
## Summary
- Adds ListKeys RPC search support by wiring request search into the
policy DB list query.
- Applies escaped, case-insensitive matching in the KAS key SQL path and
adds integration coverage for search behavior, wildcard literals, empty
search, whitespace handling, and pagination after filtering.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Release Notes
* **New Features**
* Search capability for KAS registry keys by key ID.
* Search input automatically trims leading and trailing whitespace.
* Wildcard characters in search queries are properly escaped.
* Search results work seamlessly with existing filters and pagination.
* **Tests**
* Added comprehensive test coverage for search functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: Chris Reed <creed@virtru.com>1 parent 512e331 commit d56e264
4 files changed
Lines changed: 652 additions & 410 deletions
File tree
- service
- integration
- policy/db
- queries
0 commit comments