changedInput schema / properties / actions / items / properties / schema / anyOf
Previous value: -[
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "headers": {
- "additionalProperties": {
- "description": "The headers for the HTTP request",
- "type": "string"
- },
- "description": "The headers for the HTTP request",
- "type": "object"
- },
- "httpMethod": {
- "description": "The HTTP method for the request",
- "enum": [
- "GET",
- "POST",
- "PUT",
- "DELETE",
- "PATCH"
- ],
- "type": "string"
- },
- "integration": {
- "description": "The integration to use for authentication",
- "enum": [
- "AzureDevops",
- "Bitbucket",
- "GitHub",
- "LaunchDarkly",
- "ServiceNow",
- "GitLab",
- "Pagerduty",
- "Slack",
- "Cortex",
- "Jenkins",
- "Google",
- "Harness",
- "Jira",
- "Sonarqube",
- "CircleCi",
- "Coralogix",
- "Semgrep",
- "Apiiro",
- "Prometheus",
- "Rootly",
- "NewRelic",
- "Opsgenie",
- "Sentry",
- "Snyk",
- "Buildkite",
- "Firehydrant",
- "Victorops",
- "Rollbar",
- "Bugsnag",
- "Codecov",
- "SignalFX",
- "Instana",
- "Lightstep",
- "SumoLogic",
- "Mend",
- "BambooHR",
- "XMatters",
- "Clickup"
- ],
- "type": "string"
- },
- "integrationAlias": {
- "description": "The alias of the integration configuration to use",
- "type": "string"
- },
- "payload": {
- "description": "The payload for the request",
- "type": "string"
- },
- "targetHost": {
- "description": "The *.googleapis.com host to target when using the Google Cloud integration. Setting this with any other integration is rejected as invalid. Defaults to cloudresourcemanager.googleapis.com when unset.",
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "url": {
- "description": "The URL for the request",
- "type": "string"
- }
- },
- "required": [
- "headers",
- "httpMethod",
- "type",
- "url"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "HTTP_REQUEST",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "actionIdentifier": {
- "description": "The ID of the Cortex library action to run, e.g. `googleCloud.getProject`. Copy it from an existing workflow with getWorkflow.",
- "type": "string"
- },
- "inputs": {
- "additionalProperties": {
- "type": "object"
- },
- "description": "The values for the inputs of the library action, by input key",
- "type": "object"
- },
- "integrationAlias": {
- "description": "The alias of the integration configuration to use. Required when the integration has more than one configuration.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "actionIdentifier",
- "inputs",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "ADVANCED_HTTP_REQUEST",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "headers": {
- "additionalProperties": {
- "description": "The headers for the HTTP request",
- "type": "string"
- },
- "description": "The headers for the HTTP request",
- "type": "object"
- },
- "httpMethod": {
- "description": "The HTTP method for the request",
- "enum": [
- "GET",
- "POST",
- "PUT",
- "DELETE",
- "PATCH"
- ],
- "type": "string"
- },
- "integration": {
- "description": "The integration to use for authentication",
- "enum": [
- "AzureDevops",
- "Bitbucket",
- "GitHub",
- "LaunchDarkly",
- "ServiceNow",
- "GitLab",
- "Pagerduty",
- "Slack",
- "Cortex",
- "Jenkins",
- "Google",
- "Harness",
- "Jira",
- "Sonarqube",
- "CircleCi",
- "Coralogix",
- "Semgrep",
- "Apiiro",
- "Prometheus",
- "Rootly",
- "NewRelic",
- "Opsgenie",
- "Sentry",
- "Snyk",
- "Buildkite",
- "Firehydrant",
- "Victorops",
- "Rollbar",
- "Bugsnag",
- "Codecov",
- "SignalFX",
- "Instana",
- "Lightstep",
- "SumoLogic",
- "Mend",
- "BambooHR",
- "XMatters",
- "Clickup"
- ],
- "type": "string"
- },
- "integrationAlias": {
- "description": "The alias of the integration configuration to use",
- "type": "string"
- },
- "payload": {
- "description": "The payload for the request",
- "type": "string"
- },
- "targetHost": {
- "description": "The *.googleapis.com host to target when using the Google Cloud integration. Setting this with any other integration is rejected as invalid. Defaults to cloudresourcemanager.googleapis.com when unset.",
- "type": "string"
- },
- "timeoutInSeconds": {
- "description": "The timeout for the request in seconds",
- "format": "int32",
- "type": "integer"
- },
- "type": {
- "type": "string"
- },
- "url": {
- "description": "The URL for the request",
- "type": "string"
- }
- },
- "required": [
- "headers",
- "httpMethod",
- "type",
- "url"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "HTTP_REQUEST_ASYNC",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "createNewRepository": {
- "description": "Whether the Scaffolder should create a new repository. Defaults to `true`",
- "type": "boolean"
- },
- "createService": {
- "description": "Whether the cortex service should be created.",
- "type": "boolean"
- },
- "inputOverrides": {
- "description": "The input overrides for the Scaffolder",
- "items": {
- "anyOf": [
- {
- "allOf": [
- {
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "inputKey": {
- "description": "The input key to override",
- "type": "string"
- },
- "outputVariable": {
- "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "inputKey",
- "outputVariable",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "editable": {
- "description": "Whether the override is editable by the user. Defaults to `false`. If set to `true` it'll pause the execution of the workflow and wait for the user to provide the value",
- "type": "boolean"
- },
- "inputKey": {
- "description": "The input key to override",
- "type": "string"
- },
- "outputVariable": {
- "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "editable",
- "inputKey",
- "outputVariable",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "type": "object"
- }
- ],
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "scaffolderTemplateId": {
- "description": "On input, accepts either the tag or the Cortex ID of the Scaffolder template. On output, always the template's Cortex ID, or `null` if the referenced template was deleted.",
- "type": "string"
- },
- "scaffolderTemplateTag": {
- "description": "The tag of the Scaffolder template. Preferred over `scaffolderTemplateId` when both are provided, so workflow definitions stay portable across workspaces.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "inputOverrides",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SCAFFOLDER",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "inputOverrides": {
- "description": "The list of overrides for the action inputs",
- "items": {
- "anyOf": [
- {
- "allOf": [
- {
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "inputKey": {
- "description": "The input key to override",
- "type": "string"
- },
- "outputVariable": {
- "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "inputKey",
- "outputVariable",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "editable": {
- "description": "Whether the override is editable by the user. Defaults to `false`. If set to `true` it'll pause the execution of the workflow and wait for the user to provide the value",
- "type": "boolean"
- },
- "inputKey": {
- "description": "The input key to override",
- "type": "string"
- },
- "outputVariable": {
- "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "editable",
- "inputKey",
- "outputVariable",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "type": "object"
- }
- ],
- "description": "The list of overrides for the action inputs",
- "properties": {
- "type": {
- "description": "The type of the input override",
- "enum": [
- "OPTION",
- "VALUE"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "inputs": {
- "description": "The list of inputs required for the action",
- "items": {
- "anyOf": [
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "defaultValue": {
- "description": "The default value for the input",
- "type": "string"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- },
- "validationRegex": {
- "description": "The validation regex for the input",
- "type": "string"
- }
- },
- "required": [
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "INPUT_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "defaultValue": {
- "description": "The default value for the input",
- "type": "string"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- },
- "validationRegex": {
- "description": "The validation regex for the input",
- "type": "string"
- }
- },
- "required": [
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "TEXTAREA_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowAdditionalOptions": {
- "description": "Whether additional options are allowed. Defaults to `false`",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The default value for the input",
- "type": "string"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "options": {
- "description": "The list of options for the input",
- "items": {
- "description": "The list of options for the input",
- "type": "string"
- },
- "type": "array"
- },
- "optionsLabels": {
- "description": "The list of labels for the options. If not provided, the options will be used as labels",
- "items": {
- "description": "The list of labels for the options. If not provided, the options will be used as labels",
- "type": "string"
- },
- "type": "array"
- },
- "placeholder": {
- "description": "The placeholder value for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "allowAdditionalOptions",
- "key",
- "name",
- "options",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SELECT_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowAdditionalOptions": {
- "description": "Whether additional options are allowed. Defaults to `false`",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The default value for the input",
- "items": {
- "description": "The default value for the input",
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "options": {
- "description": "The list of options for the input",
- "items": {
- "description": "The list of options for the input",
- "type": "string"
- },
- "type": "array"
- },
- "optionsLabels": {
- "description": "The list of labels for the options. If not provided, the options will be used as labels",
- "items": {
- "description": "The list of labels for the options. If not provided, the options will be used as labels",
- "type": "string"
- },
- "type": "array"
- },
- "placeholder": {
- "description": "The placeholder value for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "allowAdditionalOptions",
- "key",
- "name",
- "options",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "MULTISELECT_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "defaultValue": {
- "description": "The default value for the input",
- "type": "boolean"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "TOGGLE_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowMultiple": {
- "description": "Whether the input allows multiple values. Defaults to `false`",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The default value for the input",
- "items": {
- "description": "The default value for the input",
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "entityFilter": {
- "description": "The entity filter for the input",
- "properties": {
- "domainIds": {
- "description": "Restrict options to entities related to the provided domains",
- "items": {
- "description": "Restrict options to entities related to the provided domains",
- "type": "string"
- },
- "type": "array"
- },
- "emailOwners": {
- "description": "Restrict options to entities owned by the provided users",
- "items": {
- "description": "Restrict options to entities owned by the provided users",
- "type": "string"
- },
- "type": "array"
- },
- "excludedGroupTags": {
- "description": "Restrict options to entities not in the provided groups",
- "items": {
- "description": "Restrict options to entities not in the provided groups",
- "type": "string"
- },
- "type": "array"
- },
- "groupTags": {
- "description": "Restrict options to entities in the provided groups",
- "items": {
- "description": "Restrict options to entities in the provided groups",
- "type": "string"
- },
- "type": "array"
- },
- "teamIds": {
- "description": "Restrict options to entities owned by the provided teams",
- "items": {
- "description": "Restrict options to entities owned by the provided teams",
- "type": "string"
- },
- "type": "array"
- },
- "typeFilter": {
- "properties": {
- "types": {
- "description": "The entity types to include, by type tag, e.g. `service`, `domain` or `team`",
- "items": {
- "description": "The entity types to include, by type tag, e.g. `service`, `domain` or `team`",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "types"
- ],
- "type": "object"
- }
- },
- "type": "object"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "limitEntitiesToRunnerUserScope": {
- "description": "Whether to limit entity options to the workflow runner's entities. Defaults to `false`",
- "type": "boolean"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "shouldDisplayOptionsAsHierarchy": {
- "description": "Whether the options should be displayed as a hierarchy. Defaults to `false`",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "allowMultiple",
- "entityFilter",
- "key",
- "limitEntitiesToRunnerUserScope",
- "name",
- "required",
- "shouldDisplayOptionsAsHierarchy",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "CORTEX_ENTITY_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowMultiple": {
- "description": "Whether the input allows multiple values. Defaults to `false`",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The default value for the input",
- "items": {
- "description": "The default value for the input",
- "properties": {
- "email": {
- "description": "The email of the user",
- "type": "string"
- },
- "name": {
- "description": "The name of the user",
- "type": "string"
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "filter": {
- "description": "The user filter for the input",
- "properties": {
- "teamCids": {
- "description": "Restrict options to users on the provided teams",
- "items": {
- "description": "Restrict options to users on the provided teams",
- "type": "string"
- },
- "type": "array"
- },
- "userEmails": {
- "description": "Restrict options to users with the provided emails",
- "items": {
- "description": "Restrict options to users with the provided emails",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "allowMultiple",
- "filter",
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "CORTEX_USER_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowMultiple": {
- "description": "Whether the input allows multiple values. Defaults to `false`",
- "type": "boolean"
- },
- "defaultValue": {
- "description": "The default value for the input",
- "items": {
- "description": "The default value for the input",
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "filter": {
- "description": "The filters for the input",
- "properties": {
- "channels": {
- "description": "Restrict options to the provided channels",
- "items": {
- "description": "Restrict options to the provided channels",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "channels"
- ],
- "type": "object"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "allowMultiple",
- "filter",
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SLACK_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "disabled": {
- "description": "Whether the input should be disabled",
- "type": "boolean"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- },
- "validationRegex": {
- "description": "The validation regex for the input",
- "type": "string"
- }
- },
- "required": [
- "disabled",
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SECRET_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "defaultValue": {
- "description": "The default value for the input",
- "type": "number"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "disabled": {
- "description": "Whether the input should be disabled",
- "type": "boolean"
- },
- "format": {
- "description": "The number format of the input",
- "enum": [
- "INTEGER",
- "DECIMAL"
- ],
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "max": {
- "description": "The maximum value of the input",
- "type": "number"
- },
- "min": {
- "description": "The minimum value of the input",
- "type": "number"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "disabled",
- "format",
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "NUMBER_FIELD",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "defaultValue": {
- "description": "The default value for the input",
- "type": "string"
- },
- "description": {
- "description": "The description of the input",
- "type": "string"
- },
- "disabled": {
- "description": "Whether the input should be disabled",
- "type": "boolean"
- },
- "format": {
- "description": "The date format of the input",
- "enum": [
- "DATE",
- "DATETIME"
- ],
- "type": "string"
- },
- "key": {
- "description": "The key of the input",
- "type": "string"
- },
- "name": {
- "description": "The name of the input",
- "type": "string"
- },
- "placeholder": {
- "description": "The placeholder for the input",
- "type": "string"
- },
- "required": {
- "description": "Whether the input is required",
- "type": "boolean"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "disabled",
- "format",
- "key",
- "name",
- "required",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "DATE_FIELD",
- "type": "object"
- }
- ],
- "description": "The list of inputs required for the action",
- "properties": {
- "type": {
- "description": "The type of the input",
- "enum": [
- "INPUT_FIELD",
- "TEXTAREA_FIELD",
- "SELECT_FIELD",
- "MULTISELECT_FIELD",
- "TOGGLE_FIELD",
- "CORTEX_ENTITY_FIELD",
- "CORTEX_USER_FIELD",
- "SLACK_FIELD",
- "SECRET_FIELD",
- "NUMBER_FIELD",
- "DATE_FIELD",
- "NESTED_FORM_FIELD"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "jsValidatorScript": {
- "description": "Optional JavaScript validator script to validate the provided inputs",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "inputOverrides",
- "inputs",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "USER_INPUT",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "expression": {
- "description": "The JQ expression for the action. Its input has the keys `context`, `actions` and `variables`, e.g. `.context.initiatedBy.email`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "expression",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "JQ",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "channel": {
- "description": "The channel name to send the message to, without the `#`. For example for `#general` use `general`",
- "type": "string"
- },
- "message": {
- "description": "The message to send",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "channel",
- "message",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SLACK",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "approverDescription": {
- "description": "A description that will be shown to approvers. Supports templates.",
- "type": "string"
- },
- "approvingTeamIds": {
- "description": "The CIDs of the teams whose members can approve the action, not team tags. Can be empty when `approvingTeamIdsOverride` is set.",
- "items": {
- "description": "The CIDs of the teams whose members can approve the action, not team tags. Can be empty when `approvingTeamIdsOverride` is set.",
- "type": "string"
- },
- "type": "array"
- },
- "approvingTeamIdsOverride": {
- "description": "The path to the value that resolves the approving teams at run time, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.approvers`. The value at the path must be an array of team Cortex IDs or team tags.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "approvingTeamIds",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "MANUAL_APPROVAL",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "branches": {
- "description": "The list of conditional branches that will be evaluated in order. Each result is at `actions.<slug>.outputs.conditions.<branchSlug>.result`.",
- "items": {
- "description": "The list of conditional branches that will be evaluated in order. Each result is at `actions.<slug>.outputs.conditions.<branchSlug>.result`.",
- "properties": {
- "expression": {
- "description": "The CEL expression for the branch. It can use `context`, `actions` and `variables`, e.g. `variables.count > 0`.",
- "type": "string"
- },
- "name": {
- "description": "The name of the branch",
- "type": "string"
- },
- "outgoingAction": {
- "description": "The first action to execute in this branch path",
- "type": "string"
- },
- "slug": {
- "description": "The slug of the branch",
- "type": "string"
- },
- "type": {
- "description": "Must be `CONDITIONAL`",
- "enum": [
- "CONDITIONAL"
- ],
- "type": "string"
- }
- },
- "required": [
- "expression",
- "name",
- "slug",
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fallbackBranch": {
- "description": "The fallback branch that will be taken if no other branches evaluate to `true`",
- "properties": {
- "name": {
- "description": "The name of the branch",
- "type": "string"
- },
- "outgoingAction": {
- "description": "The first action to execute in this branch path",
- "type": "string"
- },
- "slug": {
- "description": "The slug of the branch",
- "type": "string"
- },
- "type": {
- "description": "Must be `FALLBACK`",
- "enum": [
- "FALLBACK"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "slug",
- "type"
- ],
- "type": "object"
- },
- "joiningAction": {
- "description": "The slug of the action where the branch paths join again. Leave it out if they do not join.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "branches",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "CONDITIONAL_BRANCH",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "alias": {
- "description": "The alias for the github configuration to be used",
- "type": "string"
- },
- "author": {
- "description": "The details of the original author of the changes being committed (optional)",
- "properties": {
- "email": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "branch": {
- "description": "The branch in the repository where the changes will be applied (optional; defaults to the main branch if not specified)",
- "type": "string"
- },
- "commitMessage": {
- "description": "A message describing the purpose of the commit",
- "type": "string"
- },
- "committer": {
- "description": "The details of the person or system making the commit, such as name and email (optional)",
- "properties": {
- "email": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "email",
- "name"
- ],
- "type": "object"
- },
- "content": {
- "description": "The content of the file to be created or updated (not base64-encoded)",
- "type": "string"
- },
- "path": {
- "description": "The full path to the file within the repository",
- "type": "string"
- },
- "repositoryName": {
- "description": "The name of the repository where the file is being created or updated",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "alias",
- "commitMessage",
- "content",
- "path",
- "repositoryName",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "GITHUB_CREATE_OR_UPDATE_FILE",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "channelId": {
- "description": "The channel id to send the message to",
- "type": "string"
- },
- "message": {
- "description": "The message to send",
- "type": "string"
- },
- "teamId": {
- "description": "The team id to send the message to",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "channelId",
- "message",
- "teamId",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "MS_TEAMS_SEND_MESSAGE",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "script": {
- "description": "The JavaScript script for the action. It runs as the body of `run(actions, context, variables)`, e.g. `return context.initiatedBy.email`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "script",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "JAVASCRIPT",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "type": {
- "type": "string"
- },
- "variables": {
- "description": "The variables to set for the action",
- "items": {
- "description": "The variables to set for the action",
- "properties": {
- "slug": {
- "description": "The slug of the workflow variable to set",
- "type": "string"
- },
- "source": {
- "anyOf": [
- {
- "allOf": [
- {
- "description": "How to set the variable",
- "properties": {
- "type": {
- "description": "How the value is found: `REFERENCE` reads a path, `JAVASCRIPT` runs a script",
- "enum": [
- "REFERENCE",
- "JAVASCRIPT"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "script": {
- "description": "The JavaScript script that returns the value. It runs as the body of `run(actions, context, variables)`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "script",
- "type"
- ],
- "type": "object"
- }
- ],
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "How to set the variable",
- "properties": {
- "type": {
- "description": "How the value is found: `REFERENCE` reads a path, `JAVASCRIPT` runs a script",
- "enum": [
- "REFERENCE",
- "JAVASCRIPT"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "path": {
- "description": "The path to the value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `actions.fetch.outputs.body`.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "path",
- "type"
- ],
- "type": "object"
- }
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "slug",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "type",
- "variables"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "SET_VARIABLES",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "accountId": {
- "description": "The AWS account ID to run the action in. Supports templates.",
- "type": "string"
- },
- "actionIdentifier": {
- "description": "The ID of the AWS action to run, e.g. `aws.ec2.describeInstances`. Copy it from an existing workflow with getWorkflow.",
- "type": "string"
- },
- "inputs": {
- "additionalProperties": {
- "type": "object"
- },
- "description": "The values for the inputs of the AWS action, by input key",
- "type": "object"
- },
- "region": {
- "description": "The AWS region, e.g. `us-east-1`. Supports templates.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "accountId",
- "actionIdentifier",
- "inputs",
- "region",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "AWS",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "body": {
- "description": "The body of the incident",
- "type": "string"
- },
- "fromEmail": {
- "description": "The email address of a valid user associated with the account making the request",
- "type": "string"
- },
- "incidentTypeName": {
- "description": "The incident type name",
- "type": "string"
- },
- "serviceId": {
- "description": "The ID of the service to create the incident for",
- "type": "string"
- },
- "title": {
- "description": "The title of the incident",
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "urgency": {
- "description": "The urgency of the incident",
- "enum": [
- "HIGH",
- "LOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "body",
- "fromEmail",
- "serviceId",
- "title",
- "type",
- "urgency"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "PAGERDUTY_CREATE_INCIDENT",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "alias": {
- "description": "The alias for the Jira configuration that will be used.",
- "type": "string"
- },
- "assignee": {
- "description": "The identifier of the assignee for the Jira issue. This field is optional.",
- "type": "string"
- },
- "components": {
- "description": "A list of components within the Jira project to which the issue belongs. This field is optional.",
- "items": {
- "description": "A list of components within the Jira project to which the issue belongs. This field is optional.",
- "type": "string"
- },
- "type": "array"
- },
- "description": {
- "description": "A detailed description of the issue, providing more context about what needs to be addressed.",
- "type": "string"
- },
- "fields": {
- "additionalProperties": {
- "description": "A map containing additional fields that are to be provided for the Jira issue, such as custom fields or extra attributes. This field is optional.",
- "type": "object"
- },
- "description": "A map containing additional fields that are to be provided for the Jira issue, such as custom fields or extra attributes. This field is optional.",
- "type": "object"
- },
- "issueSummary": {
- "description": "A brief summary of the issue being created, typically representing the title of the issue.",
- "type": "string"
- },
- "issueType": {
- "description": "The type of the issue being created, such as 'Bug', 'Task', or 'Story'.",
- "type": "string"
- },
- "labels": {
- "description": "A list of labels or tags to categorize or highlight the Jira issue. This field is optional.",
- "items": {
- "description": "A list of labels or tags to categorize or highlight the Jira issue. This field is optional.",
- "type": "string"
- },
- "type": "array"
- },
- "priority": {
- "description": "The priority of the issue, such as 'High', 'Medium', or 'Low'. This field is optional.",
- "type": "string"
- },
- "projectKey": {
- "description": "The key of the Jira project where the issue will be created. Typically a short code like 'PROJ'.",
- "type": "string"
- },
- "reporter": {
- "description": "The identifier of the reporter who is raising the Jira issue. This field is optional.",
- "type": "string"
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "alias",
- "components",
- "description",
- "fields",
- "issueSummary",
- "issueType",
- "labels",
- "projectKey",
- "type"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "JIRA_CREATE_ISSUE",
- "type": "object"
- },
- {
- "allOf": [
- {
- "description": "The definition of the action",
- "properties": {
- "type": {
- "description": "The type of the action. It sets which other fields the action takes.",
- "enum": [
- "HTTP_REQUEST",
- "ADVANCED_HTTP_REQUEST",
- "HTTP_REQUEST_ASYNC",
- "SCAFFOLDER",
- "USER_INPUT",
- "JQ",
- "SLACK",
- "MANUAL_APPROVAL",
- "CONDITIONAL_BRANCH",
- "GITHUB_CREATE_OR_UPDATE_FILE",
- "MS_TEAMS_SEND_MESSAGE",
- "JAVASCRIPT",
- "SET_VARIABLES",
- "AWS",
- "PAGERDUTY_CREATE_INCIDENT",
- "JIRA_CREATE_ISSUE",
- "RUN_WORKFLOW"
- ],
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "entityId": {
- "description": "The ID of the entity",
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "workflowId": {
- "description": "The ID of the workflow to run",
- "type": "string"
- }
- },
- "required": [
- "type",
- "workflowId"
- ],
- "type": "object"
- }
- ],
- "required": [
- "type"
- ],
- "title": "RUN_WORKFLOW",
- "type": "object"
- }
-]New value: +[
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "headers": {
+ "additionalProperties": {
+ "description": "The headers for the HTTP request",
+ "type": "string"
+ },
+ "description": "The headers for the HTTP request",
+ "type": "object"
+ },
+ "httpMethod": {
+ "description": "The HTTP method for the request",
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH"
+ ],
+ "type": "string"
+ },
+ "integration": {
+ "description": "The integration to use for authentication",
+ "enum": [
+ "AzureDevops",
+ "Bitbucket",
+ "GitHub",
+ "LaunchDarkly",
+ "ServiceNow",
+ "GitLab",
+ "Pagerduty",
+ "Slack",
+ "Cortex",
+ "Jenkins",
+ "Google",
+ "Harness",
+ "Jira",
+ "Sonarqube",
+ "CircleCi",
+ "Coralogix",
+ "Semgrep",
+ "Apiiro",
+ "Prometheus",
+ "Rootly",
+ "NewRelic",
+ "Opsgenie",
+ "Sentry",
+ "Snyk",
+ "Buildkite",
+ "Firehydrant",
+ "Victorops",
+ "Rollbar",
+ "Bugsnag",
+ "Codecov",
+ "SignalFX",
+ "Instana",
+ "Lightstep",
+ "SumoLogic",
+ "Mend",
+ "BambooHR",
+ "XMatters",
+ "Clickup"
+ ],
+ "type": "string"
+ },
+ "integrationAlias": {
+ "description": "The alias of the integration configuration to use",
+ "type": "string"
+ },
+ "payload": {
+ "description": "The payload for the request",
+ "type": "string"
+ },
+ "targetHost": {
+ "description": "The *.googleapis.com host to target when using the Google Cloud integration. Setting this with any other integration is rejected as invalid. Defaults to cloudresourcemanager.googleapis.com when unset.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The URL for the request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "headers",
+ "httpMethod",
+ "type",
+ "url"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "HTTP_REQUEST",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "actionIdentifier": {
+ "description": "The ID of the Cortex library action to run, e.g. `googleCloud.getProject`. Copy it from an existing workflow with getWorkflow.",
+ "type": "string"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "The values for the inputs of the library action, by input key",
+ "type": "object"
+ },
+ "integrationAlias": {
+ "description": "The alias of the integration configuration to use. Required when the integration has more than one configuration.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "actionIdentifier",
+ "inputs",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "ADVANCED_HTTP_REQUEST",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "headers": {
+ "additionalProperties": {
+ "description": "The headers for the HTTP request",
+ "type": "string"
+ },
+ "description": "The headers for the HTTP request",
+ "type": "object"
+ },
+ "httpMethod": {
+ "description": "The HTTP method for the request",
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "DELETE",
+ "PATCH"
+ ],
+ "type": "string"
+ },
+ "integration": {
+ "description": "The integration to use for authentication",
+ "enum": [
+ "AzureDevops",
+ "Bitbucket",
+ "GitHub",
+ "LaunchDarkly",
+ "ServiceNow",
+ "GitLab",
+ "Pagerduty",
+ "Slack",
+ "Cortex",
+ "Jenkins",
+ "Google",
+ "Harness",
+ "Jira",
+ "Sonarqube",
+ "CircleCi",
+ "Coralogix",
+ "Semgrep",
+ "Apiiro",
+ "Prometheus",
+ "Rootly",
+ "NewRelic",
+ "Opsgenie",
+ "Sentry",
+ "Snyk",
+ "Buildkite",
+ "Firehydrant",
+ "Victorops",
+ "Rollbar",
+ "Bugsnag",
+ "Codecov",
+ "SignalFX",
+ "Instana",
+ "Lightstep",
+ "SumoLogic",
+ "Mend",
+ "BambooHR",
+ "XMatters",
+ "Clickup"
+ ],
+ "type": "string"
+ },
+ "integrationAlias": {
+ "description": "The alias of the integration configuration to use",
+ "type": "string"
+ },
+ "payload": {
+ "description": "The payload for the request",
+ "type": "string"
+ },
+ "targetHost": {
+ "description": "The *.googleapis.com host to target when using the Google Cloud integration. Setting this with any other integration is rejected as invalid. Defaults to cloudresourcemanager.googleapis.com when unset.",
+ "type": "string"
+ },
+ "timeoutInSeconds": {
+ "description": "The timeout for the request in seconds",
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The URL for the request",
+ "type": "string"
+ }
+ },
+ "required": [
+ "headers",
+ "httpMethod",
+ "type",
+ "url"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "HTTP_REQUEST_ASYNC",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "createNewRepository": {
+ "description": "Whether the Scaffolder should create a new repository. Defaults to `true`",
+ "type": "boolean"
+ },
+ "createService": {
+ "description": "Whether the cortex service should be created.",
+ "type": "boolean"
+ },
+ "inputOverrides": {
+ "description": "The input overrides for the Scaffolder",
+ "items": {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "inputKey": {
+ "description": "The input key to override",
+ "type": "string"
+ },
+ "outputVariable": {
+ "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "inputKey",
+ "outputVariable",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "editable": {
+ "description": "Whether the override is editable by the user. Defaults to `false`. If set to `true` it'll pause the execution of the workflow and wait for the user to provide the value",
+ "type": "boolean"
+ },
+ "inputKey": {
+ "description": "The input key to override",
+ "type": "string"
+ },
+ "outputVariable": {
+ "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "editable",
+ "inputKey",
+ "outputVariable",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "scaffolderTemplateId": {
+ "description": "On input, accepts either the tag or the Cortex ID of the Scaffolder template. On output, always the template's Cortex ID, or `null` if the referenced template was deleted.",
+ "type": "string"
+ },
+ "scaffolderTemplateTag": {
+ "description": "The tag of the Scaffolder template. Preferred over `scaffolderTemplateId` when both are provided, so workflow definitions stay portable across workspaces.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "inputOverrides",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SCAFFOLDER",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "inputOverrides": {
+ "description": "The list of overrides for the action inputs",
+ "items": {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "inputKey": {
+ "description": "The input key to override",
+ "type": "string"
+ },
+ "outputVariable": {
+ "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "inputKey",
+ "outputVariable",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "editable": {
+ "description": "Whether the override is editable by the user. Defaults to `false`. If set to `true` it'll pause the execution of the workflow and wait for the user to provide the value",
+ "type": "boolean"
+ },
+ "inputKey": {
+ "description": "The input key to override",
+ "type": "string"
+ },
+ "outputVariable": {
+ "description": "The path to the override value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.team-tags`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "editable",
+ "inputKey",
+ "outputVariable",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "The list of overrides for the action inputs",
+ "properties": {
+ "type": {
+ "description": "The type of the input override",
+ "enum": [
+ "OPTION",
+ "VALUE"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "inputs": {
+ "description": "The list of inputs required for the action",
+ "items": {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ },
+ "validationRegex": {
+ "description": "The validation regex for the input",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "INPUT_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ },
+ "validationRegex": {
+ "description": "The validation regex for the input",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "TEXTAREA_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowAdditionalOptions": {
+ "description": "Whether additional options are allowed. Defaults to `false`",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "options": {
+ "description": "The list of options for the input",
+ "items": {
+ "description": "The list of options for the input",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "optionsLabels": {
+ "description": "The list of labels for the options. If not provided, the options will be used as labels",
+ "items": {
+ "description": "The list of labels for the options. If not provided, the options will be used as labels",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "placeholder": {
+ "description": "The placeholder value for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "allowAdditionalOptions",
+ "key",
+ "name",
+ "options",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SELECT_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowAdditionalOptions": {
+ "description": "Whether additional options are allowed. Defaults to `false`",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The default value for the input",
+ "items": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "options": {
+ "description": "The list of options for the input",
+ "items": {
+ "description": "The list of options for the input",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "optionsLabels": {
+ "description": "The list of labels for the options. If not provided, the options will be used as labels",
+ "items": {
+ "description": "The list of labels for the options. If not provided, the options will be used as labels",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "placeholder": {
+ "description": "The placeholder value for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "allowAdditionalOptions",
+ "key",
+ "name",
+ "options",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "MULTISELECT_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "boolean"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "TOGGLE_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowMultiple": {
+ "description": "Whether the input allows multiple values. Defaults to `false`",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The default value for the input",
+ "items": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "entityFilter": {
+ "description": "The entity filter for the input",
+ "properties": {
+ "domainIds": {
+ "description": "Restrict options to entities related to the provided domains",
+ "items": {
+ "description": "Restrict options to entities related to the provided domains",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "emailOwners": {
+ "description": "Restrict options to entities owned by the provided users",
+ "items": {
+ "description": "Restrict options to entities owned by the provided users",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "excludedGroupTags": {
+ "description": "Restrict options to entities not in the provided groups",
+ "items": {
+ "description": "Restrict options to entities not in the provided groups",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "groupTags": {
+ "description": "Restrict options to entities in the provided groups",
+ "items": {
+ "description": "Restrict options to entities in the provided groups",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "teamIds": {
+ "description": "Restrict options to entities owned by the provided teams",
+ "items": {
+ "description": "Restrict options to entities owned by the provided teams",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "typeFilter": {
+ "properties": {
+ "types": {
+ "description": "The entity types to include, by type tag, e.g. `service`, `domain` or `team`",
+ "items": {
+ "description": "The entity types to include, by type tag, e.g. `service`, `domain` or `team`",
+ "type": "string"
+ },
+ "type": "array",
+ "uniqueItems": true
+ }
+ },
+ "required": [
+ "types"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "limitEntitiesToRunnerUserScope": {
+ "description": "Whether to limit entity options to the workflow runner's entities. Defaults to `false`",
+ "type": "boolean"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "shouldDisplayOptionsAsHierarchy": {
+ "description": "Whether the options should be displayed as a hierarchy. Defaults to `false`",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "allowMultiple",
+ "entityFilter",
+ "key",
+ "limitEntitiesToRunnerUserScope",
+ "name",
+ "required",
+ "shouldDisplayOptionsAsHierarchy",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "CORTEX_ENTITY_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowMultiple": {
+ "description": "Whether the input allows multiple values. Defaults to `false`",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The default value for the input",
+ "items": {
+ "description": "The default value for the input",
+ "properties": {
+ "email": {
+ "description": "The email of the user",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the user",
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "filter": {
+ "description": "The user filter for the input",
+ "properties": {
+ "teamCids": {
+ "description": "Restrict options to users on the provided teams",
+ "items": {
+ "description": "Restrict options to users on the provided teams",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "userEmails": {
+ "description": "Restrict options to users with the provided emails",
+ "items": {
+ "description": "Restrict options to users with the provided emails",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "allowMultiple",
+ "filter",
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "CORTEX_USER_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowMultiple": {
+ "description": "Whether the input allows multiple values. Defaults to `false`",
+ "type": "boolean"
+ },
+ "defaultValue": {
+ "description": "The default value for the input",
+ "items": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "filter": {
+ "description": "The filters for the input",
+ "properties": {
+ "channels": {
+ "description": "Restrict options to the provided channels",
+ "items": {
+ "description": "Restrict options to the provided channels",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "channels"
+ ],
+ "type": "object"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "allowMultiple",
+ "filter",
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SLACK_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "disabled": {
+ "description": "Whether the input should be disabled",
+ "type": "boolean"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ },
+ "validationRegex": {
+ "description": "The validation regex for the input",
+ "type": "string"
+ }
+ },
+ "required": [
+ "disabled",
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SECRET_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "number"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "disabled": {
+ "description": "Whether the input should be disabled",
+ "type": "boolean"
+ },
+ "format": {
+ "description": "The number format of the input",
+ "enum": [
+ "INTEGER",
+ "DECIMAL"
+ ],
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "max": {
+ "description": "The maximum value of the input",
+ "type": "number"
+ },
+ "min": {
+ "description": "The minimum value of the input",
+ "type": "number"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "disabled",
+ "format",
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "NUMBER_FIELD",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "defaultValue": {
+ "description": "The default value for the input",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the input",
+ "type": "string"
+ },
+ "disabled": {
+ "description": "Whether the input should be disabled",
+ "type": "boolean"
+ },
+ "format": {
+ "description": "The date format of the input",
+ "enum": [
+ "DATE",
+ "DATETIME"
+ ],
+ "type": "string"
+ },
+ "key": {
+ "description": "The key of the input",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the input",
+ "type": "string"
+ },
+ "placeholder": {
+ "description": "The placeholder for the input",
+ "type": "string"
+ },
+ "required": {
+ "description": "Whether the input is required",
+ "type": "boolean"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "disabled",
+ "format",
+ "key",
+ "name",
+ "required",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "DATE_FIELD",
+ "type": "object"
+ }
+ ],
+ "description": "The list of inputs required for the action",
+ "properties": {
+ "type": {
+ "description": "The type of the input",
+ "enum": [
+ "INPUT_FIELD",
+ "TEXTAREA_FIELD",
+ "SELECT_FIELD",
+ "MULTISELECT_FIELD",
+ "TOGGLE_FIELD",
+ "CORTEX_ENTITY_FIELD",
+ "CORTEX_USER_FIELD",
+ "SLACK_FIELD",
+ "SECRET_FIELD",
+ "NUMBER_FIELD",
+ "DATE_FIELD",
+ "NESTED_FORM_FIELD"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "jsValidatorScript": {
+ "description": "Optional JavaScript validator script to validate the provided inputs",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "inputOverrides",
+ "inputs",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "USER_INPUT",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "expression": {
+ "description": "The JQ expression for the action. Its input has the keys `context`, `actions` and `variables`, e.g. `.context.initiatedBy.email`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "expression",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "JQ",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "channel": {
+ "description": "The channel name to send the message to, without the `#`. For example for `#general` use `general`",
+ "type": "string"
+ },
+ "message": {
+ "description": "The message to send",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel",
+ "message",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SLACK",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "approverDescription": {
+ "description": "A description that will be shown to approvers. Supports templates.",
+ "type": "string"
+ },
+ "approvingTeamIds": {
+ "description": "The CIDs of the teams whose members can approve the action, not team tags. Can be empty when `approvingTeamIdsOverride` is set.",
+ "items": {
+ "description": "The CIDs of the teams whose members can approve the action, not team tags. Can be empty when `approvingTeamIdsOverride` is set.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "approvingTeamIdsOverride": {
+ "description": "The path to the value that resolves the approving teams at run time, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `variables.approvers`. The value at the path must be an array of team Cortex IDs or team tags.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "approvingTeamIds",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "MANUAL_APPROVAL",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "branches": {
+ "description": "The list of conditional branches that will be evaluated in order. Each result is at `actions.<slug>.outputs.conditions.<branchSlug>.result`.",
+ "items": {
+ "description": "The list of conditional branches that will be evaluated in order. Each result is at `actions.<slug>.outputs.conditions.<branchSlug>.result`.",
+ "properties": {
+ "expression": {
+ "description": "The CEL expression for the branch. It can use `context`, `actions` and `variables`, e.g. `variables.count > 0`.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the branch",
+ "type": "string"
+ },
+ "outgoingAction": {
+ "description": "The first action to execute in this branch path",
+ "type": "string"
+ },
+ "slug": {
+ "description": "The slug of the branch",
+ "type": "string"
+ },
+ "type": {
+ "description": "Must be `CONDITIONAL`",
+ "enum": [
+ "CONDITIONAL"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "expression",
+ "name",
+ "slug",
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "fallbackBranch": {
+ "description": "The fallback branch that will be taken if no other branches evaluate to `true`",
+ "properties": {
+ "name": {
+ "description": "The name of the branch",
+ "type": "string"
+ },
+ "outgoingAction": {
+ "description": "The first action to execute in this branch path",
+ "type": "string"
+ },
+ "slug": {
+ "description": "The slug of the branch",
+ "type": "string"
+ },
+ "type": {
+ "description": "Must be `FALLBACK`",
+ "enum": [
+ "FALLBACK"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "slug",
+ "type"
+ ],
+ "type": "object"
+ },
+ "joiningAction": {
+ "description": "The slug of the action where the branch paths join again. Leave it out if they do not join.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "branches",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "CONDITIONAL_BRANCH",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "alias": {
+ "description": "The alias for the github configuration to be used",
+ "type": "string"
+ },
+ "author": {
+ "description": "The details of the original author of the changes being committed (optional)",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "branch": {
+ "description": "The branch in the repository where the changes will be applied (optional; defaults to the main branch if not specified)",
+ "type": "string"
+ },
+ "commitMessage": {
+ "description": "A message describing the purpose of the commit",
+ "type": "string"
+ },
+ "committer": {
+ "description": "The details of the person or system making the commit, such as name and email (optional)",
+ "properties": {
+ "email": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "email",
+ "name"
+ ],
+ "type": "object"
+ },
+ "content": {
+ "description": "The content of the file to be created or updated (not base64-encoded)",
+ "type": "string"
+ },
+ "path": {
+ "description": "The full path to the file within the repository",
+ "type": "string"
+ },
+ "repositoryName": {
+ "description": "The name of the repository where the file is being created or updated",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "alias",
+ "commitMessage",
+ "content",
+ "path",
+ "repositoryName",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "GITHUB_CREATE_OR_UPDATE_FILE",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "channelId": {
+ "description": "The channel id to send the message to",
+ "type": "string"
+ },
+ "message": {
+ "description": "The message to send",
+ "type": "string"
+ },
+ "teamId": {
+ "description": "The team id to send the message to",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "channelId",
+ "message",
+ "teamId",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "MS_TEAMS_SEND_MESSAGE",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "script": {
+ "description": "The JavaScript script for the action. It runs as the body of `run(actions, context, variables)`, e.g. `return context.initiatedBy.email`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "script",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "JAVASCRIPT",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "variables": {
+ "description": "The variables to set for the action",
+ "items": {
+ "description": "The variables to set for the action",
+ "properties": {
+ "slug": {
+ "description": "The slug of the workflow variable to set",
+ "type": "string"
+ },
+ "source": {
+ "anyOf": [
+ {
+ "allOf": [
+ {
+ "description": "How to set the variable",
+ "properties": {
+ "type": {
+ "description": "How the value is found: `REFERENCE` reads a path, `JAVASCRIPT` runs a script",
+ "enum": [
+ "REFERENCE",
+ "JAVASCRIPT"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "script": {
+ "description": "The JavaScript script that returns the value. It runs as the body of `run(actions, context, variables)`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "script",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "How to set the variable",
+ "properties": {
+ "type": {
+ "description": "How the value is found: `REFERENCE` reads a path, `JAVASCRIPT` runs a script",
+ "enum": [
+ "REFERENCE",
+ "JAVASCRIPT"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "path": {
+ "description": "The path to the value, as a dot path into the run data that starts with `context`, `actions` or `variables`, e.g. `actions.fetch.outputs.body`.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "slug",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "type",
+ "variables"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "SET_VARIABLES",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "accountId": {
+ "description": "The AWS account ID to run the action in. Supports templates.",
+ "type": "string"
+ },
+ "actionIdentifier": {
+ "description": "The ID of the AWS action to run, e.g. `aws.ec2.describeInstances`. Copy it from an existing workflow with getWorkflow.",
+ "type": "string"
+ },
+ "inputs": {
+ "additionalProperties": {
+ "type": "object"
+ },
+ "description": "The values for the inputs of the AWS action, by input key",
+ "type": "object"
+ },
+ "region": {
+ "description": "The AWS region, e.g. `us-east-1`. Supports templates.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "accountId",
+ "actionIdentifier",
+ "inputs",
+ "region",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "AWS",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "body": {
+ "description": "The body of the incident",
+ "type": "string"
+ },
+ "fromEmail": {
+ "description": "The email address of a valid user associated with the account making the request",
+ "type": "string"
+ },
+ "incidentTypeName": {
+ "description": "The incident type name",
+ "type": "string"
+ },
+ "serviceId": {
+ "description": "The ID of the service to create the incident for",
+ "type": "string"
+ },
+ "title": {
+ "description": "The title of the incident",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "urgency": {
+ "description": "The urgency of the incident",
+ "enum": [
+ "HIGH",
+ "LOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "body",
+ "fromEmail",
+ "serviceId",
+ "title",
+ "type",
+ "urgency"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "PAGERDUTY_CREATE_INCIDENT",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "alias": {
+ "description": "The alias for the Jira configuration that will be used.",
+ "type": "string"
+ },
+ "assignee": {
+ "description": "The identifier of the assignee for the Jira issue. This field is optional.",
+ "type": "string"
+ },
+ "components": {
+ "description": "A list of components within the Jira project to which the issue belongs. This field is optional.",
+ "items": {
+ "description": "A list of components within the Jira project to which the issue belongs. This field is optional.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "description": {
+ "description": "A detailed description of the issue, providing more context about what needs to be addressed.",
+ "type": "string"
+ },
+ "fields": {
+ "additionalProperties": {
+ "description": "A map containing additional fields that are to be provided for the Jira issue, such as custom fields or extra attributes. This field is optional.",
+ "type": "object"
+ },
+ "description": "A map containing additional fields that are to be provided for the Jira issue, such as custom fields or extra attributes. This field is optional.",
+ "type": "object"
+ },
+ "issueSummary": {
+ "description": "A brief summary of the issue being created, typically representing the title of the issue.",
+ "type": "string"
+ },
+ "issueType": {
+ "description": "The type of the issue being created, such as 'Bug', 'Task', or 'Story'.",
+ "type": "string"
+ },
+ "labels": {
+ "description": "A list of labels or tags to categorize or highlight the Jira issue. This field is optional.",
+ "items": {
+ "description": "A list of labels or tags to categorize or highlight the Jira issue. This field is optional.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "priority": {
+ "description": "The priority of the issue, such as 'High', 'Medium', or 'Low'. This field is optional.",
+ "type": "string"
+ },
+ "projectKey": {
+ "description": "The key of the Jira project where the issue will be created. Typically a short code like 'PROJ'.",
+ "type": "string"
+ },
+ "reporter": {
+ "description": "The identifier of the reporter who is raising the Jira issue. This field is optional.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "alias",
+ "components",
+ "description",
+ "fields",
+ "issueSummary",
+ "issueType",
+ "labels",
+ "projectKey",
+ "type"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "JIRA_CREATE_ISSUE",
+ "type": "object"
+ },
+ {
+ "allOf": [
+ {
+ "description": "The definition of the action",
+ "properties": {
+ "type": {
+ "description": "The type of the action. It sets which other fields the action takes.",
+ "enum": [
+ "HTTP_REQUEST",
+ "ADVANCED_HTTP_REQUEST",
+ "HTTP_REQUEST_ASYNC",
+ "SCAFFOLDER",
+ "USER_INPUT",
+ "JQ",
+ "SLACK",
+ "MANUAL_APPROVAL",
+ "CONDITIONAL_BRANCH",
+ "GITHUB_CREATE_OR_UPDATE_FILE",
+ "MS_TEAMS_SEND_MESSAGE",
+ "JAVASCRIPT",
+ "SET_VARIABLES",
+ "AWS",
+ "PAGERDUTY_CREATE_INCIDENT",
+ "JIRA_CREATE_ISSUE",
+ "RUN_WORKFLOW"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "entityId": {
+ "description": "The ID of the entity",
+ "type": "string"
+ },
+ "timeoutInSeconds": {
+ "description": "How long to wait for the workflow run to finish, in seconds. When it expires, the run is cancelled. Only used with waitForCompletion.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": {
+ "type": "string"
+ },
+ "waitForCompletion": {
+ "description": "Whether to wait for the workflow run to finish. When it finishes, its status, run response, and variables become outputs of this block. The block fails if the run does not complete.",
+ "type": "boolean"
+ },
+ "workflowId": {
+ "description": "The ID of the workflow to run",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "waitForCompletion",
+ "workflowId"
+ ],
+ "type": "object"
+ }
+ ],
+ "required": [
+ "type"
+ ],
+ "title": "RUN_WORKFLOW",
+ "type": "object"
+ }
+]