-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timeout to policy evaluation #254
Add timeout to policy evaluation #254
Comments
I think there are basically two options:
|
Epoch deadline is a feature of wasmtime that allows the execution of a wasm module after some time has elapsed. This is needed to implement kubewarden/policy-server#254 Signed-off-by: Flavio Castelli <[email protected]>
Ensure a policy cannot run more than a given amount of time. This is required to fix kubewarden#254 Signed-off-by: Flavio Castelli <[email protected]>
Ensure a policy cannot run more than a given amount of time. This is required to fix kubewarden#254 Signed-off-by: Flavio Castelli <[email protected]>
I wonder if "timeout protection" is a good name for this feature 🤔 I think we should think about another one, because this is a bit confusing |
Ensure a policy cannot run more than a given amount of time. This is required to fix kubewarden#254 Signed-off-by: Flavio Castelli <[email protected]>
I'm having trouble finding a better wording for "if policy timeout reached, reject request". |
Ensure a policy cannot run more than a given amount of time. This is required to fix #254 Signed-off-by: Flavio Castelli <[email protected]>
Epoch deadline is a feature of wasmtime that allows the execution of a wasm module after some time has elapsed. This is needed to implement kubewarden/policy-server#254 Signed-off-by: Flavio Castelli <[email protected]>
Ensure a policy cannot run more than a given amount of time. This is required to fix kubewarden#254 Signed-off-by: Flavio Castelli <[email protected]>
reopening, there are other tasks that have to be done |
To help the mitigation of the threat #2 of the threat model, the policy server should allow the operator define a timeout for the policy evaluation. If a policy takes more then the defined timeout, the request is rejected.
NOTE: This is an issue created from RFC discussing the admission control threat model. It's created to allow the Kubewarden team discuss the proposed mitigation further and start to work on each actionable item when possible
Actions
The text was updated successfully, but these errors were encountered: