You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add integration tests for analytics engine index-level authorization
Adds AnalyticsEngineSecurityIT which validates that the analytics engine's
FGAC check (indices:data/read/analytics/query) is enforced end-to-end
through the production SQL plugin PPL endpoint (/_plugins/_ppl) when
querying composite (analytics-engine-backed) indices.
Tests:
- Authorized user with indices:data/read* can query a composite index
- Unauthorized user (no index permissions) gets 403
- Authorized user cannot access an index outside their permissions (403)
- User with indices:data/read/search* but NOT indices:data/read/analytics/query
gets 403, proving the specific analytics action permission is evaluated
The test cluster installs the full analytics plugin stack (analytics-engine,
arrow-base, arrow-flight-rpc, analytics-backend-lucene,
analytics-backend-datafusion, parquet-data-format, composite-engine) plus
the security and SQL plugins.
Run locally with local plugin zips:
./gradlew :integ-test:analyticsEngineSecurityIT \
-PanalyticsEngineZip=/path/to/analytics-engine.zip \
-ParrowBaseZip=/path/to/arrow-base.zip \
-ParrowFlightRpcZip=/path/to/arrow-flight-rpc.zip \
-PanalyticsBackendLuceneZip=/path/to/analytics-backend-lucene.zip \
-PanalyticsBackendDatafusionZip=/path/to/analytics-backend-datafusion.zip \
-PparquetDataFormatZip=/path/to/parquet-data-format.zip \
-PcompositeEngineZip=/path/to/composite-engine.zip \
-PnativeLibPath=/path/to/rust/target/release
Signed-off-by: carrofin <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
0 commit comments