MySQL Account Hygiene Guard
Audit MySQL accounts for anonymous users, empty passwords, remote root, global admin privileges and wildcard hosts, alert Slack, and optionally drop, lock or revoke and verify, never touching the connected account.
Gate container image size with Kestra. Audit GHCR images against a budget and alert Slack on bloat.
Bloated images slow pulls, scaling, and deploys. This blueprint audits a configurable list of GHCR container images every Monday morning, estimates each image footprint from package version metadata, and posts a Slack alert only when an image exceeds its size budget (default 1200MB). A webhook trigger enables on-demand audits after a base-image bump.
weekly_audit (io.kestra.plugin.core.trigger.Schedule, cron 0 9 * * MON) launches the run; on_demand_webhook allows ad-hoc audits.audit_images (io.kestra.plugin.core.flow.Loop, concurrency 4) fans out across inputs.images.fetch_tags (io.kestra.plugin.core.http.Request) lists GHCR package versions with allowFailed: true.evaluate_budget (io.kestra.plugin.scripts.python.Script) estimates MB footprint and sets breached.alert_on_bloat (io.kestra.plugin.core.flow.If) posts to Slack (io.kestra.plugin.slack.notifications.SlackIncomingWebhook) only on breach.emit_audit_metrics (io.kestra.plugin.core.output.OutputValues) exports audit coverage for history.docker images checks with code.packages:read scope.GITHUB_TOKEN: token used to read GHCR package metadata.SLACK_WEBHOOK_URL: Slack Incoming Webhook for bloat and failure alerts.WEBHOOK_KEY: auth key for the on-demand webhook trigger.GITHUB_TOKEN, SLACK_WEBHOOK_URL, and WEBHOOK_KEY secrets.images and size_budget_mb inputs.weekly_audit schedule.images (ARRAY of STRING): image refs in org/image format.size_budget_mb (INT, default 1200): max allowed image size in MB.slack_channel (STRING, default #platform): digest destination.emit_audit_metrics.values.images_audited: number of images audited.emit_audit_metrics.values.audited_at: run timestamp for reports.