Skip to content

fix(cve5): reply to the security team for retired projects - #314

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/127-retired-reply-to
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/127-retired-reply-to

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown

Summary

Notification emails for a record tagged unsupported-when-assigned currently reply to the project's user list, which is likely disabled for a retired project. They now reply to security@apache.org instead.

Changes

  • Add getEmailReplyTo in custom/cve5/script.js. It returns security@apache.org for the unsupported-when-assigned tag and the first project list otherwise.
  • Use the helper in the email tab of custom/cve5/edit.pug and drop the duplicated reply-to block.
  • Add unit tests for tagged, untagged, and empty records.

Testing

  • VULNOGRAM_TLS_CERT=unittest/cert.pem VULNOGRAM_TLS_KEY=unittest/key.pem npm run unittest passes.
  • custom/cve5/edit.pug compiles with pug, and the rendered client script contains the helper call.

Closes #127

Notification emails for records tagged unsupported-when-assigned now use security@apache.org as Reply-To, since the project user list is likely disabled.
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.

mailinglists for 'unsupported when assigned' CVEs

1 participant