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
"certificate_body must be 32768 characters or less",
67
+
attribute.Expr,
68
+
)
69
+
}
70
+
iflen(val) <r.min {
71
+
runner.EmitIssueOnExpr(
72
+
r,
73
+
"certificate_body must be 1 characters or higher",
74
+
attribute.Expr,
75
+
)
76
+
}
77
+
if!r.pattern.MatchString(val) {
78
+
runner.EmitIssueOnExpr(
79
+
r,
80
+
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^-{5}BEGIN CERTIFICATE-{5}\x{000D}?\x{000A}([A-Za-z0-9/+]{64}\x{000D}?\x{000A})*[A-Za-z0-9/+]{1,64}={0,2}\x{000D}?\x{000A}-{5}END CERTIFICATE-{5}(\x{000D}?\x{000A})?$`),
"certificate_chain must be 2097152 characters or less",
67
+
attribute.Expr,
68
+
)
69
+
}
70
+
iflen(val) <r.min {
71
+
runner.EmitIssueOnExpr(
72
+
r,
73
+
"certificate_chain must be 1 characters or higher",
74
+
attribute.Expr,
75
+
)
76
+
}
77
+
if!r.pattern.MatchString(val) {
78
+
runner.EmitIssueOnExpr(
79
+
r,
80
+
fmt.Sprintf(`"%s" does not match valid pattern %s`, truncateLongMessage(val), `^(-{5}BEGIN CERTIFICATE-{5}\x{000D}?\x{000A}([A-Za-z0-9/+]{64}\x{000D}?\x{000A})*[A-Za-z0-9/+]{1,64}={0,2}\x{000D}?\x{000A}-{5}END CERTIFICATE-{5}\x{000D}?\x{000A})*-{5}BEGIN CERTIFICATE-{5}\x{000D}?\x{000A}([A-Za-z0-9/+]{64}\x{000D}?\x{000A})*[A-Za-z0-9/+]{1,64}={0,2}\x{000D}?\x{000A}-{5}END CERTIFICATE-{5}(\x{000D}?\x{000A})?$`),
0 commit comments