Skip to content
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 evaluation configuration in policies CRDs #1042

Open
jvanz opened this issue Mar 13, 2025 · 0 comments
Open

Add timeout evaluation configuration in policies CRDs #1042

jvanz opened this issue Mar 13, 2025 · 0 comments

Comments

@jvanz
Copy link
Member

jvanz commented Mar 13, 2025

Recently an user run into issue when the audit scanner starts in a environment with scarce resources. He was running the env-var-secret-scanner policy witch due the dependencies it has to perform secrets scanning it take a little bit longer to run. As the policy server has not that many resources available, all the policy evaluations starts to take longer and eventually, the secret scanner policy hit the policy evaluation timeout. Causing the evaluation to fail.

To workaround the issue, the user reduced the number of parallel request performed. To be less aggressive in this environment with less computational resources. But this is not ideal.

The goal of this issue is to consider allowing define evaluation timeout per policy. Therefore, different policies running in the same policy server can have different evaluation timeout.

Acceptance criteria

  • Decide if this should be implemented
  • If decided to add this feature, do it!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant