Python Requirements Dependency Health Check with PyPI Registry
Audits requirements.txt dependencies against the PyPI registry for yanked releases, major version lag, and stale libraries, alerting Slack on changes.
Audit Vaultwarden password vault health, validate server clock sync and signup security policies, classify operational posture, and alert Slack via Kestra.
Continuously audits self-hosted Vaultwarden password vault instances by probing web server liveness endpoints, auditing API clock synchronization timestamps, validating public registration security policies, classifying operational posture, and dispatching real-time incident escalation alerts to Slack.
This blueprint was created by Mohit Jeswani.
probe_alive_endpoint (io.kestra.plugin.core.http.Request) queries /alive to verify that the Vaultwarden Rust web server process is responsive and accepting HTTP requests.probe_api_alive_endpoint (io.kestra.plugin.core.http.Request) queries /api/alive to extract the server's UTC ISO timestamp, validating that the API engine is operational and that clock drift does not cause TOTP or WebAuthn cryptographic failures.probe_vault_config (io.kestra.plugin.core.http.Request) queries /api/config to verify that public vault configuration metadata is accessible and that the signups_allowed setting matches corporate security policy.classify_vault_posture (io.kestra.plugin.core.output.OutputValues) evaluates endpoint response codes and JSON attributes using a declarative Pebble expression:INSTANCE_UNREACHABLE if endpoints cannot be reached over the network.API_ENGINE_UNHEALTHY if /alive or /api/alive return non-200 status codes.VAULT_CONFIG_UNAVAILABLE if /api/config fails (indicates configuration lock or database migration issues).SIGNUPS_POLICY_VIOLATION if enforce_signups_disabled is true and signups_allowed is true (exposes corporate vaults to unauthorized registrations).HEALTHY_COMPLIANT when all probes succeed and registration policies are enforced.route_by_posture (io.kestra.plugin.core.flow.Switch) routes execution based on the classification:HEALTHY_COMPLIANT: Logs successful audit confirmation with server time and configuration attributes.SIGNUPS_POLICY_VIOLATION: Dispatches an urgent security incident alert to Slack notifying SecOps that public registrations are enabled.VAULT_CONFIG_UNAVAILABLE: Alerts Slack that vault configuration is failing.API_ENGINE_UNHEALTHY / INSTANCE_UNREACHABLE: Dispatches critical outage notifications warning that all employees and CI/CD pipelines are locked out of credential vaults.audit_summary (io.kestra.plugin.core.output.OutputValues) exports structured metrics capturing endpoint HTTP status codes and operational posture for compliance logging.errors sends a priority failure notification to Slack if unhandled workflow execution errors occur.Password vault outages are catastrophic Sev-0 incidents that prevent engineers from accessing cloud consoles, database credentials, and production SSH keys. Simple TCP port checks only confirm that port 80 is listening; they cannot detect whether the SQLite/PostgreSQL backend is locked or whether unauthorized public signups have been accidentally enabled. Kestra orchestrates multi-stage HTTP inspection, declarative Pebble classification, failure escalation to Slack, and centralized compliance audit trails in a single workflow.
SLACK_WEBHOOK_URL: Incoming Slack webhook URL used by alert_signups_violation_slack, alert_config_unavailable_slack, alert_api_unhealthy_slack, alert_unreachable_slack, and alert_flow_failure.SLACK_WEBHOOK_URL in your Kestra namespace secrets.docker run -d --name vaultwarden -e SIGNUPS_ALLOWED=false -p 8080:80 vaultwarden/server:latest
vaultwarden_host: "localhost", vaultwarden_port: 8080).classify_vault_posture classifies HEALTHY_COMPLIANT and inspect the structured telemetry in audit_summary.hourly_canary schedule to automate continuous password vault monitoring.io.kestra.plugin.aws.s3.List.INSTANCE_UNREACHABLE or SIGNUPS_POLICY_VIOLATION incidents.io.kestra.plugin.core.flow.Loop.