Skip to content

Feat/alerts and enterprise#38

Merged
WhiteMuush merged 8 commits into
mainfrom
feat/alerts-and-enterprise
Jun 15, 2026
Merged

Feat/alerts and enterprise#38
WhiteMuush merged 8 commits into
mainfrom
feat/alerts-and-enterprise

Conversation

@WhiteMuush

@WhiteMuush WhiteMuush commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Summary

Type of change

  • feat: new feature
  • fix: bug fix
  • chore: maintenance / dependencies
  • docs: documentation
  • refactor: code refactor

Checklist

  • My code follows the project conventions
  • I have tested my changes
  • Related issue: Closes #

List company alerts with severity color coding, search and
severity/status filters. Acknowledge and resolve inline via a
company-scoped PATCH route.
Export the currently filtered rows to CSV from each page, generated
client-side without a round trip.
Send one Resend email per new breach record to company admins, with
the employee, breach, exposed data and a link to the alerts page.
Gated on RESEND_API_KEY and EMAIL_FROM; failures never abort a scan.
In-memory fixed-window limiter: 10 login attempts/min per email to
slow brute force, 5 scans/min per company to protect the expensive
breach lookups.
Add Webhook model with AES-encrypted URLs. Admins manage endpoints
on the Data API page (add, enable, test, delete) with a minimum
severity filter. New breach exposures are dispatched alongside email.
Single source of truth for route authorization, replacing the
duplicated session/role guards. Behavior unchanged: config routes
stay admin-only, operational routes (scan, alert triage) stay open
to any authenticated user. Dashboard preset routes keep their own
ownership logic.
@WhiteMuush WhiteMuush merged commit 25e7d0c into main Jun 15, 2026
9 of 10 checks passed
@WhiteMuush WhiteMuush deleted the feat/alerts-and-enterprise branch June 15, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant