regal icon indicating copy to clipboard operation
regal copied to clipboard

Warn about implementation details?

Open srenatus opened this issue 1 year ago • 2 comments

This is tricky to do this check, but rego that checks if sprintf("%d), [x]) contains %! is an implementation detail you don't want in your policies. It depends on the Golang stdlib to be used to back the sprintf calls, which happens to be true for the most part, but could also not be the case. It's most unlikely to be the case for Wasm.

srenatus avatar Apr 19 '23 18:04 srenatus