Skip to main content

Airflow Plugin - Zenduty

This plugin creates a Zenduty Alert when plugin is run.

Operators

ZendutyIncidentOperator

This operator composes the logic for this plugin. It generates an Incident on Zenduty by sending an Alert to Zenduty. It accepts the following parameters:

  • api_key: API Key generated by Zenduty (Required).
  • integration_id: The Integration_id generated by the API Integration (Required).
  • title: Title of the incident that is to be created.
  • summary: Summary for the incident to be created.

Requirements

This plugin requires the zenduty-api python package.

Example Failure Callback Usage

from airflow.models import DAG, Variable
from airflow.operators.bash_operator import BashOperator
from zenduty_airflow_operator import ZendutyIncidentOperator

my_test_dag = DAG('example')

op = BashOperator(
    dag=my_test_dag,
    task_id='my_task',
    provide_context=True,
    python_callable=my_python_job,
    on_failure_callback=zenduty_incident
)
    
def zenduty_incident():

    operator = ZendutyIncidentOperator(
        api_key=Variable.get("api_key"),
        integration_id=Variable.get("integration_id"),
        title="Test Title",
        summary="Test Summary"
    )

    return operator.execute()

Metadata

Release files for zenduty-airflow-operator 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zenduty-airflow-operator 0.1.2
File Size Uploaded Provenance Actions
zenduty_airflow_operator-0.1.2.tar.gz 3.2 kB Without provenance Details for zenduty_airflow_operator-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zenduty-airflow-operator 0.1.2
File Interpreter ABI Platform Actions
zenduty_airflow_operator-0.1.2-py3-none-any.whl Python 3 none any Details for zenduty_airflow_operator-0.1.2-py3-none-any.whl

Total release size: 6.8 kB

Release files / zenduty_airflow_operator-0.1.2.tar.gz

Download URL zenduty_airflow_operator-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5c311ab22770284eea2a0259a5911149174d142520d2fab4140b2a287e03f58f
BLAKE2b-256 checksum
How to use checksums
a2c59a3f65973f8100c54833356c5732b2a6f13708c7896a1ac51d9045962652
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / zenduty_airflow_operator-0.1.2-py3-none-any.whl

Download URL zenduty_airflow_operator-0.1.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf007a4654fe12eadea00c206a16eded8a9645491c9a67aad0ab1e952bd557f
BLAKE2b-256 checksum
How to use checksums
fd782c406e08201612687a14da6aed13a0d71db942ddae256b7f6b650ae62e1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Security for zenduty-airflow-operator 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page