Skip to content

feat(cve5): bcc reporters on the notification email - #302

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/259-bcc-reporters
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/259-bcc-reporters

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown

Summary

Adds an optional reporter address field during allocation and Bccs those addresses on the OSS notification email, so reporters see the advisory without exposing their addresses to the lists.

Changes

  • Add the reporter field to the CVE 5 schema, allocation form, and allocation handler
  • Parse, validate, and deduplicate Bcc addresses in customRoutes/email.js
  • Bcc the reporters on the OSS email in customRoutes/sendemails.js
  • Show the Bcc line in the email preview and pass it through the form
  • Add unittest/sendemails.js and extend unittest/allocatecve.js

Testing

  • npm run unittest: passes
  • New sendemails and allocatecve assertions fail without the change

Closes #259

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.

Bcc CVE notifications to reporters

1 participant