ArangoDB Cluster Health and Supervision Sentinel
Continuous cluster supervision auditing, coordinator and DBServer health probing, and Slack incident alerting for ArangoDB.
Audit Infisical secret rotation age and alert Slack when a secret is overdue for rotation.
A secret that is never rotated is a liability that stays invisible until an audit or an incident surfaces it. This blueprint authenticates against Infisical with a machine identity on a schedule, lists every secret in a project and environment, and pages Slack the moment one has gone longer than policy allows without its value being updated, or Infisical itself cannot be reached.
login_to_infisical (io.kestra.plugin.core.http.Request) authenticates a machine identity against POST /api/v1/auth/universal-auth/login with a client ID and client secret, returning an accessToken. allowFailure: true lets the flow continue into classification instead of aborting on a bad login.list_secrets (io.kestra.plugin.core.http.Request) calls GET /api/v4/secrets scoped to project_id and environment, with the accessToken as a Bearer token, returning every secret's secretKey and updatedAt timestamp.classify_rotation_compliance (io.kestra.plugin.core.debug.Return) checks whether list_secrets.body is defined; if not, UNREACHABLE. Otherwise it uses jq to parse each secret's updatedAt (stripping sub-second precision so fromdateiso8601 can read it) and counts secrets older than rotation_threshold_days, returning NON_COMPLIANT when that count is above zero, COMPLIANT otherwise.route_by_rotation_compliance (io.kestra.plugin.core.flow.Switch) branches on that string: COMPLIANT logs a quiet confirmation, NON_COMPLIANT pages Slack with the exact overdue secret keys, UNREACHABLE pages Slack separately, and defaults logs the raw outcome.log_audit_status records a status line on every run regardless of branch, so the execution history is a continuous rotation-compliance trend.errors block pages Slack separately if the flow itself fails outright.secret_rotation_schedule trigger polls once a day with explicit input overrides, shipped disabled: true until you point it at a real Infisical project.status output (COMPLIANT / NON_COMPLIANT / UNREACHABLE) you can chart or gate other flows on.A rotation policy that lives only in a wiki page gets ignored. This flow keeps every login, every secret snapshot, and every compliance classification in the execution history, turns the audit into a typed output other flows can depend on, and gives you a Switch branch to grow into real remediation (opening a ticket per overdue secret, triggering a rotation workflow) without rewriting the check itself.
infisical_url. The free, official Docker image (infisical/infisical) with its bundled docker-compose.yml is enough to fully test this blueprint locally.INFISICAL_CLIENT_ID: Universal Auth client ID for the machine identity used to authenticate.INFISICAL_CLIENT_SECRET: Universal Auth client secret for that machine identity.SLACK_WEBHOOK_URL: Slack incoming webhook used for the non-compliant alert, the unreachable alert, and the flow-failure alert.SECRET_INFISICAL_CLIENT_ID, SECRET_INFISICAL_CLIENT_SECRET, and SECRET_SLACK_WEBHOOK_URL as base64, for example echo -n "<your-value>" | base64.INFISICAL_CLIENT_ID, INFISICAL_CLIENT_SECRET, and SLACK_WEBHOOK_URL secrets.infisical_url, project_id, and environment to your Infisical project, and tune rotation_threshold_days to your policy.status reads COMPLIANT or NON_COMPLIANT as expected for your current secrets.secret_rotation_schedule.secretReminderRepeatDays (Infisical's own per-secret reminder setting) instead of a single global threshold, for per-secret rotation policies.Loop task over the non-compliant secrets to open one ticket per overdue secret instead of a single combined Slack message.