DefectDojo / django-DefectDojo

DevSecOps, ASPM, Vulnerability Management. All on one platform.
https://defectdojo.com
BSD 3-Clause "New" or "Revised" License
3.62k stars 1.52k forks source link

Status updates via slack or mail #100

Closed davevs closed 7 years ago

davevs commented 8 years ago

Many agile teams like push notifications in case of status changes, instead of checking a status overview. For example, teams I work with use Slack to have Jenkins notify them of things that are going on. I think it would really help if each team in ddojo can list a slack channel where status changes can be pushed to.

e.g.: New nikto import: 0C - 1H - 2M - 3L Issue 156 has been accepted Issue 134 pushed to Jira

aaronweaver commented 8 years ago

@devevs Would the new metadata option work? In the product view >> dropdown on right >> select 'Add metadata' >> Name: Slack then the channels or preferred communication. See the screenshot. Product information shows up on 'Additional Information' in the product view.

Or were you looking for Dojo to push out a status to Slack?

aaron_test_product

davevs commented 8 years ago

@aaronweaver yeah I meant an active push to a slack channel. Some sort of messaging system.

aaronweaver commented 7 years ago

@davevs What would be the criteria on when you'd like to push to a slack channel? For example:

davevs commented 7 years ago

I wouldn't post to many details as this would clutter the channel feed. If you look e.g. at Jenkins it typically sends messages like 'Build run XXX failed after y sec.' We might also give a small summary like 0C/1H/2M/3L/4I added It might also be interesting to send a message when a status has changed, but that might be to 'chatty'

devGregA commented 7 years ago

Status Updates via Slack / Mail

Make sure you assign this issue to yourself so folks do not duplicate effort.

To complete this issue, Dojo users should be able to configure slack / email notifications for issues.

Implementation Requirements:

Resources: Slack Documentation: https://api.slack.com/custom-integrations

devGregA commented 7 years ago

Rewrote in #228 for clarity