Apache Pulsar multi-tenant backlog quarantine and priority event router
Drain a multi-tenant Pulsar topic and route each batch by tenant priority tier, logging ENTERPRISE traffic and quarantining the rest, with a Slack report per run.
Watch Vault secret age with Kestra. Detect stale credentials past rotation policy and alert Slack.
Static credentials are a breach waiting to happen. This blueprint scans configurable Vault KV v2 paths every weekday morning, reads each entry's version metadata to compute credential age, and posts a Slack alert only when a secret exceeds its rotation window (default 90 days). A webhook trigger enables on-demand scans before audits.
daily_scan (io.kestra.plugin.core.trigger.Schedule, cron 0 7 * * MON-FRI) launches the run; on_demand_webhook allows ad-hoc scans.scan_secrets (io.kestra.plugin.core.flow.Loop, concurrency 4) fans out across inputs.mount_paths.fetch_metadata (io.kestra.plugin.core.http.Request) reads KV v2 metadata with allowFailed: true.evaluate_age (io.kestra.plugin.scripts.python.Script) parses created_time stamps and sets stale.alert_on_stale (io.kestra.plugin.core.flow.If) posts to Slack (io.kestra.plugin.slack.notifications.SlackIncomingWebhook) only for stale secrets.emit_rotation_metrics (io.kestra.plugin.core.output.OutputValues) exports coverage for compliance history.secret/.VAULT_TOKEN: token used to read KV metadata.SLACK_WEBHOOK_URL: Slack Incoming Webhook for stale and failure alerts.WEBHOOK_KEY: auth key for the on-demand webhook trigger.VAULT_TOKEN, SLACK_WEBHOOK_URL, and WEBHOOK_KEY secrets.vault_addr, mount_paths, and max_age_days inputs.daily_scan schedule.vault_addr (STRING): base URL of the Vault cluster.mount_paths (ARRAY of STRING): KV paths to scan.max_age_days (INT, default 90): rotation window in days.emit_rotation_metrics.values.paths_scanned: number of paths scanned.emit_rotation_metrics.values.scanned_at: run timestamp for audit reports.