Skip to content

Conversation

@szwarckonrad
Copy link
Contributor

Backport

This will backport the following commits from main to 9.3:

Questions ?

Please refer to the Backport tool documentation

…elastic#246019)

This PR fixes the deprecated `api/endpoint_list` APIs to properly
enforce RBAC, space awareness, and security tag assignment through the
extension point system.

Changes:
- Modified 5 ExceptionListClient methods to invoke extension points:
`createEndpointListItem`, `updateEndpointListItem`,
`deleteEndpointListItem`, `getEndpointListItem`, `findEndpointListItem`
- Added entry validation and disallowed field checks to create route
- Fixed return type in read route to match API schema
- Added comprehensive unit tests for all 5 methods
- Added API integration tests covering all RBAC scenarios

All changes mirror the existing exception list API behavior.

Closes elastic/security-team#14818

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 70c5025)
@szwarckonrad szwarckonrad requested review from a team as code owners December 19, 2025 10:24
@szwarckonrad szwarckonrad added the backport This PR is a backport of another PR label Dec 19, 2025
@szwarckonrad szwarckonrad requested review from nkhristinin, paul-tavares and pzl and removed request for a team December 19, 2025 10:24
@szwarckonrad szwarckonrad enabled auto-merge (squash) December 19, 2025 10:24
@szwarckonrad szwarckonrad merged commit b7b4ac4 into elastic:9.3 Dec 19, 2025
17 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants