opa
opa copied to clipboard
decision log drop rule
other half of #5043
this solves https://github.com/open-policy-agent/opa/issues/3945
drops events before logging decision, if the drop rule evaluates to true
e.g. drop all granted requests
package system.log
drop {
input.result
}
New configuration option
decision_logs
drop_decision: "/system/log/drop" (default)
😳 Looks like I've missed that this PR had seen some action. I'll have another look soon. Please bear with me!
Hello @srenatus,
I did a small change to use the Allow-method, but not much more. We had a very sudden and painful reorg. I'm not sure, if I'll be able to much more for this PR. :-( I'll know more next week. I'll try to get it done, if I find some spare time. But I'm busy with my new tasks, and looking for a new job atm.
Sorry to hear that, @iamatwork 😞 I hope that situation is resolved as soon as possible! Let us know once you know if you'll have time to finish this, or we can try and add the last missing pieces so that we can have it merged.
@iamatwork sorry I pinged you in a different PR that was merged. I actually ment this one, do you mind if we pick it up?
@iamatwork sorry I pinged you in a different PR that was merged. I actually ment this one, do you mind if we pick it up?
I'd be happy, if you did. I don't have proper testing infrastructure anymore.
@iamatwork sorry I pinged you in a different PR that was merged. I actually ment this one, do you mind if we pick it up?
I'd be happy, if you did. I don't have proper testing infrastructure anymore.
Thank you for replying. Best of luck with finding a new opportunity!
Thanks for the hand-over and thanks for picking this up. Since it'll be a new PR anyways, I'll close this one.
@iamatwork good luck with your next steps! 🤞