ADLS World-Writable ACL Sentinel
Audit an Azure Data Lake Storage Gen2 directory for files or directories granting write access to "other", and alert Slack on breach.
Audit Verdaccio private npm registry health, validate storage engine readiness and upstream package uplink cache proxying, and alert Slack via Kestra.
Continuously audits private Verdaccio npm registries and artifact mirrors by probing web server liveness endpoints, validating local package storage backend readiness, verifying upstream uplink cache proxying (e.g., npmjs.org), classifying operational health, and dispatching real-time incident escalation alerts to Slack.
This blueprint was created by Mohit Jeswani.
probe_registry_ping (io.kestra.plugin.core.http.Request) queries /-/ping to verify that the Verdaccio Node.js web server process is responsive and accepting client requests.probe_storage_engine (io.kestra.plugin.core.http.Request) queries /-/verdaccio/ping to verify that the underlying local storage backend, package database, and filesystem permissions are operational and accepting package reads/writes.probe_uplink_package (io.kestra.plugin.core.http.Request) queries metadata for a configurable canary_package (defaults to express) to verify that upstream uplink proxying to public registries (e.g., https://registry.npmjs.org/) and cached metadata lookups are functioning.classify_registry_posture (io.kestra.plugin.core.output.OutputValues) evaluates endpoint HTTP codes and JSON status attributes using a declarative Pebble expression:REGISTRY_UNREACHABLE if endpoints cannot be reached over the network.REGISTRY_DEGRADED if the basic /-/ping endpoint returns non-200.STORAGE_ENGINE_DEGRADED if /-/verdaccio/ping returns non-200 or reports an unready storage state.UPLINK_PROXY_OFFLINE if canary package resolution fails, indicating that upstream proxying to public registries is broken while the local server remains up.HEALTHY_COMPLIANT when all probes succeed.route_by_posture (io.kestra.plugin.core.flow.Switch) routes execution based on the classification:HEALTHY_COMPLIANT: Logs successful audit confirmation with endpoint response codes.UPLINK_PROXY_OFFLINE: Dispatches an urgent Slack alert warning that upstream proxying is failing and CI/CD npm builds will be impacted.STORAGE_ENGINE_DEGRADED: Alerts Slack that package storage is read-only or corrupted.REGISTRY_DEGRADED / REGISTRY_UNREACHABLE: Alerts on total service outage.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.A silent uplink failure in a private npm registry can halt hundreds of continuous integration pipelines simultaneously when developers merge pull requests. Simple TCP port checks only confirm that port 4873 is listening; they cannot test whether Verdaccio can successfully reach upstream registries or write to its storage engine. 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_uplink_offline_slack, alert_storage_degraded_slack, alert_registry_degraded_slack, alert_unreachable_slack, and alert_flow_failure.SLACK_WEBHOOK_URL in your Kestra namespace secrets.docker run -d --name verdaccio -p 4873:4873 verdaccio/verdaccio:latest
verdaccio_host: "localhost").classify_registry_posture classifies HEALTHY_COMPLIANT and inspect the structured telemetry in audit_summary.hourly_canary schedule to automate continuous npm registry and uplink cache monitoring.UPLINK_PROXY_OFFLINE or STORAGE_ENGINE_DEGRADED incidents.io.kestra.plugin.core.flow.Loop.