Skip to content

Automate daily Security Insights with admin review and month backfill - #16

Merged
modhack2003 merged 1 commit into
mainfrom
feat/security-insights-automation
Oct 8, 2026
Merged

modhack2003 merged 1 commit into
mainfrom
feat/security-insights-automation

Conversation

@modhack2003

Copy link
Copy Markdown
Owner

Security Insights currently require manual collection and entry. Add a daily Vercel collector for the official CISA KEV feed, with up to three new briefs per UTC day and an initial eight-draft backfill covering the past 30 days.

Admin → Blog gains collection and optional auto-publish switches, Sync now, Import past month, and sync status/errors. Defaults remain draft review, and backfills always stay unpublished. Public UI is unchanged. Shared Mongo leases and a persistent CVE ledger prevent concurrent duplicates, preserve edits, and prevent deleted imports from returning. Feed requests are fixed-source, bounded, timed out and validated; admin/cron endpoints require their existing authentication.

Eight past-month briefs have also been saved as drafts in the live admin panel using the existing editor. They will be recognized by their CVEs when the collector runs.

Validation: TypeScript, ESLint, 314 unit/component tests and production build locally; new CI MongoDB integration covers concurrency, backfill, persisted daily caps, edits, deletion and pause. Local build used database fallbacks because DATABASE_URL is unavailable locally; CI checks use a disposable replica set. Deployment uses the existing CRON_SECRET and Prisma postinstall; no new service or secret is needed. See docs/security-insights.md.

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
bikram Ready Ready Preview Oct 8, 2026 7:20am UTC

@modhack2003
modhack2003 merged commit 92f1070 into main Oct 8, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview – bikram — da057da3 Deployed Oct 8, 2026 by vercel[bot]
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