You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relation of builtin-list and builtin-usage in different repositories containing builtins, so we can prioritize builtin implementation depending on the usage. The list of the full SDK-dependant bultins follows:
Relation of builtin-list and builtin-usage in different repositories containing builtins, so we can prioritize builtin implementation depending on the usage. The list of the full SDK-dependant bultins follows:
rand.intn
json.patch
sprintf
regex.split
regex.globs_match
regex.template_match
regex.find_n
glob.quote_meta
units.parse_bytes
base64url.encode_no_pad
urlquery.encode
urlquery.encode_object
urlquery.decode
urlquery.decode_object
json.is_valid
yaml.marshal
yaml.unmarshal
yaml.is_valid
hex.encode
hex.decode
io.jwt.encode_sign_raw
io.jwt.encode_sign
io.jwt.verify_rs256
io.jwt.verify_rs384
io.jwt.verify_rs512
io.jwt.verify_ps256
io.jwt.verify_ps384
io.jwt.verify_ps512
io.jwt.verify_es256
io.jwt.verify_es384
io.jwt.verify_es512
io.jwt.verify_hs256
io.jwt.verify_hs384
io.jwt.verify_hs512
io.jwt.decode
io.jwt.decode_verify
time.now_ns
time.parse_ns
time.parse_rfc3339_ns
time.parse_duration_ns
time.date
time.clock
time.weekday
time.add_date
time.diff
crypto.x509.parse_certificates
crypto.x509.parse_and_verify_certificates
crypto.x509.parse_certificate_request
crypto.md5
crypto.sha1
crypto.sha256
http.send
net.cidr_contains_matches
net.cidr_expand
net.cidr_merge
uuid.rfc4122
semver.is_valid
semver.compare
rego.parse_module
opa.runtime
trace
The use of builtins, per repo:
Gatekeeper library (https://github.com/open-policy-agent/gatekeeper-library)
re_match
: now renamed toregex.match
, but not updated in the policy code. 12 usages.trace
: only used in tests. 18 usages.OPA library (https://github.com/open-policy-agent/library/tree/master/kubernetes)
re_match
: now renamed toregex.match
, but not updated in the policy code. 3 usages.yaml.unmarshal
: 1 usage.http.send
: 1 usage. I don't think we should aim for this right now.trace
: only used in tests. 9 usages.The rest of the table is not used by the policies in the mentioned repositories.
The text was updated successfully, but these errors were encountered: