elasticsearch/plugins/repository-hdfs
Lorenzo Dematté 69f6520b0c
[Entitlements] Validation checks on paths (#126852)
With this PR we restrict the paths we allow access to, forbidding plugins to specify/request entitlements for reading or writing to specific protected directories.

I added this validation to EntitlementInitialization, as I wanted to fail fast and this is the earliest occurrence where we have all we need: PathLookup to resolve relative paths, policies (for plugins, server, agents) and the Paths for the specific directories we want to protect.

Relates to ES-10918
2025-04-18 15:36:07 +02:00
..
licenses Add slf4j-nop in order to prevent startup warnings (#95459) 2023-05-05 09:38:34 +02:00
src [Entitlements] Validation checks on paths (#126852) 2025-04-18 15:36:07 +02:00
build.gradle [Build] Require reason for usesDefaultDistribution (#124707) 2025-03-17 08:25:39 +01:00