dongjoon-hyun opened a new pull request, #56512: URL: https://github.com/apache/spark/pull/56512
### What changes were proposed in this pull request? This PR adds a new configuration `spark.master.rest.allowedAppResourcePatterns`, a comma-separated list of regular expressions (default: empty). - When empty, all application resources are allowed (existing behavior). - When non-empty, the Standalone Master REST API rejects a submission whose `appResource` does not fully match any pattern. ### Why are the changes needed? To let operators restrict the Master REST API to application jars from trusted locations only. ### Does this PR introduce _any_ user-facing change? No, the default behavior is the same. ### How was this patch tested? Pass the CIs with the newly added test case. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 4.8) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
