From dd10213cc9f07c4b08bd41d660634c64c25b6358 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2026 07:16:15 +0000 Subject: [PATCH] chore: regenerate catalog from OpenAPI spec --- src/catalog.json | 162 ++++++++++++++++++++++++++++------------------- 1 file changed, 96 insertions(+), 66 deletions(-) diff --git a/src/catalog.json b/src/catalog.json index dea31c3..b94ec23 100644 --- a/src/catalog.json +++ b/src/catalog.json @@ -436,7 +436,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -450,7 +450,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -685,7 +685,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -699,7 +699,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -932,7 +932,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -946,7 +946,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -982,7 +982,6 @@ "title": "Issue Fields" } }, - "additionalProperties": false, "type": "object", "required": ["issue_id","issue_url","issue_exists"], "title": "JiraItem" @@ -1199,7 +1198,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -1213,7 +1212,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -1248,7 +1247,6 @@ "duration": {"type":"number","title":"Duration"}, "timestamp": {"anyOf":[{"type":"number"},{"type":"null"}],"title":"Timestamp"} }, - "additionalProperties": false, "type": "object", "required": ["name","failures","errors","skipped","total","duration"], "title": "JUnitResult" @@ -1469,7 +1467,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -1483,7 +1481,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -1531,7 +1529,6 @@ "title": "Approvers" } }, - "additionalProperties": false, "type": "object", "required": ["url","state","merge_commit"], "title": "FoundPullRequestV1" @@ -1574,7 +1571,6 @@ "title": "Timestamp" } }, - "additionalProperties": false, "type": "object", "required": ["username"], "title": "PullRequestApprover" @@ -1634,7 +1630,6 @@ "title": "Commits" } }, - "additionalProperties": false, "type": "object", "required": [ "url", @@ -1887,7 +1882,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -1901,7 +1896,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -1933,7 +1928,6 @@ "name": {"type":"string","title":"Name"}, "version": {"type":"string","title":"Version"} }, - "additionalProperties": false, "type": "object", "required": ["name","version"], "title": "SnykTool" @@ -2053,7 +2047,6 @@ "title": "High" } }, - "additionalProperties": false, "type": "object", "required": ["low_count","medium_count","high_count"], "title": "ProjectScanResult" @@ -2062,7 +2055,6 @@ "title": "Results" } }, - "additionalProperties": false, "type": "object", "required": ["tool","results"], "title": "SnykResultsSummary" @@ -2276,7 +2268,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -2290,7 +2282,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -2592,7 +2584,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -2606,7 +2598,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -2630,7 +2622,7 @@ ], "title": "User Data" }, - "type_name": {"type":"string","enum":["decision"],"title":"Type Name"}, + "type_name": {"type":"string","enum":["decision","sbom"],"title":"Type Name"}, "attestation_data": { "type": "string", "contentMediaType": "application/json", @@ -2700,7 +2692,7 @@ "properties": { "trail_name": { "anyOf": [ - {"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_.~]*$"}, + {"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$"}, {"type":"null"} ], "title": "Trail Name" @@ -2853,7 +2845,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -2864,7 +2856,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -2978,7 +2970,7 @@ }, "trail": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_.~]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$", "title": "Trail", "description": "Name of the trail to evaluate" } @@ -3021,6 +3013,50 @@ "type": "object", "title": "Params", "description": "Values the policy reads as `data.params`, not enforced against it" + }, + "decision": { + "anyOf": [ + { + "properties": { + "control": { + "type": "string", + "maxLength": 256, + "pattern": "^[a-zA-Z0-9\\-._~]+$", + "title": "Control", + "description": "Identifier of the control the decision answers" + }, + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9\\-_,]+$", + "title": "Name", + "description": "Attestation name the decision is recorded under, which is its slot in the trail" + }, + "flow": { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$", + "title": "Flow", + "description": "Name of the flow the decision is recorded in" + }, + "trail": { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$", + "title": "Trail", + "description": "Name of the trail the decision is recorded in" + }, + "fingerprint": { + "anyOf": [{"type":"string","pattern":"^[a-f0-9]{64}$"},{"type":"null"}], + "title": "Fingerprint", + "description": "Fingerprint of the artifact the decision is about. Absent, the decision is recorded against the trail itself" + } + }, + "additionalProperties": false, + "type": "object", + "required": ["control","name","flow","trail"], + "title": "DecisionInput" + }, + {"type":"null"} + ], + "description": "Record the outcome as a decision against a control. Absent, the evaluation stands alone and writes nothing to a trail" } }, "additionalProperties": false, @@ -3244,7 +3280,7 @@ "properties": { "name": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~/]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~/]*$", "title": "Name", "examples": ["production-action"] }, @@ -3271,7 +3307,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3280,7 +3315,6 @@ ] } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "SlackActionTarget" @@ -3304,7 +3338,6 @@ "default": "1.0" } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "WebhookActionTarget" @@ -3326,7 +3359,6 @@ "title": "Emails" } }, - "additionalProperties": false, "type": "object", "required": ["emails"], "title": "EmailActionTarget" @@ -3343,7 +3375,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3378,7 +3409,9 @@ ] }, "type": "array", - "title": "Triggers" + "title": "Triggers", + "description": "The events that fire this action. Each value is shown in the UI under a different label:\n\n- `ON_STARTED_ARTIFACT` (Artifact Start): an artifact starts running in the environment.\n- `ON_EXITED_ARTIFACT` (Artifact Stop): an artifact stops running.\n- `ON_SCALED_ARTIFACT` (Artifact changed): a running artifact becomes compliant or non-compliant, or gains new provenance. It does not fire when an artifact starts, so it is not a deployment trigger. The name is historical; scaling events are no longer recorded.\n- `ON_ALLOWED_ARTIFACT` (Artifact allow-listing): an artifact is added to the allow-list.\n- `ON_COMPLIANT_ENV` (Environment becomes compliant): the environment as a whole flips to compliant.\n- `ON_NON_COMPLIANT_ENV` (Environment becomes non-compliant): the environment as a whole flips to non-compliant.", + "examples": [["ON_STARTED_ARTIFACT","ON_NON_COMPLIANT_ENV"]] } }, "additionalProperties": false, @@ -3415,7 +3448,7 @@ "properties": { "name": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~/]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~/]*$", "title": "Name", "examples": ["production-action"] }, @@ -3442,7 +3475,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3451,7 +3483,6 @@ ] } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "SlackActionTarget" @@ -3475,7 +3506,6 @@ "default": "1.0" } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "WebhookActionTarget" @@ -3497,7 +3527,6 @@ "title": "Emails" } }, - "additionalProperties": false, "type": "object", "required": ["emails"], "title": "EmailActionTarget" @@ -3514,7 +3543,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3549,7 +3577,9 @@ ] }, "type": "array", - "title": "Triggers" + "title": "Triggers", + "description": "The events that fire this action. Each value is shown in the UI under a different label:\n\n- `ON_STARTED_ARTIFACT` (Artifact Start): an artifact starts running in the environment.\n- `ON_EXITED_ARTIFACT` (Artifact Stop): an artifact stops running.\n- `ON_SCALED_ARTIFACT` (Artifact changed): a running artifact becomes compliant or non-compliant, or gains new provenance. It does not fire when an artifact starts, so it is not a deployment trigger. The name is historical; scaling events are no longer recorded.\n- `ON_ALLOWED_ARTIFACT` (Artifact allow-listing): an artifact is added to the allow-list.\n- `ON_COMPLIANT_ENV` (Environment becomes compliant): the environment as a whole flips to compliant.\n- `ON_NON_COMPLIANT_ENV` (Environment becomes non-compliant): the environment as a whole flips to non-compliant.", + "examples": [["ON_STARTED_ARTIFACT","ON_NON_COMPLIANT_ENV"]] } }, "additionalProperties": false, @@ -3586,7 +3616,7 @@ "properties": { "name": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~/]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~/]*$", "title": "Name", "examples": ["release-action"] }, @@ -3613,7 +3643,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3622,7 +3651,6 @@ ] } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "SlackActionTarget" @@ -3646,7 +3674,6 @@ "default": "1.0" } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "WebhookActionTarget" @@ -3668,7 +3695,6 @@ "title": "Emails" } }, - "additionalProperties": false, "type": "object", "required": ["emails"], "title": "EmailActionTarget" @@ -3685,7 +3711,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -3816,7 +3841,7 @@ "properties": { "name": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$", "title": "Name", "examples": ["production-policy"] }, @@ -3991,7 +4016,11 @@ "properties": { "data_json": { "properties": { - "name": {"type":"string","pattern":"^[a-zA-Z0-9][a-zA-Z0-9\\-_.~]*$","title":"Name"}, + "name": { + "type": "string", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$", + "title": "Name" + }, "description": {"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}, "git_commit_info": { "anyOf": [ @@ -4084,7 +4113,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -4098,7 +4127,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -5806,6 +5835,7 @@ "description": "The page number of response", "schema": { "type": "integer", + "minimum": 1, "description": "The page number of response", "default": 1, "title": "Page" @@ -5818,6 +5848,7 @@ "description": "How many artifacts to return per page of response", "schema": { "type": "integer", + "minimum": 1, "description": "How many artifacts to return per page of response", "default": 15, "title": "Per Page" @@ -5851,7 +5882,7 @@ "in": "path", "required": true, "description": "", - "schema": {"type":"string","title":"Commit Sha"} + "schema": {"type":"string","pattern":"^[a-f0-9]{5,40}$","title":"Commit Sha"} }, { "name": "org", @@ -7163,7 +7194,8 @@ "required": false, "description": "The page number of response", "schema": { - "anyOf": [{"type":"integer"},{"type":"null"}], + "type": "integer", + "minimum": 1, "description": "The page number of response", "default": 1, "title": "Page" @@ -7175,7 +7207,8 @@ "required": false, "description": "How many results to return per page of response", "schema": { - "anyOf": [{"type":"integer"},{"type":"null"}], + "type": "integer", + "minimum": 1, "description": "How many results to return per page of response", "default": 20, "title": "Per Page" @@ -8152,7 +8185,7 @@ "anyOf": [ { "patternProperties": { - "^[^=.]+$": { + "^[^=.\\x00]+$": { "properties": { "href": {"type":"string","title":"Href"}, "fingerprint": { @@ -8163,7 +8196,7 @@ "additionalProperties": false, "type": "object", "required": ["href"], - "title": "ExternalAttachmentUrl" + "title": "ExternalAttachmentUrlInput" } }, "type": "object" @@ -9376,7 +9409,7 @@ "properties": { "name": { "type": "string", - "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~/]*$", + "pattern": "^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~/]*$", "title": "Name", "examples": ["production-action"] }, @@ -9403,7 +9436,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -9412,7 +9444,6 @@ ] } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "SlackActionTarget" @@ -9436,7 +9467,6 @@ "default": "1.0" } }, - "additionalProperties": false, "type": "object", "required": ["webhook"], "title": "WebhookActionTarget" @@ -9458,7 +9488,6 @@ "title": "Emails" } }, - "additionalProperties": false, "type": "object", "required": ["emails"], "title": "EmailActionTarget" @@ -9475,7 +9504,6 @@ "channel_name": {"type":"string","title":"Channel Name"}, "team_id": {"type":"string","title":"Team Id"} }, - "additionalProperties": false, "type": "object", "required": ["channel_id","channel_name","team_id"], "title": "SlackAppContext" @@ -9510,7 +9538,9 @@ ] }, "type": "array", - "title": "Triggers" + "title": "Triggers", + "description": "The events that fire this action. Each value is shown in the UI under a different label:\n\n- `ON_STARTED_ARTIFACT` (Artifact Start): an artifact starts running in the environment.\n- `ON_EXITED_ARTIFACT` (Artifact Stop): an artifact stops running.\n- `ON_SCALED_ARTIFACT` (Artifact changed): a running artifact becomes compliant or non-compliant, or gains new provenance. It does not fire when an artifact starts, so it is not a deployment trigger. The name is historical; scaling events are no longer recorded.\n- `ON_ALLOWED_ARTIFACT` (Artifact allow-listing): an artifact is added to the allow-list.\n- `ON_COMPLIANT_ENV` (Environment becomes compliant): the environment as a whole flips to compliant.\n- `ON_NON_COMPLIANT_ENV` (Environment becomes non-compliant): the environment as a whole flips to non-compliant.", + "examples": [["ON_STARTED_ARTIFACT","ON_NON_COMPLIANT_ENV"]] } }, "additionalProperties": false, @@ -9621,7 +9651,7 @@ "set_tags": { "anyOf": [ { - "patternProperties": {"^[a-zA-Z0-9][a-zA-Z0-9\\-_\\.~]*$":{"type":"string"}}, + "patternProperties": {"^[a-zA-Z0-9][a-zA-Z0-9\\.\\-_~]*$":{"type":"string"}}, "type": "object" }, {"type":"null"}