From 028508c1f72751138d66752a2138e2f383e53912 Mon Sep 17 00:00:00 2001 From: kazuminn Date: Tue, 13 Mar 2018 12:32:55 +0900 Subject: [PATCH] fix link nvd on hipchat (#613) --- report/hipchat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/hipchat.go b/report/hipchat.go index 896e7292..4db4b16c 100644 --- a/report/hipchat.go +++ b/report/hipchat.go @@ -31,7 +31,7 @@ func (w HipChatWriter) Write(rs ...models.ScanResult) (err error) { severity = "?" } - message = `` + vinfo.CveID + "" + "
" + strconv.FormatFloat(maxCvss.Value.Score, 'f', 1, 64) + " " + "(" + severity + ")" + "
" + vinfo.Summaries(config.Conf.Lang, r.Family)[0].Value + message = `" + vinfo.CveID + ">" + vinfo.CveID + "" + "
" + strconv.FormatFloat(maxCvss.Value.Score, 'f', 1, 64) + " " + "(" + severity + ")" + "
" + vinfo.Summaries(config.Conf.Lang, r.Family)[0].Value err = postMessage(conf.Room, conf.AuthToken, message) if err != nil {