Skip to content

v0.4.6-beta — scan email notifications, schedule timezones, and admin environment view

Pre-release
Pre-release

Choose a tag to compare

@Nikolasel Nikolasel released this 03 Oct 09:56
· 53 commits to main since this release
Immutable release. Only release title and notes can be modified.
b422ce0

Patch release on v0.4.5-beta. Adds migrations 0004_schedule_timezone.sql and 0005_scan_notification_outbox.sql, applied automatically at startup. Alpha databases remain rejected (they are not upgradeable).

Highlights

  • Scan notification mail, opt-in per policy. A completed scan can email only its deltas — New / Changed (resurfaced) / Fixed, counted by effective severity, with links back to the scan and each finding — and failed or orphaned scans get a failure alert. Mail is off by default and switched on per scan policy (notify_enabled), which can also set its own recipients and a minimum severity (e.g. low drops info from counts and the list; unknown is kept). Without policy recipients, mail falls back to the deployment SMTP_TO admin mailbox. SMTP_HOST + SMTP_FROM enable sending; SMTP_PASSWORD_FILE is re-read before each send. An at-most-once outbox row is claimed before SMTP so a restart never resends; send failures are logged and never change a scan's terminal state (#321, #335, #328).
  • Schedules choose their own timezone. A schedule now stores an IANA timezone (default UTC) alongside its cron expression, so 0 3 * * * means 03:00 in that zone, including DST. Existing schedules keep UTC, and legacy TZ= / CRON_TZ= prefixes are migrated into the new column and stripped (#329, #332).
  • Settings → Environment configuration. Admins get a read-only view of the running backend's effective environment: every allowlisted variable with set/unset, the parsed value it actually consumes (booleans, durations, a credential-free DATABASE_URL), and the built-in default. Secrets never leave the backend, SCAN_ZONES reports a seed-node count only, and each row carries the same description as the configuration docs — enforced by a drift test (#336, #337).
  • The findings list remembers your filters and sort. Filter and sort state persists per browser (#333).
  • Template sync history collapses no-change runs. Repeated "no changes" sync results are summarized instead of filling the history (#334).

Merged

  • #328 Email scan result changes and failures, opt-in per policy
  • #332 Schedules: select an IANA timezone for cron
  • #333 Persist findings filter and sort in localStorage
  • #334 Summarize no-change template catalog syncs
  • #337 Admin settings: show effective environment configuration

Full changelog: v0.4.5-beta...v0.4.6-beta