MCPcopy Create free account
hub / github.com/bytebase/bytebase / ValidateMaskingExemptionCELExpr

Function ValidateMaskingExemptionCELExpr

backend/common/cel.go:182–184  ·  view source on GitHub ↗

ValidateMaskingExemptionCELExpr validates masking exemption expr.

(expression *expr.Expr)

Source from the content-addressed store, hash-verified

180
181// ValidateMaskingExemptionCELExpr validates masking exemption expr.
182func ValidateMaskingExemptionCELExpr(expression *expr.Expr) (cel.Program, error) {
183 return validateCELExpr(expression, MaskingExemptionPolicyCELAttributes)
184}
185
186func ValidateProjectMemberCELExpr(expression *expr.Expr) (cel.Program, error) {
187 return validateCELExpr(expression, IAMPolicyConditionCELAttributes)

Callers 1

validatePolicyPayloadFunction · 0.92

Calls 1

validateCELExprFunction · 0.85

Tested by

no test coverage detected