From 7fe70aac8011fc9a62526aff4223bff24d33d35d Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 22 Aug 2024 13:27:43 +0200 Subject: [PATCH] Document policy settings for changing the policy wasm file --- docs/reference/configuration.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index 42913b88..2716e0d7 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -334,6 +334,23 @@ Policy settings ```yaml policy: + # Path to the WASM module + # Default for docker feature: `/usr/local/share/mas-cli/policy.wasm` + # Default for dist feature: `./share/policy.wasm` + # Default otherwise: `./policies/policy.wasm` + wasm_module: ./policies/policy.wasm + # Entrypoint to use when evaluating client registrations + client_registration_entrypoint: client_registration/violation + # Entrypoint to use when evaluating user registrations + register_entrypoint: register/violation + # Entrypoint to use when evaluating authorization grants + authorization_grant_entrypoint: authorization_grant/violation + # Entrypoint to use when changing password + password_entrypoint: password/violation + # Entrypoint to use when adding an email address + email_entrypoint: email/violation + + # This data is being passed to the policy data: # Users which are allowed to ask for admin access. If possible, use the # can_request_admin flag on users instead.