ZendutyExecution
ZendutyExecution
yaml
type: "io.kestra.plugin.zenduty.ZendutyExecution"Examples
yaml
id: zenduty_failure_alert
namespace: company.team
tasks:
- id: send_alert
type: io.kestra.plugin.zenduty.ZendutyExecution
url: "https://www.zenduty.com/api/events/{{ secret('ZENDUTY_INTEGRATION_KEY') }}/"
executionId: "{{ trigger.executionId }}"
message: Kestra workflow execution {{ trigger.executionId }} of a flow {{ trigger.flowId }} in the namespace {{ trigger.namespace }} changed status to {{ trigger.state }}
triggers:
- id: failed_prod_workflows
type: io.kestra.plugin.core.trigger.Flow
conditions:
- type: io.kestra.plugin.core.condition.ExecutionStatus
in:
- FAILED
- WARNING
- type: io.kestra.plugin.core.condition.ExecutionNamespace
namespace: prod
prefix: true
Properties
url *Requiredstring
Min length
1alertType string
Possible Values
CRITICALACKNOWLEDGEDRESOLVEDERRORWARNINGINFOcustomFields object
customMessage string
entityId string
executionId string
Default
{{ execution.id }}message string
options
Definitions
io.kestra.plugin.zenduty.AbstractZendutyConnection-RequestOptions
connectTimeoutstring
Format
durationconnectionPoolIdleTimeoutstring
Default
PT0SFormat
durationdefaultCharsetstring
Default
UTF-8java.nio.charset.Charset
headersobject
SubTypestring
maxContentLengthintegerstring
Default
10485760readIdleTimeoutstring
Default
PT5MFormat
durationreadTimeoutstring
Default
PT10SFormat
durationpayload string
summary string
templateRenderMap object
urls array
SubTypestring