Skip to content

feat(web): schedule CT-CVE inventory pushes#831

Merged
simonjcarr merged 1 commit intomainfrom
feat/ct-cve-next-task
May 1, 2026
Merged

feat(web): schedule CT-CVE inventory pushes#831
simonjcarr merged 1 commit intomainfrom
feat/ct-cve-next-task

Conversation

@simonjcarr
Copy link
Copy Markdown
Collaborator

Summary

  • add env-configured CT-CVE inventory push targets for outbound inventory:write tokens
  • add a reusable paged inventory push job and ct-cve:push-inventory script for cron/systemd/Kubernetes scheduling
  • document the new outbound config and update migration/progress tracking

Validation

  • node --experimental-strip-types --test apps/web/lib/integrations/ct-cve/inventory-push-job.test.mjs apps/web/lib/integrations/ct-cve/inventory-export.test.mjs apps/web/lib/integrations/ct-cve/connection-status.test.mjs apps/web/lib/integrations/ct-cve/service-token.test.mjs apps/web/lib/integrations/ct-cve/finding-ingest.test.mjs
  • pnpm --dir apps/web type-check
  • pnpm --dir apps/web db:validate
  • pnpm --dir apps/web exec eslint lib/integrations/ct-cve/inventory-push-job.ts lib/integrations/ct-cve/inventory-push-job.test.mjs scripts/push-ct-cve-inventory.mjs
  • pnpm --dir apps/web ct-cve:push-inventory
  • pnpm --dir apps/web test:unit

page += 1
} while (cursor)

if (pushedForTarget) {
@simonjcarr simonjcarr merged commit a7434ab into main May 1, 2026
18 checks passed
@github-actions github-actions Bot mentioned this pull request May 1, 2026
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.

2 participants