
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
airflow-provider-sifflet
Advanced tools
This package provides operators and hook that integrate Sifflet into Apache Airflow.
All classes for this provider package are in the sifflet_provider
Python package.
You can install this package on top of an existing Airflow 2.1+ installation
pip install airflow-provider-sifflet
The package supports the following python versions: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12
In the Airflow user interface, you can configure a Connection for Sifflet in
Admin
-> Connections
-> Add a new record
.
You will need to fill out the following:
Connection Id: sifflet_default
Connection Type: Sifflet
Sifflet Tenant: <your_tenant_name> (for SaaS deployment)
Sifflet Backend URL: <your_backend_url> (for Self-hosted deployment)
Sifflet Token: <your_sifflet_access_token>
<your_sifflet_access_token>
: you can find more information on how to generate it here
One of these two parameters is required, depending on your type of Sifflet deployment:
Sifflet Tenant
, if you access Sifflet with https://abcdef.siffletdata.com
, then your tenant would be abcdef
Sifflet Backend URL
, full URL to the Sifflet backend on your deployment, for instance: https://sifflet-backend.mycompany.com
SiffletDbtIngestOperator
sends your DBT artifacts to the Sifflet application.
Example usage:
from sifflet_provider.operators.dbt import SiffletDbtIngestOperator
sifflet_dbt_ingest = SiffletDbtIngestOperator(
task_id="sifflet_dbt_ingest",
input_folder="<path to dbt project folder>",
target="prod",
project_name="<dbt project name>",
)
SiffletRunRuleOperator
Run one or several Sifflet rules - requires rule id(s).
Example usage:
from sifflet_provider.operators.rule import SiffletRunRuleOperator
sifflet_run_rule = SiffletRunRuleOperator(
task_id="sifflet_run_rule",
rule_ids=[
"3e2e2687-cd20-11ec-b38b-06bb20181849",
"3e19eb3e-cd20-11ec-b38b-06bb20181849",
"3e1a86f1-cd20-11ec-b38b-06bb20181849",
"3e2e1fc3-cd20-11ec-b38b-06bb20181849",
],
error_on_rule_fail=True
)
FAQs
Provider package airflow-provider-sifflet for Apache Airflow
We found that airflow-provider-sifflet demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.