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
"description": "Schema for trusted_task_rules configuration as defined in ADR 53",
228
+
"type": "object",
229
+
"properties": {
230
+
"allow": {
231
+
"type": "array",
232
+
"description": "Rules that allow tasks matching the pattern",
233
+
"items": {
234
+
"type": "object",
235
+
"required": ["name", "pattern"],
236
+
"properties": {
237
+
"name": {
238
+
"type": "string",
239
+
"description": "Human-readable name for the rule",
240
+
},
241
+
"pattern": {
242
+
"type": "string",
243
+
# regal ignore:line-length
244
+
"description": "URL pattern to match task references. Must not include version tags (e.g., 'oci://quay.io/konflux-ci/tekton-catalog/*' not 'oci://quay.io/konflux-ci/tekton-catalog/task-buildah:0.4*'). Supports wildcards (*).",
245
+
"pattern": "^(oci://|git\\+)",
246
+
},
247
+
"effective_on": {
248
+
"type": "string",
249
+
"format": "date",
250
+
# regal ignore:line-length
251
+
"description": "Date when this rule becomes effective (e.g., '2025-02-01'). Rules with future effective_on dates are not considered. If omitted, rule is effective immediately.",
252
+
},
253
+
"versions": {
254
+
"type": "array",
255
+
# regal ignore:line-length
256
+
"description": "Version constraints to apply. Only tasks matching these version constraints are allowed. Non-semver tags never match version constraints.",
257
+
"items": {
258
+
"type": "string",
259
+
"description": "Version constraint using semver syntax (e.g., '<0.5', '>=2,<2.1.0')",
260
+
},
261
+
"minItems": 1,
262
+
},
263
+
},
264
+
"additionalProperties": true,
265
+
},
266
+
"default": [],
267
+
},
268
+
"deny": {
269
+
"type": "array",
270
+
"description": "Rules that deny tasks matching the pattern. Deny rules take precedence over allow rules.",
271
+
"items": {
272
+
"type": "object",
273
+
"required": ["name", "pattern"],
274
+
"properties": {
275
+
"name": {
276
+
"type": "string",
277
+
"description": "Human-readable name for the rule",
278
+
},
279
+
"pattern": {
280
+
"type": "string",
281
+
# regal ignore:line-length
282
+
"description": "URL pattern to match task references. Must not include version tags (e.g., 'oci://quay.io/konflux-ci/tekton-catalog/task-buildah*' not 'oci://quay.io/konflux-ci/tekton-catalog/task-buildah:0.4*'). Supports wildcards (*).",
283
+
"pattern": "^(oci://|git\\+)",
284
+
},
285
+
"effective_on": {
286
+
"type": "string",
287
+
"format": "date",
288
+
# regal ignore:line-length
289
+
"description": "Date when this rule becomes effective (e.g., '2025-11-15'). Rules with future effective_on dates are not considered. If omitted, rule is effective immediately.",
290
+
},
291
+
"message": {
292
+
"type": "string",
293
+
"description": "User-visible message explaining why the task is denied (e.g., deprecation notice)",
294
+
},
295
+
"versions": {
296
+
"type": "array",
297
+
# regal ignore:line-length
298
+
"description": "Version constraints to apply. Only tasks matching these version constraints are denied. Non-semver tags never match version constraints.",
299
+
"items": {
300
+
"type": "string",
301
+
"description": "Version constraint using semver syntax (e.g., '<0.5', '>=2,<2.1.0')",
0 commit comments