-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Decision_logs console logging #5129
Comments
When you specify the |
@ashutosh-narkar But discovery config, that is returned from the service is immutable, the omitting of the plugin does not change anything once OPA received the first response with the decision_logs attribute. |
@ShevtsovBohdan some of this behavior is for backwards compatibility. So if your turn off the console logger OPA will choose the first service to send the logs. Is there a reason to turn the console logger on and off ? |
It was a request from the DevOps engineers. |
This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. |
Closing this as there do not seem to be any changes required in OPA. |
Short description
When the decision_logs: console config option set to false, looks like OPA tries to send requests with decision_logs to an external service
Examples:
Discovery config 1:
{ "discovery": { "bundles": { "tenant": { "service": "as", "resource": "", "polling": { "min_delay_seconds": 20, "max_delay_seconds": 40 } } }, "decision_logs": { "console": true } } }
Discovery config 2:
{ "discovery": { "bundles": { "tenant": { "service": "as", "resource": "", "polling": { "min_delay_seconds": 20, "max_delay_seconds": 40 } } }, "decision_logs": { "console": false } } }
Note that the only change between config #1 and config #2 is decision_logs: console option value.
Steps To Reproduce
Expected behavior
On step 4 the decision_logs should be disabled.
The text was updated successfully, but these errors were encountered: