Skip to content

Added feature for loading a custom WASI policy engine as a plugin from a shared library - #2

Open
cdanger wants to merge 1 commit into
idlab-discover:security_policy_filefrom
elasticproject-eu:elastic_ths_security_policy_file
Open

Added feature for loading a custom WASI policy engine as a plugin from a shared library#2
cdanger wants to merge 1 commit into
idlab-discover:security_policy_filefrom
elasticproject-eu:elastic_ths_security_policy_file

Conversation

@cdanger

@cdanger cdanger commented Jul 13, 2026

Copy link
Copy Markdown

Adds an optional CLI option --policy-engine (as a complement to --policy) that enables Wasmtime to load a custom policy engine from a shared library as a plugin (e.g. THS WASI PEP in ELASTIC Project), i.e. without modifying Wasmtime code. A policy engine in this case is a library responsible for configuring the WASI capabilities, using the --policy argument as initial policy (if one is specified) and/or an external policy decision point for more dynamic policy enforcement. If no --policy-engine is specified, the --policy argument is used like before.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants